/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.27.1 |
5 | | |
6 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |
7 | | #define GOOGLE_PROTOBUF_INCLUDED_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 != 5027001 |
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/repeated_field.h" // IWYU pragma: export |
29 | | #include "google/protobuf/extension_set.h" // IWYU pragma: export |
30 | | #include "google/protobuf/generated_enum_reflection.h" |
31 | | #include "google/protobuf/unknown_field_set.h" |
32 | | // @@protoc_insertion_point(includes) |
33 | | |
34 | | // Must be included last. |
35 | | #include "google/protobuf/port_def.inc" |
36 | | |
37 | | #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT |
38 | | |
39 | | namespace google { |
40 | | namespace protobuf { |
41 | | namespace internal { |
42 | | class AnyMetadata; |
43 | | } // namespace internal |
44 | | } // namespace protobuf |
45 | | } // namespace google |
46 | | |
47 | | // Internal implementation detail -- do not use these members. |
48 | | struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { |
49 | | static const ::uint32_t offsets[]; |
50 | | }; |
51 | | PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable |
52 | | descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
53 | | namespace google { |
54 | | namespace protobuf { |
55 | | class DescriptorProto; |
56 | | struct DescriptorProtoDefaultTypeInternal; |
57 | | PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; |
58 | | class DescriptorProto_ExtensionRange; |
59 | | struct DescriptorProto_ExtensionRangeDefaultTypeInternal; |
60 | | PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; |
61 | | class DescriptorProto_ReservedRange; |
62 | | struct DescriptorProto_ReservedRangeDefaultTypeInternal; |
63 | | PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; |
64 | | class EnumDescriptorProto; |
65 | | struct EnumDescriptorProtoDefaultTypeInternal; |
66 | | PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; |
67 | | class EnumDescriptorProto_EnumReservedRange; |
68 | | struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; |
69 | | PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; |
70 | | class EnumOptions; |
71 | | struct EnumOptionsDefaultTypeInternal; |
72 | | PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; |
73 | | class EnumValueDescriptorProto; |
74 | | struct EnumValueDescriptorProtoDefaultTypeInternal; |
75 | | PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; |
76 | | class EnumValueOptions; |
77 | | struct EnumValueOptionsDefaultTypeInternal; |
78 | | PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; |
79 | | class ExtensionRangeOptions; |
80 | | struct ExtensionRangeOptionsDefaultTypeInternal; |
81 | | PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; |
82 | | class ExtensionRangeOptions_Declaration; |
83 | | struct ExtensionRangeOptions_DeclarationDefaultTypeInternal; |
84 | | PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_; |
85 | | class FeatureSet; |
86 | | struct FeatureSetDefaultTypeInternal; |
87 | | PROTOBUF_EXPORT extern FeatureSetDefaultTypeInternal _FeatureSet_default_instance_; |
88 | | class FeatureSetDefaults; |
89 | | struct FeatureSetDefaultsDefaultTypeInternal; |
90 | | PROTOBUF_EXPORT extern FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_; |
91 | | class FeatureSetDefaults_FeatureSetEditionDefault; |
92 | | struct FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal; |
93 | | PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_; |
94 | | class FieldDescriptorProto; |
95 | | struct FieldDescriptorProtoDefaultTypeInternal; |
96 | | PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; |
97 | | class FieldOptions; |
98 | | struct FieldOptionsDefaultTypeInternal; |
99 | | PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; |
100 | | class FieldOptions_EditionDefault; |
101 | | struct FieldOptions_EditionDefaultDefaultTypeInternal; |
102 | | PROTOBUF_EXPORT extern FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_; |
103 | | class FieldOptions_FeatureSupport; |
104 | | struct FieldOptions_FeatureSupportDefaultTypeInternal; |
105 | | PROTOBUF_EXPORT extern FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_; |
106 | | class FileDescriptorProto; |
107 | | struct FileDescriptorProtoDefaultTypeInternal; |
108 | | PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; |
109 | | class FileDescriptorSet; |
110 | | struct FileDescriptorSetDefaultTypeInternal; |
111 | | PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; |
112 | | class FileOptions; |
113 | | struct FileOptionsDefaultTypeInternal; |
114 | | PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; |
115 | | class GeneratedCodeInfo; |
116 | | struct GeneratedCodeInfoDefaultTypeInternal; |
117 | | PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; |
118 | | class GeneratedCodeInfo_Annotation; |
119 | | struct GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
120 | | PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; |
121 | | class MessageOptions; |
122 | | struct MessageOptionsDefaultTypeInternal; |
123 | | PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; |
124 | | class MethodDescriptorProto; |
125 | | struct MethodDescriptorProtoDefaultTypeInternal; |
126 | | PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; |
127 | | class MethodOptions; |
128 | | struct MethodOptionsDefaultTypeInternal; |
129 | | PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; |
130 | | class OneofDescriptorProto; |
131 | | struct OneofDescriptorProtoDefaultTypeInternal; |
132 | | PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; |
133 | | class OneofOptions; |
134 | | struct OneofOptionsDefaultTypeInternal; |
135 | | PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; |
136 | | class ServiceDescriptorProto; |
137 | | struct ServiceDescriptorProtoDefaultTypeInternal; |
138 | | PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; |
139 | | class ServiceOptions; |
140 | | struct ServiceOptionsDefaultTypeInternal; |
141 | | PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; |
142 | | class SourceCodeInfo; |
143 | | struct SourceCodeInfoDefaultTypeInternal; |
144 | | PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; |
145 | | class SourceCodeInfo_Location; |
146 | | struct SourceCodeInfo_LocationDefaultTypeInternal; |
147 | | PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; |
148 | | class UninterpretedOption; |
149 | | struct UninterpretedOptionDefaultTypeInternal; |
150 | | PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; |
151 | | class UninterpretedOption_NamePart; |
152 | | struct UninterpretedOption_NamePartDefaultTypeInternal; |
153 | | PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; |
154 | | namespace internal { |
155 | | #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) |
156 | | PROTOBUF_EXPORT void InitializeFileDescriptorDefaultInstancesSlow(); |
157 | | #endif // !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) |
158 | | } // namespace internal |
159 | | } // namespace protobuf |
160 | | } // namespace google |
161 | | |
162 | | namespace google { |
163 | | namespace protobuf { |
164 | | enum ExtensionRangeOptions_VerificationState : int { |
165 | | ExtensionRangeOptions_VerificationState_DECLARATION = 0, |
166 | | ExtensionRangeOptions_VerificationState_UNVERIFIED = 1, |
167 | | }; |
168 | | |
169 | | PROTOBUF_EXPORT bool ExtensionRangeOptions_VerificationState_IsValid(int value); |
170 | | PROTOBUF_EXPORT extern const uint32_t ExtensionRangeOptions_VerificationState_internal_data_[]; |
171 | | constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MIN = static_cast<ExtensionRangeOptions_VerificationState>(0); |
172 | | constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MAX = static_cast<ExtensionRangeOptions_VerificationState>(1); |
173 | | constexpr int ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE = 1 + 1; |
174 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
175 | | ExtensionRangeOptions_VerificationState_descriptor(); |
176 | | template <typename T> |
177 | | const std::string& ExtensionRangeOptions_VerificationState_Name(T value) { |
178 | | static_assert(std::is_same<T, ExtensionRangeOptions_VerificationState>::value || |
179 | | std::is_integral<T>::value, |
180 | | "Incorrect type passed to VerificationState_Name()."); |
181 | | return ExtensionRangeOptions_VerificationState_Name(static_cast<ExtensionRangeOptions_VerificationState>(value)); |
182 | | } |
183 | | template <> |
184 | 0 | inline const std::string& ExtensionRangeOptions_VerificationState_Name(ExtensionRangeOptions_VerificationState value) { |
185 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<ExtensionRangeOptions_VerificationState_descriptor, |
186 | 0 | 0, 1>( |
187 | 0 | static_cast<int>(value)); |
188 | 0 | } |
189 | 0 | inline bool ExtensionRangeOptions_VerificationState_Parse(absl::string_view name, ExtensionRangeOptions_VerificationState* value) { |
190 | 0 | return ::google::protobuf::internal::ParseNamedEnum<ExtensionRangeOptions_VerificationState>( |
191 | 0 | ExtensionRangeOptions_VerificationState_descriptor(), name, value); |
192 | 0 | } |
193 | | enum FieldDescriptorProto_Type : int { |
194 | | FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
195 | | FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
196 | | FieldDescriptorProto_Type_TYPE_INT64 = 3, |
197 | | FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
198 | | FieldDescriptorProto_Type_TYPE_INT32 = 5, |
199 | | FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
200 | | FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
201 | | FieldDescriptorProto_Type_TYPE_BOOL = 8, |
202 | | FieldDescriptorProto_Type_TYPE_STRING = 9, |
203 | | FieldDescriptorProto_Type_TYPE_GROUP = 10, |
204 | | FieldDescriptorProto_Type_TYPE_MESSAGE = 11, |
205 | | FieldDescriptorProto_Type_TYPE_BYTES = 12, |
206 | | FieldDescriptorProto_Type_TYPE_UINT32 = 13, |
207 | | FieldDescriptorProto_Type_TYPE_ENUM = 14, |
208 | | FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, |
209 | | FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, |
210 | | FieldDescriptorProto_Type_TYPE_SINT32 = 17, |
211 | | FieldDescriptorProto_Type_TYPE_SINT64 = 18, |
212 | | }; |
213 | | |
214 | | PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); |
215 | | PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Type_internal_data_[]; |
216 | | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = static_cast<FieldDescriptorProto_Type>(1); |
217 | | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = static_cast<FieldDescriptorProto_Type>(18); |
218 | | constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = 18 + 1; |
219 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
220 | | FieldDescriptorProto_Type_descriptor(); |
221 | | template <typename T> |
222 | | const std::string& FieldDescriptorProto_Type_Name(T value) { |
223 | | static_assert(std::is_same<T, FieldDescriptorProto_Type>::value || |
224 | | std::is_integral<T>::value, |
225 | | "Incorrect type passed to Type_Name()."); |
226 | | return FieldDescriptorProto_Type_Name(static_cast<FieldDescriptorProto_Type>(value)); |
227 | | } |
228 | | template <> |
229 | 0 | inline const std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) { |
230 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Type_descriptor, |
231 | 0 | 1, 18>( |
232 | 0 | static_cast<int>(value)); |
233 | 0 | } |
234 | 0 | inline bool FieldDescriptorProto_Type_Parse(absl::string_view name, FieldDescriptorProto_Type* value) { |
235 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
236 | 0 | FieldDescriptorProto_Type_descriptor(), name, value); |
237 | 0 | } |
238 | | enum FieldDescriptorProto_Label : int { |
239 | | FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
240 | | FieldDescriptorProto_Label_LABEL_REPEATED = 3, |
241 | | FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
242 | | }; |
243 | | |
244 | | PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
245 | | PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Label_internal_data_[]; |
246 | | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = static_cast<FieldDescriptorProto_Label>(1); |
247 | | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = static_cast<FieldDescriptorProto_Label>(3); |
248 | | constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = 3 + 1; |
249 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
250 | | FieldDescriptorProto_Label_descriptor(); |
251 | | template <typename T> |
252 | | const std::string& FieldDescriptorProto_Label_Name(T value) { |
253 | | static_assert(std::is_same<T, FieldDescriptorProto_Label>::value || |
254 | | std::is_integral<T>::value, |
255 | | "Incorrect type passed to Label_Name()."); |
256 | | return FieldDescriptorProto_Label_Name(static_cast<FieldDescriptorProto_Label>(value)); |
257 | | } |
258 | | template <> |
259 | 0 | inline const std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) { |
260 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Label_descriptor, |
261 | 0 | 1, 3>( |
262 | 0 | static_cast<int>(value)); |
263 | 0 | } |
264 | 0 | inline bool FieldDescriptorProto_Label_Parse(absl::string_view name, FieldDescriptorProto_Label* value) { |
265 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
266 | 0 | FieldDescriptorProto_Label_descriptor(), name, value); |
267 | 0 | } |
268 | | enum FileOptions_OptimizeMode : int { |
269 | | FileOptions_OptimizeMode_SPEED = 1, |
270 | | FileOptions_OptimizeMode_CODE_SIZE = 2, |
271 | | FileOptions_OptimizeMode_LITE_RUNTIME = 3, |
272 | | }; |
273 | | |
274 | | PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
275 | | PROTOBUF_EXPORT extern const uint32_t FileOptions_OptimizeMode_internal_data_[]; |
276 | | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = static_cast<FileOptions_OptimizeMode>(1); |
277 | | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = static_cast<FileOptions_OptimizeMode>(3); |
278 | | constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = 3 + 1; |
279 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
280 | | FileOptions_OptimizeMode_descriptor(); |
281 | | template <typename T> |
282 | | const std::string& FileOptions_OptimizeMode_Name(T value) { |
283 | | static_assert(std::is_same<T, FileOptions_OptimizeMode>::value || |
284 | | std::is_integral<T>::value, |
285 | | "Incorrect type passed to OptimizeMode_Name()."); |
286 | | return FileOptions_OptimizeMode_Name(static_cast<FileOptions_OptimizeMode>(value)); |
287 | | } |
288 | | template <> |
289 | 0 | inline const std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) { |
290 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FileOptions_OptimizeMode_descriptor, |
291 | 0 | 1, 3>( |
292 | 0 | static_cast<int>(value)); |
293 | 0 | } |
294 | 0 | inline bool FileOptions_OptimizeMode_Parse(absl::string_view name, FileOptions_OptimizeMode* value) { |
295 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
296 | 0 | FileOptions_OptimizeMode_descriptor(), name, value); |
297 | 0 | } |
298 | | enum FieldOptions_CType : int { |
299 | | FieldOptions_CType_STRING = 0, |
300 | | FieldOptions_CType_CORD = 1, |
301 | | FieldOptions_CType_STRING_PIECE = 2, |
302 | | }; |
303 | | |
304 | | PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
305 | | PROTOBUF_EXPORT extern const uint32_t FieldOptions_CType_internal_data_[]; |
306 | | constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = static_cast<FieldOptions_CType>(0); |
307 | | constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = static_cast<FieldOptions_CType>(2); |
308 | | constexpr int FieldOptions_CType_CType_ARRAYSIZE = 2 + 1; |
309 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
310 | | FieldOptions_CType_descriptor(); |
311 | | template <typename T> |
312 | | const std::string& FieldOptions_CType_Name(T value) { |
313 | | static_assert(std::is_same<T, FieldOptions_CType>::value || |
314 | | std::is_integral<T>::value, |
315 | | "Incorrect type passed to CType_Name()."); |
316 | | return FieldOptions_CType_Name(static_cast<FieldOptions_CType>(value)); |
317 | | } |
318 | | template <> |
319 | 0 | inline const std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
320 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_CType_descriptor, |
321 | 0 | 0, 2>( |
322 | 0 | static_cast<int>(value)); |
323 | 0 | } |
324 | 0 | inline bool FieldOptions_CType_Parse(absl::string_view name, FieldOptions_CType* value) { |
325 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( |
326 | 0 | FieldOptions_CType_descriptor(), name, value); |
327 | 0 | } |
328 | | enum FieldOptions_JSType : int { |
329 | | FieldOptions_JSType_JS_NORMAL = 0, |
330 | | FieldOptions_JSType_JS_STRING = 1, |
331 | | FieldOptions_JSType_JS_NUMBER = 2, |
332 | | }; |
333 | | |
334 | | PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); |
335 | | PROTOBUF_EXPORT extern const uint32_t FieldOptions_JSType_internal_data_[]; |
336 | | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = static_cast<FieldOptions_JSType>(0); |
337 | | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = static_cast<FieldOptions_JSType>(2); |
338 | | constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = 2 + 1; |
339 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
340 | | FieldOptions_JSType_descriptor(); |
341 | | template <typename T> |
342 | | const std::string& FieldOptions_JSType_Name(T value) { |
343 | | static_assert(std::is_same<T, FieldOptions_JSType>::value || |
344 | | std::is_integral<T>::value, |
345 | | "Incorrect type passed to JSType_Name()."); |
346 | | return FieldOptions_JSType_Name(static_cast<FieldOptions_JSType>(value)); |
347 | | } |
348 | | template <> |
349 | 0 | inline const std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { |
350 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_JSType_descriptor, |
351 | 0 | 0, 2>( |
352 | 0 | static_cast<int>(value)); |
353 | 0 | } |
354 | 0 | inline bool FieldOptions_JSType_Parse(absl::string_view name, FieldOptions_JSType* value) { |
355 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( |
356 | 0 | FieldOptions_JSType_descriptor(), name, value); |
357 | 0 | } |
358 | | enum FieldOptions_OptionRetention : int { |
359 | | FieldOptions_OptionRetention_RETENTION_UNKNOWN = 0, |
360 | | FieldOptions_OptionRetention_RETENTION_RUNTIME = 1, |
361 | | FieldOptions_OptionRetention_RETENTION_SOURCE = 2, |
362 | | }; |
363 | | |
364 | | PROTOBUF_EXPORT bool FieldOptions_OptionRetention_IsValid(int value); |
365 | | PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionRetention_internal_data_[]; |
366 | | constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MIN = static_cast<FieldOptions_OptionRetention>(0); |
367 | | constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MAX = static_cast<FieldOptions_OptionRetention>(2); |
368 | | constexpr int FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE = 2 + 1; |
369 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
370 | | FieldOptions_OptionRetention_descriptor(); |
371 | | template <typename T> |
372 | | const std::string& FieldOptions_OptionRetention_Name(T value) { |
373 | | static_assert(std::is_same<T, FieldOptions_OptionRetention>::value || |
374 | | std::is_integral<T>::value, |
375 | | "Incorrect type passed to OptionRetention_Name()."); |
376 | | return FieldOptions_OptionRetention_Name(static_cast<FieldOptions_OptionRetention>(value)); |
377 | | } |
378 | | template <> |
379 | 0 | inline const std::string& FieldOptions_OptionRetention_Name(FieldOptions_OptionRetention value) { |
380 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionRetention_descriptor, |
381 | 0 | 0, 2>( |
382 | 0 | static_cast<int>(value)); |
383 | 0 | } |
384 | 0 | inline bool FieldOptions_OptionRetention_Parse(absl::string_view name, FieldOptions_OptionRetention* value) { |
385 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionRetention>( |
386 | 0 | FieldOptions_OptionRetention_descriptor(), name, value); |
387 | 0 | } |
388 | | enum FieldOptions_OptionTargetType : int { |
389 | | FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN = 0, |
390 | | FieldOptions_OptionTargetType_TARGET_TYPE_FILE = 1, |
391 | | FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE = 2, |
392 | | FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE = 3, |
393 | | FieldOptions_OptionTargetType_TARGET_TYPE_FIELD = 4, |
394 | | FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF = 5, |
395 | | FieldOptions_OptionTargetType_TARGET_TYPE_ENUM = 6, |
396 | | FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY = 7, |
397 | | FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE = 8, |
398 | | FieldOptions_OptionTargetType_TARGET_TYPE_METHOD = 9, |
399 | | }; |
400 | | |
401 | | PROTOBUF_EXPORT bool FieldOptions_OptionTargetType_IsValid(int value); |
402 | | PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionTargetType_internal_data_[]; |
403 | | constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MIN = static_cast<FieldOptions_OptionTargetType>(0); |
404 | | constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MAX = static_cast<FieldOptions_OptionTargetType>(9); |
405 | | constexpr int FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE = 9 + 1; |
406 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
407 | | FieldOptions_OptionTargetType_descriptor(); |
408 | | template <typename T> |
409 | | const std::string& FieldOptions_OptionTargetType_Name(T value) { |
410 | | static_assert(std::is_same<T, FieldOptions_OptionTargetType>::value || |
411 | | std::is_integral<T>::value, |
412 | | "Incorrect type passed to OptionTargetType_Name()."); |
413 | | return FieldOptions_OptionTargetType_Name(static_cast<FieldOptions_OptionTargetType>(value)); |
414 | | } |
415 | | template <> |
416 | 0 | inline const std::string& FieldOptions_OptionTargetType_Name(FieldOptions_OptionTargetType value) { |
417 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionTargetType_descriptor, |
418 | 0 | 0, 9>( |
419 | 0 | static_cast<int>(value)); |
420 | 0 | } |
421 | 0 | inline bool FieldOptions_OptionTargetType_Parse(absl::string_view name, FieldOptions_OptionTargetType* value) { |
422 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionTargetType>( |
423 | 0 | FieldOptions_OptionTargetType_descriptor(), name, value); |
424 | 0 | } |
425 | | enum MethodOptions_IdempotencyLevel : int { |
426 | | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
427 | | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
428 | | MethodOptions_IdempotencyLevel_IDEMPOTENT = 2, |
429 | | }; |
430 | | |
431 | | PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
432 | | PROTOBUF_EXPORT extern const uint32_t MethodOptions_IdempotencyLevel_internal_data_[]; |
433 | | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = static_cast<MethodOptions_IdempotencyLevel>(0); |
434 | | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = static_cast<MethodOptions_IdempotencyLevel>(2); |
435 | | constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = 2 + 1; |
436 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
437 | | MethodOptions_IdempotencyLevel_descriptor(); |
438 | | template <typename T> |
439 | | const std::string& MethodOptions_IdempotencyLevel_Name(T value) { |
440 | | static_assert(std::is_same<T, MethodOptions_IdempotencyLevel>::value || |
441 | | std::is_integral<T>::value, |
442 | | "Incorrect type passed to IdempotencyLevel_Name()."); |
443 | | return MethodOptions_IdempotencyLevel_Name(static_cast<MethodOptions_IdempotencyLevel>(value)); |
444 | | } |
445 | | template <> |
446 | 0 | inline const std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value) { |
447 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<MethodOptions_IdempotencyLevel_descriptor, |
448 | 0 | 0, 2>( |
449 | 0 | static_cast<int>(value)); |
450 | 0 | } |
451 | 0 | inline bool MethodOptions_IdempotencyLevel_Parse(absl::string_view name, MethodOptions_IdempotencyLevel* value) { |
452 | 0 | return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
453 | 0 | MethodOptions_IdempotencyLevel_descriptor(), name, value); |
454 | 0 | } |
455 | | enum FeatureSet_FieldPresence : int { |
456 | | FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN = 0, |
457 | | FeatureSet_FieldPresence_EXPLICIT = 1, |
458 | | FeatureSet_FieldPresence_IMPLICIT = 2, |
459 | | FeatureSet_FieldPresence_LEGACY_REQUIRED = 3, |
460 | | }; |
461 | | |
462 | | PROTOBUF_EXPORT bool FeatureSet_FieldPresence_IsValid(int value); |
463 | | PROTOBUF_EXPORT extern const uint32_t FeatureSet_FieldPresence_internal_data_[]; |
464 | | constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MIN = static_cast<FeatureSet_FieldPresence>(0); |
465 | | constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MAX = static_cast<FeatureSet_FieldPresence>(3); |
466 | | constexpr int FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE = 3 + 1; |
467 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
468 | | FeatureSet_FieldPresence_descriptor(); |
469 | | template <typename T> |
470 | | const std::string& FeatureSet_FieldPresence_Name(T value) { |
471 | | static_assert(std::is_same<T, FeatureSet_FieldPresence>::value || |
472 | | std::is_integral<T>::value, |
473 | | "Incorrect type passed to FieldPresence_Name()."); |
474 | | return FeatureSet_FieldPresence_Name(static_cast<FeatureSet_FieldPresence>(value)); |
475 | | } |
476 | | template <> |
477 | 0 | inline const std::string& FeatureSet_FieldPresence_Name(FeatureSet_FieldPresence value) { |
478 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_FieldPresence_descriptor, |
479 | 0 | 0, 3>( |
480 | 0 | static_cast<int>(value)); |
481 | 0 | } |
482 | 0 | inline bool FeatureSet_FieldPresence_Parse(absl::string_view name, FeatureSet_FieldPresence* value) { |
483 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_FieldPresence>( |
484 | 0 | FeatureSet_FieldPresence_descriptor(), name, value); |
485 | 0 | } |
486 | | enum FeatureSet_EnumType : int { |
487 | | FeatureSet_EnumType_ENUM_TYPE_UNKNOWN = 0, |
488 | | FeatureSet_EnumType_OPEN = 1, |
489 | | FeatureSet_EnumType_CLOSED = 2, |
490 | | }; |
491 | | |
492 | | PROTOBUF_EXPORT bool FeatureSet_EnumType_IsValid(int value); |
493 | | PROTOBUF_EXPORT extern const uint32_t FeatureSet_EnumType_internal_data_[]; |
494 | | constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MIN = static_cast<FeatureSet_EnumType>(0); |
495 | | constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MAX = static_cast<FeatureSet_EnumType>(2); |
496 | | constexpr int FeatureSet_EnumType_EnumType_ARRAYSIZE = 2 + 1; |
497 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
498 | | FeatureSet_EnumType_descriptor(); |
499 | | template <typename T> |
500 | | const std::string& FeatureSet_EnumType_Name(T value) { |
501 | | static_assert(std::is_same<T, FeatureSet_EnumType>::value || |
502 | | std::is_integral<T>::value, |
503 | | "Incorrect type passed to EnumType_Name()."); |
504 | | return FeatureSet_EnumType_Name(static_cast<FeatureSet_EnumType>(value)); |
505 | | } |
506 | | template <> |
507 | 0 | inline const std::string& FeatureSet_EnumType_Name(FeatureSet_EnumType value) { |
508 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_EnumType_descriptor, |
509 | 0 | 0, 2>( |
510 | 0 | static_cast<int>(value)); |
511 | 0 | } |
512 | 0 | inline bool FeatureSet_EnumType_Parse(absl::string_view name, FeatureSet_EnumType* value) { |
513 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_EnumType>( |
514 | 0 | FeatureSet_EnumType_descriptor(), name, value); |
515 | 0 | } |
516 | | enum FeatureSet_RepeatedFieldEncoding : int { |
517 | | FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN = 0, |
518 | | FeatureSet_RepeatedFieldEncoding_PACKED = 1, |
519 | | FeatureSet_RepeatedFieldEncoding_EXPANDED = 2, |
520 | | }; |
521 | | |
522 | | PROTOBUF_EXPORT bool FeatureSet_RepeatedFieldEncoding_IsValid(int value); |
523 | | PROTOBUF_EXPORT extern const uint32_t FeatureSet_RepeatedFieldEncoding_internal_data_[]; |
524 | | constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN = static_cast<FeatureSet_RepeatedFieldEncoding>(0); |
525 | | constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX = static_cast<FeatureSet_RepeatedFieldEncoding>(2); |
526 | | constexpr int FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE = 2 + 1; |
527 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
528 | | FeatureSet_RepeatedFieldEncoding_descriptor(); |
529 | | template <typename T> |
530 | | const std::string& FeatureSet_RepeatedFieldEncoding_Name(T value) { |
531 | | static_assert(std::is_same<T, FeatureSet_RepeatedFieldEncoding>::value || |
532 | | std::is_integral<T>::value, |
533 | | "Incorrect type passed to RepeatedFieldEncoding_Name()."); |
534 | | return FeatureSet_RepeatedFieldEncoding_Name(static_cast<FeatureSet_RepeatedFieldEncoding>(value)); |
535 | | } |
536 | | template <> |
537 | 0 | inline const std::string& FeatureSet_RepeatedFieldEncoding_Name(FeatureSet_RepeatedFieldEncoding value) { |
538 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_RepeatedFieldEncoding_descriptor, |
539 | 0 | 0, 2>( |
540 | 0 | static_cast<int>(value)); |
541 | 0 | } |
542 | 0 | inline bool FeatureSet_RepeatedFieldEncoding_Parse(absl::string_view name, FeatureSet_RepeatedFieldEncoding* value) { |
543 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_RepeatedFieldEncoding>( |
544 | 0 | FeatureSet_RepeatedFieldEncoding_descriptor(), name, value); |
545 | 0 | } |
546 | | enum FeatureSet_Utf8Validation : int { |
547 | | FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN = 0, |
548 | | FeatureSet_Utf8Validation_VERIFY = 2, |
549 | | FeatureSet_Utf8Validation_NONE = 3, |
550 | | }; |
551 | | |
552 | | PROTOBUF_EXPORT bool FeatureSet_Utf8Validation_IsValid(int value); |
553 | | PROTOBUF_EXPORT extern const uint32_t FeatureSet_Utf8Validation_internal_data_[]; |
554 | | constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MIN = static_cast<FeatureSet_Utf8Validation>(0); |
555 | | constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MAX = static_cast<FeatureSet_Utf8Validation>(3); |
556 | | constexpr int FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE = 3 + 1; |
557 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
558 | | FeatureSet_Utf8Validation_descriptor(); |
559 | | template <typename T> |
560 | | const std::string& FeatureSet_Utf8Validation_Name(T value) { |
561 | | static_assert(std::is_same<T, FeatureSet_Utf8Validation>::value || |
562 | | std::is_integral<T>::value, |
563 | | "Incorrect type passed to Utf8Validation_Name()."); |
564 | | return FeatureSet_Utf8Validation_Name(static_cast<FeatureSet_Utf8Validation>(value)); |
565 | | } |
566 | | template <> |
567 | 0 | inline const std::string& FeatureSet_Utf8Validation_Name(FeatureSet_Utf8Validation value) { |
568 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_Utf8Validation_descriptor, |
569 | 0 | 0, 3>( |
570 | 0 | static_cast<int>(value)); |
571 | 0 | } |
572 | 0 | inline bool FeatureSet_Utf8Validation_Parse(absl::string_view name, FeatureSet_Utf8Validation* value) { |
573 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_Utf8Validation>( |
574 | 0 | FeatureSet_Utf8Validation_descriptor(), name, value); |
575 | 0 | } |
576 | | enum FeatureSet_MessageEncoding : int { |
577 | | FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN = 0, |
578 | | FeatureSet_MessageEncoding_LENGTH_PREFIXED = 1, |
579 | | FeatureSet_MessageEncoding_DELIMITED = 2, |
580 | | }; |
581 | | |
582 | | PROTOBUF_EXPORT bool FeatureSet_MessageEncoding_IsValid(int value); |
583 | | PROTOBUF_EXPORT extern const uint32_t FeatureSet_MessageEncoding_internal_data_[]; |
584 | | constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MIN = static_cast<FeatureSet_MessageEncoding>(0); |
585 | | constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MAX = static_cast<FeatureSet_MessageEncoding>(2); |
586 | | constexpr int FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE = 2 + 1; |
587 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
588 | | FeatureSet_MessageEncoding_descriptor(); |
589 | | template <typename T> |
590 | | const std::string& FeatureSet_MessageEncoding_Name(T value) { |
591 | | static_assert(std::is_same<T, FeatureSet_MessageEncoding>::value || |
592 | | std::is_integral<T>::value, |
593 | | "Incorrect type passed to MessageEncoding_Name()."); |
594 | | return FeatureSet_MessageEncoding_Name(static_cast<FeatureSet_MessageEncoding>(value)); |
595 | | } |
596 | | template <> |
597 | 0 | inline const std::string& FeatureSet_MessageEncoding_Name(FeatureSet_MessageEncoding value) { |
598 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_MessageEncoding_descriptor, |
599 | 0 | 0, 2>( |
600 | 0 | static_cast<int>(value)); |
601 | 0 | } |
602 | 0 | inline bool FeatureSet_MessageEncoding_Parse(absl::string_view name, FeatureSet_MessageEncoding* value) { |
603 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_MessageEncoding>( |
604 | 0 | FeatureSet_MessageEncoding_descriptor(), name, value); |
605 | 0 | } |
606 | | enum FeatureSet_JsonFormat : int { |
607 | | FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN = 0, |
608 | | FeatureSet_JsonFormat_ALLOW = 1, |
609 | | FeatureSet_JsonFormat_LEGACY_BEST_EFFORT = 2, |
610 | | }; |
611 | | |
612 | | PROTOBUF_EXPORT bool FeatureSet_JsonFormat_IsValid(int value); |
613 | | PROTOBUF_EXPORT extern const uint32_t FeatureSet_JsonFormat_internal_data_[]; |
614 | | constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MIN = static_cast<FeatureSet_JsonFormat>(0); |
615 | | constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MAX = static_cast<FeatureSet_JsonFormat>(2); |
616 | | constexpr int FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE = 2 + 1; |
617 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
618 | | FeatureSet_JsonFormat_descriptor(); |
619 | | template <typename T> |
620 | | const std::string& FeatureSet_JsonFormat_Name(T value) { |
621 | | static_assert(std::is_same<T, FeatureSet_JsonFormat>::value || |
622 | | std::is_integral<T>::value, |
623 | | "Incorrect type passed to JsonFormat_Name()."); |
624 | | return FeatureSet_JsonFormat_Name(static_cast<FeatureSet_JsonFormat>(value)); |
625 | | } |
626 | | template <> |
627 | 0 | inline const std::string& FeatureSet_JsonFormat_Name(FeatureSet_JsonFormat value) { |
628 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_JsonFormat_descriptor, |
629 | 0 | 0, 2>( |
630 | 0 | static_cast<int>(value)); |
631 | 0 | } |
632 | 0 | inline bool FeatureSet_JsonFormat_Parse(absl::string_view name, FeatureSet_JsonFormat* value) { |
633 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_JsonFormat>( |
634 | 0 | FeatureSet_JsonFormat_descriptor(), name, value); |
635 | 0 | } |
636 | | enum GeneratedCodeInfo_Annotation_Semantic : int { |
637 | | GeneratedCodeInfo_Annotation_Semantic_NONE = 0, |
638 | | GeneratedCodeInfo_Annotation_Semantic_SET = 1, |
639 | | GeneratedCodeInfo_Annotation_Semantic_ALIAS = 2, |
640 | | }; |
641 | | |
642 | | PROTOBUF_EXPORT bool GeneratedCodeInfo_Annotation_Semantic_IsValid(int value); |
643 | | PROTOBUF_EXPORT extern const uint32_t GeneratedCodeInfo_Annotation_Semantic_internal_data_[]; |
644 | | constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN = static_cast<GeneratedCodeInfo_Annotation_Semantic>(0); |
645 | | constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX = static_cast<GeneratedCodeInfo_Annotation_Semantic>(2); |
646 | | constexpr int GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE = 2 + 1; |
647 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
648 | | GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
649 | | template <typename T> |
650 | | const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(T value) { |
651 | | static_assert(std::is_same<T, GeneratedCodeInfo_Annotation_Semantic>::value || |
652 | | std::is_integral<T>::value, |
653 | | "Incorrect type passed to Semantic_Name()."); |
654 | | return GeneratedCodeInfo_Annotation_Semantic_Name(static_cast<GeneratedCodeInfo_Annotation_Semantic>(value)); |
655 | | } |
656 | | template <> |
657 | 0 | inline const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(GeneratedCodeInfo_Annotation_Semantic value) { |
658 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<GeneratedCodeInfo_Annotation_Semantic_descriptor, |
659 | 0 | 0, 2>( |
660 | 0 | static_cast<int>(value)); |
661 | 0 | } |
662 | 0 | inline bool GeneratedCodeInfo_Annotation_Semantic_Parse(absl::string_view name, GeneratedCodeInfo_Annotation_Semantic* value) { |
663 | 0 | return ::google::protobuf::internal::ParseNamedEnum<GeneratedCodeInfo_Annotation_Semantic>( |
664 | 0 | GeneratedCodeInfo_Annotation_Semantic_descriptor(), name, value); |
665 | 0 | } |
666 | | enum Edition : int { |
667 | | EDITION_UNKNOWN = 0, |
668 | | EDITION_LEGACY = 900, |
669 | | EDITION_PROTO2 = 998, |
670 | | EDITION_PROTO3 = 999, |
671 | | EDITION_2023 = 1000, |
672 | | EDITION_2024 = 1001, |
673 | | EDITION_1_TEST_ONLY = 1, |
674 | | EDITION_2_TEST_ONLY = 2, |
675 | | EDITION_99997_TEST_ONLY = 99997, |
676 | | EDITION_99998_TEST_ONLY = 99998, |
677 | | EDITION_99999_TEST_ONLY = 99999, |
678 | | EDITION_MAX = 2147483647, |
679 | | }; |
680 | | |
681 | | PROTOBUF_EXPORT bool Edition_IsValid(int value); |
682 | | PROTOBUF_EXPORT extern const uint32_t Edition_internal_data_[]; |
683 | | constexpr Edition Edition_MIN = static_cast<Edition>(0); |
684 | | constexpr Edition Edition_MAX = static_cast<Edition>(2147483647); |
685 | | PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
686 | | Edition_descriptor(); |
687 | | template <typename T> |
688 | | const std::string& Edition_Name(T value) { |
689 | | static_assert(std::is_same<T, Edition>::value || |
690 | | std::is_integral<T>::value, |
691 | | "Incorrect type passed to Edition_Name()."); |
692 | | return ::google::protobuf::internal::NameOfEnum(Edition_descriptor(), value); |
693 | | } |
694 | 0 | inline bool Edition_Parse(absl::string_view name, Edition* value) { |
695 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Edition>( |
696 | 0 | Edition_descriptor(), name, value); |
697 | 0 | } |
698 | | |
699 | | // =================================================================== |
700 | | |
701 | | |
702 | | // ------------------------------------------------------------------- |
703 | | |
704 | | class PROTOBUF_EXPORT UninterpretedOption_NamePart final : public ::google::protobuf::Message |
705 | | /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { |
706 | | public: |
707 | 0 | inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} |
708 | | ~UninterpretedOption_NamePart() override; |
709 | | template <typename = void> |
710 | | explicit PROTOBUF_CONSTEXPR UninterpretedOption_NamePart( |
711 | | ::google::protobuf::internal::ConstantInitialized); |
712 | | |
713 | 0 | inline UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from) : UninterpretedOption_NamePart(nullptr, from) {} |
714 | | inline UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
715 | 0 | : UninterpretedOption_NamePart(nullptr, std::move(from)) {} |
716 | 0 | inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
717 | 0 | CopyFrom(from); |
718 | 0 | return *this; |
719 | 0 | } |
720 | 0 | inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
721 | 0 | if (this == &from) return *this; |
722 | 0 | if (GetArena() == from.GetArena() |
723 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
724 | 0 | && GetArena() != nullptr |
725 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
726 | 0 | ) { |
727 | 0 | InternalSwap(&from); |
728 | 0 | } else { |
729 | 0 | CopyFrom(from); |
730 | 0 | } |
731 | 0 | return *this; |
732 | 0 | } |
733 | | |
734 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
735 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
736 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
737 | 0 | } |
738 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
739 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
740 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
741 | 0 | } |
742 | | |
743 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
744 | 0 | return GetDescriptor(); |
745 | 0 | } |
746 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
747 | 0 | return default_instance().GetMetadata().descriptor; |
748 | 0 | } |
749 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
750 | 0 | return default_instance().GetMetadata().reflection; |
751 | 0 | } |
752 | 0 | static const UninterpretedOption_NamePart& default_instance() { |
753 | 0 | return *internal_default_instance(); |
754 | 0 | } |
755 | 0 | static inline const UninterpretedOption_NamePart* internal_default_instance() { |
756 | 0 | return reinterpret_cast<const UninterpretedOption_NamePart*>( |
757 | 0 | &_UninterpretedOption_NamePart_default_instance_); |
758 | 0 | } |
759 | | static constexpr int kIndexInFileMessages = 24; |
760 | 0 | friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { a.Swap(&b); } |
761 | 0 | inline void Swap(UninterpretedOption_NamePart* other) { |
762 | 0 | if (other == this) return; |
763 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
764 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
765 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
766 | 0 | if (GetArena() == other->GetArena()) { |
767 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
768 | 0 | InternalSwap(other); |
769 | 0 | } else { |
770 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
771 | 0 | } |
772 | 0 | } |
773 | 0 | void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { |
774 | 0 | if (other == this) return; |
775 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
776 | 0 | InternalSwap(other); |
777 | 0 | } |
778 | | |
779 | | // implements Message ---------------------------------------------- |
780 | | |
781 | 0 | UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena = nullptr) const final { |
782 | 0 | return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption_NamePart>(arena); |
783 | 0 | } |
784 | | using ::google::protobuf::Message::CopyFrom; |
785 | | void CopyFrom(const UninterpretedOption_NamePart& from); |
786 | | using ::google::protobuf::Message::MergeFrom; |
787 | 0 | void MergeFrom(const UninterpretedOption_NamePart& from) { UninterpretedOption_NamePart::MergeImpl(*this, from); } |
788 | | |
789 | | private: |
790 | | static void MergeImpl( |
791 | | ::google::protobuf::MessageLite& to_msg, |
792 | | const ::google::protobuf::MessageLite& from_msg); |
793 | | |
794 | | public: |
795 | 0 | bool IsInitialized() const { |
796 | 0 | return IsInitializedImpl(*this); |
797 | 0 | } |
798 | | |
799 | | private: |
800 | | static bool IsInitializedImpl(const MessageLite& msg); |
801 | | |
802 | | public: |
803 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
804 | | ::size_t ByteSizeLong() const final; |
805 | | ::uint8_t* _InternalSerialize( |
806 | | ::uint8_t* target, |
807 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
808 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
809 | | |
810 | | private: |
811 | | void SharedCtor(::google::protobuf::Arena* arena); |
812 | | void SharedDtor(); |
813 | | void InternalSwap(UninterpretedOption_NamePart* other); |
814 | | private: |
815 | | friend class ::google::protobuf::internal::AnyMetadata; |
816 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption.NamePart"; } |
817 | | |
818 | | protected: |
819 | | explicit UninterpretedOption_NamePart(::google::protobuf::Arena* arena); |
820 | | UninterpretedOption_NamePart(::google::protobuf::Arena* arena, const UninterpretedOption_NamePart& from); |
821 | | UninterpretedOption_NamePart(::google::protobuf::Arena* arena, UninterpretedOption_NamePart&& from) noexcept |
822 | 0 | : UninterpretedOption_NamePart(arena) { |
823 | 0 | *this = ::std::move(from); |
824 | 0 | } |
825 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
826 | | |
827 | | public: |
828 | | ::google::protobuf::Metadata GetMetadata() const; |
829 | | // nested types ---------------------------------------------------- |
830 | | |
831 | | // accessors ------------------------------------------------------- |
832 | | enum : int { |
833 | | kNamePartFieldNumber = 1, |
834 | | kIsExtensionFieldNumber = 2, |
835 | | }; |
836 | | // required string name_part = 1; |
837 | | bool has_name_part() const; |
838 | | void clear_name_part() ; |
839 | | const std::string& name_part() const; |
840 | | template <typename Arg_ = const std::string&, typename... Args_> |
841 | | void set_name_part(Arg_&& arg, Args_... args); |
842 | | std::string* mutable_name_part(); |
843 | | PROTOBUF_NODISCARD std::string* release_name_part(); |
844 | | void set_allocated_name_part(std::string* value); |
845 | | |
846 | | private: |
847 | | const std::string& _internal_name_part() const; |
848 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part( |
849 | | const std::string& value); |
850 | | std::string* _internal_mutable_name_part(); |
851 | | |
852 | | public: |
853 | | // required bool is_extension = 2; |
854 | | bool has_is_extension() const; |
855 | | void clear_is_extension() ; |
856 | | bool is_extension() const; |
857 | | void set_is_extension(bool value); |
858 | | |
859 | | private: |
860 | | bool _internal_is_extension() const; |
861 | | void _internal_set_is_extension(bool value); |
862 | | |
863 | | public: |
864 | | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
865 | | private: |
866 | | class _Internal; |
867 | | friend class ::google::protobuf::internal::TcParser; |
868 | | static const ::google::protobuf::internal::TcParseTable< |
869 | | 1, 2, 0, |
870 | | 62, 2> |
871 | | _table_; |
872 | | |
873 | | static constexpr const void* _raw_default_instance_ = |
874 | | &_UninterpretedOption_NamePart_default_instance_; |
875 | | |
876 | | friend class ::google::protobuf::MessageLite; |
877 | | friend class ::google::protobuf::Arena; |
878 | | template <typename T> |
879 | | friend class ::google::protobuf::Arena::InternalHelper; |
880 | | using InternalArenaConstructable_ = void; |
881 | | using DestructorSkippable_ = void; |
882 | | struct Impl_ { |
883 | | inline explicit constexpr Impl_( |
884 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
885 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
886 | | ::google::protobuf::Arena* arena); |
887 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
888 | | ::google::protobuf::Arena* arena, const Impl_& from, |
889 | | const UninterpretedOption_NamePart& from_msg); |
890 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
891 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
892 | | ::google::protobuf::internal::ArenaStringPtr name_part_; |
893 | | bool is_extension_; |
894 | | PROTOBUF_TSAN_DECLARE_MEMBER |
895 | | }; |
896 | | union { Impl_ _impl_; }; |
897 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
898 | | }; |
899 | | // ------------------------------------------------------------------- |
900 | | |
901 | | class PROTOBUF_EXPORT SourceCodeInfo_Location final : public ::google::protobuf::Message |
902 | | /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { |
903 | | public: |
904 | 0 | inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} |
905 | | ~SourceCodeInfo_Location() override; |
906 | | template <typename = void> |
907 | | explicit PROTOBUF_CONSTEXPR SourceCodeInfo_Location( |
908 | | ::google::protobuf::internal::ConstantInitialized); |
909 | | |
910 | 0 | inline SourceCodeInfo_Location(const SourceCodeInfo_Location& from) : SourceCodeInfo_Location(nullptr, from) {} |
911 | | inline SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
912 | 0 | : SourceCodeInfo_Location(nullptr, std::move(from)) {} |
913 | 0 | inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
914 | 0 | CopyFrom(from); |
915 | 0 | return *this; |
916 | 0 | } |
917 | 0 | inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
918 | 0 | if (this == &from) return *this; |
919 | 0 | if (GetArena() == from.GetArena() |
920 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
921 | 0 | && GetArena() != nullptr |
922 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
923 | 0 | ) { |
924 | 0 | InternalSwap(&from); |
925 | 0 | } else { |
926 | 0 | CopyFrom(from); |
927 | 0 | } |
928 | 0 | return *this; |
929 | 0 | } |
930 | | |
931 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
932 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
933 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
934 | 0 | } |
935 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
936 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
937 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
938 | 0 | } |
939 | | |
940 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
941 | 0 | return GetDescriptor(); |
942 | 0 | } |
943 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
944 | 0 | return default_instance().GetMetadata().descriptor; |
945 | 0 | } |
946 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
947 | 0 | return default_instance().GetMetadata().reflection; |
948 | 0 | } |
949 | 0 | static const SourceCodeInfo_Location& default_instance() { |
950 | 0 | return *internal_default_instance(); |
951 | 0 | } |
952 | 0 | static inline const SourceCodeInfo_Location* internal_default_instance() { |
953 | 0 | return reinterpret_cast<const SourceCodeInfo_Location*>( |
954 | 0 | &_SourceCodeInfo_Location_default_instance_); |
955 | 0 | } |
956 | | static constexpr int kIndexInFileMessages = 29; |
957 | 0 | friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { a.Swap(&b); } |
958 | 0 | inline void Swap(SourceCodeInfo_Location* other) { |
959 | 0 | if (other == this) return; |
960 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
961 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
962 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
963 | 0 | if (GetArena() == other->GetArena()) { |
964 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
965 | 0 | InternalSwap(other); |
966 | 0 | } else { |
967 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
968 | 0 | } |
969 | 0 | } |
970 | 0 | void UnsafeArenaSwap(SourceCodeInfo_Location* other) { |
971 | 0 | if (other == this) return; |
972 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
973 | 0 | InternalSwap(other); |
974 | 0 | } |
975 | | |
976 | | // implements Message ---------------------------------------------- |
977 | | |
978 | 0 | SourceCodeInfo_Location* New(::google::protobuf::Arena* arena = nullptr) const final { |
979 | 0 | return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo_Location>(arena); |
980 | 0 | } |
981 | | using ::google::protobuf::Message::CopyFrom; |
982 | | void CopyFrom(const SourceCodeInfo_Location& from); |
983 | | using ::google::protobuf::Message::MergeFrom; |
984 | 0 | void MergeFrom(const SourceCodeInfo_Location& from) { SourceCodeInfo_Location::MergeImpl(*this, from); } |
985 | | |
986 | | private: |
987 | | static void MergeImpl( |
988 | | ::google::protobuf::MessageLite& to_msg, |
989 | | const ::google::protobuf::MessageLite& from_msg); |
990 | | |
991 | | public: |
992 | 0 | bool IsInitialized() const { |
993 | 0 | return true; |
994 | 0 | } |
995 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
996 | | ::size_t ByteSizeLong() const final; |
997 | | ::uint8_t* _InternalSerialize( |
998 | | ::uint8_t* target, |
999 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1000 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1001 | | |
1002 | | private: |
1003 | | void SharedCtor(::google::protobuf::Arena* arena); |
1004 | | void SharedDtor(); |
1005 | | void InternalSwap(SourceCodeInfo_Location* other); |
1006 | | private: |
1007 | | friend class ::google::protobuf::internal::AnyMetadata; |
1008 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo.Location"; } |
1009 | | |
1010 | | protected: |
1011 | | explicit SourceCodeInfo_Location(::google::protobuf::Arena* arena); |
1012 | | SourceCodeInfo_Location(::google::protobuf::Arena* arena, const SourceCodeInfo_Location& from); |
1013 | | SourceCodeInfo_Location(::google::protobuf::Arena* arena, SourceCodeInfo_Location&& from) noexcept |
1014 | 0 | : SourceCodeInfo_Location(arena) { |
1015 | 0 | *this = ::std::move(from); |
1016 | 0 | } |
1017 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
1018 | | |
1019 | | public: |
1020 | | ::google::protobuf::Metadata GetMetadata() const; |
1021 | | // nested types ---------------------------------------------------- |
1022 | | |
1023 | | // accessors ------------------------------------------------------- |
1024 | | enum : int { |
1025 | | kPathFieldNumber = 1, |
1026 | | kSpanFieldNumber = 2, |
1027 | | kLeadingDetachedCommentsFieldNumber = 6, |
1028 | | kLeadingCommentsFieldNumber = 3, |
1029 | | kTrailingCommentsFieldNumber = 4, |
1030 | | }; |
1031 | | // repeated int32 path = 1 [packed = true]; |
1032 | | int path_size() const; |
1033 | | private: |
1034 | | int _internal_path_size() const; |
1035 | | |
1036 | | public: |
1037 | | void clear_path() ; |
1038 | | ::int32_t path(int index) const; |
1039 | | void set_path(int index, ::int32_t value); |
1040 | | void add_path(::int32_t value); |
1041 | | const ::google::protobuf::RepeatedField<::int32_t>& path() const; |
1042 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_path(); |
1043 | | |
1044 | | private: |
1045 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const; |
1046 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_path(); |
1047 | | |
1048 | | public: |
1049 | | // repeated int32 span = 2 [packed = true]; |
1050 | | int span_size() const; |
1051 | | private: |
1052 | | int _internal_span_size() const; |
1053 | | |
1054 | | public: |
1055 | | void clear_span() ; |
1056 | | ::int32_t span(int index) const; |
1057 | | void set_span(int index, ::int32_t value); |
1058 | | void add_span(::int32_t value); |
1059 | | const ::google::protobuf::RepeatedField<::int32_t>& span() const; |
1060 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_span(); |
1061 | | |
1062 | | private: |
1063 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_span() const; |
1064 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_span(); |
1065 | | |
1066 | | public: |
1067 | | // repeated string leading_detached_comments = 6; |
1068 | | int leading_detached_comments_size() const; |
1069 | | private: |
1070 | | int _internal_leading_detached_comments_size() const; |
1071 | | |
1072 | | public: |
1073 | | void clear_leading_detached_comments() ; |
1074 | | const std::string& leading_detached_comments(int index) const; |
1075 | | std::string* mutable_leading_detached_comments(int index); |
1076 | | void set_leading_detached_comments(int index, const std::string& value); |
1077 | | void set_leading_detached_comments(int index, std::string&& value); |
1078 | | void set_leading_detached_comments(int index, const char* value); |
1079 | | void set_leading_detached_comments(int index, const char* value, std::size_t size); |
1080 | | void set_leading_detached_comments(int index, absl::string_view value); |
1081 | | std::string* add_leading_detached_comments(); |
1082 | | void add_leading_detached_comments(const std::string& value); |
1083 | | void add_leading_detached_comments(std::string&& value); |
1084 | | void add_leading_detached_comments(const char* value); |
1085 | | void add_leading_detached_comments(const char* value, std::size_t size); |
1086 | | void add_leading_detached_comments(absl::string_view value); |
1087 | | const ::google::protobuf::RepeatedPtrField<std::string>& leading_detached_comments() const; |
1088 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_leading_detached_comments(); |
1089 | | |
1090 | | private: |
1091 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_leading_detached_comments() const; |
1092 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_leading_detached_comments(); |
1093 | | |
1094 | | public: |
1095 | | // optional string leading_comments = 3; |
1096 | | bool has_leading_comments() const; |
1097 | | void clear_leading_comments() ; |
1098 | | const std::string& leading_comments() const; |
1099 | | template <typename Arg_ = const std::string&, typename... Args_> |
1100 | | void set_leading_comments(Arg_&& arg, Args_... args); |
1101 | | std::string* mutable_leading_comments(); |
1102 | | PROTOBUF_NODISCARD std::string* release_leading_comments(); |
1103 | | void set_allocated_leading_comments(std::string* value); |
1104 | | |
1105 | | private: |
1106 | | const std::string& _internal_leading_comments() const; |
1107 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments( |
1108 | | const std::string& value); |
1109 | | std::string* _internal_mutable_leading_comments(); |
1110 | | |
1111 | | public: |
1112 | | // optional string trailing_comments = 4; |
1113 | | bool has_trailing_comments() const; |
1114 | | void clear_trailing_comments() ; |
1115 | | const std::string& trailing_comments() const; |
1116 | | template <typename Arg_ = const std::string&, typename... Args_> |
1117 | | void set_trailing_comments(Arg_&& arg, Args_... args); |
1118 | | std::string* mutable_trailing_comments(); |
1119 | | PROTOBUF_NODISCARD std::string* release_trailing_comments(); |
1120 | | void set_allocated_trailing_comments(std::string* value); |
1121 | | |
1122 | | private: |
1123 | | const std::string& _internal_trailing_comments() const; |
1124 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments( |
1125 | | const std::string& value); |
1126 | | std::string* _internal_mutable_trailing_comments(); |
1127 | | |
1128 | | public: |
1129 | | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) |
1130 | | private: |
1131 | | class _Internal; |
1132 | | friend class ::google::protobuf::internal::TcParser; |
1133 | | static const ::google::protobuf::internal::TcParseTable< |
1134 | | 3, 5, 0, |
1135 | | 106, 2> |
1136 | | _table_; |
1137 | | |
1138 | | static constexpr const void* _raw_default_instance_ = |
1139 | | &_SourceCodeInfo_Location_default_instance_; |
1140 | | |
1141 | | friend class ::google::protobuf::MessageLite; |
1142 | | friend class ::google::protobuf::Arena; |
1143 | | template <typename T> |
1144 | | friend class ::google::protobuf::Arena::InternalHelper; |
1145 | | using InternalArenaConstructable_ = void; |
1146 | | using DestructorSkippable_ = void; |
1147 | | struct Impl_ { |
1148 | | inline explicit constexpr Impl_( |
1149 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1150 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1151 | | ::google::protobuf::Arena* arena); |
1152 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1153 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1154 | | const SourceCodeInfo_Location& from_msg); |
1155 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1156 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1157 | | ::google::protobuf::RepeatedField<::int32_t> path_; |
1158 | | mutable ::google::protobuf::internal::CachedSize _path_cached_byte_size_; |
1159 | | ::google::protobuf::RepeatedField<::int32_t> span_; |
1160 | | mutable ::google::protobuf::internal::CachedSize _span_cached_byte_size_; |
1161 | | ::google::protobuf::RepeatedPtrField<std::string> leading_detached_comments_; |
1162 | | ::google::protobuf::internal::ArenaStringPtr leading_comments_; |
1163 | | ::google::protobuf::internal::ArenaStringPtr trailing_comments_; |
1164 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1165 | | }; |
1166 | | union { Impl_ _impl_; }; |
1167 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1168 | | }; |
1169 | | // ------------------------------------------------------------------- |
1170 | | |
1171 | | class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : public ::google::protobuf::Message |
1172 | | /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { |
1173 | | public: |
1174 | 0 | inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} |
1175 | | ~GeneratedCodeInfo_Annotation() override; |
1176 | | template <typename = void> |
1177 | | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation( |
1178 | | ::google::protobuf::internal::ConstantInitialized); |
1179 | | |
1180 | 0 | inline GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from) : GeneratedCodeInfo_Annotation(nullptr, from) {} |
1181 | | inline GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
1182 | 0 | : GeneratedCodeInfo_Annotation(nullptr, std::move(from)) {} |
1183 | 0 | inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
1184 | 0 | CopyFrom(from); |
1185 | 0 | return *this; |
1186 | 0 | } |
1187 | 0 | inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
1188 | 0 | if (this == &from) return *this; |
1189 | 0 | if (GetArena() == from.GetArena() |
1190 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1191 | 0 | && GetArena() != nullptr |
1192 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1193 | 0 | ) { |
1194 | 0 | InternalSwap(&from); |
1195 | 0 | } else { |
1196 | 0 | CopyFrom(from); |
1197 | 0 | } |
1198 | 0 | return *this; |
1199 | 0 | } |
1200 | | |
1201 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1202 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1203 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1204 | 0 | } |
1205 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1206 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1207 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1208 | 0 | } |
1209 | | |
1210 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1211 | 0 | return GetDescriptor(); |
1212 | 0 | } |
1213 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1214 | 0 | return default_instance().GetMetadata().descriptor; |
1215 | 0 | } |
1216 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1217 | 0 | return default_instance().GetMetadata().reflection; |
1218 | 0 | } |
1219 | 0 | static const GeneratedCodeInfo_Annotation& default_instance() { |
1220 | 0 | return *internal_default_instance(); |
1221 | 0 | } |
1222 | 0 | static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
1223 | 0 | return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
1224 | 0 | &_GeneratedCodeInfo_Annotation_default_instance_); |
1225 | 0 | } |
1226 | | static constexpr int kIndexInFileMessages = 31; |
1227 | 0 | friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { a.Swap(&b); } |
1228 | 0 | inline void Swap(GeneratedCodeInfo_Annotation* other) { |
1229 | 0 | if (other == this) return; |
1230 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1231 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
1232 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1233 | 0 | if (GetArena() == other->GetArena()) { |
1234 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1235 | 0 | InternalSwap(other); |
1236 | 0 | } else { |
1237 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1238 | 0 | } |
1239 | 0 | } |
1240 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { |
1241 | 0 | if (other == this) return; |
1242 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1243 | 0 | InternalSwap(other); |
1244 | 0 | } |
1245 | | |
1246 | | // implements Message ---------------------------------------------- |
1247 | | |
1248 | 0 | GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena = nullptr) const final { |
1249 | 0 | return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo_Annotation>(arena); |
1250 | 0 | } |
1251 | | using ::google::protobuf::Message::CopyFrom; |
1252 | | void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
1253 | | using ::google::protobuf::Message::MergeFrom; |
1254 | 0 | void MergeFrom(const GeneratedCodeInfo_Annotation& from) { GeneratedCodeInfo_Annotation::MergeImpl(*this, from); } |
1255 | | |
1256 | | private: |
1257 | | static void MergeImpl( |
1258 | | ::google::protobuf::MessageLite& to_msg, |
1259 | | const ::google::protobuf::MessageLite& from_msg); |
1260 | | |
1261 | | public: |
1262 | 0 | bool IsInitialized() const { |
1263 | 0 | return true; |
1264 | 0 | } |
1265 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
1266 | | ::size_t ByteSizeLong() const final; |
1267 | | ::uint8_t* _InternalSerialize( |
1268 | | ::uint8_t* target, |
1269 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1270 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1271 | | |
1272 | | private: |
1273 | | void SharedCtor(::google::protobuf::Arena* arena); |
1274 | | void SharedDtor(); |
1275 | | void InternalSwap(GeneratedCodeInfo_Annotation* other); |
1276 | | private: |
1277 | | friend class ::google::protobuf::internal::AnyMetadata; |
1278 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo.Annotation"; } |
1279 | | |
1280 | | protected: |
1281 | | explicit GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena); |
1282 | | GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, const GeneratedCodeInfo_Annotation& from); |
1283 | | GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, GeneratedCodeInfo_Annotation&& from) noexcept |
1284 | 0 | : GeneratedCodeInfo_Annotation(arena) { |
1285 | 0 | *this = ::std::move(from); |
1286 | 0 | } |
1287 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
1288 | | |
1289 | | public: |
1290 | | ::google::protobuf::Metadata GetMetadata() const; |
1291 | | // nested types ---------------------------------------------------- |
1292 | | using Semantic = GeneratedCodeInfo_Annotation_Semantic; |
1293 | | static constexpr Semantic NONE = GeneratedCodeInfo_Annotation_Semantic_NONE; |
1294 | | static constexpr Semantic SET = GeneratedCodeInfo_Annotation_Semantic_SET; |
1295 | | static constexpr Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic_ALIAS; |
1296 | 0 | static inline bool Semantic_IsValid(int value) { |
1297 | 0 | return GeneratedCodeInfo_Annotation_Semantic_IsValid(value); |
1298 | 0 | } |
1299 | | static constexpr Semantic Semantic_MIN = GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN; |
1300 | | static constexpr Semantic Semantic_MAX = GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX; |
1301 | | static constexpr int Semantic_ARRAYSIZE = GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE; |
1302 | 0 | static inline const ::google::protobuf::EnumDescriptor* Semantic_descriptor() { |
1303 | 0 | return GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
1304 | 0 | } |
1305 | | template <typename T> |
1306 | | static inline const std::string& Semantic_Name(T value) { |
1307 | | return GeneratedCodeInfo_Annotation_Semantic_Name(value); |
1308 | | } |
1309 | 0 | static inline bool Semantic_Parse(absl::string_view name, Semantic* value) { |
1310 | 0 | return GeneratedCodeInfo_Annotation_Semantic_Parse(name, value); |
1311 | 0 | } |
1312 | | |
1313 | | // accessors ------------------------------------------------------- |
1314 | | enum : int { |
1315 | | kPathFieldNumber = 1, |
1316 | | kSourceFileFieldNumber = 2, |
1317 | | kBeginFieldNumber = 3, |
1318 | | kEndFieldNumber = 4, |
1319 | | kSemanticFieldNumber = 5, |
1320 | | }; |
1321 | | // repeated int32 path = 1 [packed = true]; |
1322 | | int path_size() const; |
1323 | | private: |
1324 | | int _internal_path_size() const; |
1325 | | |
1326 | | public: |
1327 | | void clear_path() ; |
1328 | | ::int32_t path(int index) const; |
1329 | | void set_path(int index, ::int32_t value); |
1330 | | void add_path(::int32_t value); |
1331 | | const ::google::protobuf::RepeatedField<::int32_t>& path() const; |
1332 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_path(); |
1333 | | |
1334 | | private: |
1335 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const; |
1336 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_path(); |
1337 | | |
1338 | | public: |
1339 | | // optional string source_file = 2; |
1340 | | bool has_source_file() const; |
1341 | | void clear_source_file() ; |
1342 | | const std::string& source_file() const; |
1343 | | template <typename Arg_ = const std::string&, typename... Args_> |
1344 | | void set_source_file(Arg_&& arg, Args_... args); |
1345 | | std::string* mutable_source_file(); |
1346 | | PROTOBUF_NODISCARD std::string* release_source_file(); |
1347 | | void set_allocated_source_file(std::string* value); |
1348 | | |
1349 | | private: |
1350 | | const std::string& _internal_source_file() const; |
1351 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file( |
1352 | | const std::string& value); |
1353 | | std::string* _internal_mutable_source_file(); |
1354 | | |
1355 | | public: |
1356 | | // optional int32 begin = 3; |
1357 | | bool has_begin() const; |
1358 | | void clear_begin() ; |
1359 | | ::int32_t begin() const; |
1360 | | void set_begin(::int32_t value); |
1361 | | |
1362 | | private: |
1363 | | ::int32_t _internal_begin() const; |
1364 | | void _internal_set_begin(::int32_t value); |
1365 | | |
1366 | | public: |
1367 | | // optional int32 end = 4; |
1368 | | bool has_end() const; |
1369 | | void clear_end() ; |
1370 | | ::int32_t end() const; |
1371 | | void set_end(::int32_t value); |
1372 | | |
1373 | | private: |
1374 | | ::int32_t _internal_end() const; |
1375 | | void _internal_set_end(::int32_t value); |
1376 | | |
1377 | | public: |
1378 | | // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; |
1379 | | bool has_semantic() const; |
1380 | | void clear_semantic() ; |
1381 | | ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic semantic() const; |
1382 | | void set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value); |
1383 | | |
1384 | | private: |
1385 | | ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic _internal_semantic() const; |
1386 | | void _internal_set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value); |
1387 | | |
1388 | | public: |
1389 | | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) |
1390 | | private: |
1391 | | class _Internal; |
1392 | | friend class ::google::protobuf::internal::TcParser; |
1393 | | static const ::google::protobuf::internal::TcParseTable< |
1394 | | 3, 5, 1, |
1395 | | 64, 2> |
1396 | | _table_; |
1397 | | |
1398 | | static constexpr const void* _raw_default_instance_ = |
1399 | | &_GeneratedCodeInfo_Annotation_default_instance_; |
1400 | | |
1401 | | friend class ::google::protobuf::MessageLite; |
1402 | | friend class ::google::protobuf::Arena; |
1403 | | template <typename T> |
1404 | | friend class ::google::protobuf::Arena::InternalHelper; |
1405 | | using InternalArenaConstructable_ = void; |
1406 | | using DestructorSkippable_ = void; |
1407 | | struct Impl_ { |
1408 | | inline explicit constexpr Impl_( |
1409 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1410 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1411 | | ::google::protobuf::Arena* arena); |
1412 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1413 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1414 | | const GeneratedCodeInfo_Annotation& from_msg); |
1415 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1416 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1417 | | ::google::protobuf::RepeatedField<::int32_t> path_; |
1418 | | mutable ::google::protobuf::internal::CachedSize _path_cached_byte_size_; |
1419 | | ::google::protobuf::internal::ArenaStringPtr source_file_; |
1420 | | ::int32_t begin_; |
1421 | | ::int32_t end_; |
1422 | | int semantic_; |
1423 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1424 | | }; |
1425 | | union { Impl_ _impl_; }; |
1426 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1427 | | }; |
1428 | | // ------------------------------------------------------------------- |
1429 | | |
1430 | | class PROTOBUF_EXPORT FieldOptions_FeatureSupport final : public ::google::protobuf::Message |
1431 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions.FeatureSupport) */ { |
1432 | | public: |
1433 | 0 | inline FieldOptions_FeatureSupport() : FieldOptions_FeatureSupport(nullptr) {} |
1434 | | ~FieldOptions_FeatureSupport() override; |
1435 | | template <typename = void> |
1436 | | explicit PROTOBUF_CONSTEXPR FieldOptions_FeatureSupport( |
1437 | | ::google::protobuf::internal::ConstantInitialized); |
1438 | | |
1439 | 0 | inline FieldOptions_FeatureSupport(const FieldOptions_FeatureSupport& from) : FieldOptions_FeatureSupport(nullptr, from) {} |
1440 | | inline FieldOptions_FeatureSupport(FieldOptions_FeatureSupport&& from) noexcept |
1441 | 0 | : FieldOptions_FeatureSupport(nullptr, std::move(from)) {} |
1442 | 0 | inline FieldOptions_FeatureSupport& operator=(const FieldOptions_FeatureSupport& from) { |
1443 | 0 | CopyFrom(from); |
1444 | 0 | return *this; |
1445 | 0 | } |
1446 | 0 | inline FieldOptions_FeatureSupport& operator=(FieldOptions_FeatureSupport&& from) noexcept { |
1447 | 0 | if (this == &from) return *this; |
1448 | 0 | if (GetArena() == from.GetArena() |
1449 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1450 | 0 | && GetArena() != nullptr |
1451 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1452 | 0 | ) { |
1453 | 0 | InternalSwap(&from); |
1454 | 0 | } else { |
1455 | 0 | CopyFrom(from); |
1456 | 0 | } |
1457 | 0 | return *this; |
1458 | 0 | } |
1459 | | |
1460 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1461 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1462 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1463 | 0 | } |
1464 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1465 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1466 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1467 | 0 | } |
1468 | | |
1469 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1470 | 0 | return GetDescriptor(); |
1471 | 0 | } |
1472 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1473 | 0 | return default_instance().GetMetadata().descriptor; |
1474 | 0 | } |
1475 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1476 | 0 | return default_instance().GetMetadata().reflection; |
1477 | 0 | } |
1478 | 0 | static const FieldOptions_FeatureSupport& default_instance() { |
1479 | 0 | return *internal_default_instance(); |
1480 | 0 | } |
1481 | 0 | static inline const FieldOptions_FeatureSupport* internal_default_instance() { |
1482 | 0 | return reinterpret_cast<const FieldOptions_FeatureSupport*>( |
1483 | 0 | &_FieldOptions_FeatureSupport_default_instance_); |
1484 | 0 | } |
1485 | | static constexpr int kIndexInFileMessages = 17; |
1486 | 0 | friend void swap(FieldOptions_FeatureSupport& a, FieldOptions_FeatureSupport& b) { a.Swap(&b); } |
1487 | 0 | inline void Swap(FieldOptions_FeatureSupport* other) { |
1488 | 0 | if (other == this) return; |
1489 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1490 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
1491 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1492 | 0 | if (GetArena() == other->GetArena()) { |
1493 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1494 | 0 | InternalSwap(other); |
1495 | 0 | } else { |
1496 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1497 | 0 | } |
1498 | 0 | } |
1499 | 0 | void UnsafeArenaSwap(FieldOptions_FeatureSupport* other) { |
1500 | 0 | if (other == this) return; |
1501 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1502 | 0 | InternalSwap(other); |
1503 | 0 | } |
1504 | | |
1505 | | // implements Message ---------------------------------------------- |
1506 | | |
1507 | 0 | FieldOptions_FeatureSupport* New(::google::protobuf::Arena* arena = nullptr) const final { |
1508 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldOptions_FeatureSupport>(arena); |
1509 | 0 | } |
1510 | | using ::google::protobuf::Message::CopyFrom; |
1511 | | void CopyFrom(const FieldOptions_FeatureSupport& from); |
1512 | | using ::google::protobuf::Message::MergeFrom; |
1513 | 0 | void MergeFrom(const FieldOptions_FeatureSupport& from) { FieldOptions_FeatureSupport::MergeImpl(*this, from); } |
1514 | | |
1515 | | private: |
1516 | | static void MergeImpl( |
1517 | | ::google::protobuf::MessageLite& to_msg, |
1518 | | const ::google::protobuf::MessageLite& from_msg); |
1519 | | |
1520 | | public: |
1521 | 0 | bool IsInitialized() const { |
1522 | 0 | return true; |
1523 | 0 | } |
1524 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
1525 | | ::size_t ByteSizeLong() const final; |
1526 | | ::uint8_t* _InternalSerialize( |
1527 | | ::uint8_t* target, |
1528 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1529 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1530 | | |
1531 | | private: |
1532 | | void SharedCtor(::google::protobuf::Arena* arena); |
1533 | | void SharedDtor(); |
1534 | | void InternalSwap(FieldOptions_FeatureSupport* other); |
1535 | | private: |
1536 | | friend class ::google::protobuf::internal::AnyMetadata; |
1537 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.FeatureSupport"; } |
1538 | | |
1539 | | protected: |
1540 | | explicit FieldOptions_FeatureSupport(::google::protobuf::Arena* arena); |
1541 | | FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, const FieldOptions_FeatureSupport& from); |
1542 | | FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, FieldOptions_FeatureSupport&& from) noexcept |
1543 | 0 | : FieldOptions_FeatureSupport(arena) { |
1544 | 0 | *this = ::std::move(from); |
1545 | 0 | } |
1546 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
1547 | | |
1548 | | public: |
1549 | | ::google::protobuf::Metadata GetMetadata() const; |
1550 | | // nested types ---------------------------------------------------- |
1551 | | |
1552 | | // accessors ------------------------------------------------------- |
1553 | | enum : int { |
1554 | | kDeprecationWarningFieldNumber = 3, |
1555 | | kEditionIntroducedFieldNumber = 1, |
1556 | | kEditionDeprecatedFieldNumber = 2, |
1557 | | kEditionRemovedFieldNumber = 4, |
1558 | | }; |
1559 | | // optional string deprecation_warning = 3; |
1560 | | bool has_deprecation_warning() const; |
1561 | | void clear_deprecation_warning() ; |
1562 | | const std::string& deprecation_warning() const; |
1563 | | template <typename Arg_ = const std::string&, typename... Args_> |
1564 | | void set_deprecation_warning(Arg_&& arg, Args_... args); |
1565 | | std::string* mutable_deprecation_warning(); |
1566 | | PROTOBUF_NODISCARD std::string* release_deprecation_warning(); |
1567 | | void set_allocated_deprecation_warning(std::string* value); |
1568 | | |
1569 | | private: |
1570 | | const std::string& _internal_deprecation_warning() const; |
1571 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_deprecation_warning( |
1572 | | const std::string& value); |
1573 | | std::string* _internal_mutable_deprecation_warning(); |
1574 | | |
1575 | | public: |
1576 | | // optional .google.protobuf.Edition edition_introduced = 1; |
1577 | | bool has_edition_introduced() const; |
1578 | | void clear_edition_introduced() ; |
1579 | | ::google::protobuf::Edition edition_introduced() const; |
1580 | | void set_edition_introduced(::google::protobuf::Edition value); |
1581 | | |
1582 | | private: |
1583 | | ::google::protobuf::Edition _internal_edition_introduced() const; |
1584 | | void _internal_set_edition_introduced(::google::protobuf::Edition value); |
1585 | | |
1586 | | public: |
1587 | | // optional .google.protobuf.Edition edition_deprecated = 2; |
1588 | | bool has_edition_deprecated() const; |
1589 | | void clear_edition_deprecated() ; |
1590 | | ::google::protobuf::Edition edition_deprecated() const; |
1591 | | void set_edition_deprecated(::google::protobuf::Edition value); |
1592 | | |
1593 | | private: |
1594 | | ::google::protobuf::Edition _internal_edition_deprecated() const; |
1595 | | void _internal_set_edition_deprecated(::google::protobuf::Edition value); |
1596 | | |
1597 | | public: |
1598 | | // optional .google.protobuf.Edition edition_removed = 4; |
1599 | | bool has_edition_removed() const; |
1600 | | void clear_edition_removed() ; |
1601 | | ::google::protobuf::Edition edition_removed() const; |
1602 | | void set_edition_removed(::google::protobuf::Edition value); |
1603 | | |
1604 | | private: |
1605 | | ::google::protobuf::Edition _internal_edition_removed() const; |
1606 | | void _internal_set_edition_removed(::google::protobuf::Edition value); |
1607 | | |
1608 | | public: |
1609 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.FeatureSupport) |
1610 | | private: |
1611 | | class _Internal; |
1612 | | friend class ::google::protobuf::internal::TcParser; |
1613 | | static const ::google::protobuf::internal::TcParseTable< |
1614 | | 2, 4, 3, |
1615 | | 71, 2> |
1616 | | _table_; |
1617 | | |
1618 | | static constexpr const void* _raw_default_instance_ = |
1619 | | &_FieldOptions_FeatureSupport_default_instance_; |
1620 | | |
1621 | | friend class ::google::protobuf::MessageLite; |
1622 | | friend class ::google::protobuf::Arena; |
1623 | | template <typename T> |
1624 | | friend class ::google::protobuf::Arena::InternalHelper; |
1625 | | using InternalArenaConstructable_ = void; |
1626 | | using DestructorSkippable_ = void; |
1627 | | struct Impl_ { |
1628 | | inline explicit constexpr Impl_( |
1629 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1630 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1631 | | ::google::protobuf::Arena* arena); |
1632 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1633 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1634 | | const FieldOptions_FeatureSupport& from_msg); |
1635 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1636 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1637 | | ::google::protobuf::internal::ArenaStringPtr deprecation_warning_; |
1638 | | int edition_introduced_; |
1639 | | int edition_deprecated_; |
1640 | | int edition_removed_; |
1641 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1642 | | }; |
1643 | | union { Impl_ _impl_; }; |
1644 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1645 | | }; |
1646 | | // ------------------------------------------------------------------- |
1647 | | |
1648 | | class PROTOBUF_EXPORT FieldOptions_EditionDefault final : public ::google::protobuf::Message |
1649 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions.EditionDefault) */ { |
1650 | | public: |
1651 | 0 | inline FieldOptions_EditionDefault() : FieldOptions_EditionDefault(nullptr) {} |
1652 | | ~FieldOptions_EditionDefault() override; |
1653 | | template <typename = void> |
1654 | | explicit PROTOBUF_CONSTEXPR FieldOptions_EditionDefault( |
1655 | | ::google::protobuf::internal::ConstantInitialized); |
1656 | | |
1657 | 0 | inline FieldOptions_EditionDefault(const FieldOptions_EditionDefault& from) : FieldOptions_EditionDefault(nullptr, from) {} |
1658 | | inline FieldOptions_EditionDefault(FieldOptions_EditionDefault&& from) noexcept |
1659 | 0 | : FieldOptions_EditionDefault(nullptr, std::move(from)) {} |
1660 | 0 | inline FieldOptions_EditionDefault& operator=(const FieldOptions_EditionDefault& from) { |
1661 | 0 | CopyFrom(from); |
1662 | 0 | return *this; |
1663 | 0 | } |
1664 | 0 | inline FieldOptions_EditionDefault& operator=(FieldOptions_EditionDefault&& from) noexcept { |
1665 | 0 | if (this == &from) return *this; |
1666 | 0 | if (GetArena() == from.GetArena() |
1667 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1668 | 0 | && GetArena() != nullptr |
1669 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1670 | 0 | ) { |
1671 | 0 | InternalSwap(&from); |
1672 | 0 | } else { |
1673 | 0 | CopyFrom(from); |
1674 | 0 | } |
1675 | 0 | return *this; |
1676 | 0 | } |
1677 | | |
1678 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1679 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1680 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1681 | 0 | } |
1682 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1683 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1684 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1685 | 0 | } |
1686 | | |
1687 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1688 | 0 | return GetDescriptor(); |
1689 | 0 | } |
1690 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1691 | 0 | return default_instance().GetMetadata().descriptor; |
1692 | 0 | } |
1693 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1694 | 0 | return default_instance().GetMetadata().reflection; |
1695 | 0 | } |
1696 | 0 | static const FieldOptions_EditionDefault& default_instance() { |
1697 | 0 | return *internal_default_instance(); |
1698 | 0 | } |
1699 | 0 | static inline const FieldOptions_EditionDefault* internal_default_instance() { |
1700 | 0 | return reinterpret_cast<const FieldOptions_EditionDefault*>( |
1701 | 0 | &_FieldOptions_EditionDefault_default_instance_); |
1702 | 0 | } |
1703 | | static constexpr int kIndexInFileMessages = 16; |
1704 | 0 | friend void swap(FieldOptions_EditionDefault& a, FieldOptions_EditionDefault& b) { a.Swap(&b); } |
1705 | 0 | inline void Swap(FieldOptions_EditionDefault* other) { |
1706 | 0 | if (other == this) return; |
1707 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1708 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
1709 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1710 | 0 | if (GetArena() == other->GetArena()) { |
1711 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1712 | 0 | InternalSwap(other); |
1713 | 0 | } else { |
1714 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1715 | 0 | } |
1716 | 0 | } |
1717 | 0 | void UnsafeArenaSwap(FieldOptions_EditionDefault* other) { |
1718 | 0 | if (other == this) return; |
1719 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1720 | 0 | InternalSwap(other); |
1721 | 0 | } |
1722 | | |
1723 | | // implements Message ---------------------------------------------- |
1724 | | |
1725 | 0 | FieldOptions_EditionDefault* New(::google::protobuf::Arena* arena = nullptr) const final { |
1726 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldOptions_EditionDefault>(arena); |
1727 | 0 | } |
1728 | | using ::google::protobuf::Message::CopyFrom; |
1729 | | void CopyFrom(const FieldOptions_EditionDefault& from); |
1730 | | using ::google::protobuf::Message::MergeFrom; |
1731 | 0 | void MergeFrom(const FieldOptions_EditionDefault& from) { FieldOptions_EditionDefault::MergeImpl(*this, from); } |
1732 | | |
1733 | | private: |
1734 | | static void MergeImpl( |
1735 | | ::google::protobuf::MessageLite& to_msg, |
1736 | | const ::google::protobuf::MessageLite& from_msg); |
1737 | | |
1738 | | public: |
1739 | 0 | bool IsInitialized() const { |
1740 | 0 | return true; |
1741 | 0 | } |
1742 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
1743 | | ::size_t ByteSizeLong() const final; |
1744 | | ::uint8_t* _InternalSerialize( |
1745 | | ::uint8_t* target, |
1746 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1747 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1748 | | |
1749 | | private: |
1750 | | void SharedCtor(::google::protobuf::Arena* arena); |
1751 | | void SharedDtor(); |
1752 | | void InternalSwap(FieldOptions_EditionDefault* other); |
1753 | | private: |
1754 | | friend class ::google::protobuf::internal::AnyMetadata; |
1755 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.EditionDefault"; } |
1756 | | |
1757 | | protected: |
1758 | | explicit FieldOptions_EditionDefault(::google::protobuf::Arena* arena); |
1759 | | FieldOptions_EditionDefault(::google::protobuf::Arena* arena, const FieldOptions_EditionDefault& from); |
1760 | | FieldOptions_EditionDefault(::google::protobuf::Arena* arena, FieldOptions_EditionDefault&& from) noexcept |
1761 | 0 | : FieldOptions_EditionDefault(arena) { |
1762 | 0 | *this = ::std::move(from); |
1763 | 0 | } |
1764 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
1765 | | |
1766 | | public: |
1767 | | ::google::protobuf::Metadata GetMetadata() const; |
1768 | | // nested types ---------------------------------------------------- |
1769 | | |
1770 | | // accessors ------------------------------------------------------- |
1771 | | enum : int { |
1772 | | kValueFieldNumber = 2, |
1773 | | kEditionFieldNumber = 3, |
1774 | | }; |
1775 | | // optional string value = 2; |
1776 | | bool has_value() const; |
1777 | | void clear_value() ; |
1778 | | const std::string& value() const; |
1779 | | template <typename Arg_ = const std::string&, typename... Args_> |
1780 | | void set_value(Arg_&& arg, Args_... args); |
1781 | | std::string* mutable_value(); |
1782 | | PROTOBUF_NODISCARD std::string* release_value(); |
1783 | | void set_allocated_value(std::string* value); |
1784 | | |
1785 | | private: |
1786 | | const std::string& _internal_value() const; |
1787 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( |
1788 | | const std::string& value); |
1789 | | std::string* _internal_mutable_value(); |
1790 | | |
1791 | | public: |
1792 | | // optional .google.protobuf.Edition edition = 3; |
1793 | | bool has_edition() const; |
1794 | | void clear_edition() ; |
1795 | | ::google::protobuf::Edition edition() const; |
1796 | | void set_edition(::google::protobuf::Edition value); |
1797 | | |
1798 | | private: |
1799 | | ::google::protobuf::Edition _internal_edition() const; |
1800 | | void _internal_set_edition(::google::protobuf::Edition value); |
1801 | | |
1802 | | public: |
1803 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.EditionDefault) |
1804 | | private: |
1805 | | class _Internal; |
1806 | | friend class ::google::protobuf::internal::TcParser; |
1807 | | static const ::google::protobuf::internal::TcParseTable< |
1808 | | 1, 2, 1, |
1809 | | 57, 2> |
1810 | | _table_; |
1811 | | |
1812 | | static constexpr const void* _raw_default_instance_ = |
1813 | | &_FieldOptions_EditionDefault_default_instance_; |
1814 | | |
1815 | | friend class ::google::protobuf::MessageLite; |
1816 | | friend class ::google::protobuf::Arena; |
1817 | | template <typename T> |
1818 | | friend class ::google::protobuf::Arena::InternalHelper; |
1819 | | using InternalArenaConstructable_ = void; |
1820 | | using DestructorSkippable_ = void; |
1821 | | struct Impl_ { |
1822 | | inline explicit constexpr Impl_( |
1823 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1824 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1825 | | ::google::protobuf::Arena* arena); |
1826 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1827 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1828 | | const FieldOptions_EditionDefault& from_msg); |
1829 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1830 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1831 | | ::google::protobuf::internal::ArenaStringPtr value_; |
1832 | | int edition_; |
1833 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1834 | | }; |
1835 | | union { Impl_ _impl_; }; |
1836 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1837 | | }; |
1838 | | // ------------------------------------------------------------------- |
1839 | | |
1840 | | class PROTOBUF_EXPORT FeatureSet final : public ::google::protobuf::Message |
1841 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSet) */ { |
1842 | | public: |
1843 | 0 | inline FeatureSet() : FeatureSet(nullptr) {} |
1844 | | ~FeatureSet() override; |
1845 | | template <typename = void> |
1846 | | explicit PROTOBUF_CONSTEXPR FeatureSet( |
1847 | | ::google::protobuf::internal::ConstantInitialized); |
1848 | | |
1849 | 0 | inline FeatureSet(const FeatureSet& from) : FeatureSet(nullptr, from) {} |
1850 | | inline FeatureSet(FeatureSet&& from) noexcept |
1851 | 0 | : FeatureSet(nullptr, std::move(from)) {} |
1852 | 0 | inline FeatureSet& operator=(const FeatureSet& from) { |
1853 | 0 | CopyFrom(from); |
1854 | 0 | return *this; |
1855 | 0 | } |
1856 | 0 | inline FeatureSet& operator=(FeatureSet&& from) noexcept { |
1857 | 0 | if (this == &from) return *this; |
1858 | 0 | if (GetArena() == from.GetArena() |
1859 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1860 | 0 | && GetArena() != nullptr |
1861 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1862 | 0 | ) { |
1863 | 0 | InternalSwap(&from); |
1864 | 0 | } else { |
1865 | 0 | CopyFrom(from); |
1866 | 0 | } |
1867 | 0 | return *this; |
1868 | 0 | } |
1869 | | |
1870 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1871 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1872 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1873 | 0 | } |
1874 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1875 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1876 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1877 | 0 | } |
1878 | | |
1879 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1880 | 0 | return GetDescriptor(); |
1881 | 0 | } |
1882 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1883 | 0 | return default_instance().GetMetadata().descriptor; |
1884 | 0 | } |
1885 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1886 | 0 | return default_instance().GetMetadata().reflection; |
1887 | 0 | } |
1888 | 0 | static const FeatureSet& default_instance() { |
1889 | 0 | return *internal_default_instance(); |
1890 | 0 | } |
1891 | 0 | static inline const FeatureSet* internal_default_instance() { |
1892 | 0 | return reinterpret_cast<const FeatureSet*>( |
1893 | 0 | &_FeatureSet_default_instance_); |
1894 | 0 | } |
1895 | | static constexpr int kIndexInFileMessages = 26; |
1896 | 0 | friend void swap(FeatureSet& a, FeatureSet& b) { a.Swap(&b); } |
1897 | 0 | inline void Swap(FeatureSet* other) { |
1898 | 0 | if (other == this) return; |
1899 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1900 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
1901 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1902 | 0 | if (GetArena() == other->GetArena()) { |
1903 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1904 | 0 | InternalSwap(other); |
1905 | 0 | } else { |
1906 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1907 | 0 | } |
1908 | 0 | } |
1909 | 0 | void UnsafeArenaSwap(FeatureSet* other) { |
1910 | 0 | if (other == this) return; |
1911 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1912 | 0 | InternalSwap(other); |
1913 | 0 | } |
1914 | | |
1915 | | // implements Message ---------------------------------------------- |
1916 | | |
1917 | 0 | FeatureSet* New(::google::protobuf::Arena* arena = nullptr) const final { |
1918 | 0 | return ::google::protobuf::Message::DefaultConstruct<FeatureSet>(arena); |
1919 | 0 | } |
1920 | | using ::google::protobuf::Message::CopyFrom; |
1921 | | void CopyFrom(const FeatureSet& from); |
1922 | | using ::google::protobuf::Message::MergeFrom; |
1923 | 0 | void MergeFrom(const FeatureSet& from) { FeatureSet::MergeImpl(*this, from); } |
1924 | | |
1925 | | private: |
1926 | | static void MergeImpl( |
1927 | | ::google::protobuf::MessageLite& to_msg, |
1928 | | const ::google::protobuf::MessageLite& from_msg); |
1929 | | |
1930 | | public: |
1931 | 0 | bool IsInitialized() const { |
1932 | 0 | return IsInitializedImpl(*this); |
1933 | 0 | } |
1934 | | |
1935 | | private: |
1936 | | static bool IsInitializedImpl(const MessageLite& msg); |
1937 | | |
1938 | | public: |
1939 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
1940 | | ::size_t ByteSizeLong() const final; |
1941 | | ::uint8_t* _InternalSerialize( |
1942 | | ::uint8_t* target, |
1943 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1944 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1945 | | |
1946 | | private: |
1947 | | void SharedCtor(::google::protobuf::Arena* arena); |
1948 | | void SharedDtor(); |
1949 | | void InternalSwap(FeatureSet* other); |
1950 | | private: |
1951 | | friend class ::google::protobuf::internal::AnyMetadata; |
1952 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSet"; } |
1953 | | |
1954 | | protected: |
1955 | | explicit FeatureSet(::google::protobuf::Arena* arena); |
1956 | | FeatureSet(::google::protobuf::Arena* arena, const FeatureSet& from); |
1957 | | FeatureSet(::google::protobuf::Arena* arena, FeatureSet&& from) noexcept |
1958 | 0 | : FeatureSet(arena) { |
1959 | 0 | *this = ::std::move(from); |
1960 | 0 | } |
1961 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
1962 | | |
1963 | | public: |
1964 | | ::google::protobuf::Metadata GetMetadata() const; |
1965 | | // nested types ---------------------------------------------------- |
1966 | | using FieldPresence = FeatureSet_FieldPresence; |
1967 | | static constexpr FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN; |
1968 | | static constexpr FieldPresence EXPLICIT = FeatureSet_FieldPresence_EXPLICIT; |
1969 | | static constexpr FieldPresence IMPLICIT = FeatureSet_FieldPresence_IMPLICIT; |
1970 | | static constexpr FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence_LEGACY_REQUIRED; |
1971 | 0 | static inline bool FieldPresence_IsValid(int value) { |
1972 | 0 | return FeatureSet_FieldPresence_IsValid(value); |
1973 | 0 | } |
1974 | | static constexpr FieldPresence FieldPresence_MIN = FeatureSet_FieldPresence_FieldPresence_MIN; |
1975 | | static constexpr FieldPresence FieldPresence_MAX = FeatureSet_FieldPresence_FieldPresence_MAX; |
1976 | | static constexpr int FieldPresence_ARRAYSIZE = FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE; |
1977 | 0 | static inline const ::google::protobuf::EnumDescriptor* FieldPresence_descriptor() { |
1978 | 0 | return FeatureSet_FieldPresence_descriptor(); |
1979 | 0 | } |
1980 | | template <typename T> |
1981 | | static inline const std::string& FieldPresence_Name(T value) { |
1982 | | return FeatureSet_FieldPresence_Name(value); |
1983 | | } |
1984 | 0 | static inline bool FieldPresence_Parse(absl::string_view name, FieldPresence* value) { |
1985 | 0 | return FeatureSet_FieldPresence_Parse(name, value); |
1986 | 0 | } |
1987 | | using EnumType = FeatureSet_EnumType; |
1988 | | static constexpr EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType_ENUM_TYPE_UNKNOWN; |
1989 | | static constexpr EnumType OPEN = FeatureSet_EnumType_OPEN; |
1990 | | static constexpr EnumType CLOSED = FeatureSet_EnumType_CLOSED; |
1991 | 0 | static inline bool EnumType_IsValid(int value) { |
1992 | 0 | return FeatureSet_EnumType_IsValid(value); |
1993 | 0 | } |
1994 | | static constexpr EnumType EnumType_MIN = FeatureSet_EnumType_EnumType_MIN; |
1995 | | static constexpr EnumType EnumType_MAX = FeatureSet_EnumType_EnumType_MAX; |
1996 | | static constexpr int EnumType_ARRAYSIZE = FeatureSet_EnumType_EnumType_ARRAYSIZE; |
1997 | 0 | static inline const ::google::protobuf::EnumDescriptor* EnumType_descriptor() { |
1998 | 0 | return FeatureSet_EnumType_descriptor(); |
1999 | 0 | } |
2000 | | template <typename T> |
2001 | | static inline const std::string& EnumType_Name(T value) { |
2002 | | return FeatureSet_EnumType_Name(value); |
2003 | | } |
2004 | 0 | static inline bool EnumType_Parse(absl::string_view name, EnumType* value) { |
2005 | 0 | return FeatureSet_EnumType_Parse(name, value); |
2006 | 0 | } |
2007 | | using RepeatedFieldEncoding = FeatureSet_RepeatedFieldEncoding; |
2008 | | static constexpr RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN; |
2009 | | static constexpr RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding_PACKED; |
2010 | | static constexpr RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding_EXPANDED; |
2011 | 0 | static inline bool RepeatedFieldEncoding_IsValid(int value) { |
2012 | 0 | return FeatureSet_RepeatedFieldEncoding_IsValid(value); |
2013 | 0 | } |
2014 | | static constexpr RepeatedFieldEncoding RepeatedFieldEncoding_MIN = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN; |
2015 | | static constexpr RepeatedFieldEncoding RepeatedFieldEncoding_MAX = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX; |
2016 | | static constexpr int RepeatedFieldEncoding_ARRAYSIZE = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE; |
2017 | 0 | static inline const ::google::protobuf::EnumDescriptor* RepeatedFieldEncoding_descriptor() { |
2018 | 0 | return FeatureSet_RepeatedFieldEncoding_descriptor(); |
2019 | 0 | } |
2020 | | template <typename T> |
2021 | | static inline const std::string& RepeatedFieldEncoding_Name(T value) { |
2022 | | return FeatureSet_RepeatedFieldEncoding_Name(value); |
2023 | | } |
2024 | 0 | static inline bool RepeatedFieldEncoding_Parse(absl::string_view name, RepeatedFieldEncoding* value) { |
2025 | 0 | return FeatureSet_RepeatedFieldEncoding_Parse(name, value); |
2026 | 0 | } |
2027 | | using Utf8Validation = FeatureSet_Utf8Validation; |
2028 | | static constexpr Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN; |
2029 | | static constexpr Utf8Validation VERIFY = FeatureSet_Utf8Validation_VERIFY; |
2030 | | static constexpr Utf8Validation NONE = FeatureSet_Utf8Validation_NONE; |
2031 | 0 | static inline bool Utf8Validation_IsValid(int value) { |
2032 | 0 | return FeatureSet_Utf8Validation_IsValid(value); |
2033 | 0 | } |
2034 | | static constexpr Utf8Validation Utf8Validation_MIN = FeatureSet_Utf8Validation_Utf8Validation_MIN; |
2035 | | static constexpr Utf8Validation Utf8Validation_MAX = FeatureSet_Utf8Validation_Utf8Validation_MAX; |
2036 | | static constexpr int Utf8Validation_ARRAYSIZE = FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE; |
2037 | 0 | static inline const ::google::protobuf::EnumDescriptor* Utf8Validation_descriptor() { |
2038 | 0 | return FeatureSet_Utf8Validation_descriptor(); |
2039 | 0 | } |
2040 | | template <typename T> |
2041 | | static inline const std::string& Utf8Validation_Name(T value) { |
2042 | | return FeatureSet_Utf8Validation_Name(value); |
2043 | | } |
2044 | 0 | static inline bool Utf8Validation_Parse(absl::string_view name, Utf8Validation* value) { |
2045 | 0 | return FeatureSet_Utf8Validation_Parse(name, value); |
2046 | 0 | } |
2047 | | using MessageEncoding = FeatureSet_MessageEncoding; |
2048 | | static constexpr MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN; |
2049 | | static constexpr MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding_LENGTH_PREFIXED; |
2050 | | static constexpr MessageEncoding DELIMITED = FeatureSet_MessageEncoding_DELIMITED; |
2051 | 0 | static inline bool MessageEncoding_IsValid(int value) { |
2052 | 0 | return FeatureSet_MessageEncoding_IsValid(value); |
2053 | 0 | } |
2054 | | static constexpr MessageEncoding MessageEncoding_MIN = FeatureSet_MessageEncoding_MessageEncoding_MIN; |
2055 | | static constexpr MessageEncoding MessageEncoding_MAX = FeatureSet_MessageEncoding_MessageEncoding_MAX; |
2056 | | static constexpr int MessageEncoding_ARRAYSIZE = FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE; |
2057 | 0 | static inline const ::google::protobuf::EnumDescriptor* MessageEncoding_descriptor() { |
2058 | 0 | return FeatureSet_MessageEncoding_descriptor(); |
2059 | 0 | } |
2060 | | template <typename T> |
2061 | | static inline const std::string& MessageEncoding_Name(T value) { |
2062 | | return FeatureSet_MessageEncoding_Name(value); |
2063 | | } |
2064 | 0 | static inline bool MessageEncoding_Parse(absl::string_view name, MessageEncoding* value) { |
2065 | 0 | return FeatureSet_MessageEncoding_Parse(name, value); |
2066 | 0 | } |
2067 | | using JsonFormat = FeatureSet_JsonFormat; |
2068 | | static constexpr JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN; |
2069 | | static constexpr JsonFormat ALLOW = FeatureSet_JsonFormat_ALLOW; |
2070 | | static constexpr JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat_LEGACY_BEST_EFFORT; |
2071 | 0 | static inline bool JsonFormat_IsValid(int value) { |
2072 | 0 | return FeatureSet_JsonFormat_IsValid(value); |
2073 | 0 | } |
2074 | | static constexpr JsonFormat JsonFormat_MIN = FeatureSet_JsonFormat_JsonFormat_MIN; |
2075 | | static constexpr JsonFormat JsonFormat_MAX = FeatureSet_JsonFormat_JsonFormat_MAX; |
2076 | | static constexpr int JsonFormat_ARRAYSIZE = FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE; |
2077 | 0 | static inline const ::google::protobuf::EnumDescriptor* JsonFormat_descriptor() { |
2078 | 0 | return FeatureSet_JsonFormat_descriptor(); |
2079 | 0 | } |
2080 | | template <typename T> |
2081 | | static inline const std::string& JsonFormat_Name(T value) { |
2082 | | return FeatureSet_JsonFormat_Name(value); |
2083 | | } |
2084 | 0 | static inline bool JsonFormat_Parse(absl::string_view name, JsonFormat* value) { |
2085 | 0 | return FeatureSet_JsonFormat_Parse(name, value); |
2086 | 0 | } |
2087 | | |
2088 | | // accessors ------------------------------------------------------- |
2089 | | enum : int { |
2090 | | kFieldPresenceFieldNumber = 1, |
2091 | | kEnumTypeFieldNumber = 2, |
2092 | | kRepeatedFieldEncodingFieldNumber = 3, |
2093 | | kUtf8ValidationFieldNumber = 4, |
2094 | | kMessageEncodingFieldNumber = 5, |
2095 | | kJsonFormatFieldNumber = 6, |
2096 | | }; |
2097 | | // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
2098 | | bool has_field_presence() const; |
2099 | | void clear_field_presence() ; |
2100 | | ::google::protobuf::FeatureSet_FieldPresence field_presence() const; |
2101 | | void set_field_presence(::google::protobuf::FeatureSet_FieldPresence value); |
2102 | | |
2103 | | private: |
2104 | | ::google::protobuf::FeatureSet_FieldPresence _internal_field_presence() const; |
2105 | | void _internal_set_field_presence(::google::protobuf::FeatureSet_FieldPresence value); |
2106 | | |
2107 | | public: |
2108 | | // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { |
2109 | | bool has_enum_type() const; |
2110 | | void clear_enum_type() ; |
2111 | | ::google::protobuf::FeatureSet_EnumType enum_type() const; |
2112 | | void set_enum_type(::google::protobuf::FeatureSet_EnumType value); |
2113 | | |
2114 | | private: |
2115 | | ::google::protobuf::FeatureSet_EnumType _internal_enum_type() const; |
2116 | | void _internal_set_enum_type(::google::protobuf::FeatureSet_EnumType value); |
2117 | | |
2118 | | public: |
2119 | | // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
2120 | | bool has_repeated_field_encoding() const; |
2121 | | void clear_repeated_field_encoding() ; |
2122 | | ::google::protobuf::FeatureSet_RepeatedFieldEncoding repeated_field_encoding() const; |
2123 | | void set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value); |
2124 | | |
2125 | | private: |
2126 | | ::google::protobuf::FeatureSet_RepeatedFieldEncoding _internal_repeated_field_encoding() const; |
2127 | | void _internal_set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value); |
2128 | | |
2129 | | public: |
2130 | | // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
2131 | | bool has_utf8_validation() const; |
2132 | | void clear_utf8_validation() ; |
2133 | | ::google::protobuf::FeatureSet_Utf8Validation utf8_validation() const; |
2134 | | void set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value); |
2135 | | |
2136 | | private: |
2137 | | ::google::protobuf::FeatureSet_Utf8Validation _internal_utf8_validation() const; |
2138 | | void _internal_set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value); |
2139 | | |
2140 | | public: |
2141 | | // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
2142 | | bool has_message_encoding() const; |
2143 | | void clear_message_encoding() ; |
2144 | | ::google::protobuf::FeatureSet_MessageEncoding message_encoding() const; |
2145 | | void set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value); |
2146 | | |
2147 | | private: |
2148 | | ::google::protobuf::FeatureSet_MessageEncoding _internal_message_encoding() const; |
2149 | | void _internal_set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value); |
2150 | | |
2151 | | public: |
2152 | | // 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 = { |
2153 | | bool has_json_format() const; |
2154 | | void clear_json_format() ; |
2155 | | ::google::protobuf::FeatureSet_JsonFormat json_format() const; |
2156 | | void set_json_format(::google::protobuf::FeatureSet_JsonFormat value); |
2157 | | |
2158 | | private: |
2159 | | ::google::protobuf::FeatureSet_JsonFormat _internal_json_format() const; |
2160 | | void _internal_set_json_format(::google::protobuf::FeatureSet_JsonFormat value); |
2161 | | |
2162 | | public: |
2163 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2164 | | bool _is_packed, |
2165 | | typename = typename _proto_TypeTraits::Singular> |
2166 | | inline bool HasExtension( |
2167 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2168 | | _field_type, _is_packed>& id) const { |
2169 | | return _impl_._extensions_.Has(id.number()); |
2170 | | } |
2171 | | |
2172 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2173 | | bool _is_packed> |
2174 | | inline void ClearExtension( |
2175 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2176 | | _field_type, _is_packed>& id) { |
2177 | | _impl_._extensions_.ClearExtension(id.number()); |
2178 | | } |
2179 | | |
2180 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2181 | | bool _is_packed, |
2182 | | typename = typename _proto_TypeTraits::Repeated> |
2183 | | inline int ExtensionSize( |
2184 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2185 | | _field_type, _is_packed>& id) const { |
2186 | | return _impl_._extensions_.ExtensionSize(id.number()); |
2187 | | } |
2188 | | |
2189 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2190 | | bool _is_packed, |
2191 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
2192 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
2193 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2194 | | _field_type, _is_packed>& id) const { |
2195 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
2196 | | } |
2197 | | |
2198 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2199 | | bool _is_packed, |
2200 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
2201 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
2202 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2203 | | _field_type, _is_packed>& id) const |
2204 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2205 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
2206 | | } |
2207 | | |
2208 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2209 | | bool _is_packed> |
2210 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
2211 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2212 | | _field_type, _is_packed>& id) |
2213 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2214 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
2215 | | } |
2216 | | |
2217 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2218 | | bool _is_packed> |
2219 | | inline void SetExtension( |
2220 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2221 | | _field_type, _is_packed>& id, |
2222 | | typename _proto_TypeTraits::Singular::ConstType value) { |
2223 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
2224 | | } |
2225 | | |
2226 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2227 | | bool _is_packed> |
2228 | | inline void SetAllocatedExtension( |
2229 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2230 | | _field_type, _is_packed>& id, |
2231 | | typename _proto_TypeTraits::Singular::MutableType value) { |
2232 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
2233 | | &_impl_._extensions_); |
2234 | | } |
2235 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2236 | | bool _is_packed> |
2237 | | inline void UnsafeArenaSetAllocatedExtension( |
2238 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2239 | | _field_type, _is_packed>& id, |
2240 | | typename _proto_TypeTraits::Singular::MutableType value) { |
2241 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
2242 | | value, &_impl_._extensions_); |
2243 | | } |
2244 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2245 | | bool _is_packed> |
2246 | | PROTOBUF_NODISCARD inline |
2247 | | typename _proto_TypeTraits::Singular::MutableType |
2248 | | ReleaseExtension( |
2249 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2250 | | _field_type, _is_packed>& id) { |
2251 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
2252 | | } |
2253 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2254 | | bool _is_packed> |
2255 | | inline typename _proto_TypeTraits::Singular::MutableType |
2256 | | UnsafeArenaReleaseExtension( |
2257 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2258 | | _field_type, _is_packed>& id) { |
2259 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
2260 | | &_impl_._extensions_); |
2261 | | } |
2262 | | |
2263 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2264 | | bool _is_packed, |
2265 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
2266 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
2267 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2268 | | _field_type, _is_packed>& id, |
2269 | | int index) const { |
2270 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
2271 | | } |
2272 | | |
2273 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2274 | | bool _is_packed, |
2275 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
2276 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
2277 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2278 | | _field_type, _is_packed>& id, |
2279 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2280 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
2281 | | } |
2282 | | |
2283 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2284 | | bool _is_packed> |
2285 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
2286 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2287 | | _field_type, _is_packed>& id, |
2288 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2289 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
2290 | | } |
2291 | | |
2292 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2293 | | bool _is_packed> |
2294 | | inline void SetExtension( |
2295 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2296 | | _field_type, _is_packed>& id, |
2297 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
2298 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
2299 | | } |
2300 | | |
2301 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2302 | | bool _is_packed> |
2303 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
2304 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2305 | | _field_type, _is_packed>& id) |
2306 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2307 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
2308 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
2309 | | return to_add; |
2310 | | } |
2311 | | |
2312 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2313 | | bool _is_packed> |
2314 | | inline void AddExtension( |
2315 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2316 | | _field_type, _is_packed>& id, |
2317 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
2318 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
2319 | | &_impl_._extensions_); |
2320 | | } |
2321 | | |
2322 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2323 | | bool _is_packed> |
2324 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
2325 | | GetRepeatedExtension( |
2326 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2327 | | _field_type, _is_packed>& id) const |
2328 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2329 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
2330 | | } |
2331 | | |
2332 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
2333 | | bool _is_packed> |
2334 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
2335 | | MutableRepeatedExtension( |
2336 | | const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
2337 | | _field_type, _is_packed>& id) |
2338 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2339 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
2340 | | _is_packed, &_impl_._extensions_); |
2341 | | } |
2342 | | // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSet) |
2343 | | private: |
2344 | | class _Internal; |
2345 | | friend class ::google::protobuf::internal::TcParser; |
2346 | | static const ::google::protobuf::internal::TcParseTable< |
2347 | | 3, 6, 6, |
2348 | | 0, 2> |
2349 | | _table_; |
2350 | | |
2351 | | static constexpr const void* _raw_default_instance_ = |
2352 | | &_FeatureSet_default_instance_; |
2353 | | |
2354 | | friend class ::google::protobuf::MessageLite; |
2355 | | friend class ::google::protobuf::Arena; |
2356 | | template <typename T> |
2357 | | friend class ::google::protobuf::Arena::InternalHelper; |
2358 | | using InternalArenaConstructable_ = void; |
2359 | | using DestructorSkippable_ = void; |
2360 | | struct Impl_ { |
2361 | | inline explicit constexpr Impl_( |
2362 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2363 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2364 | | ::google::protobuf::Arena* arena); |
2365 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2366 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2367 | | const FeatureSet& from_msg); |
2368 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
2369 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2370 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2371 | | int field_presence_; |
2372 | | int enum_type_; |
2373 | | int repeated_field_encoding_; |
2374 | | int utf8_validation_; |
2375 | | int message_encoding_; |
2376 | | int json_format_; |
2377 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2378 | | }; |
2379 | | union { Impl_ _impl_; }; |
2380 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2381 | | }; |
2382 | | // ------------------------------------------------------------------- |
2383 | | |
2384 | | class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final : public ::google::protobuf::Message |
2385 | | /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions.Declaration) */ { |
2386 | | public: |
2387 | 0 | inline ExtensionRangeOptions_Declaration() : ExtensionRangeOptions_Declaration(nullptr) {} |
2388 | | ~ExtensionRangeOptions_Declaration() override; |
2389 | | template <typename = void> |
2390 | | explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions_Declaration( |
2391 | | ::google::protobuf::internal::ConstantInitialized); |
2392 | | |
2393 | 0 | inline ExtensionRangeOptions_Declaration(const ExtensionRangeOptions_Declaration& from) : ExtensionRangeOptions_Declaration(nullptr, from) {} |
2394 | | inline ExtensionRangeOptions_Declaration(ExtensionRangeOptions_Declaration&& from) noexcept |
2395 | 0 | : ExtensionRangeOptions_Declaration(nullptr, std::move(from)) {} |
2396 | 0 | inline ExtensionRangeOptions_Declaration& operator=(const ExtensionRangeOptions_Declaration& from) { |
2397 | 0 | CopyFrom(from); |
2398 | 0 | return *this; |
2399 | 0 | } |
2400 | 0 | inline ExtensionRangeOptions_Declaration& operator=(ExtensionRangeOptions_Declaration&& from) noexcept { |
2401 | 0 | if (this == &from) return *this; |
2402 | 0 | if (GetArena() == from.GetArena() |
2403 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2404 | 0 | && GetArena() != nullptr |
2405 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2406 | 0 | ) { |
2407 | 0 | InternalSwap(&from); |
2408 | 0 | } else { |
2409 | 0 | CopyFrom(from); |
2410 | 0 | } |
2411 | 0 | return *this; |
2412 | 0 | } |
2413 | | |
2414 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2415 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2416 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2417 | 0 | } |
2418 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2419 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2420 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2421 | 0 | } |
2422 | | |
2423 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2424 | 0 | return GetDescriptor(); |
2425 | 0 | } |
2426 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2427 | 0 | return default_instance().GetMetadata().descriptor; |
2428 | 0 | } |
2429 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2430 | 0 | return default_instance().GetMetadata().reflection; |
2431 | 0 | } |
2432 | 0 | static const ExtensionRangeOptions_Declaration& default_instance() { |
2433 | 0 | return *internal_default_instance(); |
2434 | 0 | } |
2435 | 0 | static inline const ExtensionRangeOptions_Declaration* internal_default_instance() { |
2436 | 0 | return reinterpret_cast<const ExtensionRangeOptions_Declaration*>( |
2437 | 0 | &_ExtensionRangeOptions_Declaration_default_instance_); |
2438 | 0 | } |
2439 | | static constexpr int kIndexInFileMessages = 5; |
2440 | 0 | friend void swap(ExtensionRangeOptions_Declaration& a, ExtensionRangeOptions_Declaration& b) { a.Swap(&b); } |
2441 | 0 | inline void Swap(ExtensionRangeOptions_Declaration* other) { |
2442 | 0 | if (other == this) return; |
2443 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2444 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
2445 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2446 | 0 | if (GetArena() == other->GetArena()) { |
2447 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2448 | 0 | InternalSwap(other); |
2449 | 0 | } else { |
2450 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2451 | 0 | } |
2452 | 0 | } |
2453 | 0 | void UnsafeArenaSwap(ExtensionRangeOptions_Declaration* other) { |
2454 | 0 | if (other == this) return; |
2455 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2456 | 0 | InternalSwap(other); |
2457 | 0 | } |
2458 | | |
2459 | | // implements Message ---------------------------------------------- |
2460 | | |
2461 | 0 | ExtensionRangeOptions_Declaration* New(::google::protobuf::Arena* arena = nullptr) const final { |
2462 | 0 | return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions_Declaration>(arena); |
2463 | 0 | } |
2464 | | using ::google::protobuf::Message::CopyFrom; |
2465 | | void CopyFrom(const ExtensionRangeOptions_Declaration& from); |
2466 | | using ::google::protobuf::Message::MergeFrom; |
2467 | 0 | void MergeFrom(const ExtensionRangeOptions_Declaration& from) { ExtensionRangeOptions_Declaration::MergeImpl(*this, from); } |
2468 | | |
2469 | | private: |
2470 | | static void MergeImpl( |
2471 | | ::google::protobuf::MessageLite& to_msg, |
2472 | | const ::google::protobuf::MessageLite& from_msg); |
2473 | | |
2474 | | public: |
2475 | 0 | bool IsInitialized() const { |
2476 | 0 | return true; |
2477 | 0 | } |
2478 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
2479 | | ::size_t ByteSizeLong() const final; |
2480 | | ::uint8_t* _InternalSerialize( |
2481 | | ::uint8_t* target, |
2482 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2483 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2484 | | |
2485 | | private: |
2486 | | void SharedCtor(::google::protobuf::Arena* arena); |
2487 | | void SharedDtor(); |
2488 | | void InternalSwap(ExtensionRangeOptions_Declaration* other); |
2489 | | private: |
2490 | | friend class ::google::protobuf::internal::AnyMetadata; |
2491 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.ExtensionRangeOptions.Declaration"; } |
2492 | | |
2493 | | protected: |
2494 | | explicit ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena); |
2495 | | ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena, const ExtensionRangeOptions_Declaration& from); |
2496 | | ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena, ExtensionRangeOptions_Declaration&& from) noexcept |
2497 | 0 | : ExtensionRangeOptions_Declaration(arena) { |
2498 | 0 | *this = ::std::move(from); |
2499 | 0 | } |
2500 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
2501 | | |
2502 | | public: |
2503 | | ::google::protobuf::Metadata GetMetadata() const; |
2504 | | // nested types ---------------------------------------------------- |
2505 | | |
2506 | | // accessors ------------------------------------------------------- |
2507 | | enum : int { |
2508 | | kFullNameFieldNumber = 2, |
2509 | | kTypeFieldNumber = 3, |
2510 | | kNumberFieldNumber = 1, |
2511 | | kReservedFieldNumber = 5, |
2512 | | kRepeatedFieldNumber = 6, |
2513 | | }; |
2514 | | // optional string full_name = 2; |
2515 | | bool has_full_name() const; |
2516 | | void clear_full_name() ; |
2517 | | const std::string& full_name() const; |
2518 | | template <typename Arg_ = const std::string&, typename... Args_> |
2519 | | void set_full_name(Arg_&& arg, Args_... args); |
2520 | | std::string* mutable_full_name(); |
2521 | | PROTOBUF_NODISCARD std::string* release_full_name(); |
2522 | | void set_allocated_full_name(std::string* value); |
2523 | | |
2524 | | private: |
2525 | | const std::string& _internal_full_name() const; |
2526 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_full_name( |
2527 | | const std::string& value); |
2528 | | std::string* _internal_mutable_full_name(); |
2529 | | |
2530 | | public: |
2531 | | // optional string type = 3; |
2532 | | bool has_type() const; |
2533 | | void clear_type() ; |
2534 | | const std::string& type() const; |
2535 | | template <typename Arg_ = const std::string&, typename... Args_> |
2536 | | void set_type(Arg_&& arg, Args_... args); |
2537 | | std::string* mutable_type(); |
2538 | | PROTOBUF_NODISCARD std::string* release_type(); |
2539 | | void set_allocated_type(std::string* value); |
2540 | | |
2541 | | private: |
2542 | | const std::string& _internal_type() const; |
2543 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type( |
2544 | | const std::string& value); |
2545 | | std::string* _internal_mutable_type(); |
2546 | | |
2547 | | public: |
2548 | | // optional int32 number = 1; |
2549 | | bool has_number() const; |
2550 | | void clear_number() ; |
2551 | | ::int32_t number() const; |
2552 | | void set_number(::int32_t value); |
2553 | | |
2554 | | private: |
2555 | | ::int32_t _internal_number() const; |
2556 | | void _internal_set_number(::int32_t value); |
2557 | | |
2558 | | public: |
2559 | | // optional bool reserved = 5; |
2560 | | bool has_reserved() const; |
2561 | | void clear_reserved() ; |
2562 | | bool reserved() const; |
2563 | | void set_reserved(bool value); |
2564 | | |
2565 | | private: |
2566 | | bool _internal_reserved() const; |
2567 | | void _internal_set_reserved(bool value); |
2568 | | |
2569 | | public: |
2570 | | // optional bool repeated = 6; |
2571 | | bool has_repeated() const; |
2572 | | void clear_repeated() ; |
2573 | | bool repeated() const; |
2574 | | void set_repeated(bool value); |
2575 | | |
2576 | | private: |
2577 | | bool _internal_repeated() const; |
2578 | | void _internal_set_repeated(bool value); |
2579 | | |
2580 | | public: |
2581 | | // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions.Declaration) |
2582 | | private: |
2583 | | class _Internal; |
2584 | | friend class ::google::protobuf::internal::TcParser; |
2585 | | static const ::google::protobuf::internal::TcParseTable< |
2586 | | 3, 5, 0, |
2587 | | 71, 2> |
2588 | | _table_; |
2589 | | |
2590 | | static constexpr const void* _raw_default_instance_ = |
2591 | | &_ExtensionRangeOptions_Declaration_default_instance_; |
2592 | | |
2593 | | friend class ::google::protobuf::MessageLite; |
2594 | | friend class ::google::protobuf::Arena; |
2595 | | template <typename T> |
2596 | | friend class ::google::protobuf::Arena::InternalHelper; |
2597 | | using InternalArenaConstructable_ = void; |
2598 | | using DestructorSkippable_ = void; |
2599 | | struct Impl_ { |
2600 | | inline explicit constexpr Impl_( |
2601 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2602 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2603 | | ::google::protobuf::Arena* arena); |
2604 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2605 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2606 | | const ExtensionRangeOptions_Declaration& from_msg); |
2607 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2608 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2609 | | ::google::protobuf::internal::ArenaStringPtr full_name_; |
2610 | | ::google::protobuf::internal::ArenaStringPtr type_; |
2611 | | ::int32_t number_; |
2612 | | bool reserved_; |
2613 | | bool repeated_; |
2614 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2615 | | }; |
2616 | | union { Impl_ _impl_; }; |
2617 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2618 | | }; |
2619 | | // ------------------------------------------------------------------- |
2620 | | |
2621 | | class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : public ::google::protobuf::Message |
2622 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ { |
2623 | | public: |
2624 | 0 | inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {} |
2625 | | ~EnumDescriptorProto_EnumReservedRange() override; |
2626 | | template <typename = void> |
2627 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange( |
2628 | | ::google::protobuf::internal::ConstantInitialized); |
2629 | | |
2630 | 0 | inline EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from) : EnumDescriptorProto_EnumReservedRange(nullptr, from) {} |
2631 | | inline EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept |
2632 | 0 | : EnumDescriptorProto_EnumReservedRange(nullptr, std::move(from)) {} |
2633 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { |
2634 | 0 | CopyFrom(from); |
2635 | 0 | return *this; |
2636 | 0 | } |
2637 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
2638 | 0 | if (this == &from) return *this; |
2639 | 0 | if (GetArena() == from.GetArena() |
2640 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2641 | 0 | && GetArena() != nullptr |
2642 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2643 | 0 | ) { |
2644 | 0 | InternalSwap(&from); |
2645 | 0 | } else { |
2646 | 0 | CopyFrom(from); |
2647 | 0 | } |
2648 | 0 | return *this; |
2649 | 0 | } |
2650 | | |
2651 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2652 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2653 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2654 | 0 | } |
2655 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2656 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2657 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2658 | 0 | } |
2659 | | |
2660 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2661 | 0 | return GetDescriptor(); |
2662 | 0 | } |
2663 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2664 | 0 | return default_instance().GetMetadata().descriptor; |
2665 | 0 | } |
2666 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2667 | 0 | return default_instance().GetMetadata().reflection; |
2668 | 0 | } |
2669 | 0 | static const EnumDescriptorProto_EnumReservedRange& default_instance() { |
2670 | 0 | return *internal_default_instance(); |
2671 | 0 | } |
2672 | 0 | static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { |
2673 | 0 | return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( |
2674 | 0 | &_EnumDescriptorProto_EnumReservedRange_default_instance_); |
2675 | 0 | } |
2676 | | static constexpr int kIndexInFileMessages = 9; |
2677 | 0 | friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { a.Swap(&b); } |
2678 | 0 | inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { |
2679 | 0 | if (other == this) return; |
2680 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2681 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
2682 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2683 | 0 | if (GetArena() == other->GetArena()) { |
2684 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2685 | 0 | InternalSwap(other); |
2686 | 0 | } else { |
2687 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2688 | 0 | } |
2689 | 0 | } |
2690 | 0 | void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) { |
2691 | 0 | if (other == this) return; |
2692 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2693 | 0 | InternalSwap(other); |
2694 | 0 | } |
2695 | | |
2696 | | // implements Message ---------------------------------------------- |
2697 | | |
2698 | 0 | EnumDescriptorProto_EnumReservedRange* New(::google::protobuf::Arena* arena = nullptr) const final { |
2699 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto_EnumReservedRange>(arena); |
2700 | 0 | } |
2701 | | using ::google::protobuf::Message::CopyFrom; |
2702 | | void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); |
2703 | | using ::google::protobuf::Message::MergeFrom; |
2704 | 0 | void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from) { EnumDescriptorProto_EnumReservedRange::MergeImpl(*this, from); } |
2705 | | |
2706 | | private: |
2707 | | static void MergeImpl( |
2708 | | ::google::protobuf::MessageLite& to_msg, |
2709 | | const ::google::protobuf::MessageLite& from_msg); |
2710 | | |
2711 | | public: |
2712 | 0 | bool IsInitialized() const { |
2713 | 0 | return true; |
2714 | 0 | } |
2715 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
2716 | | ::size_t ByteSizeLong() const final; |
2717 | | ::uint8_t* _InternalSerialize( |
2718 | | ::uint8_t* target, |
2719 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2720 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2721 | | |
2722 | | private: |
2723 | | void SharedCtor(::google::protobuf::Arena* arena); |
2724 | | void SharedDtor(); |
2725 | | void InternalSwap(EnumDescriptorProto_EnumReservedRange* other); |
2726 | | private: |
2727 | | friend class ::google::protobuf::internal::AnyMetadata; |
2728 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumDescriptorProto.EnumReservedRange"; } |
2729 | | |
2730 | | protected: |
2731 | | explicit EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena); |
2732 | | EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena, const EnumDescriptorProto_EnumReservedRange& from); |
2733 | | EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena, EnumDescriptorProto_EnumReservedRange&& from) noexcept |
2734 | 0 | : EnumDescriptorProto_EnumReservedRange(arena) { |
2735 | 0 | *this = ::std::move(from); |
2736 | 0 | } |
2737 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
2738 | | |
2739 | | public: |
2740 | | ::google::protobuf::Metadata GetMetadata() const; |
2741 | | // nested types ---------------------------------------------------- |
2742 | | |
2743 | | // accessors ------------------------------------------------------- |
2744 | | enum : int { |
2745 | | kStartFieldNumber = 1, |
2746 | | kEndFieldNumber = 2, |
2747 | | }; |
2748 | | // optional int32 start = 1; |
2749 | | bool has_start() const; |
2750 | | void clear_start() ; |
2751 | | ::int32_t start() const; |
2752 | | void set_start(::int32_t value); |
2753 | | |
2754 | | private: |
2755 | | ::int32_t _internal_start() const; |
2756 | | void _internal_set_start(::int32_t value); |
2757 | | |
2758 | | public: |
2759 | | // optional int32 end = 2; |
2760 | | bool has_end() const; |
2761 | | void clear_end() ; |
2762 | | ::int32_t end() const; |
2763 | | void set_end(::int32_t value); |
2764 | | |
2765 | | private: |
2766 | | ::int32_t _internal_end() const; |
2767 | | void _internal_set_end(::int32_t value); |
2768 | | |
2769 | | public: |
2770 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange) |
2771 | | private: |
2772 | | class _Internal; |
2773 | | friend class ::google::protobuf::internal::TcParser; |
2774 | | static const ::google::protobuf::internal::TcParseTable< |
2775 | | 1, 2, 0, |
2776 | | 0, 2> |
2777 | | _table_; |
2778 | | |
2779 | | static constexpr const void* _raw_default_instance_ = |
2780 | | &_EnumDescriptorProto_EnumReservedRange_default_instance_; |
2781 | | |
2782 | | friend class ::google::protobuf::MessageLite; |
2783 | | friend class ::google::protobuf::Arena; |
2784 | | template <typename T> |
2785 | | friend class ::google::protobuf::Arena::InternalHelper; |
2786 | | using InternalArenaConstructable_ = void; |
2787 | | using DestructorSkippable_ = void; |
2788 | | struct Impl_ { |
2789 | | inline explicit constexpr Impl_( |
2790 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2791 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2792 | | ::google::protobuf::Arena* arena); |
2793 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2794 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2795 | | const EnumDescriptorProto_EnumReservedRange& from_msg); |
2796 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2797 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2798 | | ::int32_t start_; |
2799 | | ::int32_t end_; |
2800 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2801 | | }; |
2802 | | union { Impl_ _impl_; }; |
2803 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2804 | | }; |
2805 | | // ------------------------------------------------------------------- |
2806 | | |
2807 | | class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : public ::google::protobuf::Message |
2808 | | /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ { |
2809 | | public: |
2810 | 0 | inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {} |
2811 | | ~DescriptorProto_ReservedRange() override; |
2812 | | template <typename = void> |
2813 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange( |
2814 | | ::google::protobuf::internal::ConstantInitialized); |
2815 | | |
2816 | 0 | inline DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from) : DescriptorProto_ReservedRange(nullptr, from) {} |
2817 | | inline DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept |
2818 | 0 | : DescriptorProto_ReservedRange(nullptr, std::move(from)) {} |
2819 | 0 | inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { |
2820 | 0 | CopyFrom(from); |
2821 | 0 | return *this; |
2822 | 0 | } |
2823 | 0 | inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
2824 | 0 | if (this == &from) return *this; |
2825 | 0 | if (GetArena() == from.GetArena() |
2826 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2827 | 0 | && GetArena() != nullptr |
2828 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2829 | 0 | ) { |
2830 | 0 | InternalSwap(&from); |
2831 | 0 | } else { |
2832 | 0 | CopyFrom(from); |
2833 | 0 | } |
2834 | 0 | return *this; |
2835 | 0 | } |
2836 | | |
2837 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2838 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2839 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2840 | 0 | } |
2841 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2842 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2843 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2844 | 0 | } |
2845 | | |
2846 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2847 | 0 | return GetDescriptor(); |
2848 | 0 | } |
2849 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2850 | 0 | return default_instance().GetMetadata().descriptor; |
2851 | 0 | } |
2852 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2853 | 0 | return default_instance().GetMetadata().reflection; |
2854 | 0 | } |
2855 | 0 | static const DescriptorProto_ReservedRange& default_instance() { |
2856 | 0 | return *internal_default_instance(); |
2857 | 0 | } |
2858 | 0 | static inline const DescriptorProto_ReservedRange* internal_default_instance() { |
2859 | 0 | return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
2860 | 0 | &_DescriptorProto_ReservedRange_default_instance_); |
2861 | 0 | } |
2862 | | static constexpr int kIndexInFileMessages = 3; |
2863 | 0 | friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { a.Swap(&b); } |
2864 | 0 | inline void Swap(DescriptorProto_ReservedRange* other) { |
2865 | 0 | if (other == this) return; |
2866 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2867 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
2868 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2869 | 0 | if (GetArena() == other->GetArena()) { |
2870 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2871 | 0 | InternalSwap(other); |
2872 | 0 | } else { |
2873 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2874 | 0 | } |
2875 | 0 | } |
2876 | 0 | void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) { |
2877 | 0 | if (other == this) return; |
2878 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2879 | 0 | InternalSwap(other); |
2880 | 0 | } |
2881 | | |
2882 | | // implements Message ---------------------------------------------- |
2883 | | |
2884 | 0 | DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena = nullptr) const final { |
2885 | 0 | return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ReservedRange>(arena); |
2886 | 0 | } |
2887 | | using ::google::protobuf::Message::CopyFrom; |
2888 | | void CopyFrom(const DescriptorProto_ReservedRange& from); |
2889 | | using ::google::protobuf::Message::MergeFrom; |
2890 | 0 | void MergeFrom(const DescriptorProto_ReservedRange& from) { DescriptorProto_ReservedRange::MergeImpl(*this, from); } |
2891 | | |
2892 | | private: |
2893 | | static void MergeImpl( |
2894 | | ::google::protobuf::MessageLite& to_msg, |
2895 | | const ::google::protobuf::MessageLite& from_msg); |
2896 | | |
2897 | | public: |
2898 | 0 | bool IsInitialized() const { |
2899 | 0 | return true; |
2900 | 0 | } |
2901 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
2902 | | ::size_t ByteSizeLong() const final; |
2903 | | ::uint8_t* _InternalSerialize( |
2904 | | ::uint8_t* target, |
2905 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2906 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2907 | | |
2908 | | private: |
2909 | | void SharedCtor(::google::protobuf::Arena* arena); |
2910 | | void SharedDtor(); |
2911 | | void InternalSwap(DescriptorProto_ReservedRange* other); |
2912 | | private: |
2913 | | friend class ::google::protobuf::internal::AnyMetadata; |
2914 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto.ReservedRange"; } |
2915 | | |
2916 | | protected: |
2917 | | explicit DescriptorProto_ReservedRange(::google::protobuf::Arena* arena); |
2918 | | DescriptorProto_ReservedRange(::google::protobuf::Arena* arena, const DescriptorProto_ReservedRange& from); |
2919 | | DescriptorProto_ReservedRange(::google::protobuf::Arena* arena, DescriptorProto_ReservedRange&& from) noexcept |
2920 | 0 | : DescriptorProto_ReservedRange(arena) { |
2921 | 0 | *this = ::std::move(from); |
2922 | 0 | } |
2923 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
2924 | | |
2925 | | public: |
2926 | | ::google::protobuf::Metadata GetMetadata() const; |
2927 | | // nested types ---------------------------------------------------- |
2928 | | |
2929 | | // accessors ------------------------------------------------------- |
2930 | | enum : int { |
2931 | | kStartFieldNumber = 1, |
2932 | | kEndFieldNumber = 2, |
2933 | | }; |
2934 | | // optional int32 start = 1; |
2935 | | bool has_start() const; |
2936 | | void clear_start() ; |
2937 | | ::int32_t start() const; |
2938 | | void set_start(::int32_t value); |
2939 | | |
2940 | | private: |
2941 | | ::int32_t _internal_start() const; |
2942 | | void _internal_set_start(::int32_t value); |
2943 | | |
2944 | | public: |
2945 | | // optional int32 end = 2; |
2946 | | bool has_end() const; |
2947 | | void clear_end() ; |
2948 | | ::int32_t end() const; |
2949 | | void set_end(::int32_t value); |
2950 | | |
2951 | | private: |
2952 | | ::int32_t _internal_end() const; |
2953 | | void _internal_set_end(::int32_t value); |
2954 | | |
2955 | | public: |
2956 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) |
2957 | | private: |
2958 | | class _Internal; |
2959 | | friend class ::google::protobuf::internal::TcParser; |
2960 | | static const ::google::protobuf::internal::TcParseTable< |
2961 | | 1, 2, 0, |
2962 | | 0, 2> |
2963 | | _table_; |
2964 | | |
2965 | | static constexpr const void* _raw_default_instance_ = |
2966 | | &_DescriptorProto_ReservedRange_default_instance_; |
2967 | | |
2968 | | friend class ::google::protobuf::MessageLite; |
2969 | | friend class ::google::protobuf::Arena; |
2970 | | template <typename T> |
2971 | | friend class ::google::protobuf::Arena::InternalHelper; |
2972 | | using InternalArenaConstructable_ = void; |
2973 | | using DestructorSkippable_ = void; |
2974 | | struct Impl_ { |
2975 | | inline explicit constexpr Impl_( |
2976 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2977 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2978 | | ::google::protobuf::Arena* arena); |
2979 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2980 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2981 | | const DescriptorProto_ReservedRange& from_msg); |
2982 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2983 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2984 | | ::int32_t start_; |
2985 | | ::int32_t end_; |
2986 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2987 | | }; |
2988 | | union { Impl_ _impl_; }; |
2989 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2990 | | }; |
2991 | | // ------------------------------------------------------------------- |
2992 | | |
2993 | | class PROTOBUF_EXPORT UninterpretedOption final : public ::google::protobuf::Message |
2994 | | /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ { |
2995 | | public: |
2996 | 0 | inline UninterpretedOption() : UninterpretedOption(nullptr) {} |
2997 | | ~UninterpretedOption() override; |
2998 | | template <typename = void> |
2999 | | explicit PROTOBUF_CONSTEXPR UninterpretedOption( |
3000 | | ::google::protobuf::internal::ConstantInitialized); |
3001 | | |
3002 | 0 | inline UninterpretedOption(const UninterpretedOption& from) : UninterpretedOption(nullptr, from) {} |
3003 | | inline UninterpretedOption(UninterpretedOption&& from) noexcept |
3004 | 0 | : UninterpretedOption(nullptr, std::move(from)) {} |
3005 | 0 | inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
3006 | 0 | CopyFrom(from); |
3007 | 0 | return *this; |
3008 | 0 | } |
3009 | 0 | inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
3010 | 0 | if (this == &from) return *this; |
3011 | 0 | if (GetArena() == from.GetArena() |
3012 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3013 | 0 | && GetArena() != nullptr |
3014 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3015 | 0 | ) { |
3016 | 0 | InternalSwap(&from); |
3017 | 0 | } else { |
3018 | 0 | CopyFrom(from); |
3019 | 0 | } |
3020 | 0 | return *this; |
3021 | 0 | } |
3022 | | |
3023 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3024 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3025 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3026 | 0 | } |
3027 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3028 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3029 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3030 | 0 | } |
3031 | | |
3032 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3033 | 0 | return GetDescriptor(); |
3034 | 0 | } |
3035 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3036 | 0 | return default_instance().GetMetadata().descriptor; |
3037 | 0 | } |
3038 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3039 | 0 | return default_instance().GetMetadata().reflection; |
3040 | 0 | } |
3041 | 0 | static const UninterpretedOption& default_instance() { |
3042 | 0 | return *internal_default_instance(); |
3043 | 0 | } |
3044 | 0 | static inline const UninterpretedOption* internal_default_instance() { |
3045 | 0 | return reinterpret_cast<const UninterpretedOption*>( |
3046 | 0 | &_UninterpretedOption_default_instance_); |
3047 | 0 | } |
3048 | | static constexpr int kIndexInFileMessages = 25; |
3049 | 0 | friend void swap(UninterpretedOption& a, UninterpretedOption& b) { a.Swap(&b); } |
3050 | 0 | inline void Swap(UninterpretedOption* other) { |
3051 | 0 | if (other == this) return; |
3052 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3053 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
3054 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3055 | 0 | if (GetArena() == other->GetArena()) { |
3056 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3057 | 0 | InternalSwap(other); |
3058 | 0 | } else { |
3059 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3060 | 0 | } |
3061 | 0 | } |
3062 | 0 | void UnsafeArenaSwap(UninterpretedOption* other) { |
3063 | 0 | if (other == this) return; |
3064 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3065 | 0 | InternalSwap(other); |
3066 | 0 | } |
3067 | | |
3068 | | // implements Message ---------------------------------------------- |
3069 | | |
3070 | 0 | UninterpretedOption* New(::google::protobuf::Arena* arena = nullptr) const final { |
3071 | 0 | return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption>(arena); |
3072 | 0 | } |
3073 | | using ::google::protobuf::Message::CopyFrom; |
3074 | | void CopyFrom(const UninterpretedOption& from); |
3075 | | using ::google::protobuf::Message::MergeFrom; |
3076 | 0 | void MergeFrom(const UninterpretedOption& from) { UninterpretedOption::MergeImpl(*this, from); } |
3077 | | |
3078 | | private: |
3079 | | static void MergeImpl( |
3080 | | ::google::protobuf::MessageLite& to_msg, |
3081 | | const ::google::protobuf::MessageLite& from_msg); |
3082 | | |
3083 | | public: |
3084 | 0 | bool IsInitialized() const { |
3085 | 0 | return IsInitializedImpl(*this); |
3086 | 0 | } |
3087 | | |
3088 | | private: |
3089 | | static bool IsInitializedImpl(const MessageLite& msg); |
3090 | | |
3091 | | public: |
3092 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
3093 | | ::size_t ByteSizeLong() const final; |
3094 | | ::uint8_t* _InternalSerialize( |
3095 | | ::uint8_t* target, |
3096 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3097 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3098 | | |
3099 | | private: |
3100 | | void SharedCtor(::google::protobuf::Arena* arena); |
3101 | | void SharedDtor(); |
3102 | | void InternalSwap(UninterpretedOption* other); |
3103 | | private: |
3104 | | friend class ::google::protobuf::internal::AnyMetadata; |
3105 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption"; } |
3106 | | |
3107 | | protected: |
3108 | | explicit UninterpretedOption(::google::protobuf::Arena* arena); |
3109 | | UninterpretedOption(::google::protobuf::Arena* arena, const UninterpretedOption& from); |
3110 | | UninterpretedOption(::google::protobuf::Arena* arena, UninterpretedOption&& from) noexcept |
3111 | 0 | : UninterpretedOption(arena) { |
3112 | 0 | *this = ::std::move(from); |
3113 | 0 | } |
3114 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
3115 | | |
3116 | | public: |
3117 | | ::google::protobuf::Metadata GetMetadata() const; |
3118 | | // nested types ---------------------------------------------------- |
3119 | | using NamePart = UninterpretedOption_NamePart; |
3120 | | |
3121 | | // accessors ------------------------------------------------------- |
3122 | | enum : int { |
3123 | | kNameFieldNumber = 2, |
3124 | | kIdentifierValueFieldNumber = 3, |
3125 | | kStringValueFieldNumber = 7, |
3126 | | kAggregateValueFieldNumber = 8, |
3127 | | kPositiveIntValueFieldNumber = 4, |
3128 | | kNegativeIntValueFieldNumber = 5, |
3129 | | kDoubleValueFieldNumber = 6, |
3130 | | }; |
3131 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
3132 | | int name_size() const; |
3133 | | private: |
3134 | | int _internal_name_size() const; |
3135 | | |
3136 | | public: |
3137 | | void clear_name() ; |
3138 | | ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); |
3139 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* mutable_name(); |
3140 | | |
3141 | | private: |
3142 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& _internal_name() const; |
3143 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* _internal_mutable_name(); |
3144 | | public: |
3145 | | const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; |
3146 | | ::google::protobuf::UninterpretedOption_NamePart* add_name(); |
3147 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& name() const; |
3148 | | // optional string identifier_value = 3; |
3149 | | bool has_identifier_value() const; |
3150 | | void clear_identifier_value() ; |
3151 | | const std::string& identifier_value() const; |
3152 | | template <typename Arg_ = const std::string&, typename... Args_> |
3153 | | void set_identifier_value(Arg_&& arg, Args_... args); |
3154 | | std::string* mutable_identifier_value(); |
3155 | | PROTOBUF_NODISCARD std::string* release_identifier_value(); |
3156 | | void set_allocated_identifier_value(std::string* value); |
3157 | | |
3158 | | private: |
3159 | | const std::string& _internal_identifier_value() const; |
3160 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value( |
3161 | | const std::string& value); |
3162 | | std::string* _internal_mutable_identifier_value(); |
3163 | | |
3164 | | public: |
3165 | | // optional bytes string_value = 7; |
3166 | | bool has_string_value() const; |
3167 | | void clear_string_value() ; |
3168 | | const std::string& string_value() const; |
3169 | | template <typename Arg_ = const std::string&, typename... Args_> |
3170 | | void set_string_value(Arg_&& arg, Args_... args); |
3171 | | std::string* mutable_string_value(); |
3172 | | PROTOBUF_NODISCARD std::string* release_string_value(); |
3173 | | void set_allocated_string_value(std::string* value); |
3174 | | |
3175 | | private: |
3176 | | const std::string& _internal_string_value() const; |
3177 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value( |
3178 | | const std::string& value); |
3179 | | std::string* _internal_mutable_string_value(); |
3180 | | |
3181 | | public: |
3182 | | // optional string aggregate_value = 8; |
3183 | | bool has_aggregate_value() const; |
3184 | | void clear_aggregate_value() ; |
3185 | | const std::string& aggregate_value() const; |
3186 | | template <typename Arg_ = const std::string&, typename... Args_> |
3187 | | void set_aggregate_value(Arg_&& arg, Args_... args); |
3188 | | std::string* mutable_aggregate_value(); |
3189 | | PROTOBUF_NODISCARD std::string* release_aggregate_value(); |
3190 | | void set_allocated_aggregate_value(std::string* value); |
3191 | | |
3192 | | private: |
3193 | | const std::string& _internal_aggregate_value() const; |
3194 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value( |
3195 | | const std::string& value); |
3196 | | std::string* _internal_mutable_aggregate_value(); |
3197 | | |
3198 | | public: |
3199 | | // optional uint64 positive_int_value = 4; |
3200 | | bool has_positive_int_value() const; |
3201 | | void clear_positive_int_value() ; |
3202 | | ::uint64_t positive_int_value() const; |
3203 | | void set_positive_int_value(::uint64_t value); |
3204 | | |
3205 | | private: |
3206 | | ::uint64_t _internal_positive_int_value() const; |
3207 | | void _internal_set_positive_int_value(::uint64_t value); |
3208 | | |
3209 | | public: |
3210 | | // optional int64 negative_int_value = 5; |
3211 | | bool has_negative_int_value() const; |
3212 | | void clear_negative_int_value() ; |
3213 | | ::int64_t negative_int_value() const; |
3214 | | void set_negative_int_value(::int64_t value); |
3215 | | |
3216 | | private: |
3217 | | ::int64_t _internal_negative_int_value() const; |
3218 | | void _internal_set_negative_int_value(::int64_t value); |
3219 | | |
3220 | | public: |
3221 | | // optional double double_value = 6; |
3222 | | bool has_double_value() const; |
3223 | | void clear_double_value() ; |
3224 | | double double_value() const; |
3225 | | void set_double_value(double value); |
3226 | | |
3227 | | private: |
3228 | | double _internal_double_value() const; |
3229 | | void _internal_set_double_value(double value); |
3230 | | |
3231 | | public: |
3232 | | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
3233 | | private: |
3234 | | class _Internal; |
3235 | | friend class ::google::protobuf::internal::TcParser; |
3236 | | static const ::google::protobuf::internal::TcParseTable< |
3237 | | 3, 7, 1, |
3238 | | 75, 2> |
3239 | | _table_; |
3240 | | |
3241 | | static constexpr const void* _raw_default_instance_ = |
3242 | | &_UninterpretedOption_default_instance_; |
3243 | | |
3244 | | friend class ::google::protobuf::MessageLite; |
3245 | | friend class ::google::protobuf::Arena; |
3246 | | template <typename T> |
3247 | | friend class ::google::protobuf::Arena::InternalHelper; |
3248 | | using InternalArenaConstructable_ = void; |
3249 | | using DestructorSkippable_ = void; |
3250 | | struct Impl_ { |
3251 | | inline explicit constexpr Impl_( |
3252 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3253 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3254 | | ::google::protobuf::Arena* arena); |
3255 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3256 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3257 | | const UninterpretedOption& from_msg); |
3258 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3259 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3260 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_; |
3261 | | ::google::protobuf::internal::ArenaStringPtr identifier_value_; |
3262 | | ::google::protobuf::internal::ArenaStringPtr string_value_; |
3263 | | ::google::protobuf::internal::ArenaStringPtr aggregate_value_; |
3264 | | ::uint64_t positive_int_value_; |
3265 | | ::int64_t negative_int_value_; |
3266 | | double double_value_; |
3267 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3268 | | }; |
3269 | | union { Impl_ _impl_; }; |
3270 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3271 | | }; |
3272 | | // ------------------------------------------------------------------- |
3273 | | |
3274 | | class PROTOBUF_EXPORT SourceCodeInfo final : public ::google::protobuf::Message |
3275 | | /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { |
3276 | | public: |
3277 | 0 | inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} |
3278 | | ~SourceCodeInfo() override; |
3279 | | template <typename = void> |
3280 | | explicit PROTOBUF_CONSTEXPR SourceCodeInfo( |
3281 | | ::google::protobuf::internal::ConstantInitialized); |
3282 | | |
3283 | 0 | inline SourceCodeInfo(const SourceCodeInfo& from) : SourceCodeInfo(nullptr, from) {} |
3284 | | inline SourceCodeInfo(SourceCodeInfo&& from) noexcept |
3285 | 0 | : SourceCodeInfo(nullptr, std::move(from)) {} |
3286 | 0 | inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
3287 | 0 | CopyFrom(from); |
3288 | 0 | return *this; |
3289 | 0 | } |
3290 | 0 | inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
3291 | 0 | if (this == &from) return *this; |
3292 | 0 | if (GetArena() == from.GetArena() |
3293 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3294 | 0 | && GetArena() != nullptr |
3295 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3296 | 0 | ) { |
3297 | 0 | InternalSwap(&from); |
3298 | 0 | } else { |
3299 | 0 | CopyFrom(from); |
3300 | 0 | } |
3301 | 0 | return *this; |
3302 | 0 | } |
3303 | | |
3304 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3305 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3306 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3307 | 0 | } |
3308 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3309 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3310 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3311 | 0 | } |
3312 | | |
3313 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3314 | 0 | return GetDescriptor(); |
3315 | 0 | } |
3316 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3317 | 0 | return default_instance().GetMetadata().descriptor; |
3318 | 0 | } |
3319 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3320 | 0 | return default_instance().GetMetadata().reflection; |
3321 | 0 | } |
3322 | 0 | static const SourceCodeInfo& default_instance() { |
3323 | 0 | return *internal_default_instance(); |
3324 | 0 | } |
3325 | 0 | static inline const SourceCodeInfo* internal_default_instance() { |
3326 | 0 | return reinterpret_cast<const SourceCodeInfo*>( |
3327 | 0 | &_SourceCodeInfo_default_instance_); |
3328 | 0 | } |
3329 | | static constexpr int kIndexInFileMessages = 30; |
3330 | 0 | friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { a.Swap(&b); } |
3331 | 0 | inline void Swap(SourceCodeInfo* other) { |
3332 | 0 | if (other == this) return; |
3333 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3334 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
3335 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3336 | 0 | if (GetArena() == other->GetArena()) { |
3337 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3338 | 0 | InternalSwap(other); |
3339 | 0 | } else { |
3340 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3341 | 0 | } |
3342 | 0 | } |
3343 | 0 | void UnsafeArenaSwap(SourceCodeInfo* other) { |
3344 | 0 | if (other == this) return; |
3345 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3346 | 0 | InternalSwap(other); |
3347 | 0 | } |
3348 | | |
3349 | | // implements Message ---------------------------------------------- |
3350 | | |
3351 | 0 | SourceCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const final { |
3352 | 0 | return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo>(arena); |
3353 | 0 | } |
3354 | | using ::google::protobuf::Message::CopyFrom; |
3355 | | void CopyFrom(const SourceCodeInfo& from); |
3356 | | using ::google::protobuf::Message::MergeFrom; |
3357 | 0 | void MergeFrom(const SourceCodeInfo& from) { SourceCodeInfo::MergeImpl(*this, from); } |
3358 | | |
3359 | | private: |
3360 | | static void MergeImpl( |
3361 | | ::google::protobuf::MessageLite& to_msg, |
3362 | | const ::google::protobuf::MessageLite& from_msg); |
3363 | | |
3364 | | public: |
3365 | 0 | bool IsInitialized() const { |
3366 | 0 | return true; |
3367 | 0 | } |
3368 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
3369 | | ::size_t ByteSizeLong() const final; |
3370 | | ::uint8_t* _InternalSerialize( |
3371 | | ::uint8_t* target, |
3372 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3373 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3374 | | |
3375 | | private: |
3376 | | void SharedCtor(::google::protobuf::Arena* arena); |
3377 | | void SharedDtor(); |
3378 | | void InternalSwap(SourceCodeInfo* other); |
3379 | | private: |
3380 | | friend class ::google::protobuf::internal::AnyMetadata; |
3381 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo"; } |
3382 | | |
3383 | | protected: |
3384 | | explicit SourceCodeInfo(::google::protobuf::Arena* arena); |
3385 | | SourceCodeInfo(::google::protobuf::Arena* arena, const SourceCodeInfo& from); |
3386 | | SourceCodeInfo(::google::protobuf::Arena* arena, SourceCodeInfo&& from) noexcept |
3387 | 0 | : SourceCodeInfo(arena) { |
3388 | 0 | *this = ::std::move(from); |
3389 | 0 | } |
3390 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
3391 | | |
3392 | | public: |
3393 | | ::google::protobuf::Metadata GetMetadata() const; |
3394 | | // nested types ---------------------------------------------------- |
3395 | | using Location = SourceCodeInfo_Location; |
3396 | | |
3397 | | // accessors ------------------------------------------------------- |
3398 | | enum : int { |
3399 | | kLocationFieldNumber = 1, |
3400 | | }; |
3401 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
3402 | | int location_size() const; |
3403 | | private: |
3404 | | int _internal_location_size() const; |
3405 | | |
3406 | | public: |
3407 | | void clear_location() ; |
3408 | | ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); |
3409 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* mutable_location(); |
3410 | | |
3411 | | private: |
3412 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& _internal_location() const; |
3413 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* _internal_mutable_location(); |
3414 | | public: |
3415 | | const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; |
3416 | | ::google::protobuf::SourceCodeInfo_Location* add_location(); |
3417 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& location() const; |
3418 | | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
3419 | | private: |
3420 | | class _Internal; |
3421 | | friend class ::google::protobuf::internal::TcParser; |
3422 | | static const ::google::protobuf::internal::TcParseTable< |
3423 | | 0, 1, 1, |
3424 | | 0, 2> |
3425 | | _table_; |
3426 | | |
3427 | | static constexpr const void* _raw_default_instance_ = |
3428 | | &_SourceCodeInfo_default_instance_; |
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 SourceCodeInfo& from_msg); |
3444 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_; |
3445 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3446 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3447 | | }; |
3448 | | union { Impl_ _impl_; }; |
3449 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3450 | | }; |
3451 | | // ------------------------------------------------------------------- |
3452 | | |
3453 | | class PROTOBUF_EXPORT GeneratedCodeInfo final : public ::google::protobuf::Message |
3454 | | /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { |
3455 | | public: |
3456 | 0 | inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {} |
3457 | | ~GeneratedCodeInfo() override; |
3458 | | template <typename = void> |
3459 | | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo( |
3460 | | ::google::protobuf::internal::ConstantInitialized); |
3461 | | |
3462 | 0 | inline GeneratedCodeInfo(const GeneratedCodeInfo& from) : GeneratedCodeInfo(nullptr, from) {} |
3463 | | inline GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept |
3464 | 0 | : GeneratedCodeInfo(nullptr, std::move(from)) {} |
3465 | 0 | inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
3466 | 0 | CopyFrom(from); |
3467 | 0 | return *this; |
3468 | 0 | } |
3469 | 0 | inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
3470 | 0 | if (this == &from) return *this; |
3471 | 0 | if (GetArena() == from.GetArena() |
3472 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3473 | 0 | && GetArena() != nullptr |
3474 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3475 | 0 | ) { |
3476 | 0 | InternalSwap(&from); |
3477 | 0 | } else { |
3478 | 0 | CopyFrom(from); |
3479 | 0 | } |
3480 | 0 | return *this; |
3481 | 0 | } |
3482 | | |
3483 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3484 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3485 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3486 | 0 | } |
3487 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3488 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3489 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3490 | 0 | } |
3491 | | |
3492 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3493 | 0 | return GetDescriptor(); |
3494 | 0 | } |
3495 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3496 | 0 | return default_instance().GetMetadata().descriptor; |
3497 | 0 | } |
3498 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3499 | 0 | return default_instance().GetMetadata().reflection; |
3500 | 0 | } |
3501 | 0 | static const GeneratedCodeInfo& default_instance() { |
3502 | 0 | return *internal_default_instance(); |
3503 | 0 | } |
3504 | 0 | static inline const GeneratedCodeInfo* internal_default_instance() { |
3505 | 0 | return reinterpret_cast<const GeneratedCodeInfo*>( |
3506 | 0 | &_GeneratedCodeInfo_default_instance_); |
3507 | 0 | } |
3508 | | static constexpr int kIndexInFileMessages = 32; |
3509 | 0 | friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { a.Swap(&b); } |
3510 | 0 | inline void Swap(GeneratedCodeInfo* other) { |
3511 | 0 | if (other == this) return; |
3512 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3513 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
3514 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3515 | 0 | if (GetArena() == other->GetArena()) { |
3516 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3517 | 0 | InternalSwap(other); |
3518 | 0 | } else { |
3519 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3520 | 0 | } |
3521 | 0 | } |
3522 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo* other) { |
3523 | 0 | if (other == this) return; |
3524 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3525 | 0 | InternalSwap(other); |
3526 | 0 | } |
3527 | | |
3528 | | // implements Message ---------------------------------------------- |
3529 | | |
3530 | 0 | GeneratedCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const final { |
3531 | 0 | return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo>(arena); |
3532 | 0 | } |
3533 | | using ::google::protobuf::Message::CopyFrom; |
3534 | | void CopyFrom(const GeneratedCodeInfo& from); |
3535 | | using ::google::protobuf::Message::MergeFrom; |
3536 | 0 | void MergeFrom(const GeneratedCodeInfo& from) { GeneratedCodeInfo::MergeImpl(*this, from); } |
3537 | | |
3538 | | private: |
3539 | | static void MergeImpl( |
3540 | | ::google::protobuf::MessageLite& to_msg, |
3541 | | const ::google::protobuf::MessageLite& from_msg); |
3542 | | |
3543 | | public: |
3544 | 0 | bool IsInitialized() const { |
3545 | 0 | return true; |
3546 | 0 | } |
3547 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
3548 | | ::size_t ByteSizeLong() const final; |
3549 | | ::uint8_t* _InternalSerialize( |
3550 | | ::uint8_t* target, |
3551 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3552 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3553 | | |
3554 | | private: |
3555 | | void SharedCtor(::google::protobuf::Arena* arena); |
3556 | | void SharedDtor(); |
3557 | | void InternalSwap(GeneratedCodeInfo* other); |
3558 | | private: |
3559 | | friend class ::google::protobuf::internal::AnyMetadata; |
3560 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo"; } |
3561 | | |
3562 | | protected: |
3563 | | explicit GeneratedCodeInfo(::google::protobuf::Arena* arena); |
3564 | | GeneratedCodeInfo(::google::protobuf::Arena* arena, const GeneratedCodeInfo& from); |
3565 | | GeneratedCodeInfo(::google::protobuf::Arena* arena, GeneratedCodeInfo&& from) noexcept |
3566 | 0 | : GeneratedCodeInfo(arena) { |
3567 | 0 | *this = ::std::move(from); |
3568 | 0 | } |
3569 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
3570 | | |
3571 | | public: |
3572 | | ::google::protobuf::Metadata GetMetadata() const; |
3573 | | // nested types ---------------------------------------------------- |
3574 | | using Annotation = GeneratedCodeInfo_Annotation; |
3575 | | |
3576 | | // accessors ------------------------------------------------------- |
3577 | | enum : int { |
3578 | | kAnnotationFieldNumber = 1, |
3579 | | }; |
3580 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
3581 | | int annotation_size() const; |
3582 | | private: |
3583 | | int _internal_annotation_size() const; |
3584 | | |
3585 | | public: |
3586 | | void clear_annotation() ; |
3587 | | ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index); |
3588 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* mutable_annotation(); |
3589 | | |
3590 | | private: |
3591 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& _internal_annotation() const; |
3592 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* _internal_mutable_annotation(); |
3593 | | public: |
3594 | | const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const; |
3595 | | ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); |
3596 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& annotation() const; |
3597 | | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
3598 | | private: |
3599 | | class _Internal; |
3600 | | friend class ::google::protobuf::internal::TcParser; |
3601 | | static const ::google::protobuf::internal::TcParseTable< |
3602 | | 0, 1, 1, |
3603 | | 0, 2> |
3604 | | _table_; |
3605 | | |
3606 | | static constexpr const void* _raw_default_instance_ = |
3607 | | &_GeneratedCodeInfo_default_instance_; |
3608 | | |
3609 | | friend class ::google::protobuf::MessageLite; |
3610 | | friend class ::google::protobuf::Arena; |
3611 | | template <typename T> |
3612 | | friend class ::google::protobuf::Arena::InternalHelper; |
3613 | | using InternalArenaConstructable_ = void; |
3614 | | using DestructorSkippable_ = void; |
3615 | | struct Impl_ { |
3616 | | inline explicit constexpr Impl_( |
3617 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3618 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3619 | | ::google::protobuf::Arena* arena); |
3620 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3621 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3622 | | const GeneratedCodeInfo& from_msg); |
3623 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation > annotation_; |
3624 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3625 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3626 | | }; |
3627 | | union { Impl_ _impl_; }; |
3628 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3629 | | }; |
3630 | | // ------------------------------------------------------------------- |
3631 | | |
3632 | | class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final : public ::google::protobuf::Message |
3633 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault) */ { |
3634 | | public: |
3635 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault() : FeatureSetDefaults_FeatureSetEditionDefault(nullptr) {} |
3636 | | ~FeatureSetDefaults_FeatureSetEditionDefault() override; |
3637 | | template <typename = void> |
3638 | | explicit PROTOBUF_CONSTEXPR FeatureSetDefaults_FeatureSetEditionDefault( |
3639 | | ::google::protobuf::internal::ConstantInitialized); |
3640 | | |
3641 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault(const FeatureSetDefaults_FeatureSetEditionDefault& from) : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, from) {} |
3642 | | inline FeatureSetDefaults_FeatureSetEditionDefault(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept |
3643 | 0 | : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, std::move(from)) {} |
3644 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(const FeatureSetDefaults_FeatureSetEditionDefault& from) { |
3645 | 0 | CopyFrom(from); |
3646 | 0 | return *this; |
3647 | 0 | } |
3648 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept { |
3649 | 0 | if (this == &from) return *this; |
3650 | 0 | if (GetArena() == from.GetArena() |
3651 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3652 | 0 | && GetArena() != nullptr |
3653 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3654 | 0 | ) { |
3655 | 0 | InternalSwap(&from); |
3656 | 0 | } else { |
3657 | 0 | CopyFrom(from); |
3658 | 0 | } |
3659 | 0 | return *this; |
3660 | 0 | } |
3661 | | |
3662 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3663 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3664 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3665 | 0 | } |
3666 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3667 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3668 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3669 | 0 | } |
3670 | | |
3671 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3672 | 0 | return GetDescriptor(); |
3673 | 0 | } |
3674 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3675 | 0 | return default_instance().GetMetadata().descriptor; |
3676 | 0 | } |
3677 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3678 | 0 | return default_instance().GetMetadata().reflection; |
3679 | 0 | } |
3680 | 0 | static const FeatureSetDefaults_FeatureSetEditionDefault& default_instance() { |
3681 | 0 | return *internal_default_instance(); |
3682 | 0 | } |
3683 | 0 | static inline const FeatureSetDefaults_FeatureSetEditionDefault* internal_default_instance() { |
3684 | 0 | return reinterpret_cast<const FeatureSetDefaults_FeatureSetEditionDefault*>( |
3685 | 0 | &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_); |
3686 | 0 | } |
3687 | | static constexpr int kIndexInFileMessages = 27; |
3688 | 0 | friend void swap(FeatureSetDefaults_FeatureSetEditionDefault& a, FeatureSetDefaults_FeatureSetEditionDefault& b) { a.Swap(&b); } |
3689 | 0 | inline void Swap(FeatureSetDefaults_FeatureSetEditionDefault* other) { |
3690 | 0 | if (other == this) return; |
3691 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3692 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
3693 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3694 | 0 | if (GetArena() == other->GetArena()) { |
3695 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3696 | 0 | InternalSwap(other); |
3697 | 0 | } else { |
3698 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3699 | 0 | } |
3700 | 0 | } |
3701 | 0 | void UnsafeArenaSwap(FeatureSetDefaults_FeatureSetEditionDefault* other) { |
3702 | 0 | if (other == this) return; |
3703 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3704 | 0 | InternalSwap(other); |
3705 | 0 | } |
3706 | | |
3707 | | // implements Message ---------------------------------------------- |
3708 | | |
3709 | 0 | FeatureSetDefaults_FeatureSetEditionDefault* New(::google::protobuf::Arena* arena = nullptr) const final { |
3710 | 0 | return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults_FeatureSetEditionDefault>(arena); |
3711 | 0 | } |
3712 | | using ::google::protobuf::Message::CopyFrom; |
3713 | | void CopyFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from); |
3714 | | using ::google::protobuf::Message::MergeFrom; |
3715 | 0 | void MergeFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from) { FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl(*this, from); } |
3716 | | |
3717 | | private: |
3718 | | static void MergeImpl( |
3719 | | ::google::protobuf::MessageLite& to_msg, |
3720 | | const ::google::protobuf::MessageLite& from_msg); |
3721 | | |
3722 | | public: |
3723 | 0 | bool IsInitialized() const { |
3724 | 0 | return IsInitializedImpl(*this); |
3725 | 0 | } |
3726 | | |
3727 | | private: |
3728 | | static bool IsInitializedImpl(const MessageLite& msg); |
3729 | | |
3730 | | public: |
3731 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
3732 | | ::size_t ByteSizeLong() const final; |
3733 | | ::uint8_t* _InternalSerialize( |
3734 | | ::uint8_t* target, |
3735 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3736 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3737 | | |
3738 | | private: |
3739 | | void SharedCtor(::google::protobuf::Arena* arena); |
3740 | | void SharedDtor(); |
3741 | | void InternalSwap(FeatureSetDefaults_FeatureSetEditionDefault* other); |
3742 | | private: |
3743 | | friend class ::google::protobuf::internal::AnyMetadata; |
3744 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"; } |
3745 | | |
3746 | | protected: |
3747 | | explicit FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena); |
3748 | | FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena, const FeatureSetDefaults_FeatureSetEditionDefault& from); |
3749 | | FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena, FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept |
3750 | 0 | : FeatureSetDefaults_FeatureSetEditionDefault(arena) { |
3751 | 0 | *this = ::std::move(from); |
3752 | 0 | } |
3753 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
3754 | | |
3755 | | public: |
3756 | | ::google::protobuf::Metadata GetMetadata() const; |
3757 | | // nested types ---------------------------------------------------- |
3758 | | |
3759 | | // accessors ------------------------------------------------------- |
3760 | | enum : int { |
3761 | | kOverridableFeaturesFieldNumber = 4, |
3762 | | kFixedFeaturesFieldNumber = 5, |
3763 | | kEditionFieldNumber = 3, |
3764 | | }; |
3765 | | // optional .google.protobuf.FeatureSet overridable_features = 4; |
3766 | | bool has_overridable_features() const; |
3767 | | void clear_overridable_features() ; |
3768 | | const ::google::protobuf::FeatureSet& overridable_features() const; |
3769 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_overridable_features(); |
3770 | | ::google::protobuf::FeatureSet* mutable_overridable_features(); |
3771 | | void set_allocated_overridable_features(::google::protobuf::FeatureSet* value); |
3772 | | void unsafe_arena_set_allocated_overridable_features(::google::protobuf::FeatureSet* value); |
3773 | | ::google::protobuf::FeatureSet* unsafe_arena_release_overridable_features(); |
3774 | | |
3775 | | private: |
3776 | | const ::google::protobuf::FeatureSet& _internal_overridable_features() const; |
3777 | | ::google::protobuf::FeatureSet* _internal_mutable_overridable_features(); |
3778 | | |
3779 | | public: |
3780 | | // optional .google.protobuf.FeatureSet fixed_features = 5; |
3781 | | bool has_fixed_features() const; |
3782 | | void clear_fixed_features() ; |
3783 | | const ::google::protobuf::FeatureSet& fixed_features() const; |
3784 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_fixed_features(); |
3785 | | ::google::protobuf::FeatureSet* mutable_fixed_features(); |
3786 | | void set_allocated_fixed_features(::google::protobuf::FeatureSet* value); |
3787 | | void unsafe_arena_set_allocated_fixed_features(::google::protobuf::FeatureSet* value); |
3788 | | ::google::protobuf::FeatureSet* unsafe_arena_release_fixed_features(); |
3789 | | |
3790 | | private: |
3791 | | const ::google::protobuf::FeatureSet& _internal_fixed_features() const; |
3792 | | ::google::protobuf::FeatureSet* _internal_mutable_fixed_features(); |
3793 | | |
3794 | | public: |
3795 | | // optional .google.protobuf.Edition edition = 3; |
3796 | | bool has_edition() const; |
3797 | | void clear_edition() ; |
3798 | | ::google::protobuf::Edition edition() const; |
3799 | | void set_edition(::google::protobuf::Edition value); |
3800 | | |
3801 | | private: |
3802 | | ::google::protobuf::Edition _internal_edition() const; |
3803 | | void _internal_set_edition(::google::protobuf::Edition value); |
3804 | | |
3805 | | public: |
3806 | | // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault) |
3807 | | private: |
3808 | | class _Internal; |
3809 | | friend class ::google::protobuf::internal::TcParser; |
3810 | | static const ::google::protobuf::internal::TcParseTable< |
3811 | | 2, 3, 3, |
3812 | | 0, 2> |
3813 | | _table_; |
3814 | | |
3815 | | static constexpr const void* _raw_default_instance_ = |
3816 | | &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_; |
3817 | | |
3818 | | friend class ::google::protobuf::MessageLite; |
3819 | | friend class ::google::protobuf::Arena; |
3820 | | template <typename T> |
3821 | | friend class ::google::protobuf::Arena::InternalHelper; |
3822 | | using InternalArenaConstructable_ = void; |
3823 | | using DestructorSkippable_ = void; |
3824 | | struct Impl_ { |
3825 | | inline explicit constexpr Impl_( |
3826 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3827 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3828 | | ::google::protobuf::Arena* arena); |
3829 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3830 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3831 | | const FeatureSetDefaults_FeatureSetEditionDefault& from_msg); |
3832 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3833 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3834 | | ::google::protobuf::FeatureSet* overridable_features_; |
3835 | | ::google::protobuf::FeatureSet* fixed_features_; |
3836 | | int edition_; |
3837 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3838 | | }; |
3839 | | union { Impl_ _impl_; }; |
3840 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3841 | | }; |
3842 | | // ------------------------------------------------------------------- |
3843 | | |
3844 | | class PROTOBUF_EXPORT ServiceOptions final : public ::google::protobuf::Message |
3845 | | /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { |
3846 | | public: |
3847 | 0 | inline ServiceOptions() : ServiceOptions(nullptr) {} |
3848 | | ~ServiceOptions() override; |
3849 | | template <typename = void> |
3850 | | explicit PROTOBUF_CONSTEXPR ServiceOptions( |
3851 | | ::google::protobuf::internal::ConstantInitialized); |
3852 | | |
3853 | 0 | inline ServiceOptions(const ServiceOptions& from) : ServiceOptions(nullptr, from) {} |
3854 | | inline ServiceOptions(ServiceOptions&& from) noexcept |
3855 | 0 | : ServiceOptions(nullptr, std::move(from)) {} |
3856 | 0 | inline ServiceOptions& operator=(const ServiceOptions& from) { |
3857 | 0 | CopyFrom(from); |
3858 | 0 | return *this; |
3859 | 0 | } |
3860 | 0 | inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
3861 | 0 | if (this == &from) return *this; |
3862 | 0 | if (GetArena() == from.GetArena() |
3863 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3864 | 0 | && GetArena() != nullptr |
3865 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3866 | 0 | ) { |
3867 | 0 | InternalSwap(&from); |
3868 | 0 | } else { |
3869 | 0 | CopyFrom(from); |
3870 | 0 | } |
3871 | 0 | return *this; |
3872 | 0 | } |
3873 | | |
3874 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3875 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3876 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3877 | 0 | } |
3878 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3879 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3880 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3881 | 0 | } |
3882 | | |
3883 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3884 | 0 | return GetDescriptor(); |
3885 | 0 | } |
3886 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3887 | 0 | return default_instance().GetMetadata().descriptor; |
3888 | 0 | } |
3889 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3890 | 0 | return default_instance().GetMetadata().reflection; |
3891 | 0 | } |
3892 | 0 | static const ServiceOptions& default_instance() { |
3893 | 0 | return *internal_default_instance(); |
3894 | 0 | } |
3895 | 0 | static inline const ServiceOptions* internal_default_instance() { |
3896 | 0 | return reinterpret_cast<const ServiceOptions*>( |
3897 | 0 | &_ServiceOptions_default_instance_); |
3898 | 0 | } |
3899 | | static constexpr int kIndexInFileMessages = 22; |
3900 | 0 | friend void swap(ServiceOptions& a, ServiceOptions& b) { a.Swap(&b); } |
3901 | 0 | inline void Swap(ServiceOptions* other) { |
3902 | 0 | if (other == this) return; |
3903 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3904 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
3905 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3906 | 0 | if (GetArena() == other->GetArena()) { |
3907 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3908 | 0 | InternalSwap(other); |
3909 | 0 | } else { |
3910 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3911 | 0 | } |
3912 | 0 | } |
3913 | 0 | void UnsafeArenaSwap(ServiceOptions* other) { |
3914 | 0 | if (other == this) return; |
3915 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3916 | 0 | InternalSwap(other); |
3917 | 0 | } |
3918 | | |
3919 | | // implements Message ---------------------------------------------- |
3920 | | |
3921 | 0 | ServiceOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
3922 | 0 | return ::google::protobuf::Message::DefaultConstruct<ServiceOptions>(arena); |
3923 | 0 | } |
3924 | | using ::google::protobuf::Message::CopyFrom; |
3925 | | void CopyFrom(const ServiceOptions& from); |
3926 | | using ::google::protobuf::Message::MergeFrom; |
3927 | 0 | void MergeFrom(const ServiceOptions& from) { ServiceOptions::MergeImpl(*this, from); } |
3928 | | |
3929 | | private: |
3930 | | static void MergeImpl( |
3931 | | ::google::protobuf::MessageLite& to_msg, |
3932 | | const ::google::protobuf::MessageLite& from_msg); |
3933 | | |
3934 | | public: |
3935 | 0 | bool IsInitialized() const { |
3936 | 0 | return IsInitializedImpl(*this); |
3937 | 0 | } |
3938 | | |
3939 | | private: |
3940 | | static bool IsInitializedImpl(const MessageLite& msg); |
3941 | | |
3942 | | public: |
3943 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
3944 | | ::size_t ByteSizeLong() const final; |
3945 | | ::uint8_t* _InternalSerialize( |
3946 | | ::uint8_t* target, |
3947 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3948 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3949 | | |
3950 | | private: |
3951 | | void SharedCtor(::google::protobuf::Arena* arena); |
3952 | | void SharedDtor(); |
3953 | | void InternalSwap(ServiceOptions* other); |
3954 | | private: |
3955 | | friend class ::google::protobuf::internal::AnyMetadata; |
3956 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.ServiceOptions"; } |
3957 | | |
3958 | | protected: |
3959 | | explicit ServiceOptions(::google::protobuf::Arena* arena); |
3960 | | ServiceOptions(::google::protobuf::Arena* arena, const ServiceOptions& from); |
3961 | | ServiceOptions(::google::protobuf::Arena* arena, ServiceOptions&& from) noexcept |
3962 | 0 | : ServiceOptions(arena) { |
3963 | 0 | *this = ::std::move(from); |
3964 | 0 | } |
3965 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
3966 | | |
3967 | | public: |
3968 | | ::google::protobuf::Metadata GetMetadata() const; |
3969 | | // nested types ---------------------------------------------------- |
3970 | | |
3971 | | // accessors ------------------------------------------------------- |
3972 | | enum : int { |
3973 | | kUninterpretedOptionFieldNumber = 999, |
3974 | | kFeaturesFieldNumber = 34, |
3975 | | kDeprecatedFieldNumber = 33, |
3976 | | }; |
3977 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
3978 | | int uninterpreted_option_size() const; |
3979 | | private: |
3980 | | int _internal_uninterpreted_option_size() const; |
3981 | | |
3982 | | public: |
3983 | | void clear_uninterpreted_option() ; |
3984 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
3985 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
3986 | | |
3987 | | private: |
3988 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
3989 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
3990 | | public: |
3991 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
3992 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
3993 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
3994 | | // optional .google.protobuf.FeatureSet features = 34; |
3995 | | bool has_features() const; |
3996 | | void clear_features() ; |
3997 | | const ::google::protobuf::FeatureSet& features() const; |
3998 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
3999 | | ::google::protobuf::FeatureSet* mutable_features(); |
4000 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
4001 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
4002 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
4003 | | |
4004 | | private: |
4005 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
4006 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
4007 | | |
4008 | | public: |
4009 | | // optional bool deprecated = 33 [default = false]; |
4010 | | bool has_deprecated() const; |
4011 | | void clear_deprecated() ; |
4012 | | bool deprecated() const; |
4013 | | void set_deprecated(bool value); |
4014 | | |
4015 | | private: |
4016 | | bool _internal_deprecated() const; |
4017 | | void _internal_set_deprecated(bool value); |
4018 | | |
4019 | | public: |
4020 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4021 | | bool _is_packed, |
4022 | | typename = typename _proto_TypeTraits::Singular> |
4023 | | inline bool HasExtension( |
4024 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4025 | | _field_type, _is_packed>& id) const { |
4026 | | return _impl_._extensions_.Has(id.number()); |
4027 | | } |
4028 | | |
4029 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4030 | | bool _is_packed> |
4031 | | inline void ClearExtension( |
4032 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4033 | | _field_type, _is_packed>& id) { |
4034 | | _impl_._extensions_.ClearExtension(id.number()); |
4035 | | } |
4036 | | |
4037 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4038 | | bool _is_packed, |
4039 | | typename = typename _proto_TypeTraits::Repeated> |
4040 | | inline int ExtensionSize( |
4041 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4042 | | _field_type, _is_packed>& id) const { |
4043 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4044 | | } |
4045 | | |
4046 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4047 | | bool _is_packed, |
4048 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
4049 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4050 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4051 | | _field_type, _is_packed>& id) const { |
4052 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4053 | | } |
4054 | | |
4055 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4056 | | bool _is_packed, |
4057 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
4058 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4059 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4060 | | _field_type, _is_packed>& id) const |
4061 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4062 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4063 | | } |
4064 | | |
4065 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4066 | | bool _is_packed> |
4067 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4068 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4069 | | _field_type, _is_packed>& id) |
4070 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4071 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
4072 | | } |
4073 | | |
4074 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4075 | | bool _is_packed> |
4076 | | inline void SetExtension( |
4077 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4078 | | _field_type, _is_packed>& id, |
4079 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4080 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4081 | | } |
4082 | | |
4083 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4084 | | bool _is_packed> |
4085 | | inline void SetAllocatedExtension( |
4086 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4087 | | _field_type, _is_packed>& id, |
4088 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4089 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4090 | | &_impl_._extensions_); |
4091 | | } |
4092 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4093 | | bool _is_packed> |
4094 | | inline void UnsafeArenaSetAllocatedExtension( |
4095 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4096 | | _field_type, _is_packed>& id, |
4097 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4098 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4099 | | value, &_impl_._extensions_); |
4100 | | } |
4101 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4102 | | bool _is_packed> |
4103 | | PROTOBUF_NODISCARD inline |
4104 | | typename _proto_TypeTraits::Singular::MutableType |
4105 | | ReleaseExtension( |
4106 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4107 | | _field_type, _is_packed>& id) { |
4108 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
4109 | | } |
4110 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4111 | | bool _is_packed> |
4112 | | inline typename _proto_TypeTraits::Singular::MutableType |
4113 | | UnsafeArenaReleaseExtension( |
4114 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4115 | | _field_type, _is_packed>& id) { |
4116 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4117 | | &_impl_._extensions_); |
4118 | | } |
4119 | | |
4120 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4121 | | bool _is_packed, |
4122 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
4123 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4124 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4125 | | _field_type, _is_packed>& id, |
4126 | | int index) const { |
4127 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4128 | | } |
4129 | | |
4130 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4131 | | bool _is_packed, |
4132 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
4133 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4134 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4135 | | _field_type, _is_packed>& id, |
4136 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4137 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4138 | | } |
4139 | | |
4140 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4141 | | bool _is_packed> |
4142 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4143 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4144 | | _field_type, _is_packed>& id, |
4145 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4146 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4147 | | } |
4148 | | |
4149 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4150 | | bool _is_packed> |
4151 | | inline void SetExtension( |
4152 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4153 | | _field_type, _is_packed>& id, |
4154 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4155 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4156 | | } |
4157 | | |
4158 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4159 | | bool _is_packed> |
4160 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4161 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4162 | | _field_type, _is_packed>& id) |
4163 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4164 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4165 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4166 | | return to_add; |
4167 | | } |
4168 | | |
4169 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4170 | | bool _is_packed> |
4171 | | inline void AddExtension( |
4172 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4173 | | _field_type, _is_packed>& id, |
4174 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4175 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4176 | | &_impl_._extensions_); |
4177 | | } |
4178 | | |
4179 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4180 | | bool _is_packed> |
4181 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4182 | | GetRepeatedExtension( |
4183 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4184 | | _field_type, _is_packed>& id) const |
4185 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4186 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4187 | | } |
4188 | | |
4189 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4190 | | bool _is_packed> |
4191 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4192 | | MutableRepeatedExtension( |
4193 | | const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
4194 | | _field_type, _is_packed>& id) |
4195 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4196 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
4197 | | _is_packed, &_impl_._extensions_); |
4198 | | } |
4199 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
4200 | | private: |
4201 | | class _Internal; |
4202 | | friend class ::google::protobuf::internal::TcParser; |
4203 | | static const ::google::protobuf::internal::TcParseTable< |
4204 | | 2, 3, 2, |
4205 | | 0, 12> |
4206 | | _table_; |
4207 | | |
4208 | | static constexpr const void* _raw_default_instance_ = |
4209 | | &_ServiceOptions_default_instance_; |
4210 | | |
4211 | | friend class ::google::protobuf::MessageLite; |
4212 | | friend class ::google::protobuf::Arena; |
4213 | | template <typename T> |
4214 | | friend class ::google::protobuf::Arena::InternalHelper; |
4215 | | using InternalArenaConstructable_ = void; |
4216 | | using DestructorSkippable_ = void; |
4217 | | struct Impl_ { |
4218 | | inline explicit constexpr Impl_( |
4219 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
4220 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4221 | | ::google::protobuf::Arena* arena); |
4222 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4223 | | ::google::protobuf::Arena* arena, const Impl_& from, |
4224 | | const ServiceOptions& from_msg); |
4225 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
4226 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4227 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4228 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
4229 | | ::google::protobuf::FeatureSet* features_; |
4230 | | bool deprecated_; |
4231 | | PROTOBUF_TSAN_DECLARE_MEMBER |
4232 | | }; |
4233 | | union { Impl_ _impl_; }; |
4234 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
4235 | | }; |
4236 | | // ------------------------------------------------------------------- |
4237 | | |
4238 | | class PROTOBUF_EXPORT OneofOptions final : public ::google::protobuf::Message |
4239 | | /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { |
4240 | | public: |
4241 | 0 | inline OneofOptions() : OneofOptions(nullptr) {} |
4242 | | ~OneofOptions() override; |
4243 | | template <typename = void> |
4244 | | explicit PROTOBUF_CONSTEXPR OneofOptions( |
4245 | | ::google::protobuf::internal::ConstantInitialized); |
4246 | | |
4247 | 0 | inline OneofOptions(const OneofOptions& from) : OneofOptions(nullptr, from) {} |
4248 | | inline OneofOptions(OneofOptions&& from) noexcept |
4249 | 0 | : OneofOptions(nullptr, std::move(from)) {} |
4250 | 0 | inline OneofOptions& operator=(const OneofOptions& from) { |
4251 | 0 | CopyFrom(from); |
4252 | 0 | return *this; |
4253 | 0 | } |
4254 | 0 | inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
4255 | 0 | if (this == &from) return *this; |
4256 | 0 | if (GetArena() == from.GetArena() |
4257 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4258 | 0 | && GetArena() != nullptr |
4259 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4260 | 0 | ) { |
4261 | 0 | InternalSwap(&from); |
4262 | 0 | } else { |
4263 | 0 | CopyFrom(from); |
4264 | 0 | } |
4265 | 0 | return *this; |
4266 | 0 | } |
4267 | | |
4268 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4269 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4270 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4271 | 0 | } |
4272 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4273 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4274 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4275 | 0 | } |
4276 | | |
4277 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4278 | 0 | return GetDescriptor(); |
4279 | 0 | } |
4280 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4281 | 0 | return default_instance().GetMetadata().descriptor; |
4282 | 0 | } |
4283 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4284 | 0 | return default_instance().GetMetadata().reflection; |
4285 | 0 | } |
4286 | 0 | static const OneofOptions& default_instance() { |
4287 | 0 | return *internal_default_instance(); |
4288 | 0 | } |
4289 | 0 | static inline const OneofOptions* internal_default_instance() { |
4290 | 0 | return reinterpret_cast<const OneofOptions*>( |
4291 | 0 | &_OneofOptions_default_instance_); |
4292 | 0 | } |
4293 | | static constexpr int kIndexInFileMessages = 19; |
4294 | 0 | friend void swap(OneofOptions& a, OneofOptions& b) { a.Swap(&b); } |
4295 | 0 | inline void Swap(OneofOptions* other) { |
4296 | 0 | if (other == this) return; |
4297 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4298 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
4299 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4300 | 0 | if (GetArena() == other->GetArena()) { |
4301 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4302 | 0 | InternalSwap(other); |
4303 | 0 | } else { |
4304 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4305 | 0 | } |
4306 | 0 | } |
4307 | 0 | void UnsafeArenaSwap(OneofOptions* other) { |
4308 | 0 | if (other == this) return; |
4309 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4310 | 0 | InternalSwap(other); |
4311 | 0 | } |
4312 | | |
4313 | | // implements Message ---------------------------------------------- |
4314 | | |
4315 | 0 | OneofOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
4316 | 0 | return ::google::protobuf::Message::DefaultConstruct<OneofOptions>(arena); |
4317 | 0 | } |
4318 | | using ::google::protobuf::Message::CopyFrom; |
4319 | | void CopyFrom(const OneofOptions& from); |
4320 | | using ::google::protobuf::Message::MergeFrom; |
4321 | 0 | void MergeFrom(const OneofOptions& from) { OneofOptions::MergeImpl(*this, from); } |
4322 | | |
4323 | | private: |
4324 | | static void MergeImpl( |
4325 | | ::google::protobuf::MessageLite& to_msg, |
4326 | | const ::google::protobuf::MessageLite& from_msg); |
4327 | | |
4328 | | public: |
4329 | 0 | bool IsInitialized() const { |
4330 | 0 | return IsInitializedImpl(*this); |
4331 | 0 | } |
4332 | | |
4333 | | private: |
4334 | | static bool IsInitializedImpl(const MessageLite& msg); |
4335 | | |
4336 | | public: |
4337 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
4338 | | ::size_t ByteSizeLong() const final; |
4339 | | ::uint8_t* _InternalSerialize( |
4340 | | ::uint8_t* target, |
4341 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
4342 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
4343 | | |
4344 | | private: |
4345 | | void SharedCtor(::google::protobuf::Arena* arena); |
4346 | | void SharedDtor(); |
4347 | | void InternalSwap(OneofOptions* other); |
4348 | | private: |
4349 | | friend class ::google::protobuf::internal::AnyMetadata; |
4350 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.OneofOptions"; } |
4351 | | |
4352 | | protected: |
4353 | | explicit OneofOptions(::google::protobuf::Arena* arena); |
4354 | | OneofOptions(::google::protobuf::Arena* arena, const OneofOptions& from); |
4355 | | OneofOptions(::google::protobuf::Arena* arena, OneofOptions&& from) noexcept |
4356 | 0 | : OneofOptions(arena) { |
4357 | 0 | *this = ::std::move(from); |
4358 | 0 | } |
4359 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
4360 | | |
4361 | | public: |
4362 | | ::google::protobuf::Metadata GetMetadata() const; |
4363 | | // nested types ---------------------------------------------------- |
4364 | | |
4365 | | // accessors ------------------------------------------------------- |
4366 | | enum : int { |
4367 | | kUninterpretedOptionFieldNumber = 999, |
4368 | | kFeaturesFieldNumber = 1, |
4369 | | }; |
4370 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
4371 | | int uninterpreted_option_size() const; |
4372 | | private: |
4373 | | int _internal_uninterpreted_option_size() const; |
4374 | | |
4375 | | public: |
4376 | | void clear_uninterpreted_option() ; |
4377 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
4378 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
4379 | | |
4380 | | private: |
4381 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
4382 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
4383 | | public: |
4384 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
4385 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
4386 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
4387 | | // optional .google.protobuf.FeatureSet features = 1; |
4388 | | bool has_features() const; |
4389 | | void clear_features() ; |
4390 | | const ::google::protobuf::FeatureSet& features() const; |
4391 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
4392 | | ::google::protobuf::FeatureSet* mutable_features(); |
4393 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
4394 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
4395 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
4396 | | |
4397 | | private: |
4398 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
4399 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
4400 | | |
4401 | | public: |
4402 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4403 | | bool _is_packed, |
4404 | | typename = typename _proto_TypeTraits::Singular> |
4405 | | inline bool HasExtension( |
4406 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4407 | | _field_type, _is_packed>& id) const { |
4408 | | return _impl_._extensions_.Has(id.number()); |
4409 | | } |
4410 | | |
4411 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4412 | | bool _is_packed> |
4413 | | inline void ClearExtension( |
4414 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4415 | | _field_type, _is_packed>& id) { |
4416 | | _impl_._extensions_.ClearExtension(id.number()); |
4417 | | } |
4418 | | |
4419 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4420 | | bool _is_packed, |
4421 | | typename = typename _proto_TypeTraits::Repeated> |
4422 | | inline int ExtensionSize( |
4423 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4424 | | _field_type, _is_packed>& id) const { |
4425 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4426 | | } |
4427 | | |
4428 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4429 | | bool _is_packed, |
4430 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
4431 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4432 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4433 | | _field_type, _is_packed>& id) const { |
4434 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4435 | | } |
4436 | | |
4437 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4438 | | bool _is_packed, |
4439 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
4440 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4441 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4442 | | _field_type, _is_packed>& id) const |
4443 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4444 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4445 | | } |
4446 | | |
4447 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4448 | | bool _is_packed> |
4449 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4450 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4451 | | _field_type, _is_packed>& id) |
4452 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4453 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
4454 | | } |
4455 | | |
4456 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4457 | | bool _is_packed> |
4458 | | inline void SetExtension( |
4459 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4460 | | _field_type, _is_packed>& id, |
4461 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4462 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4463 | | } |
4464 | | |
4465 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4466 | | bool _is_packed> |
4467 | | inline void SetAllocatedExtension( |
4468 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4469 | | _field_type, _is_packed>& id, |
4470 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4471 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4472 | | &_impl_._extensions_); |
4473 | | } |
4474 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4475 | | bool _is_packed> |
4476 | | inline void UnsafeArenaSetAllocatedExtension( |
4477 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4478 | | _field_type, _is_packed>& id, |
4479 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4480 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4481 | | value, &_impl_._extensions_); |
4482 | | } |
4483 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4484 | | bool _is_packed> |
4485 | | PROTOBUF_NODISCARD inline |
4486 | | typename _proto_TypeTraits::Singular::MutableType |
4487 | | ReleaseExtension( |
4488 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4489 | | _field_type, _is_packed>& id) { |
4490 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
4491 | | } |
4492 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4493 | | bool _is_packed> |
4494 | | inline typename _proto_TypeTraits::Singular::MutableType |
4495 | | UnsafeArenaReleaseExtension( |
4496 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4497 | | _field_type, _is_packed>& id) { |
4498 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4499 | | &_impl_._extensions_); |
4500 | | } |
4501 | | |
4502 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4503 | | bool _is_packed, |
4504 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
4505 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4506 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4507 | | _field_type, _is_packed>& id, |
4508 | | int index) const { |
4509 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4510 | | } |
4511 | | |
4512 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4513 | | bool _is_packed, |
4514 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
4515 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4516 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4517 | | _field_type, _is_packed>& id, |
4518 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4519 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4520 | | } |
4521 | | |
4522 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4523 | | bool _is_packed> |
4524 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4525 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4526 | | _field_type, _is_packed>& id, |
4527 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4528 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4529 | | } |
4530 | | |
4531 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4532 | | bool _is_packed> |
4533 | | inline void SetExtension( |
4534 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4535 | | _field_type, _is_packed>& id, |
4536 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4537 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4538 | | } |
4539 | | |
4540 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4541 | | bool _is_packed> |
4542 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4543 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4544 | | _field_type, _is_packed>& id) |
4545 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4546 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4547 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4548 | | return to_add; |
4549 | | } |
4550 | | |
4551 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4552 | | bool _is_packed> |
4553 | | inline void AddExtension( |
4554 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4555 | | _field_type, _is_packed>& id, |
4556 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4557 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4558 | | &_impl_._extensions_); |
4559 | | } |
4560 | | |
4561 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4562 | | bool _is_packed> |
4563 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4564 | | GetRepeatedExtension( |
4565 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4566 | | _field_type, _is_packed>& id) const |
4567 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4568 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4569 | | } |
4570 | | |
4571 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4572 | | bool _is_packed> |
4573 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4574 | | MutableRepeatedExtension( |
4575 | | const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
4576 | | _field_type, _is_packed>& id) |
4577 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4578 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
4579 | | _is_packed, &_impl_._extensions_); |
4580 | | } |
4581 | | // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) |
4582 | | private: |
4583 | | class _Internal; |
4584 | | friend class ::google::protobuf::internal::TcParser; |
4585 | | static const ::google::protobuf::internal::TcParseTable< |
4586 | | 2, 2, 2, |
4587 | | 0, 7> |
4588 | | _table_; |
4589 | | |
4590 | | static constexpr const void* _raw_default_instance_ = |
4591 | | &_OneofOptions_default_instance_; |
4592 | | |
4593 | | friend class ::google::protobuf::MessageLite; |
4594 | | friend class ::google::protobuf::Arena; |
4595 | | template <typename T> |
4596 | | friend class ::google::protobuf::Arena::InternalHelper; |
4597 | | using InternalArenaConstructable_ = void; |
4598 | | using DestructorSkippable_ = void; |
4599 | | struct Impl_ { |
4600 | | inline explicit constexpr Impl_( |
4601 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
4602 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4603 | | ::google::protobuf::Arena* arena); |
4604 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4605 | | ::google::protobuf::Arena* arena, const Impl_& from, |
4606 | | const OneofOptions& from_msg); |
4607 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
4608 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4609 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4610 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
4611 | | ::google::protobuf::FeatureSet* features_; |
4612 | | PROTOBUF_TSAN_DECLARE_MEMBER |
4613 | | }; |
4614 | | union { Impl_ _impl_; }; |
4615 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
4616 | | }; |
4617 | | // ------------------------------------------------------------------- |
4618 | | |
4619 | | class PROTOBUF_EXPORT MethodOptions final : public ::google::protobuf::Message |
4620 | | /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { |
4621 | | public: |
4622 | 0 | inline MethodOptions() : MethodOptions(nullptr) {} |
4623 | | ~MethodOptions() override; |
4624 | | template <typename = void> |
4625 | | explicit PROTOBUF_CONSTEXPR MethodOptions( |
4626 | | ::google::protobuf::internal::ConstantInitialized); |
4627 | | |
4628 | 0 | inline MethodOptions(const MethodOptions& from) : MethodOptions(nullptr, from) {} |
4629 | | inline MethodOptions(MethodOptions&& from) noexcept |
4630 | 0 | : MethodOptions(nullptr, std::move(from)) {} |
4631 | 0 | inline MethodOptions& operator=(const MethodOptions& from) { |
4632 | 0 | CopyFrom(from); |
4633 | 0 | return *this; |
4634 | 0 | } |
4635 | 0 | inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
4636 | 0 | if (this == &from) return *this; |
4637 | 0 | if (GetArena() == from.GetArena() |
4638 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4639 | 0 | && GetArena() != nullptr |
4640 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4641 | 0 | ) { |
4642 | 0 | InternalSwap(&from); |
4643 | 0 | } else { |
4644 | 0 | CopyFrom(from); |
4645 | 0 | } |
4646 | 0 | return *this; |
4647 | 0 | } |
4648 | | |
4649 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4650 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4651 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4652 | 0 | } |
4653 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4654 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4655 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4656 | 0 | } |
4657 | | |
4658 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4659 | 0 | return GetDescriptor(); |
4660 | 0 | } |
4661 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4662 | 0 | return default_instance().GetMetadata().descriptor; |
4663 | 0 | } |
4664 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4665 | 0 | return default_instance().GetMetadata().reflection; |
4666 | 0 | } |
4667 | 0 | static const MethodOptions& default_instance() { |
4668 | 0 | return *internal_default_instance(); |
4669 | 0 | } |
4670 | 0 | static inline const MethodOptions* internal_default_instance() { |
4671 | 0 | return reinterpret_cast<const MethodOptions*>( |
4672 | 0 | &_MethodOptions_default_instance_); |
4673 | 0 | } |
4674 | | static constexpr int kIndexInFileMessages = 23; |
4675 | 0 | friend void swap(MethodOptions& a, MethodOptions& b) { a.Swap(&b); } |
4676 | 0 | inline void Swap(MethodOptions* other) { |
4677 | 0 | if (other == this) return; |
4678 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4679 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
4680 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4681 | 0 | if (GetArena() == other->GetArena()) { |
4682 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4683 | 0 | InternalSwap(other); |
4684 | 0 | } else { |
4685 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4686 | 0 | } |
4687 | 0 | } |
4688 | 0 | void UnsafeArenaSwap(MethodOptions* other) { |
4689 | 0 | if (other == this) return; |
4690 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4691 | 0 | InternalSwap(other); |
4692 | 0 | } |
4693 | | |
4694 | | // implements Message ---------------------------------------------- |
4695 | | |
4696 | 0 | MethodOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
4697 | 0 | return ::google::protobuf::Message::DefaultConstruct<MethodOptions>(arena); |
4698 | 0 | } |
4699 | | using ::google::protobuf::Message::CopyFrom; |
4700 | | void CopyFrom(const MethodOptions& from); |
4701 | | using ::google::protobuf::Message::MergeFrom; |
4702 | 0 | void MergeFrom(const MethodOptions& from) { MethodOptions::MergeImpl(*this, from); } |
4703 | | |
4704 | | private: |
4705 | | static void MergeImpl( |
4706 | | ::google::protobuf::MessageLite& to_msg, |
4707 | | const ::google::protobuf::MessageLite& from_msg); |
4708 | | |
4709 | | public: |
4710 | 0 | bool IsInitialized() const { |
4711 | 0 | return IsInitializedImpl(*this); |
4712 | 0 | } |
4713 | | |
4714 | | private: |
4715 | | static bool IsInitializedImpl(const MessageLite& msg); |
4716 | | |
4717 | | public: |
4718 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
4719 | | ::size_t ByteSizeLong() const final; |
4720 | | ::uint8_t* _InternalSerialize( |
4721 | | ::uint8_t* target, |
4722 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
4723 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
4724 | | |
4725 | | private: |
4726 | | void SharedCtor(::google::protobuf::Arena* arena); |
4727 | | void SharedDtor(); |
4728 | | void InternalSwap(MethodOptions* other); |
4729 | | private: |
4730 | | friend class ::google::protobuf::internal::AnyMetadata; |
4731 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.MethodOptions"; } |
4732 | | |
4733 | | protected: |
4734 | | explicit MethodOptions(::google::protobuf::Arena* arena); |
4735 | | MethodOptions(::google::protobuf::Arena* arena, const MethodOptions& from); |
4736 | | MethodOptions(::google::protobuf::Arena* arena, MethodOptions&& from) noexcept |
4737 | 0 | : MethodOptions(arena) { |
4738 | 0 | *this = ::std::move(from); |
4739 | 0 | } |
4740 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
4741 | | |
4742 | | public: |
4743 | | ::google::protobuf::Metadata GetMetadata() const; |
4744 | | // nested types ---------------------------------------------------- |
4745 | | using IdempotencyLevel = MethodOptions_IdempotencyLevel; |
4746 | | static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
4747 | | static constexpr IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; |
4748 | | static constexpr IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel_IDEMPOTENT; |
4749 | 0 | static inline bool IdempotencyLevel_IsValid(int value) { |
4750 | 0 | return MethodOptions_IdempotencyLevel_IsValid(value); |
4751 | 0 | } |
4752 | | static constexpr IdempotencyLevel IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; |
4753 | | static constexpr IdempotencyLevel IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; |
4754 | | static constexpr int IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; |
4755 | 0 | static inline const ::google::protobuf::EnumDescriptor* IdempotencyLevel_descriptor() { |
4756 | 0 | return MethodOptions_IdempotencyLevel_descriptor(); |
4757 | 0 | } |
4758 | | template <typename T> |
4759 | | static inline const std::string& IdempotencyLevel_Name(T value) { |
4760 | | return MethodOptions_IdempotencyLevel_Name(value); |
4761 | | } |
4762 | 0 | static inline bool IdempotencyLevel_Parse(absl::string_view name, IdempotencyLevel* value) { |
4763 | 0 | return MethodOptions_IdempotencyLevel_Parse(name, value); |
4764 | 0 | } |
4765 | | |
4766 | | // accessors ------------------------------------------------------- |
4767 | | enum : int { |
4768 | | kUninterpretedOptionFieldNumber = 999, |
4769 | | kFeaturesFieldNumber = 35, |
4770 | | kDeprecatedFieldNumber = 33, |
4771 | | kIdempotencyLevelFieldNumber = 34, |
4772 | | }; |
4773 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
4774 | | int uninterpreted_option_size() const; |
4775 | | private: |
4776 | | int _internal_uninterpreted_option_size() const; |
4777 | | |
4778 | | public: |
4779 | | void clear_uninterpreted_option() ; |
4780 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
4781 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
4782 | | |
4783 | | private: |
4784 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
4785 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
4786 | | public: |
4787 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
4788 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
4789 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
4790 | | // optional .google.protobuf.FeatureSet features = 35; |
4791 | | bool has_features() const; |
4792 | | void clear_features() ; |
4793 | | const ::google::protobuf::FeatureSet& features() const; |
4794 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
4795 | | ::google::protobuf::FeatureSet* mutable_features(); |
4796 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
4797 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
4798 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
4799 | | |
4800 | | private: |
4801 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
4802 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
4803 | | |
4804 | | public: |
4805 | | // optional bool deprecated = 33 [default = false]; |
4806 | | bool has_deprecated() const; |
4807 | | void clear_deprecated() ; |
4808 | | bool deprecated() const; |
4809 | | void set_deprecated(bool value); |
4810 | | |
4811 | | private: |
4812 | | bool _internal_deprecated() const; |
4813 | | void _internal_set_deprecated(bool value); |
4814 | | |
4815 | | public: |
4816 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
4817 | | bool has_idempotency_level() const; |
4818 | | void clear_idempotency_level() ; |
4819 | | ::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const; |
4820 | | void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value); |
4821 | | |
4822 | | private: |
4823 | | ::google::protobuf::MethodOptions_IdempotencyLevel _internal_idempotency_level() const; |
4824 | | void _internal_set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value); |
4825 | | |
4826 | | public: |
4827 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4828 | | bool _is_packed, |
4829 | | typename = typename _proto_TypeTraits::Singular> |
4830 | | inline bool HasExtension( |
4831 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4832 | | _field_type, _is_packed>& id) const { |
4833 | | return _impl_._extensions_.Has(id.number()); |
4834 | | } |
4835 | | |
4836 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4837 | | bool _is_packed> |
4838 | | inline void ClearExtension( |
4839 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4840 | | _field_type, _is_packed>& id) { |
4841 | | _impl_._extensions_.ClearExtension(id.number()); |
4842 | | } |
4843 | | |
4844 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4845 | | bool _is_packed, |
4846 | | typename = typename _proto_TypeTraits::Repeated> |
4847 | | inline int ExtensionSize( |
4848 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4849 | | _field_type, _is_packed>& id) const { |
4850 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4851 | | } |
4852 | | |
4853 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4854 | | bool _is_packed, |
4855 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
4856 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4857 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4858 | | _field_type, _is_packed>& id) const { |
4859 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4860 | | } |
4861 | | |
4862 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4863 | | bool _is_packed, |
4864 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
4865 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4866 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4867 | | _field_type, _is_packed>& id) const |
4868 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4869 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4870 | | } |
4871 | | |
4872 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4873 | | bool _is_packed> |
4874 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4875 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4876 | | _field_type, _is_packed>& id) |
4877 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4878 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
4879 | | } |
4880 | | |
4881 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4882 | | bool _is_packed> |
4883 | | inline void SetExtension( |
4884 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4885 | | _field_type, _is_packed>& id, |
4886 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4887 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4888 | | } |
4889 | | |
4890 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4891 | | bool _is_packed> |
4892 | | inline void SetAllocatedExtension( |
4893 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4894 | | _field_type, _is_packed>& id, |
4895 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4896 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4897 | | &_impl_._extensions_); |
4898 | | } |
4899 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4900 | | bool _is_packed> |
4901 | | inline void UnsafeArenaSetAllocatedExtension( |
4902 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4903 | | _field_type, _is_packed>& id, |
4904 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4905 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4906 | | value, &_impl_._extensions_); |
4907 | | } |
4908 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4909 | | bool _is_packed> |
4910 | | PROTOBUF_NODISCARD inline |
4911 | | typename _proto_TypeTraits::Singular::MutableType |
4912 | | ReleaseExtension( |
4913 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4914 | | _field_type, _is_packed>& id) { |
4915 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
4916 | | } |
4917 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4918 | | bool _is_packed> |
4919 | | inline typename _proto_TypeTraits::Singular::MutableType |
4920 | | UnsafeArenaReleaseExtension( |
4921 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4922 | | _field_type, _is_packed>& id) { |
4923 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4924 | | &_impl_._extensions_); |
4925 | | } |
4926 | | |
4927 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4928 | | bool _is_packed, |
4929 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
4930 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4931 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4932 | | _field_type, _is_packed>& id, |
4933 | | int index) const { |
4934 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4935 | | } |
4936 | | |
4937 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4938 | | bool _is_packed, |
4939 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
4940 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4941 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4942 | | _field_type, _is_packed>& id, |
4943 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4944 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4945 | | } |
4946 | | |
4947 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4948 | | bool _is_packed> |
4949 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4950 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4951 | | _field_type, _is_packed>& id, |
4952 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4953 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4954 | | } |
4955 | | |
4956 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4957 | | bool _is_packed> |
4958 | | inline void SetExtension( |
4959 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4960 | | _field_type, _is_packed>& id, |
4961 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4962 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4963 | | } |
4964 | | |
4965 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4966 | | bool _is_packed> |
4967 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4968 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4969 | | _field_type, _is_packed>& id) |
4970 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4971 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4972 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4973 | | return to_add; |
4974 | | } |
4975 | | |
4976 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4977 | | bool _is_packed> |
4978 | | inline void AddExtension( |
4979 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4980 | | _field_type, _is_packed>& id, |
4981 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4982 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4983 | | &_impl_._extensions_); |
4984 | | } |
4985 | | |
4986 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4987 | | bool _is_packed> |
4988 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4989 | | GetRepeatedExtension( |
4990 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
4991 | | _field_type, _is_packed>& id) const |
4992 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4993 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4994 | | } |
4995 | | |
4996 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
4997 | | bool _is_packed> |
4998 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4999 | | MutableRepeatedExtension( |
5000 | | const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
5001 | | _field_type, _is_packed>& id) |
5002 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5003 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
5004 | | _is_packed, &_impl_._extensions_); |
5005 | | } |
5006 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
5007 | | private: |
5008 | | class _Internal; |
5009 | | friend class ::google::protobuf::internal::TcParser; |
5010 | | static const ::google::protobuf::internal::TcParseTable< |
5011 | | 3, 4, 3, |
5012 | | 0, 12> |
5013 | | _table_; |
5014 | | |
5015 | | static constexpr const void* _raw_default_instance_ = |
5016 | | &_MethodOptions_default_instance_; |
5017 | | |
5018 | | friend class ::google::protobuf::MessageLite; |
5019 | | friend class ::google::protobuf::Arena; |
5020 | | template <typename T> |
5021 | | friend class ::google::protobuf::Arena::InternalHelper; |
5022 | | using InternalArenaConstructable_ = void; |
5023 | | using DestructorSkippable_ = void; |
5024 | | struct Impl_ { |
5025 | | inline explicit constexpr Impl_( |
5026 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
5027 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5028 | | ::google::protobuf::Arena* arena); |
5029 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5030 | | ::google::protobuf::Arena* arena, const Impl_& from, |
5031 | | const MethodOptions& from_msg); |
5032 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
5033 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5034 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5035 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
5036 | | ::google::protobuf::FeatureSet* features_; |
5037 | | bool deprecated_; |
5038 | | int idempotency_level_; |
5039 | | PROTOBUF_TSAN_DECLARE_MEMBER |
5040 | | }; |
5041 | | union { Impl_ _impl_; }; |
5042 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
5043 | | }; |
5044 | | // ------------------------------------------------------------------- |
5045 | | |
5046 | | class PROTOBUF_EXPORT MessageOptions final : public ::google::protobuf::Message |
5047 | | /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { |
5048 | | public: |
5049 | 0 | inline MessageOptions() : MessageOptions(nullptr) {} |
5050 | | ~MessageOptions() override; |
5051 | | template <typename = void> |
5052 | | explicit PROTOBUF_CONSTEXPR MessageOptions( |
5053 | | ::google::protobuf::internal::ConstantInitialized); |
5054 | | |
5055 | 0 | inline MessageOptions(const MessageOptions& from) : MessageOptions(nullptr, from) {} |
5056 | | inline MessageOptions(MessageOptions&& from) noexcept |
5057 | 0 | : MessageOptions(nullptr, std::move(from)) {} |
5058 | 0 | inline MessageOptions& operator=(const MessageOptions& from) { |
5059 | 0 | CopyFrom(from); |
5060 | 0 | return *this; |
5061 | 0 | } |
5062 | 0 | inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
5063 | 0 | if (this == &from) return *this; |
5064 | 0 | if (GetArena() == from.GetArena() |
5065 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5066 | 0 | && GetArena() != nullptr |
5067 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5068 | 0 | ) { |
5069 | 0 | InternalSwap(&from); |
5070 | 0 | } else { |
5071 | 0 | CopyFrom(from); |
5072 | 0 | } |
5073 | 0 | return *this; |
5074 | 0 | } |
5075 | | |
5076 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5077 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5078 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5079 | 0 | } |
5080 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5081 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5082 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5083 | 0 | } |
5084 | | |
5085 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5086 | 0 | return GetDescriptor(); |
5087 | 0 | } |
5088 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5089 | 0 | return default_instance().GetMetadata().descriptor; |
5090 | 0 | } |
5091 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5092 | 0 | return default_instance().GetMetadata().reflection; |
5093 | 0 | } |
5094 | 0 | static const MessageOptions& default_instance() { |
5095 | 0 | return *internal_default_instance(); |
5096 | 0 | } |
5097 | 0 | static inline const MessageOptions* internal_default_instance() { |
5098 | 0 | return reinterpret_cast<const MessageOptions*>( |
5099 | 0 | &_MessageOptions_default_instance_); |
5100 | 0 | } |
5101 | | static constexpr int kIndexInFileMessages = 15; |
5102 | 0 | friend void swap(MessageOptions& a, MessageOptions& b) { a.Swap(&b); } |
5103 | 0 | inline void Swap(MessageOptions* other) { |
5104 | 0 | if (other == this) return; |
5105 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5106 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
5107 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5108 | 0 | if (GetArena() == other->GetArena()) { |
5109 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5110 | 0 | InternalSwap(other); |
5111 | 0 | } else { |
5112 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5113 | 0 | } |
5114 | 0 | } |
5115 | 0 | void UnsafeArenaSwap(MessageOptions* other) { |
5116 | 0 | if (other == this) return; |
5117 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5118 | 0 | InternalSwap(other); |
5119 | 0 | } |
5120 | | |
5121 | | // implements Message ---------------------------------------------- |
5122 | | |
5123 | 0 | MessageOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
5124 | 0 | return ::google::protobuf::Message::DefaultConstruct<MessageOptions>(arena); |
5125 | 0 | } |
5126 | | using ::google::protobuf::Message::CopyFrom; |
5127 | | void CopyFrom(const MessageOptions& from); |
5128 | | using ::google::protobuf::Message::MergeFrom; |
5129 | 0 | void MergeFrom(const MessageOptions& from) { MessageOptions::MergeImpl(*this, from); } |
5130 | | |
5131 | | private: |
5132 | | static void MergeImpl( |
5133 | | ::google::protobuf::MessageLite& to_msg, |
5134 | | const ::google::protobuf::MessageLite& from_msg); |
5135 | | |
5136 | | public: |
5137 | 0 | bool IsInitialized() const { |
5138 | 0 | return IsInitializedImpl(*this); |
5139 | 0 | } |
5140 | | |
5141 | | private: |
5142 | | static bool IsInitializedImpl(const MessageLite& msg); |
5143 | | |
5144 | | public: |
5145 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
5146 | | ::size_t ByteSizeLong() const final; |
5147 | | ::uint8_t* _InternalSerialize( |
5148 | | ::uint8_t* target, |
5149 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
5150 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
5151 | | |
5152 | | private: |
5153 | | void SharedCtor(::google::protobuf::Arena* arena); |
5154 | | void SharedDtor(); |
5155 | | void InternalSwap(MessageOptions* other); |
5156 | | private: |
5157 | | friend class ::google::protobuf::internal::AnyMetadata; |
5158 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.MessageOptions"; } |
5159 | | |
5160 | | protected: |
5161 | | explicit MessageOptions(::google::protobuf::Arena* arena); |
5162 | | MessageOptions(::google::protobuf::Arena* arena, const MessageOptions& from); |
5163 | | MessageOptions(::google::protobuf::Arena* arena, MessageOptions&& from) noexcept |
5164 | 0 | : MessageOptions(arena) { |
5165 | 0 | *this = ::std::move(from); |
5166 | 0 | } |
5167 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
5168 | | |
5169 | | public: |
5170 | | ::google::protobuf::Metadata GetMetadata() const; |
5171 | | // nested types ---------------------------------------------------- |
5172 | | |
5173 | | // accessors ------------------------------------------------------- |
5174 | | enum : int { |
5175 | | kUninterpretedOptionFieldNumber = 999, |
5176 | | kFeaturesFieldNumber = 12, |
5177 | | kMessageSetWireFormatFieldNumber = 1, |
5178 | | kNoStandardDescriptorAccessorFieldNumber = 2, |
5179 | | kDeprecatedFieldNumber = 3, |
5180 | | kMapEntryFieldNumber = 7, |
5181 | | kDeprecatedLegacyJsonFieldConflictsFieldNumber = 11, |
5182 | | }; |
5183 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5184 | | int uninterpreted_option_size() const; |
5185 | | private: |
5186 | | int _internal_uninterpreted_option_size() const; |
5187 | | |
5188 | | public: |
5189 | | void clear_uninterpreted_option() ; |
5190 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
5191 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
5192 | | |
5193 | | private: |
5194 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
5195 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
5196 | | public: |
5197 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
5198 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
5199 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
5200 | | // optional .google.protobuf.FeatureSet features = 12; |
5201 | | bool has_features() const; |
5202 | | void clear_features() ; |
5203 | | const ::google::protobuf::FeatureSet& features() const; |
5204 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
5205 | | ::google::protobuf::FeatureSet* mutable_features(); |
5206 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
5207 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
5208 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
5209 | | |
5210 | | private: |
5211 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
5212 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
5213 | | |
5214 | | public: |
5215 | | // optional bool message_set_wire_format = 1 [default = false]; |
5216 | | bool has_message_set_wire_format() const; |
5217 | | void clear_message_set_wire_format() ; |
5218 | | bool message_set_wire_format() const; |
5219 | | void set_message_set_wire_format(bool value); |
5220 | | |
5221 | | private: |
5222 | | bool _internal_message_set_wire_format() const; |
5223 | | void _internal_set_message_set_wire_format(bool value); |
5224 | | |
5225 | | public: |
5226 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
5227 | | bool has_no_standard_descriptor_accessor() const; |
5228 | | void clear_no_standard_descriptor_accessor() ; |
5229 | | bool no_standard_descriptor_accessor() const; |
5230 | | void set_no_standard_descriptor_accessor(bool value); |
5231 | | |
5232 | | private: |
5233 | | bool _internal_no_standard_descriptor_accessor() const; |
5234 | | void _internal_set_no_standard_descriptor_accessor(bool value); |
5235 | | |
5236 | | public: |
5237 | | // optional bool deprecated = 3 [default = false]; |
5238 | | bool has_deprecated() const; |
5239 | | void clear_deprecated() ; |
5240 | | bool deprecated() const; |
5241 | | void set_deprecated(bool value); |
5242 | | |
5243 | | private: |
5244 | | bool _internal_deprecated() const; |
5245 | | void _internal_set_deprecated(bool value); |
5246 | | |
5247 | | public: |
5248 | | // optional bool map_entry = 7; |
5249 | | bool has_map_entry() const; |
5250 | | void clear_map_entry() ; |
5251 | | bool map_entry() const; |
5252 | | void set_map_entry(bool value); |
5253 | | |
5254 | | private: |
5255 | | bool _internal_map_entry() const; |
5256 | | void _internal_set_map_entry(bool value); |
5257 | | |
5258 | | public: |
5259 | | // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; |
5260 | | [[deprecated]] bool has_deprecated_legacy_json_field_conflicts() const; |
5261 | | [[deprecated]] void clear_deprecated_legacy_json_field_conflicts() ; |
5262 | | [[deprecated]] bool deprecated_legacy_json_field_conflicts() const; |
5263 | | [[deprecated]] void set_deprecated_legacy_json_field_conflicts(bool value); |
5264 | | |
5265 | | private: |
5266 | | bool _internal_deprecated_legacy_json_field_conflicts() const; |
5267 | | void _internal_set_deprecated_legacy_json_field_conflicts(bool value); |
5268 | | |
5269 | | public: |
5270 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5271 | | bool _is_packed, |
5272 | | typename = typename _proto_TypeTraits::Singular> |
5273 | | inline bool HasExtension( |
5274 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5275 | | _field_type, _is_packed>& id) const { |
5276 | | return _impl_._extensions_.Has(id.number()); |
5277 | | } |
5278 | | |
5279 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5280 | | bool _is_packed> |
5281 | | inline void ClearExtension( |
5282 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5283 | | _field_type, _is_packed>& id) { |
5284 | | _impl_._extensions_.ClearExtension(id.number()); |
5285 | | } |
5286 | | |
5287 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5288 | | bool _is_packed, |
5289 | | typename = typename _proto_TypeTraits::Repeated> |
5290 | | inline int ExtensionSize( |
5291 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5292 | | _field_type, _is_packed>& id) const { |
5293 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5294 | | } |
5295 | | |
5296 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5297 | | bool _is_packed, |
5298 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
5299 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5300 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5301 | | _field_type, _is_packed>& id) const { |
5302 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
5303 | | } |
5304 | | |
5305 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5306 | | bool _is_packed, |
5307 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
5308 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5309 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5310 | | _field_type, _is_packed>& id) const |
5311 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5312 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
5313 | | } |
5314 | | |
5315 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5316 | | bool _is_packed> |
5317 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5318 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5319 | | _field_type, _is_packed>& id) |
5320 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5321 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
5322 | | } |
5323 | | |
5324 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5325 | | bool _is_packed> |
5326 | | inline void SetExtension( |
5327 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5328 | | _field_type, _is_packed>& id, |
5329 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5330 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5331 | | } |
5332 | | |
5333 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5334 | | bool _is_packed> |
5335 | | inline void SetAllocatedExtension( |
5336 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5337 | | _field_type, _is_packed>& id, |
5338 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5339 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5340 | | &_impl_._extensions_); |
5341 | | } |
5342 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5343 | | bool _is_packed> |
5344 | | inline void UnsafeArenaSetAllocatedExtension( |
5345 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5346 | | _field_type, _is_packed>& id, |
5347 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5348 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5349 | | value, &_impl_._extensions_); |
5350 | | } |
5351 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5352 | | bool _is_packed> |
5353 | | PROTOBUF_NODISCARD inline |
5354 | | typename _proto_TypeTraits::Singular::MutableType |
5355 | | ReleaseExtension( |
5356 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5357 | | _field_type, _is_packed>& id) { |
5358 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
5359 | | } |
5360 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5361 | | bool _is_packed> |
5362 | | inline typename _proto_TypeTraits::Singular::MutableType |
5363 | | UnsafeArenaReleaseExtension( |
5364 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5365 | | _field_type, _is_packed>& id) { |
5366 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5367 | | &_impl_._extensions_); |
5368 | | } |
5369 | | |
5370 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5371 | | bool _is_packed, |
5372 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
5373 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5374 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5375 | | _field_type, _is_packed>& id, |
5376 | | int index) const { |
5377 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5378 | | } |
5379 | | |
5380 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5381 | | bool _is_packed, |
5382 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
5383 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5384 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5385 | | _field_type, _is_packed>& id, |
5386 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5387 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5388 | | } |
5389 | | |
5390 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5391 | | bool _is_packed> |
5392 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
5393 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5394 | | _field_type, _is_packed>& id, |
5395 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5396 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
5397 | | } |
5398 | | |
5399 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5400 | | bool _is_packed> |
5401 | | inline void SetExtension( |
5402 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5403 | | _field_type, _is_packed>& id, |
5404 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
5405 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
5406 | | } |
5407 | | |
5408 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5409 | | bool _is_packed> |
5410 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
5411 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5412 | | _field_type, _is_packed>& id) |
5413 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5414 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
5415 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
5416 | | return to_add; |
5417 | | } |
5418 | | |
5419 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5420 | | bool _is_packed> |
5421 | | inline void AddExtension( |
5422 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5423 | | _field_type, _is_packed>& id, |
5424 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
5425 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
5426 | | &_impl_._extensions_); |
5427 | | } |
5428 | | |
5429 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5430 | | bool _is_packed> |
5431 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
5432 | | GetRepeatedExtension( |
5433 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5434 | | _field_type, _is_packed>& id) const |
5435 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5436 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
5437 | | } |
5438 | | |
5439 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5440 | | bool _is_packed> |
5441 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
5442 | | MutableRepeatedExtension( |
5443 | | const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
5444 | | _field_type, _is_packed>& id) |
5445 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5446 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
5447 | | _is_packed, &_impl_._extensions_); |
5448 | | } |
5449 | | // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
5450 | | private: |
5451 | | class _Internal; |
5452 | | friend class ::google::protobuf::internal::TcParser; |
5453 | | static const ::google::protobuf::internal::TcParseTable< |
5454 | | 3, 7, 2, |
5455 | | 0, 7> |
5456 | | _table_; |
5457 | | |
5458 | | static constexpr const void* _raw_default_instance_ = |
5459 | | &_MessageOptions_default_instance_; |
5460 | | |
5461 | | friend class ::google::protobuf::MessageLite; |
5462 | | friend class ::google::protobuf::Arena; |
5463 | | template <typename T> |
5464 | | friend class ::google::protobuf::Arena::InternalHelper; |
5465 | | using InternalArenaConstructable_ = void; |
5466 | | using DestructorSkippable_ = void; |
5467 | | struct Impl_ { |
5468 | | inline explicit constexpr Impl_( |
5469 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
5470 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5471 | | ::google::protobuf::Arena* arena); |
5472 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5473 | | ::google::protobuf::Arena* arena, const Impl_& from, |
5474 | | const MessageOptions& from_msg); |
5475 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
5476 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5477 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5478 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
5479 | | ::google::protobuf::FeatureSet* features_; |
5480 | | bool message_set_wire_format_; |
5481 | | bool no_standard_descriptor_accessor_; |
5482 | | bool deprecated_; |
5483 | | bool map_entry_; |
5484 | | bool deprecated_legacy_json_field_conflicts_; |
5485 | | PROTOBUF_TSAN_DECLARE_MEMBER |
5486 | | }; |
5487 | | union { Impl_ _impl_; }; |
5488 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
5489 | | }; |
5490 | | // ------------------------------------------------------------------- |
5491 | | |
5492 | | class PROTOBUF_EXPORT FileOptions final : public ::google::protobuf::Message |
5493 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { |
5494 | | public: |
5495 | 0 | inline FileOptions() : FileOptions(nullptr) {} |
5496 | | ~FileOptions() override; |
5497 | | template <typename = void> |
5498 | | explicit PROTOBUF_CONSTEXPR FileOptions( |
5499 | | ::google::protobuf::internal::ConstantInitialized); |
5500 | | |
5501 | 0 | inline FileOptions(const FileOptions& from) : FileOptions(nullptr, from) {} |
5502 | | inline FileOptions(FileOptions&& from) noexcept |
5503 | 0 | : FileOptions(nullptr, std::move(from)) {} |
5504 | 0 | inline FileOptions& operator=(const FileOptions& from) { |
5505 | 0 | CopyFrom(from); |
5506 | 0 | return *this; |
5507 | 0 | } |
5508 | 0 | inline FileOptions& operator=(FileOptions&& from) noexcept { |
5509 | 0 | if (this == &from) return *this; |
5510 | 0 | if (GetArena() == from.GetArena() |
5511 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5512 | 0 | && GetArena() != nullptr |
5513 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5514 | 0 | ) { |
5515 | 0 | InternalSwap(&from); |
5516 | 0 | } else { |
5517 | 0 | CopyFrom(from); |
5518 | 0 | } |
5519 | 0 | return *this; |
5520 | 0 | } |
5521 | | |
5522 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5523 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5524 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5525 | 0 | } |
5526 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5527 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5528 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5529 | 0 | } |
5530 | | |
5531 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5532 | 0 | return GetDescriptor(); |
5533 | 0 | } |
5534 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5535 | 0 | return default_instance().GetMetadata().descriptor; |
5536 | 0 | } |
5537 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5538 | 0 | return default_instance().GetMetadata().reflection; |
5539 | 0 | } |
5540 | 0 | static const FileOptions& default_instance() { |
5541 | 0 | return *internal_default_instance(); |
5542 | 0 | } |
5543 | 0 | static inline const FileOptions* internal_default_instance() { |
5544 | 0 | return reinterpret_cast<const FileOptions*>( |
5545 | 0 | &_FileOptions_default_instance_); |
5546 | 0 | } |
5547 | | static constexpr int kIndexInFileMessages = 14; |
5548 | 0 | friend void swap(FileOptions& a, FileOptions& b) { a.Swap(&b); } |
5549 | 0 | inline void Swap(FileOptions* other) { |
5550 | 0 | if (other == this) return; |
5551 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5552 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
5553 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5554 | 0 | if (GetArena() == other->GetArena()) { |
5555 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5556 | 0 | InternalSwap(other); |
5557 | 0 | } else { |
5558 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5559 | 0 | } |
5560 | 0 | } |
5561 | 0 | void UnsafeArenaSwap(FileOptions* other) { |
5562 | 0 | if (other == this) return; |
5563 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5564 | 0 | InternalSwap(other); |
5565 | 0 | } |
5566 | | |
5567 | | // implements Message ---------------------------------------------- |
5568 | | |
5569 | 0 | FileOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
5570 | 0 | return ::google::protobuf::Message::DefaultConstruct<FileOptions>(arena); |
5571 | 0 | } |
5572 | | using ::google::protobuf::Message::CopyFrom; |
5573 | | void CopyFrom(const FileOptions& from); |
5574 | | using ::google::protobuf::Message::MergeFrom; |
5575 | 0 | void MergeFrom(const FileOptions& from) { FileOptions::MergeImpl(*this, from); } |
5576 | | |
5577 | | private: |
5578 | | static void MergeImpl( |
5579 | | ::google::protobuf::MessageLite& to_msg, |
5580 | | const ::google::protobuf::MessageLite& from_msg); |
5581 | | |
5582 | | public: |
5583 | 0 | bool IsInitialized() const { |
5584 | 0 | return IsInitializedImpl(*this); |
5585 | 0 | } |
5586 | | |
5587 | | private: |
5588 | | static bool IsInitializedImpl(const MessageLite& msg); |
5589 | | |
5590 | | public: |
5591 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
5592 | | ::size_t ByteSizeLong() const final; |
5593 | | ::uint8_t* _InternalSerialize( |
5594 | | ::uint8_t* target, |
5595 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
5596 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
5597 | | |
5598 | | private: |
5599 | | void SharedCtor(::google::protobuf::Arena* arena); |
5600 | | void SharedDtor(); |
5601 | | void InternalSwap(FileOptions* other); |
5602 | | private: |
5603 | | friend class ::google::protobuf::internal::AnyMetadata; |
5604 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FileOptions"; } |
5605 | | |
5606 | | protected: |
5607 | | explicit FileOptions(::google::protobuf::Arena* arena); |
5608 | | FileOptions(::google::protobuf::Arena* arena, const FileOptions& from); |
5609 | | FileOptions(::google::protobuf::Arena* arena, FileOptions&& from) noexcept |
5610 | 0 | : FileOptions(arena) { |
5611 | 0 | *this = ::std::move(from); |
5612 | 0 | } |
5613 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
5614 | | |
5615 | | public: |
5616 | | ::google::protobuf::Metadata GetMetadata() const; |
5617 | | // nested types ---------------------------------------------------- |
5618 | | using OptimizeMode = FileOptions_OptimizeMode; |
5619 | | static constexpr OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED; |
5620 | | static constexpr OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE; |
5621 | | static constexpr OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME; |
5622 | 0 | static inline bool OptimizeMode_IsValid(int value) { |
5623 | 0 | return FileOptions_OptimizeMode_IsValid(value); |
5624 | 0 | } |
5625 | | static constexpr OptimizeMode OptimizeMode_MIN = FileOptions_OptimizeMode_OptimizeMode_MIN; |
5626 | | static constexpr OptimizeMode OptimizeMode_MAX = FileOptions_OptimizeMode_OptimizeMode_MAX; |
5627 | | static constexpr int OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; |
5628 | 0 | static inline const ::google::protobuf::EnumDescriptor* OptimizeMode_descriptor() { |
5629 | 0 | return FileOptions_OptimizeMode_descriptor(); |
5630 | 0 | } |
5631 | | template <typename T> |
5632 | | static inline const std::string& OptimizeMode_Name(T value) { |
5633 | | return FileOptions_OptimizeMode_Name(value); |
5634 | | } |
5635 | 0 | static inline bool OptimizeMode_Parse(absl::string_view name, OptimizeMode* value) { |
5636 | 0 | return FileOptions_OptimizeMode_Parse(name, value); |
5637 | 0 | } |
5638 | | |
5639 | | // accessors ------------------------------------------------------- |
5640 | | enum : int { |
5641 | | kUninterpretedOptionFieldNumber = 999, |
5642 | | kJavaPackageFieldNumber = 1, |
5643 | | kJavaOuterClassnameFieldNumber = 8, |
5644 | | kGoPackageFieldNumber = 11, |
5645 | | kObjcClassPrefixFieldNumber = 36, |
5646 | | kCsharpNamespaceFieldNumber = 37, |
5647 | | kSwiftPrefixFieldNumber = 39, |
5648 | | kPhpClassPrefixFieldNumber = 40, |
5649 | | kPhpNamespaceFieldNumber = 41, |
5650 | | kPhpMetadataNamespaceFieldNumber = 44, |
5651 | | kRubyPackageFieldNumber = 45, |
5652 | | kFeaturesFieldNumber = 50, |
5653 | | kJavaMultipleFilesFieldNumber = 10, |
5654 | | kJavaGenerateEqualsAndHashFieldNumber = 20, |
5655 | | kJavaStringCheckUtf8FieldNumber = 27, |
5656 | | kCcGenericServicesFieldNumber = 16, |
5657 | | kJavaGenericServicesFieldNumber = 17, |
5658 | | kPyGenericServicesFieldNumber = 18, |
5659 | | kDeprecatedFieldNumber = 23, |
5660 | | kOptimizeForFieldNumber = 9, |
5661 | | kCcEnableArenasFieldNumber = 31, |
5662 | | }; |
5663 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5664 | | int uninterpreted_option_size() const; |
5665 | | private: |
5666 | | int _internal_uninterpreted_option_size() const; |
5667 | | |
5668 | | public: |
5669 | | void clear_uninterpreted_option() ; |
5670 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
5671 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
5672 | | |
5673 | | private: |
5674 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
5675 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
5676 | | public: |
5677 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
5678 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
5679 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
5680 | | // optional string java_package = 1; |
5681 | | bool has_java_package() const; |
5682 | | void clear_java_package() ; |
5683 | | const std::string& java_package() const; |
5684 | | template <typename Arg_ = const std::string&, typename... Args_> |
5685 | | void set_java_package(Arg_&& arg, Args_... args); |
5686 | | std::string* mutable_java_package(); |
5687 | | PROTOBUF_NODISCARD std::string* release_java_package(); |
5688 | | void set_allocated_java_package(std::string* value); |
5689 | | |
5690 | | private: |
5691 | | const std::string& _internal_java_package() const; |
5692 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package( |
5693 | | const std::string& value); |
5694 | | std::string* _internal_mutable_java_package(); |
5695 | | |
5696 | | public: |
5697 | | // optional string java_outer_classname = 8; |
5698 | | bool has_java_outer_classname() const; |
5699 | | void clear_java_outer_classname() ; |
5700 | | const std::string& java_outer_classname() const; |
5701 | | template <typename Arg_ = const std::string&, typename... Args_> |
5702 | | void set_java_outer_classname(Arg_&& arg, Args_... args); |
5703 | | std::string* mutable_java_outer_classname(); |
5704 | | PROTOBUF_NODISCARD std::string* release_java_outer_classname(); |
5705 | | void set_allocated_java_outer_classname(std::string* value); |
5706 | | |
5707 | | private: |
5708 | | const std::string& _internal_java_outer_classname() const; |
5709 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname( |
5710 | | const std::string& value); |
5711 | | std::string* _internal_mutable_java_outer_classname(); |
5712 | | |
5713 | | public: |
5714 | | // optional string go_package = 11; |
5715 | | bool has_go_package() const; |
5716 | | void clear_go_package() ; |
5717 | | const std::string& go_package() const; |
5718 | | template <typename Arg_ = const std::string&, typename... Args_> |
5719 | | void set_go_package(Arg_&& arg, Args_... args); |
5720 | | std::string* mutable_go_package(); |
5721 | | PROTOBUF_NODISCARD std::string* release_go_package(); |
5722 | | void set_allocated_go_package(std::string* value); |
5723 | | |
5724 | | private: |
5725 | | const std::string& _internal_go_package() const; |
5726 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package( |
5727 | | const std::string& value); |
5728 | | std::string* _internal_mutable_go_package(); |
5729 | | |
5730 | | public: |
5731 | | // optional string objc_class_prefix = 36; |
5732 | | bool has_objc_class_prefix() const; |
5733 | | void clear_objc_class_prefix() ; |
5734 | | const std::string& objc_class_prefix() const; |
5735 | | template <typename Arg_ = const std::string&, typename... Args_> |
5736 | | void set_objc_class_prefix(Arg_&& arg, Args_... args); |
5737 | | std::string* mutable_objc_class_prefix(); |
5738 | | PROTOBUF_NODISCARD std::string* release_objc_class_prefix(); |
5739 | | void set_allocated_objc_class_prefix(std::string* value); |
5740 | | |
5741 | | private: |
5742 | | const std::string& _internal_objc_class_prefix() const; |
5743 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix( |
5744 | | const std::string& value); |
5745 | | std::string* _internal_mutable_objc_class_prefix(); |
5746 | | |
5747 | | public: |
5748 | | // optional string csharp_namespace = 37; |
5749 | | bool has_csharp_namespace() const; |
5750 | | void clear_csharp_namespace() ; |
5751 | | const std::string& csharp_namespace() const; |
5752 | | template <typename Arg_ = const std::string&, typename... Args_> |
5753 | | void set_csharp_namespace(Arg_&& arg, Args_... args); |
5754 | | std::string* mutable_csharp_namespace(); |
5755 | | PROTOBUF_NODISCARD std::string* release_csharp_namespace(); |
5756 | | void set_allocated_csharp_namespace(std::string* value); |
5757 | | |
5758 | | private: |
5759 | | const std::string& _internal_csharp_namespace() const; |
5760 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace( |
5761 | | const std::string& value); |
5762 | | std::string* _internal_mutable_csharp_namespace(); |
5763 | | |
5764 | | public: |
5765 | | // optional string swift_prefix = 39; |
5766 | | bool has_swift_prefix() const; |
5767 | | void clear_swift_prefix() ; |
5768 | | const std::string& swift_prefix() const; |
5769 | | template <typename Arg_ = const std::string&, typename... Args_> |
5770 | | void set_swift_prefix(Arg_&& arg, Args_... args); |
5771 | | std::string* mutable_swift_prefix(); |
5772 | | PROTOBUF_NODISCARD std::string* release_swift_prefix(); |
5773 | | void set_allocated_swift_prefix(std::string* value); |
5774 | | |
5775 | | private: |
5776 | | const std::string& _internal_swift_prefix() const; |
5777 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix( |
5778 | | const std::string& value); |
5779 | | std::string* _internal_mutable_swift_prefix(); |
5780 | | |
5781 | | public: |
5782 | | // optional string php_class_prefix = 40; |
5783 | | bool has_php_class_prefix() const; |
5784 | | void clear_php_class_prefix() ; |
5785 | | const std::string& php_class_prefix() const; |
5786 | | template <typename Arg_ = const std::string&, typename... Args_> |
5787 | | void set_php_class_prefix(Arg_&& arg, Args_... args); |
5788 | | std::string* mutable_php_class_prefix(); |
5789 | | PROTOBUF_NODISCARD std::string* release_php_class_prefix(); |
5790 | | void set_allocated_php_class_prefix(std::string* value); |
5791 | | |
5792 | | private: |
5793 | | const std::string& _internal_php_class_prefix() const; |
5794 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix( |
5795 | | const std::string& value); |
5796 | | std::string* _internal_mutable_php_class_prefix(); |
5797 | | |
5798 | | public: |
5799 | | // optional string php_namespace = 41; |
5800 | | bool has_php_namespace() const; |
5801 | | void clear_php_namespace() ; |
5802 | | const std::string& php_namespace() const; |
5803 | | template <typename Arg_ = const std::string&, typename... Args_> |
5804 | | void set_php_namespace(Arg_&& arg, Args_... args); |
5805 | | std::string* mutable_php_namespace(); |
5806 | | PROTOBUF_NODISCARD std::string* release_php_namespace(); |
5807 | | void set_allocated_php_namespace(std::string* value); |
5808 | | |
5809 | | private: |
5810 | | const std::string& _internal_php_namespace() const; |
5811 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace( |
5812 | | const std::string& value); |
5813 | | std::string* _internal_mutable_php_namespace(); |
5814 | | |
5815 | | public: |
5816 | | // optional string php_metadata_namespace = 44; |
5817 | | bool has_php_metadata_namespace() const; |
5818 | | void clear_php_metadata_namespace() ; |
5819 | | const std::string& php_metadata_namespace() const; |
5820 | | template <typename Arg_ = const std::string&, typename... Args_> |
5821 | | void set_php_metadata_namespace(Arg_&& arg, Args_... args); |
5822 | | std::string* mutable_php_metadata_namespace(); |
5823 | | PROTOBUF_NODISCARD std::string* release_php_metadata_namespace(); |
5824 | | void set_allocated_php_metadata_namespace(std::string* value); |
5825 | | |
5826 | | private: |
5827 | | const std::string& _internal_php_metadata_namespace() const; |
5828 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace( |
5829 | | const std::string& value); |
5830 | | std::string* _internal_mutable_php_metadata_namespace(); |
5831 | | |
5832 | | public: |
5833 | | // optional string ruby_package = 45; |
5834 | | bool has_ruby_package() const; |
5835 | | void clear_ruby_package() ; |
5836 | | const std::string& ruby_package() const; |
5837 | | template <typename Arg_ = const std::string&, typename... Args_> |
5838 | | void set_ruby_package(Arg_&& arg, Args_... args); |
5839 | | std::string* mutable_ruby_package(); |
5840 | | PROTOBUF_NODISCARD std::string* release_ruby_package(); |
5841 | | void set_allocated_ruby_package(std::string* value); |
5842 | | |
5843 | | private: |
5844 | | const std::string& _internal_ruby_package() const; |
5845 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package( |
5846 | | const std::string& value); |
5847 | | std::string* _internal_mutable_ruby_package(); |
5848 | | |
5849 | | public: |
5850 | | // optional .google.protobuf.FeatureSet features = 50; |
5851 | | bool has_features() const; |
5852 | | void clear_features() ; |
5853 | | const ::google::protobuf::FeatureSet& features() const; |
5854 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
5855 | | ::google::protobuf::FeatureSet* mutable_features(); |
5856 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
5857 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
5858 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
5859 | | |
5860 | | private: |
5861 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
5862 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
5863 | | |
5864 | | public: |
5865 | | // optional bool java_multiple_files = 10 [default = false]; |
5866 | | bool has_java_multiple_files() const; |
5867 | | void clear_java_multiple_files() ; |
5868 | | bool java_multiple_files() const; |
5869 | | void set_java_multiple_files(bool value); |
5870 | | |
5871 | | private: |
5872 | | bool _internal_java_multiple_files() const; |
5873 | | void _internal_set_java_multiple_files(bool value); |
5874 | | |
5875 | | public: |
5876 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
5877 | | [[deprecated]] bool has_java_generate_equals_and_hash() const; |
5878 | | [[deprecated]] void clear_java_generate_equals_and_hash() ; |
5879 | | [[deprecated]] bool java_generate_equals_and_hash() const; |
5880 | | [[deprecated]] void set_java_generate_equals_and_hash(bool value); |
5881 | | |
5882 | | private: |
5883 | | bool _internal_java_generate_equals_and_hash() const; |
5884 | | void _internal_set_java_generate_equals_and_hash(bool value); |
5885 | | |
5886 | | public: |
5887 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
5888 | | bool has_java_string_check_utf8() const; |
5889 | | void clear_java_string_check_utf8() ; |
5890 | | bool java_string_check_utf8() const; |
5891 | | void set_java_string_check_utf8(bool value); |
5892 | | |
5893 | | private: |
5894 | | bool _internal_java_string_check_utf8() const; |
5895 | | void _internal_set_java_string_check_utf8(bool value); |
5896 | | |
5897 | | public: |
5898 | | // optional bool cc_generic_services = 16 [default = false]; |
5899 | | bool has_cc_generic_services() const; |
5900 | | void clear_cc_generic_services() ; |
5901 | | bool cc_generic_services() const; |
5902 | | void set_cc_generic_services(bool value); |
5903 | | |
5904 | | private: |
5905 | | bool _internal_cc_generic_services() const; |
5906 | | void _internal_set_cc_generic_services(bool value); |
5907 | | |
5908 | | public: |
5909 | | // optional bool java_generic_services = 17 [default = false]; |
5910 | | bool has_java_generic_services() const; |
5911 | | void clear_java_generic_services() ; |
5912 | | bool java_generic_services() const; |
5913 | | void set_java_generic_services(bool value); |
5914 | | |
5915 | | private: |
5916 | | bool _internal_java_generic_services() const; |
5917 | | void _internal_set_java_generic_services(bool value); |
5918 | | |
5919 | | public: |
5920 | | // optional bool py_generic_services = 18 [default = false]; |
5921 | | bool has_py_generic_services() const; |
5922 | | void clear_py_generic_services() ; |
5923 | | bool py_generic_services() const; |
5924 | | void set_py_generic_services(bool value); |
5925 | | |
5926 | | private: |
5927 | | bool _internal_py_generic_services() const; |
5928 | | void _internal_set_py_generic_services(bool value); |
5929 | | |
5930 | | public: |
5931 | | // optional bool deprecated = 23 [default = false]; |
5932 | | bool has_deprecated() const; |
5933 | | void clear_deprecated() ; |
5934 | | bool deprecated() const; |
5935 | | void set_deprecated(bool value); |
5936 | | |
5937 | | private: |
5938 | | bool _internal_deprecated() const; |
5939 | | void _internal_set_deprecated(bool value); |
5940 | | |
5941 | | public: |
5942 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
5943 | | bool has_optimize_for() const; |
5944 | | void clear_optimize_for() ; |
5945 | | ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; |
5946 | | void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); |
5947 | | |
5948 | | private: |
5949 | | ::google::protobuf::FileOptions_OptimizeMode _internal_optimize_for() const; |
5950 | | void _internal_set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); |
5951 | | |
5952 | | public: |
5953 | | // optional bool cc_enable_arenas = 31 [default = true]; |
5954 | | bool has_cc_enable_arenas() const; |
5955 | | void clear_cc_enable_arenas() ; |
5956 | | bool cc_enable_arenas() const; |
5957 | | void set_cc_enable_arenas(bool value); |
5958 | | |
5959 | | private: |
5960 | | bool _internal_cc_enable_arenas() const; |
5961 | | void _internal_set_cc_enable_arenas(bool value); |
5962 | | |
5963 | | public: |
5964 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5965 | | bool _is_packed, |
5966 | | typename = typename _proto_TypeTraits::Singular> |
5967 | | inline bool HasExtension( |
5968 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
5969 | | _field_type, _is_packed>& id) const { |
5970 | | return _impl_._extensions_.Has(id.number()); |
5971 | | } |
5972 | | |
5973 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5974 | | bool _is_packed> |
5975 | | inline void ClearExtension( |
5976 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
5977 | | _field_type, _is_packed>& id) { |
5978 | | _impl_._extensions_.ClearExtension(id.number()); |
5979 | | } |
5980 | | |
5981 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5982 | | bool _is_packed, |
5983 | | typename = typename _proto_TypeTraits::Repeated> |
5984 | | inline int ExtensionSize( |
5985 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
5986 | | _field_type, _is_packed>& id) const { |
5987 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5988 | | } |
5989 | | |
5990 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
5991 | | bool _is_packed, |
5992 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
5993 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5994 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
5995 | | _field_type, _is_packed>& id) const { |
5996 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
5997 | | } |
5998 | | |
5999 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6000 | | bool _is_packed, |
6001 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
6002 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6003 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6004 | | _field_type, _is_packed>& id) const |
6005 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6006 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
6007 | | } |
6008 | | |
6009 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6010 | | bool _is_packed> |
6011 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6012 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6013 | | _field_type, _is_packed>& id) |
6014 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6015 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
6016 | | } |
6017 | | |
6018 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6019 | | bool _is_packed> |
6020 | | inline void SetExtension( |
6021 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6022 | | _field_type, _is_packed>& id, |
6023 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6024 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6025 | | } |
6026 | | |
6027 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6028 | | bool _is_packed> |
6029 | | inline void SetAllocatedExtension( |
6030 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6031 | | _field_type, _is_packed>& id, |
6032 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6033 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6034 | | &_impl_._extensions_); |
6035 | | } |
6036 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6037 | | bool _is_packed> |
6038 | | inline void UnsafeArenaSetAllocatedExtension( |
6039 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6040 | | _field_type, _is_packed>& id, |
6041 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6042 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6043 | | value, &_impl_._extensions_); |
6044 | | } |
6045 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6046 | | bool _is_packed> |
6047 | | PROTOBUF_NODISCARD inline |
6048 | | typename _proto_TypeTraits::Singular::MutableType |
6049 | | ReleaseExtension( |
6050 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6051 | | _field_type, _is_packed>& id) { |
6052 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
6053 | | } |
6054 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6055 | | bool _is_packed> |
6056 | | inline typename _proto_TypeTraits::Singular::MutableType |
6057 | | UnsafeArenaReleaseExtension( |
6058 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6059 | | _field_type, _is_packed>& id) { |
6060 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6061 | | &_impl_._extensions_); |
6062 | | } |
6063 | | |
6064 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6065 | | bool _is_packed, |
6066 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
6067 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6068 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6069 | | _field_type, _is_packed>& id, |
6070 | | int index) const { |
6071 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6072 | | } |
6073 | | |
6074 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6075 | | bool _is_packed, |
6076 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
6077 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6078 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6079 | | _field_type, _is_packed>& id, |
6080 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6081 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6082 | | } |
6083 | | |
6084 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6085 | | bool _is_packed> |
6086 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6087 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6088 | | _field_type, _is_packed>& id, |
6089 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6090 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6091 | | } |
6092 | | |
6093 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6094 | | bool _is_packed> |
6095 | | inline void SetExtension( |
6096 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6097 | | _field_type, _is_packed>& id, |
6098 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6099 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6100 | | } |
6101 | | |
6102 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6103 | | bool _is_packed> |
6104 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6105 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6106 | | _field_type, _is_packed>& id) |
6107 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6108 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6109 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6110 | | return to_add; |
6111 | | } |
6112 | | |
6113 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6114 | | bool _is_packed> |
6115 | | inline void AddExtension( |
6116 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6117 | | _field_type, _is_packed>& id, |
6118 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6119 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6120 | | &_impl_._extensions_); |
6121 | | } |
6122 | | |
6123 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6124 | | bool _is_packed> |
6125 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6126 | | GetRepeatedExtension( |
6127 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6128 | | _field_type, _is_packed>& id) const |
6129 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6130 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6131 | | } |
6132 | | |
6133 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6134 | | bool _is_packed> |
6135 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6136 | | MutableRepeatedExtension( |
6137 | | const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
6138 | | _field_type, _is_packed>& id) |
6139 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6140 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6141 | | _is_packed, &_impl_._extensions_); |
6142 | | } |
6143 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
6144 | | private: |
6145 | | class _Internal; |
6146 | | friend class ::google::protobuf::internal::TcParser; |
6147 | | static const ::google::protobuf::internal::TcParseTable< |
6148 | | 5, 21, 3, |
6149 | | 202, 12> |
6150 | | _table_; |
6151 | | |
6152 | | static constexpr const void* _raw_default_instance_ = |
6153 | | &_FileOptions_default_instance_; |
6154 | | |
6155 | | friend class ::google::protobuf::MessageLite; |
6156 | | friend class ::google::protobuf::Arena; |
6157 | | template <typename T> |
6158 | | friend class ::google::protobuf::Arena::InternalHelper; |
6159 | | using InternalArenaConstructable_ = void; |
6160 | | using DestructorSkippable_ = void; |
6161 | | struct Impl_ { |
6162 | | inline explicit constexpr Impl_( |
6163 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
6164 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6165 | | ::google::protobuf::Arena* arena); |
6166 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6167 | | ::google::protobuf::Arena* arena, const Impl_& from, |
6168 | | const FileOptions& from_msg); |
6169 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
6170 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6171 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6172 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
6173 | | ::google::protobuf::internal::ArenaStringPtr java_package_; |
6174 | | ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; |
6175 | | ::google::protobuf::internal::ArenaStringPtr go_package_; |
6176 | | ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_; |
6177 | | ::google::protobuf::internal::ArenaStringPtr csharp_namespace_; |
6178 | | ::google::protobuf::internal::ArenaStringPtr swift_prefix_; |
6179 | | ::google::protobuf::internal::ArenaStringPtr php_class_prefix_; |
6180 | | ::google::protobuf::internal::ArenaStringPtr php_namespace_; |
6181 | | ::google::protobuf::internal::ArenaStringPtr php_metadata_namespace_; |
6182 | | ::google::protobuf::internal::ArenaStringPtr ruby_package_; |
6183 | | ::google::protobuf::FeatureSet* features_; |
6184 | | bool java_multiple_files_; |
6185 | | bool java_generate_equals_and_hash_; |
6186 | | bool java_string_check_utf8_; |
6187 | | bool cc_generic_services_; |
6188 | | bool java_generic_services_; |
6189 | | bool py_generic_services_; |
6190 | | bool deprecated_; |
6191 | | int optimize_for_; |
6192 | | bool cc_enable_arenas_; |
6193 | | PROTOBUF_TSAN_DECLARE_MEMBER |
6194 | | }; |
6195 | | union { Impl_ _impl_; }; |
6196 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6197 | | }; |
6198 | | // ------------------------------------------------------------------- |
6199 | | |
6200 | | class PROTOBUF_EXPORT FieldOptions final : public ::google::protobuf::Message |
6201 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { |
6202 | | public: |
6203 | 0 | inline FieldOptions() : FieldOptions(nullptr) {} |
6204 | | ~FieldOptions() override; |
6205 | | template <typename = void> |
6206 | | explicit PROTOBUF_CONSTEXPR FieldOptions( |
6207 | | ::google::protobuf::internal::ConstantInitialized); |
6208 | | |
6209 | 0 | inline FieldOptions(const FieldOptions& from) : FieldOptions(nullptr, from) {} |
6210 | | inline FieldOptions(FieldOptions&& from) noexcept |
6211 | 0 | : FieldOptions(nullptr, std::move(from)) {} |
6212 | 0 | inline FieldOptions& operator=(const FieldOptions& from) { |
6213 | 0 | CopyFrom(from); |
6214 | 0 | return *this; |
6215 | 0 | } |
6216 | 0 | inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
6217 | 0 | if (this == &from) return *this; |
6218 | 0 | if (GetArena() == from.GetArena() |
6219 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6220 | 0 | && GetArena() != nullptr |
6221 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6222 | 0 | ) { |
6223 | 0 | InternalSwap(&from); |
6224 | 0 | } else { |
6225 | 0 | CopyFrom(from); |
6226 | 0 | } |
6227 | 0 | return *this; |
6228 | 0 | } |
6229 | | |
6230 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6231 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6232 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6233 | 0 | } |
6234 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6235 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6236 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6237 | 0 | } |
6238 | | |
6239 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6240 | 0 | return GetDescriptor(); |
6241 | 0 | } |
6242 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6243 | 0 | return default_instance().GetMetadata().descriptor; |
6244 | 0 | } |
6245 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6246 | 0 | return default_instance().GetMetadata().reflection; |
6247 | 0 | } |
6248 | 0 | static const FieldOptions& default_instance() { |
6249 | 0 | return *internal_default_instance(); |
6250 | 0 | } |
6251 | 0 | static inline const FieldOptions* internal_default_instance() { |
6252 | 0 | return reinterpret_cast<const FieldOptions*>( |
6253 | 0 | &_FieldOptions_default_instance_); |
6254 | 0 | } |
6255 | | static constexpr int kIndexInFileMessages = 18; |
6256 | 0 | friend void swap(FieldOptions& a, FieldOptions& b) { a.Swap(&b); } |
6257 | 0 | inline void Swap(FieldOptions* other) { |
6258 | 0 | if (other == this) return; |
6259 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6260 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
6261 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6262 | 0 | if (GetArena() == other->GetArena()) { |
6263 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6264 | 0 | InternalSwap(other); |
6265 | 0 | } else { |
6266 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6267 | 0 | } |
6268 | 0 | } |
6269 | 0 | void UnsafeArenaSwap(FieldOptions* other) { |
6270 | 0 | if (other == this) return; |
6271 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6272 | 0 | InternalSwap(other); |
6273 | 0 | } |
6274 | | |
6275 | | // implements Message ---------------------------------------------- |
6276 | | |
6277 | 0 | FieldOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
6278 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldOptions>(arena); |
6279 | 0 | } |
6280 | | using ::google::protobuf::Message::CopyFrom; |
6281 | | void CopyFrom(const FieldOptions& from); |
6282 | | using ::google::protobuf::Message::MergeFrom; |
6283 | 0 | void MergeFrom(const FieldOptions& from) { FieldOptions::MergeImpl(*this, from); } |
6284 | | |
6285 | | private: |
6286 | | static void MergeImpl( |
6287 | | ::google::protobuf::MessageLite& to_msg, |
6288 | | const ::google::protobuf::MessageLite& from_msg); |
6289 | | |
6290 | | public: |
6291 | 0 | bool IsInitialized() const { |
6292 | 0 | return IsInitializedImpl(*this); |
6293 | 0 | } |
6294 | | |
6295 | | private: |
6296 | | static bool IsInitializedImpl(const MessageLite& msg); |
6297 | | |
6298 | | public: |
6299 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
6300 | | ::size_t ByteSizeLong() const final; |
6301 | | ::uint8_t* _InternalSerialize( |
6302 | | ::uint8_t* target, |
6303 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
6304 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
6305 | | |
6306 | | private: |
6307 | | void SharedCtor(::google::protobuf::Arena* arena); |
6308 | | void SharedDtor(); |
6309 | | void InternalSwap(FieldOptions* other); |
6310 | | private: |
6311 | | friend class ::google::protobuf::internal::AnyMetadata; |
6312 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions"; } |
6313 | | |
6314 | | protected: |
6315 | | explicit FieldOptions(::google::protobuf::Arena* arena); |
6316 | | FieldOptions(::google::protobuf::Arena* arena, const FieldOptions& from); |
6317 | | FieldOptions(::google::protobuf::Arena* arena, FieldOptions&& from) noexcept |
6318 | 0 | : FieldOptions(arena) { |
6319 | 0 | *this = ::std::move(from); |
6320 | 0 | } |
6321 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
6322 | | |
6323 | | public: |
6324 | | ::google::protobuf::Metadata GetMetadata() const; |
6325 | | // nested types ---------------------------------------------------- |
6326 | | using EditionDefault = FieldOptions_EditionDefault; |
6327 | | using FeatureSupport = FieldOptions_FeatureSupport; |
6328 | | using CType = FieldOptions_CType; |
6329 | | static constexpr CType STRING = FieldOptions_CType_STRING; |
6330 | | static constexpr CType CORD = FieldOptions_CType_CORD; |
6331 | | static constexpr CType STRING_PIECE = FieldOptions_CType_STRING_PIECE; |
6332 | 0 | static inline bool CType_IsValid(int value) { |
6333 | 0 | return FieldOptions_CType_IsValid(value); |
6334 | 0 | } |
6335 | | static constexpr CType CType_MIN = FieldOptions_CType_CType_MIN; |
6336 | | static constexpr CType CType_MAX = FieldOptions_CType_CType_MAX; |
6337 | | static constexpr int CType_ARRAYSIZE = FieldOptions_CType_CType_ARRAYSIZE; |
6338 | 0 | static inline const ::google::protobuf::EnumDescriptor* CType_descriptor() { |
6339 | 0 | return FieldOptions_CType_descriptor(); |
6340 | 0 | } |
6341 | | template <typename T> |
6342 | | static inline const std::string& CType_Name(T value) { |
6343 | | return FieldOptions_CType_Name(value); |
6344 | | } |
6345 | 0 | static inline bool CType_Parse(absl::string_view name, CType* value) { |
6346 | 0 | return FieldOptions_CType_Parse(name, value); |
6347 | 0 | } |
6348 | | using JSType = FieldOptions_JSType; |
6349 | | static constexpr JSType JS_NORMAL = FieldOptions_JSType_JS_NORMAL; |
6350 | | static constexpr JSType JS_STRING = FieldOptions_JSType_JS_STRING; |
6351 | | static constexpr JSType JS_NUMBER = FieldOptions_JSType_JS_NUMBER; |
6352 | 0 | static inline bool JSType_IsValid(int value) { |
6353 | 0 | return FieldOptions_JSType_IsValid(value); |
6354 | 0 | } |
6355 | | static constexpr JSType JSType_MIN = FieldOptions_JSType_JSType_MIN; |
6356 | | static constexpr JSType JSType_MAX = FieldOptions_JSType_JSType_MAX; |
6357 | | static constexpr int JSType_ARRAYSIZE = FieldOptions_JSType_JSType_ARRAYSIZE; |
6358 | 0 | static inline const ::google::protobuf::EnumDescriptor* JSType_descriptor() { |
6359 | 0 | return FieldOptions_JSType_descriptor(); |
6360 | 0 | } |
6361 | | template <typename T> |
6362 | | static inline const std::string& JSType_Name(T value) { |
6363 | | return FieldOptions_JSType_Name(value); |
6364 | | } |
6365 | 0 | static inline bool JSType_Parse(absl::string_view name, JSType* value) { |
6366 | 0 | return FieldOptions_JSType_Parse(name, value); |
6367 | 0 | } |
6368 | | using OptionRetention = FieldOptions_OptionRetention; |
6369 | | static constexpr OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention_RETENTION_UNKNOWN; |
6370 | | static constexpr OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention_RETENTION_RUNTIME; |
6371 | | static constexpr OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention_RETENTION_SOURCE; |
6372 | 0 | static inline bool OptionRetention_IsValid(int value) { |
6373 | 0 | return FieldOptions_OptionRetention_IsValid(value); |
6374 | 0 | } |
6375 | | static constexpr OptionRetention OptionRetention_MIN = FieldOptions_OptionRetention_OptionRetention_MIN; |
6376 | | static constexpr OptionRetention OptionRetention_MAX = FieldOptions_OptionRetention_OptionRetention_MAX; |
6377 | | static constexpr int OptionRetention_ARRAYSIZE = FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE; |
6378 | 0 | static inline const ::google::protobuf::EnumDescriptor* OptionRetention_descriptor() { |
6379 | 0 | return FieldOptions_OptionRetention_descriptor(); |
6380 | 0 | } |
6381 | | template <typename T> |
6382 | | static inline const std::string& OptionRetention_Name(T value) { |
6383 | | return FieldOptions_OptionRetention_Name(value); |
6384 | | } |
6385 | 0 | static inline bool OptionRetention_Parse(absl::string_view name, OptionRetention* value) { |
6386 | 0 | return FieldOptions_OptionRetention_Parse(name, value); |
6387 | 0 | } |
6388 | | using OptionTargetType = FieldOptions_OptionTargetType; |
6389 | | static constexpr OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN; |
6390 | | static constexpr OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType_TARGET_TYPE_FILE; |
6391 | | static constexpr OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE; |
6392 | | static constexpr OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE; |
6393 | | static constexpr OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType_TARGET_TYPE_FIELD; |
6394 | | static constexpr OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF; |
6395 | | static constexpr OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM; |
6396 | | static constexpr OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY; |
6397 | | static constexpr OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE; |
6398 | | static constexpr OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType_TARGET_TYPE_METHOD; |
6399 | 0 | static inline bool OptionTargetType_IsValid(int value) { |
6400 | 0 | return FieldOptions_OptionTargetType_IsValid(value); |
6401 | 0 | } |
6402 | | static constexpr OptionTargetType OptionTargetType_MIN = FieldOptions_OptionTargetType_OptionTargetType_MIN; |
6403 | | static constexpr OptionTargetType OptionTargetType_MAX = FieldOptions_OptionTargetType_OptionTargetType_MAX; |
6404 | | static constexpr int OptionTargetType_ARRAYSIZE = FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE; |
6405 | 0 | static inline const ::google::protobuf::EnumDescriptor* OptionTargetType_descriptor() { |
6406 | 0 | return FieldOptions_OptionTargetType_descriptor(); |
6407 | 0 | } |
6408 | | template <typename T> |
6409 | | static inline const std::string& OptionTargetType_Name(T value) { |
6410 | | return FieldOptions_OptionTargetType_Name(value); |
6411 | | } |
6412 | 0 | static inline bool OptionTargetType_Parse(absl::string_view name, OptionTargetType* value) { |
6413 | 0 | return FieldOptions_OptionTargetType_Parse(name, value); |
6414 | 0 | } |
6415 | | |
6416 | | // accessors ------------------------------------------------------- |
6417 | | enum : int { |
6418 | | kTargetsFieldNumber = 19, |
6419 | | kEditionDefaultsFieldNumber = 20, |
6420 | | kUninterpretedOptionFieldNumber = 999, |
6421 | | kFeaturesFieldNumber = 21, |
6422 | | kFeatureSupportFieldNumber = 22, |
6423 | | kCtypeFieldNumber = 1, |
6424 | | kJstypeFieldNumber = 6, |
6425 | | kPackedFieldNumber = 2, |
6426 | | kLazyFieldNumber = 5, |
6427 | | kUnverifiedLazyFieldNumber = 15, |
6428 | | kDeprecatedFieldNumber = 3, |
6429 | | kWeakFieldNumber = 10, |
6430 | | kDebugRedactFieldNumber = 16, |
6431 | | kRetentionFieldNumber = 17, |
6432 | | }; |
6433 | | // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19; |
6434 | | int targets_size() const; |
6435 | | private: |
6436 | | int _internal_targets_size() const; |
6437 | | |
6438 | | public: |
6439 | | void clear_targets() ; |
6440 | | public: |
6441 | | ::google::protobuf::FieldOptions_OptionTargetType targets(int index) const; |
6442 | | void set_targets(int index, ::google::protobuf::FieldOptions_OptionTargetType value); |
6443 | | void add_targets(::google::protobuf::FieldOptions_OptionTargetType value); |
6444 | | const ::google::protobuf::RepeatedField<int>& targets() const; |
6445 | | ::google::protobuf::RepeatedField<int>* mutable_targets(); |
6446 | | |
6447 | | private: |
6448 | | const ::google::protobuf::RepeatedField<int>& _internal_targets() const; |
6449 | | ::google::protobuf::RepeatedField<int>* _internal_mutable_targets(); |
6450 | | |
6451 | | public: |
6452 | | // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; |
6453 | | int edition_defaults_size() const; |
6454 | | private: |
6455 | | int _internal_edition_defaults_size() const; |
6456 | | |
6457 | | public: |
6458 | | void clear_edition_defaults() ; |
6459 | | ::google::protobuf::FieldOptions_EditionDefault* mutable_edition_defaults(int index); |
6460 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* mutable_edition_defaults(); |
6461 | | |
6462 | | private: |
6463 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& _internal_edition_defaults() const; |
6464 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* _internal_mutable_edition_defaults(); |
6465 | | public: |
6466 | | const ::google::protobuf::FieldOptions_EditionDefault& edition_defaults(int index) const; |
6467 | | ::google::protobuf::FieldOptions_EditionDefault* add_edition_defaults(); |
6468 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& edition_defaults() const; |
6469 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6470 | | int uninterpreted_option_size() const; |
6471 | | private: |
6472 | | int _internal_uninterpreted_option_size() const; |
6473 | | |
6474 | | public: |
6475 | | void clear_uninterpreted_option() ; |
6476 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
6477 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
6478 | | |
6479 | | private: |
6480 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
6481 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
6482 | | public: |
6483 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
6484 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
6485 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
6486 | | // optional .google.protobuf.FeatureSet features = 21; |
6487 | | bool has_features() const; |
6488 | | void clear_features() ; |
6489 | | const ::google::protobuf::FeatureSet& features() const; |
6490 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
6491 | | ::google::protobuf::FeatureSet* mutable_features(); |
6492 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
6493 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
6494 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
6495 | | |
6496 | | private: |
6497 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
6498 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
6499 | | |
6500 | | public: |
6501 | | // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; |
6502 | | bool has_feature_support() const; |
6503 | | void clear_feature_support() ; |
6504 | | const ::google::protobuf::FieldOptions_FeatureSupport& feature_support() const; |
6505 | | PROTOBUF_NODISCARD ::google::protobuf::FieldOptions_FeatureSupport* release_feature_support(); |
6506 | | ::google::protobuf::FieldOptions_FeatureSupport* mutable_feature_support(); |
6507 | | void set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value); |
6508 | | void unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value); |
6509 | | ::google::protobuf::FieldOptions_FeatureSupport* unsafe_arena_release_feature_support(); |
6510 | | |
6511 | | private: |
6512 | | const ::google::protobuf::FieldOptions_FeatureSupport& _internal_feature_support() const; |
6513 | | ::google::protobuf::FieldOptions_FeatureSupport* _internal_mutable_feature_support(); |
6514 | | |
6515 | | public: |
6516 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
6517 | | bool has_ctype() const; |
6518 | | void clear_ctype() ; |
6519 | | ::google::protobuf::FieldOptions_CType ctype() const; |
6520 | | void set_ctype(::google::protobuf::FieldOptions_CType value); |
6521 | | |
6522 | | private: |
6523 | | ::google::protobuf::FieldOptions_CType _internal_ctype() const; |
6524 | | void _internal_set_ctype(::google::protobuf::FieldOptions_CType value); |
6525 | | |
6526 | | public: |
6527 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
6528 | | bool has_jstype() const; |
6529 | | void clear_jstype() ; |
6530 | | ::google::protobuf::FieldOptions_JSType jstype() const; |
6531 | | void set_jstype(::google::protobuf::FieldOptions_JSType value); |
6532 | | |
6533 | | private: |
6534 | | ::google::protobuf::FieldOptions_JSType _internal_jstype() const; |
6535 | | void _internal_set_jstype(::google::protobuf::FieldOptions_JSType value); |
6536 | | |
6537 | | public: |
6538 | | // optional bool packed = 2; |
6539 | | bool has_packed() const; |
6540 | | void clear_packed() ; |
6541 | | bool packed() const; |
6542 | | void set_packed(bool value); |
6543 | | |
6544 | | private: |
6545 | | bool _internal_packed() const; |
6546 | | void _internal_set_packed(bool value); |
6547 | | |
6548 | | public: |
6549 | | // optional bool lazy = 5 [default = false]; |
6550 | | bool has_lazy() const; |
6551 | | void clear_lazy() ; |
6552 | | bool lazy() const; |
6553 | | void set_lazy(bool value); |
6554 | | |
6555 | | private: |
6556 | | bool _internal_lazy() const; |
6557 | | void _internal_set_lazy(bool value); |
6558 | | |
6559 | | public: |
6560 | | // optional bool unverified_lazy = 15 [default = false]; |
6561 | | bool has_unverified_lazy() const; |
6562 | | void clear_unverified_lazy() ; |
6563 | | bool unverified_lazy() const; |
6564 | | void set_unverified_lazy(bool value); |
6565 | | |
6566 | | private: |
6567 | | bool _internal_unverified_lazy() const; |
6568 | | void _internal_set_unverified_lazy(bool value); |
6569 | | |
6570 | | public: |
6571 | | // optional bool deprecated = 3 [default = false]; |
6572 | | bool has_deprecated() const; |
6573 | | void clear_deprecated() ; |
6574 | | bool deprecated() const; |
6575 | | void set_deprecated(bool value); |
6576 | | |
6577 | | private: |
6578 | | bool _internal_deprecated() const; |
6579 | | void _internal_set_deprecated(bool value); |
6580 | | |
6581 | | public: |
6582 | | // optional bool weak = 10 [default = false]; |
6583 | | bool has_weak() const; |
6584 | | void clear_weak() ; |
6585 | | bool weak() const; |
6586 | | void set_weak(bool value); |
6587 | | |
6588 | | private: |
6589 | | bool _internal_weak() const; |
6590 | | void _internal_set_weak(bool value); |
6591 | | |
6592 | | public: |
6593 | | // optional bool debug_redact = 16 [default = false]; |
6594 | | bool has_debug_redact() const; |
6595 | | void clear_debug_redact() ; |
6596 | | bool debug_redact() const; |
6597 | | void set_debug_redact(bool value); |
6598 | | |
6599 | | private: |
6600 | | bool _internal_debug_redact() const; |
6601 | | void _internal_set_debug_redact(bool value); |
6602 | | |
6603 | | public: |
6604 | | // optional .google.protobuf.FieldOptions.OptionRetention retention = 17; |
6605 | | bool has_retention() const; |
6606 | | void clear_retention() ; |
6607 | | ::google::protobuf::FieldOptions_OptionRetention retention() const; |
6608 | | void set_retention(::google::protobuf::FieldOptions_OptionRetention value); |
6609 | | |
6610 | | private: |
6611 | | ::google::protobuf::FieldOptions_OptionRetention _internal_retention() const; |
6612 | | void _internal_set_retention(::google::protobuf::FieldOptions_OptionRetention value); |
6613 | | |
6614 | | public: |
6615 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6616 | | bool _is_packed, |
6617 | | typename = typename _proto_TypeTraits::Singular> |
6618 | | inline bool HasExtension( |
6619 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6620 | | _field_type, _is_packed>& id) const { |
6621 | | return _impl_._extensions_.Has(id.number()); |
6622 | | } |
6623 | | |
6624 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6625 | | bool _is_packed> |
6626 | | inline void ClearExtension( |
6627 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6628 | | _field_type, _is_packed>& id) { |
6629 | | _impl_._extensions_.ClearExtension(id.number()); |
6630 | | } |
6631 | | |
6632 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6633 | | bool _is_packed, |
6634 | | typename = typename _proto_TypeTraits::Repeated> |
6635 | | inline int ExtensionSize( |
6636 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6637 | | _field_type, _is_packed>& id) const { |
6638 | | return _impl_._extensions_.ExtensionSize(id.number()); |
6639 | | } |
6640 | | |
6641 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6642 | | bool _is_packed, |
6643 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
6644 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6645 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6646 | | _field_type, _is_packed>& id) const { |
6647 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
6648 | | } |
6649 | | |
6650 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6651 | | bool _is_packed, |
6652 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
6653 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6654 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6655 | | _field_type, _is_packed>& id) const |
6656 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6657 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
6658 | | } |
6659 | | |
6660 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6661 | | bool _is_packed> |
6662 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6663 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6664 | | _field_type, _is_packed>& id) |
6665 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6666 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
6667 | | } |
6668 | | |
6669 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6670 | | bool _is_packed> |
6671 | | inline void SetExtension( |
6672 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6673 | | _field_type, _is_packed>& id, |
6674 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6675 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6676 | | } |
6677 | | |
6678 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6679 | | bool _is_packed> |
6680 | | inline void SetAllocatedExtension( |
6681 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6682 | | _field_type, _is_packed>& id, |
6683 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6684 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6685 | | &_impl_._extensions_); |
6686 | | } |
6687 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6688 | | bool _is_packed> |
6689 | | inline void UnsafeArenaSetAllocatedExtension( |
6690 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6691 | | _field_type, _is_packed>& id, |
6692 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6693 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6694 | | value, &_impl_._extensions_); |
6695 | | } |
6696 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6697 | | bool _is_packed> |
6698 | | PROTOBUF_NODISCARD inline |
6699 | | typename _proto_TypeTraits::Singular::MutableType |
6700 | | ReleaseExtension( |
6701 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6702 | | _field_type, _is_packed>& id) { |
6703 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
6704 | | } |
6705 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6706 | | bool _is_packed> |
6707 | | inline typename _proto_TypeTraits::Singular::MutableType |
6708 | | UnsafeArenaReleaseExtension( |
6709 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6710 | | _field_type, _is_packed>& id) { |
6711 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6712 | | &_impl_._extensions_); |
6713 | | } |
6714 | | |
6715 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6716 | | bool _is_packed, |
6717 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
6718 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6719 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6720 | | _field_type, _is_packed>& id, |
6721 | | int index) const { |
6722 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6723 | | } |
6724 | | |
6725 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6726 | | bool _is_packed, |
6727 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
6728 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6729 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6730 | | _field_type, _is_packed>& id, |
6731 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6732 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6733 | | } |
6734 | | |
6735 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6736 | | bool _is_packed> |
6737 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6738 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6739 | | _field_type, _is_packed>& id, |
6740 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6741 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6742 | | } |
6743 | | |
6744 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6745 | | bool _is_packed> |
6746 | | inline void SetExtension( |
6747 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6748 | | _field_type, _is_packed>& id, |
6749 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6750 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6751 | | } |
6752 | | |
6753 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6754 | | bool _is_packed> |
6755 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6756 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6757 | | _field_type, _is_packed>& id) |
6758 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6759 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6760 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6761 | | return to_add; |
6762 | | } |
6763 | | |
6764 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6765 | | bool _is_packed> |
6766 | | inline void AddExtension( |
6767 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6768 | | _field_type, _is_packed>& id, |
6769 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6770 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6771 | | &_impl_._extensions_); |
6772 | | } |
6773 | | |
6774 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6775 | | bool _is_packed> |
6776 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6777 | | GetRepeatedExtension( |
6778 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6779 | | _field_type, _is_packed>& id) const |
6780 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6781 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6782 | | } |
6783 | | |
6784 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
6785 | | bool _is_packed> |
6786 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6787 | | MutableRepeatedExtension( |
6788 | | const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
6789 | | _field_type, _is_packed>& id) |
6790 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6791 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6792 | | _is_packed, &_impl_._extensions_); |
6793 | | } |
6794 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
6795 | | private: |
6796 | | class _Internal; |
6797 | | friend class ::google::protobuf::internal::TcParser; |
6798 | | static const ::google::protobuf::internal::TcParseTable< |
6799 | | 4, 14, 8, |
6800 | | 0, 7> |
6801 | | _table_; |
6802 | | |
6803 | | static constexpr const void* _raw_default_instance_ = |
6804 | | &_FieldOptions_default_instance_; |
6805 | | |
6806 | | friend class ::google::protobuf::MessageLite; |
6807 | | friend class ::google::protobuf::Arena; |
6808 | | template <typename T> |
6809 | | friend class ::google::protobuf::Arena::InternalHelper; |
6810 | | using InternalArenaConstructable_ = void; |
6811 | | using DestructorSkippable_ = void; |
6812 | | struct Impl_ { |
6813 | | inline explicit constexpr Impl_( |
6814 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
6815 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6816 | | ::google::protobuf::Arena* arena); |
6817 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6818 | | ::google::protobuf::Arena* arena, const Impl_& from, |
6819 | | const FieldOptions& from_msg); |
6820 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
6821 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6822 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6823 | | ::google::protobuf::RepeatedField<int> targets_; |
6824 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldOptions_EditionDefault > edition_defaults_; |
6825 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
6826 | | ::google::protobuf::FeatureSet* features_; |
6827 | | ::google::protobuf::FieldOptions_FeatureSupport* feature_support_; |
6828 | | int ctype_; |
6829 | | int jstype_; |
6830 | | bool packed_; |
6831 | | bool lazy_; |
6832 | | bool unverified_lazy_; |
6833 | | bool deprecated_; |
6834 | | bool weak_; |
6835 | | bool debug_redact_; |
6836 | | int retention_; |
6837 | | PROTOBUF_TSAN_DECLARE_MEMBER |
6838 | | }; |
6839 | | union { Impl_ _impl_; }; |
6840 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6841 | | }; |
6842 | | // ------------------------------------------------------------------- |
6843 | | |
6844 | | class PROTOBUF_EXPORT FeatureSetDefaults final : public ::google::protobuf::Message |
6845 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSetDefaults) */ { |
6846 | | public: |
6847 | 0 | inline FeatureSetDefaults() : FeatureSetDefaults(nullptr) {} |
6848 | | ~FeatureSetDefaults() override; |
6849 | | template <typename = void> |
6850 | | explicit PROTOBUF_CONSTEXPR FeatureSetDefaults( |
6851 | | ::google::protobuf::internal::ConstantInitialized); |
6852 | | |
6853 | 0 | inline FeatureSetDefaults(const FeatureSetDefaults& from) : FeatureSetDefaults(nullptr, from) {} |
6854 | | inline FeatureSetDefaults(FeatureSetDefaults&& from) noexcept |
6855 | 0 | : FeatureSetDefaults(nullptr, std::move(from)) {} |
6856 | 0 | inline FeatureSetDefaults& operator=(const FeatureSetDefaults& from) { |
6857 | 0 | CopyFrom(from); |
6858 | 0 | return *this; |
6859 | 0 | } |
6860 | 0 | inline FeatureSetDefaults& operator=(FeatureSetDefaults&& from) noexcept { |
6861 | 0 | if (this == &from) return *this; |
6862 | 0 | if (GetArena() == from.GetArena() |
6863 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6864 | 0 | && GetArena() != nullptr |
6865 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6866 | 0 | ) { |
6867 | 0 | InternalSwap(&from); |
6868 | 0 | } else { |
6869 | 0 | CopyFrom(from); |
6870 | 0 | } |
6871 | 0 | return *this; |
6872 | 0 | } |
6873 | | |
6874 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6875 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6876 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6877 | 0 | } |
6878 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6879 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6880 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6881 | 0 | } |
6882 | | |
6883 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6884 | 0 | return GetDescriptor(); |
6885 | 0 | } |
6886 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6887 | 0 | return default_instance().GetMetadata().descriptor; |
6888 | 0 | } |
6889 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6890 | 0 | return default_instance().GetMetadata().reflection; |
6891 | 0 | } |
6892 | 0 | static const FeatureSetDefaults& default_instance() { |
6893 | 0 | return *internal_default_instance(); |
6894 | 0 | } |
6895 | 0 | static inline const FeatureSetDefaults* internal_default_instance() { |
6896 | 0 | return reinterpret_cast<const FeatureSetDefaults*>( |
6897 | 0 | &_FeatureSetDefaults_default_instance_); |
6898 | 0 | } |
6899 | | static constexpr int kIndexInFileMessages = 28; |
6900 | 0 | friend void swap(FeatureSetDefaults& a, FeatureSetDefaults& b) { a.Swap(&b); } |
6901 | 0 | inline void Swap(FeatureSetDefaults* other) { |
6902 | 0 | if (other == this) return; |
6903 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6904 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
6905 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6906 | 0 | if (GetArena() == other->GetArena()) { |
6907 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6908 | 0 | InternalSwap(other); |
6909 | 0 | } else { |
6910 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6911 | 0 | } |
6912 | 0 | } |
6913 | 0 | void UnsafeArenaSwap(FeatureSetDefaults* other) { |
6914 | 0 | if (other == this) return; |
6915 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6916 | 0 | InternalSwap(other); |
6917 | 0 | } |
6918 | | |
6919 | | // implements Message ---------------------------------------------- |
6920 | | |
6921 | 0 | FeatureSetDefaults* New(::google::protobuf::Arena* arena = nullptr) const final { |
6922 | 0 | return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults>(arena); |
6923 | 0 | } |
6924 | | using ::google::protobuf::Message::CopyFrom; |
6925 | | void CopyFrom(const FeatureSetDefaults& from); |
6926 | | using ::google::protobuf::Message::MergeFrom; |
6927 | 0 | void MergeFrom(const FeatureSetDefaults& from) { FeatureSetDefaults::MergeImpl(*this, from); } |
6928 | | |
6929 | | private: |
6930 | | static void MergeImpl( |
6931 | | ::google::protobuf::MessageLite& to_msg, |
6932 | | const ::google::protobuf::MessageLite& from_msg); |
6933 | | |
6934 | | public: |
6935 | 0 | bool IsInitialized() const { |
6936 | 0 | return IsInitializedImpl(*this); |
6937 | 0 | } |
6938 | | |
6939 | | private: |
6940 | | static bool IsInitializedImpl(const MessageLite& msg); |
6941 | | |
6942 | | public: |
6943 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
6944 | | ::size_t ByteSizeLong() const final; |
6945 | | ::uint8_t* _InternalSerialize( |
6946 | | ::uint8_t* target, |
6947 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
6948 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
6949 | | |
6950 | | private: |
6951 | | void SharedCtor(::google::protobuf::Arena* arena); |
6952 | | void SharedDtor(); |
6953 | | void InternalSwap(FeatureSetDefaults* other); |
6954 | | private: |
6955 | | friend class ::google::protobuf::internal::AnyMetadata; |
6956 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSetDefaults"; } |
6957 | | |
6958 | | protected: |
6959 | | explicit FeatureSetDefaults(::google::protobuf::Arena* arena); |
6960 | | FeatureSetDefaults(::google::protobuf::Arena* arena, const FeatureSetDefaults& from); |
6961 | | FeatureSetDefaults(::google::protobuf::Arena* arena, FeatureSetDefaults&& from) noexcept |
6962 | 0 | : FeatureSetDefaults(arena) { |
6963 | 0 | *this = ::std::move(from); |
6964 | 0 | } |
6965 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
6966 | | |
6967 | | public: |
6968 | | ::google::protobuf::Metadata GetMetadata() const; |
6969 | | // nested types ---------------------------------------------------- |
6970 | | using FeatureSetEditionDefault = FeatureSetDefaults_FeatureSetEditionDefault; |
6971 | | |
6972 | | // accessors ------------------------------------------------------- |
6973 | | enum : int { |
6974 | | kDefaultsFieldNumber = 1, |
6975 | | kMinimumEditionFieldNumber = 4, |
6976 | | kMaximumEditionFieldNumber = 5, |
6977 | | }; |
6978 | | // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; |
6979 | | int defaults_size() const; |
6980 | | private: |
6981 | | int _internal_defaults_size() const; |
6982 | | |
6983 | | public: |
6984 | | void clear_defaults() ; |
6985 | | ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* mutable_defaults(int index); |
6986 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* mutable_defaults(); |
6987 | | |
6988 | | private: |
6989 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& _internal_defaults() const; |
6990 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* _internal_mutable_defaults(); |
6991 | | public: |
6992 | | const ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault& defaults(int index) const; |
6993 | | ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* add_defaults(); |
6994 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& defaults() const; |
6995 | | // optional .google.protobuf.Edition minimum_edition = 4; |
6996 | | bool has_minimum_edition() const; |
6997 | | void clear_minimum_edition() ; |
6998 | | ::google::protobuf::Edition minimum_edition() const; |
6999 | | void set_minimum_edition(::google::protobuf::Edition value); |
7000 | | |
7001 | | private: |
7002 | | ::google::protobuf::Edition _internal_minimum_edition() const; |
7003 | | void _internal_set_minimum_edition(::google::protobuf::Edition value); |
7004 | | |
7005 | | public: |
7006 | | // optional .google.protobuf.Edition maximum_edition = 5; |
7007 | | bool has_maximum_edition() const; |
7008 | | void clear_maximum_edition() ; |
7009 | | ::google::protobuf::Edition maximum_edition() const; |
7010 | | void set_maximum_edition(::google::protobuf::Edition value); |
7011 | | |
7012 | | private: |
7013 | | ::google::protobuf::Edition _internal_maximum_edition() const; |
7014 | | void _internal_set_maximum_edition(::google::protobuf::Edition value); |
7015 | | |
7016 | | public: |
7017 | | // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSetDefaults) |
7018 | | private: |
7019 | | class _Internal; |
7020 | | friend class ::google::protobuf::internal::TcParser; |
7021 | | static const ::google::protobuf::internal::TcParseTable< |
7022 | | 1, 3, 3, |
7023 | | 0, 2> |
7024 | | _table_; |
7025 | | |
7026 | | static constexpr const void* _raw_default_instance_ = |
7027 | | &_FeatureSetDefaults_default_instance_; |
7028 | | |
7029 | | friend class ::google::protobuf::MessageLite; |
7030 | | friend class ::google::protobuf::Arena; |
7031 | | template <typename T> |
7032 | | friend class ::google::protobuf::Arena::InternalHelper; |
7033 | | using InternalArenaConstructable_ = void; |
7034 | | using DestructorSkippable_ = void; |
7035 | | struct Impl_ { |
7036 | | inline explicit constexpr Impl_( |
7037 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7038 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7039 | | ::google::protobuf::Arena* arena); |
7040 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7041 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7042 | | const FeatureSetDefaults& from_msg); |
7043 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7044 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7045 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault > defaults_; |
7046 | | int minimum_edition_; |
7047 | | int maximum_edition_; |
7048 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7049 | | }; |
7050 | | union { Impl_ _impl_; }; |
7051 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7052 | | }; |
7053 | | // ------------------------------------------------------------------- |
7054 | | |
7055 | | class PROTOBUF_EXPORT ExtensionRangeOptions final : public ::google::protobuf::Message |
7056 | | /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ { |
7057 | | public: |
7058 | 0 | inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {} |
7059 | | ~ExtensionRangeOptions() override; |
7060 | | template <typename = void> |
7061 | | explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions( |
7062 | | ::google::protobuf::internal::ConstantInitialized); |
7063 | | |
7064 | 0 | inline ExtensionRangeOptions(const ExtensionRangeOptions& from) : ExtensionRangeOptions(nullptr, from) {} |
7065 | | inline ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept |
7066 | 0 | : ExtensionRangeOptions(nullptr, std::move(from)) {} |
7067 | 0 | inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { |
7068 | 0 | CopyFrom(from); |
7069 | 0 | return *this; |
7070 | 0 | } |
7071 | 0 | inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
7072 | 0 | if (this == &from) return *this; |
7073 | 0 | if (GetArena() == from.GetArena() |
7074 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7075 | 0 | && GetArena() != nullptr |
7076 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7077 | 0 | ) { |
7078 | 0 | InternalSwap(&from); |
7079 | 0 | } else { |
7080 | 0 | CopyFrom(from); |
7081 | 0 | } |
7082 | 0 | return *this; |
7083 | 0 | } |
7084 | | |
7085 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7086 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7087 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7088 | 0 | } |
7089 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7090 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7091 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7092 | 0 | } |
7093 | | |
7094 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7095 | 0 | return GetDescriptor(); |
7096 | 0 | } |
7097 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7098 | 0 | return default_instance().GetMetadata().descriptor; |
7099 | 0 | } |
7100 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7101 | 0 | return default_instance().GetMetadata().reflection; |
7102 | 0 | } |
7103 | 0 | static const ExtensionRangeOptions& default_instance() { |
7104 | 0 | return *internal_default_instance(); |
7105 | 0 | } |
7106 | 0 | static inline const ExtensionRangeOptions* internal_default_instance() { |
7107 | 0 | return reinterpret_cast<const ExtensionRangeOptions*>( |
7108 | 0 | &_ExtensionRangeOptions_default_instance_); |
7109 | 0 | } |
7110 | | static constexpr int kIndexInFileMessages = 6; |
7111 | 0 | friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { a.Swap(&b); } |
7112 | 0 | inline void Swap(ExtensionRangeOptions* other) { |
7113 | 0 | if (other == this) return; |
7114 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7115 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
7116 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7117 | 0 | if (GetArena() == other->GetArena()) { |
7118 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7119 | 0 | InternalSwap(other); |
7120 | 0 | } else { |
7121 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7122 | 0 | } |
7123 | 0 | } |
7124 | 0 | void UnsafeArenaSwap(ExtensionRangeOptions* other) { |
7125 | 0 | if (other == this) return; |
7126 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7127 | 0 | InternalSwap(other); |
7128 | 0 | } |
7129 | | |
7130 | | // implements Message ---------------------------------------------- |
7131 | | |
7132 | 0 | ExtensionRangeOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
7133 | 0 | return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions>(arena); |
7134 | 0 | } |
7135 | | using ::google::protobuf::Message::CopyFrom; |
7136 | | void CopyFrom(const ExtensionRangeOptions& from); |
7137 | | using ::google::protobuf::Message::MergeFrom; |
7138 | 0 | void MergeFrom(const ExtensionRangeOptions& from) { ExtensionRangeOptions::MergeImpl(*this, from); } |
7139 | | |
7140 | | private: |
7141 | | static void MergeImpl( |
7142 | | ::google::protobuf::MessageLite& to_msg, |
7143 | | const ::google::protobuf::MessageLite& from_msg); |
7144 | | |
7145 | | public: |
7146 | 0 | bool IsInitialized() const { |
7147 | 0 | return IsInitializedImpl(*this); |
7148 | 0 | } |
7149 | | |
7150 | | private: |
7151 | | static bool IsInitializedImpl(const MessageLite& msg); |
7152 | | |
7153 | | public: |
7154 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
7155 | | ::size_t ByteSizeLong() const final; |
7156 | | ::uint8_t* _InternalSerialize( |
7157 | | ::uint8_t* target, |
7158 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
7159 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
7160 | | |
7161 | | private: |
7162 | | void SharedCtor(::google::protobuf::Arena* arena); |
7163 | | void SharedDtor(); |
7164 | | void InternalSwap(ExtensionRangeOptions* other); |
7165 | | private: |
7166 | | friend class ::google::protobuf::internal::AnyMetadata; |
7167 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.ExtensionRangeOptions"; } |
7168 | | |
7169 | | protected: |
7170 | | explicit ExtensionRangeOptions(::google::protobuf::Arena* arena); |
7171 | | ExtensionRangeOptions(::google::protobuf::Arena* arena, const ExtensionRangeOptions& from); |
7172 | | ExtensionRangeOptions(::google::protobuf::Arena* arena, ExtensionRangeOptions&& from) noexcept |
7173 | 0 | : ExtensionRangeOptions(arena) { |
7174 | 0 | *this = ::std::move(from); |
7175 | 0 | } |
7176 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
7177 | | |
7178 | | public: |
7179 | | ::google::protobuf::Metadata GetMetadata() const; |
7180 | | // nested types ---------------------------------------------------- |
7181 | | using Declaration = ExtensionRangeOptions_Declaration; |
7182 | | using VerificationState = ExtensionRangeOptions_VerificationState; |
7183 | | static constexpr VerificationState DECLARATION = ExtensionRangeOptions_VerificationState_DECLARATION; |
7184 | | static constexpr VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState_UNVERIFIED; |
7185 | 0 | static inline bool VerificationState_IsValid(int value) { |
7186 | 0 | return ExtensionRangeOptions_VerificationState_IsValid(value); |
7187 | 0 | } |
7188 | | static constexpr VerificationState VerificationState_MIN = ExtensionRangeOptions_VerificationState_VerificationState_MIN; |
7189 | | static constexpr VerificationState VerificationState_MAX = ExtensionRangeOptions_VerificationState_VerificationState_MAX; |
7190 | | static constexpr int VerificationState_ARRAYSIZE = ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE; |
7191 | 0 | static inline const ::google::protobuf::EnumDescriptor* VerificationState_descriptor() { |
7192 | 0 | return ExtensionRangeOptions_VerificationState_descriptor(); |
7193 | 0 | } |
7194 | | template <typename T> |
7195 | | static inline const std::string& VerificationState_Name(T value) { |
7196 | | return ExtensionRangeOptions_VerificationState_Name(value); |
7197 | | } |
7198 | 0 | static inline bool VerificationState_Parse(absl::string_view name, VerificationState* value) { |
7199 | 0 | return ExtensionRangeOptions_VerificationState_Parse(name, value); |
7200 | 0 | } |
7201 | | |
7202 | | // accessors ------------------------------------------------------- |
7203 | | enum : int { |
7204 | | kDeclarationFieldNumber = 2, |
7205 | | kUninterpretedOptionFieldNumber = 999, |
7206 | | kFeaturesFieldNumber = 50, |
7207 | | kVerificationFieldNumber = 3, |
7208 | | }; |
7209 | | // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE]; |
7210 | | int declaration_size() const; |
7211 | | private: |
7212 | | int _internal_declaration_size() const; |
7213 | | |
7214 | | public: |
7215 | | void clear_declaration() ; |
7216 | | ::google::protobuf::ExtensionRangeOptions_Declaration* mutable_declaration(int index); |
7217 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* mutable_declaration(); |
7218 | | |
7219 | | private: |
7220 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& _internal_declaration() const; |
7221 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* _internal_mutable_declaration(); |
7222 | | public: |
7223 | | const ::google::protobuf::ExtensionRangeOptions_Declaration& declaration(int index) const; |
7224 | | ::google::protobuf::ExtensionRangeOptions_Declaration* add_declaration(); |
7225 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& declaration() const; |
7226 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
7227 | | int uninterpreted_option_size() const; |
7228 | | private: |
7229 | | int _internal_uninterpreted_option_size() const; |
7230 | | |
7231 | | public: |
7232 | | void clear_uninterpreted_option() ; |
7233 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
7234 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
7235 | | |
7236 | | private: |
7237 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
7238 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
7239 | | public: |
7240 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
7241 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
7242 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
7243 | | // optional .google.protobuf.FeatureSet features = 50; |
7244 | | bool has_features() const; |
7245 | | void clear_features() ; |
7246 | | const ::google::protobuf::FeatureSet& features() const; |
7247 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
7248 | | ::google::protobuf::FeatureSet* mutable_features(); |
7249 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
7250 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
7251 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
7252 | | |
7253 | | private: |
7254 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
7255 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
7256 | | |
7257 | | public: |
7258 | | // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE]; |
7259 | | bool has_verification() const; |
7260 | | void clear_verification() ; |
7261 | | ::google::protobuf::ExtensionRangeOptions_VerificationState verification() const; |
7262 | | void set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value); |
7263 | | |
7264 | | private: |
7265 | | ::google::protobuf::ExtensionRangeOptions_VerificationState _internal_verification() const; |
7266 | | void _internal_set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value); |
7267 | | |
7268 | | public: |
7269 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7270 | | bool _is_packed, |
7271 | | typename = typename _proto_TypeTraits::Singular> |
7272 | | inline bool HasExtension( |
7273 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7274 | | _field_type, _is_packed>& id) const { |
7275 | | return _impl_._extensions_.Has(id.number()); |
7276 | | } |
7277 | | |
7278 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7279 | | bool _is_packed> |
7280 | | inline void ClearExtension( |
7281 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7282 | | _field_type, _is_packed>& id) { |
7283 | | _impl_._extensions_.ClearExtension(id.number()); |
7284 | | } |
7285 | | |
7286 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7287 | | bool _is_packed, |
7288 | | typename = typename _proto_TypeTraits::Repeated> |
7289 | | inline int ExtensionSize( |
7290 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7291 | | _field_type, _is_packed>& id) const { |
7292 | | return _impl_._extensions_.ExtensionSize(id.number()); |
7293 | | } |
7294 | | |
7295 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7296 | | bool _is_packed, |
7297 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
7298 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
7299 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7300 | | _field_type, _is_packed>& id) const { |
7301 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
7302 | | } |
7303 | | |
7304 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7305 | | bool _is_packed, |
7306 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
7307 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
7308 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7309 | | _field_type, _is_packed>& id) const |
7310 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7311 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
7312 | | } |
7313 | | |
7314 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7315 | | bool _is_packed> |
7316 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
7317 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7318 | | _field_type, _is_packed>& id) |
7319 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7320 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
7321 | | } |
7322 | | |
7323 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7324 | | bool _is_packed> |
7325 | | inline void SetExtension( |
7326 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7327 | | _field_type, _is_packed>& id, |
7328 | | typename _proto_TypeTraits::Singular::ConstType value) { |
7329 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
7330 | | } |
7331 | | |
7332 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7333 | | bool _is_packed> |
7334 | | inline void SetAllocatedExtension( |
7335 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7336 | | _field_type, _is_packed>& id, |
7337 | | typename _proto_TypeTraits::Singular::MutableType value) { |
7338 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
7339 | | &_impl_._extensions_); |
7340 | | } |
7341 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7342 | | bool _is_packed> |
7343 | | inline void UnsafeArenaSetAllocatedExtension( |
7344 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7345 | | _field_type, _is_packed>& id, |
7346 | | typename _proto_TypeTraits::Singular::MutableType value) { |
7347 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
7348 | | value, &_impl_._extensions_); |
7349 | | } |
7350 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7351 | | bool _is_packed> |
7352 | | PROTOBUF_NODISCARD inline |
7353 | | typename _proto_TypeTraits::Singular::MutableType |
7354 | | ReleaseExtension( |
7355 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7356 | | _field_type, _is_packed>& id) { |
7357 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
7358 | | } |
7359 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7360 | | bool _is_packed> |
7361 | | inline typename _proto_TypeTraits::Singular::MutableType |
7362 | | UnsafeArenaReleaseExtension( |
7363 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7364 | | _field_type, _is_packed>& id) { |
7365 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
7366 | | &_impl_._extensions_); |
7367 | | } |
7368 | | |
7369 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7370 | | bool _is_packed, |
7371 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
7372 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
7373 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7374 | | _field_type, _is_packed>& id, |
7375 | | int index) const { |
7376 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
7377 | | } |
7378 | | |
7379 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7380 | | bool _is_packed, |
7381 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
7382 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
7383 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7384 | | _field_type, _is_packed>& id, |
7385 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7386 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
7387 | | } |
7388 | | |
7389 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7390 | | bool _is_packed> |
7391 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
7392 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7393 | | _field_type, _is_packed>& id, |
7394 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7395 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
7396 | | } |
7397 | | |
7398 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7399 | | bool _is_packed> |
7400 | | inline void SetExtension( |
7401 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7402 | | _field_type, _is_packed>& id, |
7403 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
7404 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
7405 | | } |
7406 | | |
7407 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7408 | | bool _is_packed> |
7409 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
7410 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7411 | | _field_type, _is_packed>& id) |
7412 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7413 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
7414 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
7415 | | return to_add; |
7416 | | } |
7417 | | |
7418 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7419 | | bool _is_packed> |
7420 | | inline void AddExtension( |
7421 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7422 | | _field_type, _is_packed>& id, |
7423 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
7424 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
7425 | | &_impl_._extensions_); |
7426 | | } |
7427 | | |
7428 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7429 | | bool _is_packed> |
7430 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
7431 | | GetRepeatedExtension( |
7432 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7433 | | _field_type, _is_packed>& id) const |
7434 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7435 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
7436 | | } |
7437 | | |
7438 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7439 | | bool _is_packed> |
7440 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
7441 | | MutableRepeatedExtension( |
7442 | | const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
7443 | | _field_type, _is_packed>& id) |
7444 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7445 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
7446 | | _is_packed, &_impl_._extensions_); |
7447 | | } |
7448 | | // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) |
7449 | | private: |
7450 | | class _Internal; |
7451 | | friend class ::google::protobuf::internal::TcParser; |
7452 | | static const ::google::protobuf::internal::TcParseTable< |
7453 | | 3, 4, 4, |
7454 | | 0, 12> |
7455 | | _table_; |
7456 | | |
7457 | | static constexpr const void* _raw_default_instance_ = |
7458 | | &_ExtensionRangeOptions_default_instance_; |
7459 | | |
7460 | | friend class ::google::protobuf::MessageLite; |
7461 | | friend class ::google::protobuf::Arena; |
7462 | | template <typename T> |
7463 | | friend class ::google::protobuf::Arena::InternalHelper; |
7464 | | using InternalArenaConstructable_ = void; |
7465 | | using DestructorSkippable_ = void; |
7466 | | struct Impl_ { |
7467 | | inline explicit constexpr Impl_( |
7468 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7469 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7470 | | ::google::protobuf::Arena* arena); |
7471 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7472 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7473 | | const ExtensionRangeOptions& from_msg); |
7474 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
7475 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7476 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7477 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::ExtensionRangeOptions_Declaration > declaration_; |
7478 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
7479 | | ::google::protobuf::FeatureSet* features_; |
7480 | | int verification_; |
7481 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7482 | | }; |
7483 | | union { Impl_ _impl_; }; |
7484 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7485 | | }; |
7486 | | // ------------------------------------------------------------------- |
7487 | | |
7488 | | class PROTOBUF_EXPORT EnumValueOptions final : public ::google::protobuf::Message |
7489 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { |
7490 | | public: |
7491 | 0 | inline EnumValueOptions() : EnumValueOptions(nullptr) {} |
7492 | | ~EnumValueOptions() override; |
7493 | | template <typename = void> |
7494 | | explicit PROTOBUF_CONSTEXPR EnumValueOptions( |
7495 | | ::google::protobuf::internal::ConstantInitialized); |
7496 | | |
7497 | 0 | inline EnumValueOptions(const EnumValueOptions& from) : EnumValueOptions(nullptr, from) {} |
7498 | | inline EnumValueOptions(EnumValueOptions&& from) noexcept |
7499 | 0 | : EnumValueOptions(nullptr, std::move(from)) {} |
7500 | 0 | inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
7501 | 0 | CopyFrom(from); |
7502 | 0 | return *this; |
7503 | 0 | } |
7504 | 0 | inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
7505 | 0 | if (this == &from) return *this; |
7506 | 0 | if (GetArena() == from.GetArena() |
7507 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7508 | 0 | && GetArena() != nullptr |
7509 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7510 | 0 | ) { |
7511 | 0 | InternalSwap(&from); |
7512 | 0 | } else { |
7513 | 0 | CopyFrom(from); |
7514 | 0 | } |
7515 | 0 | return *this; |
7516 | 0 | } |
7517 | | |
7518 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7519 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7520 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7521 | 0 | } |
7522 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7523 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7524 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7525 | 0 | } |
7526 | | |
7527 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7528 | 0 | return GetDescriptor(); |
7529 | 0 | } |
7530 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7531 | 0 | return default_instance().GetMetadata().descriptor; |
7532 | 0 | } |
7533 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7534 | 0 | return default_instance().GetMetadata().reflection; |
7535 | 0 | } |
7536 | 0 | static const EnumValueOptions& default_instance() { |
7537 | 0 | return *internal_default_instance(); |
7538 | 0 | } |
7539 | 0 | static inline const EnumValueOptions* internal_default_instance() { |
7540 | 0 | return reinterpret_cast<const EnumValueOptions*>( |
7541 | 0 | &_EnumValueOptions_default_instance_); |
7542 | 0 | } |
7543 | | static constexpr int kIndexInFileMessages = 21; |
7544 | 0 | friend void swap(EnumValueOptions& a, EnumValueOptions& b) { a.Swap(&b); } |
7545 | 0 | inline void Swap(EnumValueOptions* other) { |
7546 | 0 | if (other == this) return; |
7547 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7548 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
7549 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7550 | 0 | if (GetArena() == other->GetArena()) { |
7551 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7552 | 0 | InternalSwap(other); |
7553 | 0 | } else { |
7554 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7555 | 0 | } |
7556 | 0 | } |
7557 | 0 | void UnsafeArenaSwap(EnumValueOptions* other) { |
7558 | 0 | if (other == this) return; |
7559 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7560 | 0 | InternalSwap(other); |
7561 | 0 | } |
7562 | | |
7563 | | // implements Message ---------------------------------------------- |
7564 | | |
7565 | 0 | EnumValueOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
7566 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumValueOptions>(arena); |
7567 | 0 | } |
7568 | | using ::google::protobuf::Message::CopyFrom; |
7569 | | void CopyFrom(const EnumValueOptions& from); |
7570 | | using ::google::protobuf::Message::MergeFrom; |
7571 | 0 | void MergeFrom(const EnumValueOptions& from) { EnumValueOptions::MergeImpl(*this, from); } |
7572 | | |
7573 | | private: |
7574 | | static void MergeImpl( |
7575 | | ::google::protobuf::MessageLite& to_msg, |
7576 | | const ::google::protobuf::MessageLite& from_msg); |
7577 | | |
7578 | | public: |
7579 | 0 | bool IsInitialized() const { |
7580 | 0 | return IsInitializedImpl(*this); |
7581 | 0 | } |
7582 | | |
7583 | | private: |
7584 | | static bool IsInitializedImpl(const MessageLite& msg); |
7585 | | |
7586 | | public: |
7587 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
7588 | | ::size_t ByteSizeLong() const final; |
7589 | | ::uint8_t* _InternalSerialize( |
7590 | | ::uint8_t* target, |
7591 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
7592 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
7593 | | |
7594 | | private: |
7595 | | void SharedCtor(::google::protobuf::Arena* arena); |
7596 | | void SharedDtor(); |
7597 | | void InternalSwap(EnumValueOptions* other); |
7598 | | private: |
7599 | | friend class ::google::protobuf::internal::AnyMetadata; |
7600 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValueOptions"; } |
7601 | | |
7602 | | protected: |
7603 | | explicit EnumValueOptions(::google::protobuf::Arena* arena); |
7604 | | EnumValueOptions(::google::protobuf::Arena* arena, const EnumValueOptions& from); |
7605 | | EnumValueOptions(::google::protobuf::Arena* arena, EnumValueOptions&& from) noexcept |
7606 | 0 | : EnumValueOptions(arena) { |
7607 | 0 | *this = ::std::move(from); |
7608 | 0 | } |
7609 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
7610 | | |
7611 | | public: |
7612 | | ::google::protobuf::Metadata GetMetadata() const; |
7613 | | // nested types ---------------------------------------------------- |
7614 | | |
7615 | | // accessors ------------------------------------------------------- |
7616 | | enum : int { |
7617 | | kUninterpretedOptionFieldNumber = 999, |
7618 | | kFeaturesFieldNumber = 2, |
7619 | | kFeatureSupportFieldNumber = 4, |
7620 | | kDeprecatedFieldNumber = 1, |
7621 | | kDebugRedactFieldNumber = 3, |
7622 | | }; |
7623 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
7624 | | int uninterpreted_option_size() const; |
7625 | | private: |
7626 | | int _internal_uninterpreted_option_size() const; |
7627 | | |
7628 | | public: |
7629 | | void clear_uninterpreted_option() ; |
7630 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
7631 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
7632 | | |
7633 | | private: |
7634 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
7635 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
7636 | | public: |
7637 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
7638 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
7639 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
7640 | | // optional .google.protobuf.FeatureSet features = 2; |
7641 | | bool has_features() const; |
7642 | | void clear_features() ; |
7643 | | const ::google::protobuf::FeatureSet& features() const; |
7644 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
7645 | | ::google::protobuf::FeatureSet* mutable_features(); |
7646 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
7647 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
7648 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
7649 | | |
7650 | | private: |
7651 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
7652 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
7653 | | |
7654 | | public: |
7655 | | // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4; |
7656 | | bool has_feature_support() const; |
7657 | | void clear_feature_support() ; |
7658 | | const ::google::protobuf::FieldOptions_FeatureSupport& feature_support() const; |
7659 | | PROTOBUF_NODISCARD ::google::protobuf::FieldOptions_FeatureSupport* release_feature_support(); |
7660 | | ::google::protobuf::FieldOptions_FeatureSupport* mutable_feature_support(); |
7661 | | void set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value); |
7662 | | void unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value); |
7663 | | ::google::protobuf::FieldOptions_FeatureSupport* unsafe_arena_release_feature_support(); |
7664 | | |
7665 | | private: |
7666 | | const ::google::protobuf::FieldOptions_FeatureSupport& _internal_feature_support() const; |
7667 | | ::google::protobuf::FieldOptions_FeatureSupport* _internal_mutable_feature_support(); |
7668 | | |
7669 | | public: |
7670 | | // optional bool deprecated = 1 [default = false]; |
7671 | | bool has_deprecated() const; |
7672 | | void clear_deprecated() ; |
7673 | | bool deprecated() const; |
7674 | | void set_deprecated(bool value); |
7675 | | |
7676 | | private: |
7677 | | bool _internal_deprecated() const; |
7678 | | void _internal_set_deprecated(bool value); |
7679 | | |
7680 | | public: |
7681 | | // optional bool debug_redact = 3 [default = false]; |
7682 | | bool has_debug_redact() const; |
7683 | | void clear_debug_redact() ; |
7684 | | bool debug_redact() const; |
7685 | | void set_debug_redact(bool value); |
7686 | | |
7687 | | private: |
7688 | | bool _internal_debug_redact() const; |
7689 | | void _internal_set_debug_redact(bool value); |
7690 | | |
7691 | | public: |
7692 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7693 | | bool _is_packed, |
7694 | | typename = typename _proto_TypeTraits::Singular> |
7695 | | inline bool HasExtension( |
7696 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7697 | | _field_type, _is_packed>& id) const { |
7698 | | return _impl_._extensions_.Has(id.number()); |
7699 | | } |
7700 | | |
7701 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7702 | | bool _is_packed> |
7703 | | inline void ClearExtension( |
7704 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7705 | | _field_type, _is_packed>& id) { |
7706 | | _impl_._extensions_.ClearExtension(id.number()); |
7707 | | } |
7708 | | |
7709 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7710 | | bool _is_packed, |
7711 | | typename = typename _proto_TypeTraits::Repeated> |
7712 | | inline int ExtensionSize( |
7713 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7714 | | _field_type, _is_packed>& id) const { |
7715 | | return _impl_._extensions_.ExtensionSize(id.number()); |
7716 | | } |
7717 | | |
7718 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7719 | | bool _is_packed, |
7720 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
7721 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
7722 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7723 | | _field_type, _is_packed>& id) const { |
7724 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
7725 | | } |
7726 | | |
7727 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7728 | | bool _is_packed, |
7729 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
7730 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
7731 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7732 | | _field_type, _is_packed>& id) const |
7733 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7734 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
7735 | | } |
7736 | | |
7737 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7738 | | bool _is_packed> |
7739 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
7740 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7741 | | _field_type, _is_packed>& id) |
7742 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7743 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
7744 | | } |
7745 | | |
7746 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7747 | | bool _is_packed> |
7748 | | inline void SetExtension( |
7749 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7750 | | _field_type, _is_packed>& id, |
7751 | | typename _proto_TypeTraits::Singular::ConstType value) { |
7752 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
7753 | | } |
7754 | | |
7755 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7756 | | bool _is_packed> |
7757 | | inline void SetAllocatedExtension( |
7758 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7759 | | _field_type, _is_packed>& id, |
7760 | | typename _proto_TypeTraits::Singular::MutableType value) { |
7761 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
7762 | | &_impl_._extensions_); |
7763 | | } |
7764 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7765 | | bool _is_packed> |
7766 | | inline void UnsafeArenaSetAllocatedExtension( |
7767 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7768 | | _field_type, _is_packed>& id, |
7769 | | typename _proto_TypeTraits::Singular::MutableType value) { |
7770 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
7771 | | value, &_impl_._extensions_); |
7772 | | } |
7773 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7774 | | bool _is_packed> |
7775 | | PROTOBUF_NODISCARD inline |
7776 | | typename _proto_TypeTraits::Singular::MutableType |
7777 | | ReleaseExtension( |
7778 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7779 | | _field_type, _is_packed>& id) { |
7780 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
7781 | | } |
7782 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7783 | | bool _is_packed> |
7784 | | inline typename _proto_TypeTraits::Singular::MutableType |
7785 | | UnsafeArenaReleaseExtension( |
7786 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7787 | | _field_type, _is_packed>& id) { |
7788 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
7789 | | &_impl_._extensions_); |
7790 | | } |
7791 | | |
7792 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7793 | | bool _is_packed, |
7794 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
7795 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
7796 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7797 | | _field_type, _is_packed>& id, |
7798 | | int index) const { |
7799 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
7800 | | } |
7801 | | |
7802 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7803 | | bool _is_packed, |
7804 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
7805 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
7806 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7807 | | _field_type, _is_packed>& id, |
7808 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7809 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
7810 | | } |
7811 | | |
7812 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7813 | | bool _is_packed> |
7814 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
7815 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7816 | | _field_type, _is_packed>& id, |
7817 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7818 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
7819 | | } |
7820 | | |
7821 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7822 | | bool _is_packed> |
7823 | | inline void SetExtension( |
7824 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7825 | | _field_type, _is_packed>& id, |
7826 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
7827 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
7828 | | } |
7829 | | |
7830 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7831 | | bool _is_packed> |
7832 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
7833 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7834 | | _field_type, _is_packed>& id) |
7835 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7836 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
7837 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
7838 | | return to_add; |
7839 | | } |
7840 | | |
7841 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7842 | | bool _is_packed> |
7843 | | inline void AddExtension( |
7844 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7845 | | _field_type, _is_packed>& id, |
7846 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
7847 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
7848 | | &_impl_._extensions_); |
7849 | | } |
7850 | | |
7851 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7852 | | bool _is_packed> |
7853 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
7854 | | GetRepeatedExtension( |
7855 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7856 | | _field_type, _is_packed>& id) const |
7857 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7858 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
7859 | | } |
7860 | | |
7861 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
7862 | | bool _is_packed> |
7863 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
7864 | | MutableRepeatedExtension( |
7865 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
7866 | | _field_type, _is_packed>& id) |
7867 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7868 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
7869 | | _is_packed, &_impl_._extensions_); |
7870 | | } |
7871 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
7872 | | private: |
7873 | | class _Internal; |
7874 | | friend class ::google::protobuf::internal::TcParser; |
7875 | | static const ::google::protobuf::internal::TcParseTable< |
7876 | | 3, 5, 3, |
7877 | | 0, 7> |
7878 | | _table_; |
7879 | | |
7880 | | static constexpr const void* _raw_default_instance_ = |
7881 | | &_EnumValueOptions_default_instance_; |
7882 | | |
7883 | | friend class ::google::protobuf::MessageLite; |
7884 | | friend class ::google::protobuf::Arena; |
7885 | | template <typename T> |
7886 | | friend class ::google::protobuf::Arena::InternalHelper; |
7887 | | using InternalArenaConstructable_ = void; |
7888 | | using DestructorSkippable_ = void; |
7889 | | struct Impl_ { |
7890 | | inline explicit constexpr Impl_( |
7891 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7892 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7893 | | ::google::protobuf::Arena* arena); |
7894 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7895 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7896 | | const EnumValueOptions& from_msg); |
7897 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
7898 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7899 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7900 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
7901 | | ::google::protobuf::FeatureSet* features_; |
7902 | | ::google::protobuf::FieldOptions_FeatureSupport* feature_support_; |
7903 | | bool deprecated_; |
7904 | | bool debug_redact_; |
7905 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7906 | | }; |
7907 | | union { Impl_ _impl_; }; |
7908 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7909 | | }; |
7910 | | // ------------------------------------------------------------------- |
7911 | | |
7912 | | class PROTOBUF_EXPORT EnumOptions final : public ::google::protobuf::Message |
7913 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { |
7914 | | public: |
7915 | 0 | inline EnumOptions() : EnumOptions(nullptr) {} |
7916 | | ~EnumOptions() override; |
7917 | | template <typename = void> |
7918 | | explicit PROTOBUF_CONSTEXPR EnumOptions( |
7919 | | ::google::protobuf::internal::ConstantInitialized); |
7920 | | |
7921 | 0 | inline EnumOptions(const EnumOptions& from) : EnumOptions(nullptr, from) {} |
7922 | | inline EnumOptions(EnumOptions&& from) noexcept |
7923 | 0 | : EnumOptions(nullptr, std::move(from)) {} |
7924 | 0 | inline EnumOptions& operator=(const EnumOptions& from) { |
7925 | 0 | CopyFrom(from); |
7926 | 0 | return *this; |
7927 | 0 | } |
7928 | 0 | inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
7929 | 0 | if (this == &from) return *this; |
7930 | 0 | if (GetArena() == from.GetArena() |
7931 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7932 | 0 | && GetArena() != nullptr |
7933 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7934 | 0 | ) { |
7935 | 0 | InternalSwap(&from); |
7936 | 0 | } else { |
7937 | 0 | CopyFrom(from); |
7938 | 0 | } |
7939 | 0 | return *this; |
7940 | 0 | } |
7941 | | |
7942 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7943 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7944 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7945 | 0 | } |
7946 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7947 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7948 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7949 | 0 | } |
7950 | | |
7951 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7952 | 0 | return GetDescriptor(); |
7953 | 0 | } |
7954 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7955 | 0 | return default_instance().GetMetadata().descriptor; |
7956 | 0 | } |
7957 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7958 | 0 | return default_instance().GetMetadata().reflection; |
7959 | 0 | } |
7960 | 0 | static const EnumOptions& default_instance() { |
7961 | 0 | return *internal_default_instance(); |
7962 | 0 | } |
7963 | 0 | static inline const EnumOptions* internal_default_instance() { |
7964 | 0 | return reinterpret_cast<const EnumOptions*>( |
7965 | 0 | &_EnumOptions_default_instance_); |
7966 | 0 | } |
7967 | | static constexpr int kIndexInFileMessages = 20; |
7968 | 0 | friend void swap(EnumOptions& a, EnumOptions& b) { a.Swap(&b); } |
7969 | 0 | inline void Swap(EnumOptions* other) { |
7970 | 0 | if (other == this) return; |
7971 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7972 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
7973 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7974 | 0 | if (GetArena() == other->GetArena()) { |
7975 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7976 | 0 | InternalSwap(other); |
7977 | 0 | } else { |
7978 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7979 | 0 | } |
7980 | 0 | } |
7981 | 0 | void UnsafeArenaSwap(EnumOptions* other) { |
7982 | 0 | if (other == this) return; |
7983 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7984 | 0 | InternalSwap(other); |
7985 | 0 | } |
7986 | | |
7987 | | // implements Message ---------------------------------------------- |
7988 | | |
7989 | 0 | EnumOptions* New(::google::protobuf::Arena* arena = nullptr) const final { |
7990 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumOptions>(arena); |
7991 | 0 | } |
7992 | | using ::google::protobuf::Message::CopyFrom; |
7993 | | void CopyFrom(const EnumOptions& from); |
7994 | | using ::google::protobuf::Message::MergeFrom; |
7995 | 0 | void MergeFrom(const EnumOptions& from) { EnumOptions::MergeImpl(*this, from); } |
7996 | | |
7997 | | private: |
7998 | | static void MergeImpl( |
7999 | | ::google::protobuf::MessageLite& to_msg, |
8000 | | const ::google::protobuf::MessageLite& from_msg); |
8001 | | |
8002 | | public: |
8003 | 0 | bool IsInitialized() const { |
8004 | 0 | return IsInitializedImpl(*this); |
8005 | 0 | } |
8006 | | |
8007 | | private: |
8008 | | static bool IsInitializedImpl(const MessageLite& msg); |
8009 | | |
8010 | | public: |
8011 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
8012 | | ::size_t ByteSizeLong() const final; |
8013 | | ::uint8_t* _InternalSerialize( |
8014 | | ::uint8_t* target, |
8015 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
8016 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
8017 | | |
8018 | | private: |
8019 | | void SharedCtor(::google::protobuf::Arena* arena); |
8020 | | void SharedDtor(); |
8021 | | void InternalSwap(EnumOptions* other); |
8022 | | private: |
8023 | | friend class ::google::protobuf::internal::AnyMetadata; |
8024 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumOptions"; } |
8025 | | |
8026 | | protected: |
8027 | | explicit EnumOptions(::google::protobuf::Arena* arena); |
8028 | | EnumOptions(::google::protobuf::Arena* arena, const EnumOptions& from); |
8029 | | EnumOptions(::google::protobuf::Arena* arena, EnumOptions&& from) noexcept |
8030 | 0 | : EnumOptions(arena) { |
8031 | 0 | *this = ::std::move(from); |
8032 | 0 | } |
8033 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
8034 | | |
8035 | | public: |
8036 | | ::google::protobuf::Metadata GetMetadata() const; |
8037 | | // nested types ---------------------------------------------------- |
8038 | | |
8039 | | // accessors ------------------------------------------------------- |
8040 | | enum : int { |
8041 | | kUninterpretedOptionFieldNumber = 999, |
8042 | | kFeaturesFieldNumber = 7, |
8043 | | kAllowAliasFieldNumber = 2, |
8044 | | kDeprecatedFieldNumber = 3, |
8045 | | kDeprecatedLegacyJsonFieldConflictsFieldNumber = 6, |
8046 | | }; |
8047 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
8048 | | int uninterpreted_option_size() const; |
8049 | | private: |
8050 | | int _internal_uninterpreted_option_size() const; |
8051 | | |
8052 | | public: |
8053 | | void clear_uninterpreted_option() ; |
8054 | | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
8055 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option(); |
8056 | | |
8057 | | private: |
8058 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const; |
8059 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option(); |
8060 | | public: |
8061 | | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
8062 | | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
8063 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const; |
8064 | | // optional .google.protobuf.FeatureSet features = 7; |
8065 | | bool has_features() const; |
8066 | | void clear_features() ; |
8067 | | const ::google::protobuf::FeatureSet& features() const; |
8068 | | PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features(); |
8069 | | ::google::protobuf::FeatureSet* mutable_features(); |
8070 | | void set_allocated_features(::google::protobuf::FeatureSet* value); |
8071 | | void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value); |
8072 | | ::google::protobuf::FeatureSet* unsafe_arena_release_features(); |
8073 | | |
8074 | | private: |
8075 | | const ::google::protobuf::FeatureSet& _internal_features() const; |
8076 | | ::google::protobuf::FeatureSet* _internal_mutable_features(); |
8077 | | |
8078 | | public: |
8079 | | // optional bool allow_alias = 2; |
8080 | | bool has_allow_alias() const; |
8081 | | void clear_allow_alias() ; |
8082 | | bool allow_alias() const; |
8083 | | void set_allow_alias(bool value); |
8084 | | |
8085 | | private: |
8086 | | bool _internal_allow_alias() const; |
8087 | | void _internal_set_allow_alias(bool value); |
8088 | | |
8089 | | public: |
8090 | | // optional bool deprecated = 3 [default = false]; |
8091 | | bool has_deprecated() const; |
8092 | | void clear_deprecated() ; |
8093 | | bool deprecated() const; |
8094 | | void set_deprecated(bool value); |
8095 | | |
8096 | | private: |
8097 | | bool _internal_deprecated() const; |
8098 | | void _internal_set_deprecated(bool value); |
8099 | | |
8100 | | public: |
8101 | | // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; |
8102 | | [[deprecated]] bool has_deprecated_legacy_json_field_conflicts() const; |
8103 | | [[deprecated]] void clear_deprecated_legacy_json_field_conflicts() ; |
8104 | | [[deprecated]] bool deprecated_legacy_json_field_conflicts() const; |
8105 | | [[deprecated]] void set_deprecated_legacy_json_field_conflicts(bool value); |
8106 | | |
8107 | | private: |
8108 | | bool _internal_deprecated_legacy_json_field_conflicts() const; |
8109 | | void _internal_set_deprecated_legacy_json_field_conflicts(bool value); |
8110 | | |
8111 | | public: |
8112 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8113 | | bool _is_packed, |
8114 | | typename = typename _proto_TypeTraits::Singular> |
8115 | | inline bool HasExtension( |
8116 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8117 | | _field_type, _is_packed>& id) const { |
8118 | | return _impl_._extensions_.Has(id.number()); |
8119 | | } |
8120 | | |
8121 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8122 | | bool _is_packed> |
8123 | | inline void ClearExtension( |
8124 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8125 | | _field_type, _is_packed>& id) { |
8126 | | _impl_._extensions_.ClearExtension(id.number()); |
8127 | | } |
8128 | | |
8129 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8130 | | bool _is_packed, |
8131 | | typename = typename _proto_TypeTraits::Repeated> |
8132 | | inline int ExtensionSize( |
8133 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8134 | | _field_type, _is_packed>& id) const { |
8135 | | return _impl_._extensions_.ExtensionSize(id.number()); |
8136 | | } |
8137 | | |
8138 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8139 | | bool _is_packed, |
8140 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
8141 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
8142 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8143 | | _field_type, _is_packed>& id) const { |
8144 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
8145 | | } |
8146 | | |
8147 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8148 | | bool _is_packed, |
8149 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
8150 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
8151 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8152 | | _field_type, _is_packed>& id) const |
8153 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8154 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
8155 | | } |
8156 | | |
8157 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8158 | | bool _is_packed> |
8159 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
8160 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8161 | | _field_type, _is_packed>& id) |
8162 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8163 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
8164 | | } |
8165 | | |
8166 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8167 | | bool _is_packed> |
8168 | | inline void SetExtension( |
8169 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8170 | | _field_type, _is_packed>& id, |
8171 | | typename _proto_TypeTraits::Singular::ConstType value) { |
8172 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
8173 | | } |
8174 | | |
8175 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8176 | | bool _is_packed> |
8177 | | inline void SetAllocatedExtension( |
8178 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8179 | | _field_type, _is_packed>& id, |
8180 | | typename _proto_TypeTraits::Singular::MutableType value) { |
8181 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
8182 | | &_impl_._extensions_); |
8183 | | } |
8184 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8185 | | bool _is_packed> |
8186 | | inline void UnsafeArenaSetAllocatedExtension( |
8187 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8188 | | _field_type, _is_packed>& id, |
8189 | | typename _proto_TypeTraits::Singular::MutableType value) { |
8190 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
8191 | | value, &_impl_._extensions_); |
8192 | | } |
8193 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8194 | | bool _is_packed> |
8195 | | PROTOBUF_NODISCARD inline |
8196 | | typename _proto_TypeTraits::Singular::MutableType |
8197 | | ReleaseExtension( |
8198 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8199 | | _field_type, _is_packed>& id) { |
8200 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
8201 | | } |
8202 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8203 | | bool _is_packed> |
8204 | | inline typename _proto_TypeTraits::Singular::MutableType |
8205 | | UnsafeArenaReleaseExtension( |
8206 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8207 | | _field_type, _is_packed>& id) { |
8208 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
8209 | | &_impl_._extensions_); |
8210 | | } |
8211 | | |
8212 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8213 | | bool _is_packed, |
8214 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
8215 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
8216 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8217 | | _field_type, _is_packed>& id, |
8218 | | int index) const { |
8219 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
8220 | | } |
8221 | | |
8222 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8223 | | bool _is_packed, |
8224 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
8225 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
8226 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8227 | | _field_type, _is_packed>& id, |
8228 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8229 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
8230 | | } |
8231 | | |
8232 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8233 | | bool _is_packed> |
8234 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
8235 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8236 | | _field_type, _is_packed>& id, |
8237 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8238 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
8239 | | } |
8240 | | |
8241 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8242 | | bool _is_packed> |
8243 | | inline void SetExtension( |
8244 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8245 | | _field_type, _is_packed>& id, |
8246 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
8247 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
8248 | | } |
8249 | | |
8250 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8251 | | bool _is_packed> |
8252 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
8253 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8254 | | _field_type, _is_packed>& id) |
8255 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8256 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
8257 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
8258 | | return to_add; |
8259 | | } |
8260 | | |
8261 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8262 | | bool _is_packed> |
8263 | | inline void AddExtension( |
8264 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8265 | | _field_type, _is_packed>& id, |
8266 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
8267 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
8268 | | &_impl_._extensions_); |
8269 | | } |
8270 | | |
8271 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8272 | | bool _is_packed> |
8273 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
8274 | | GetRepeatedExtension( |
8275 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8276 | | _field_type, _is_packed>& id) const |
8277 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8278 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
8279 | | } |
8280 | | |
8281 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
8282 | | bool _is_packed> |
8283 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
8284 | | MutableRepeatedExtension( |
8285 | | const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
8286 | | _field_type, _is_packed>& id) |
8287 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8288 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
8289 | | _is_packed, &_impl_._extensions_); |
8290 | | } |
8291 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
8292 | | private: |
8293 | | class _Internal; |
8294 | | friend class ::google::protobuf::internal::TcParser; |
8295 | | static const ::google::protobuf::internal::TcParseTable< |
8296 | | 3, 5, 2, |
8297 | | 0, 7> |
8298 | | _table_; |
8299 | | |
8300 | | static constexpr const void* _raw_default_instance_ = |
8301 | | &_EnumOptions_default_instance_; |
8302 | | |
8303 | | friend class ::google::protobuf::MessageLite; |
8304 | | friend class ::google::protobuf::Arena; |
8305 | | template <typename T> |
8306 | | friend class ::google::protobuf::Arena::InternalHelper; |
8307 | | using InternalArenaConstructable_ = void; |
8308 | | using DestructorSkippable_ = void; |
8309 | | struct Impl_ { |
8310 | | inline explicit constexpr Impl_( |
8311 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
8312 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8313 | | ::google::protobuf::Arena* arena); |
8314 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8315 | | ::google::protobuf::Arena* arena, const Impl_& from, |
8316 | | const EnumOptions& from_msg); |
8317 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
8318 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8319 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8320 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
8321 | | ::google::protobuf::FeatureSet* features_; |
8322 | | bool allow_alias_; |
8323 | | bool deprecated_; |
8324 | | bool deprecated_legacy_json_field_conflicts_; |
8325 | | PROTOBUF_TSAN_DECLARE_MEMBER |
8326 | | }; |
8327 | | union { Impl_ _impl_; }; |
8328 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8329 | | }; |
8330 | | // ------------------------------------------------------------------- |
8331 | | |
8332 | | class PROTOBUF_EXPORT OneofDescriptorProto final : public ::google::protobuf::Message |
8333 | | /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ { |
8334 | | public: |
8335 | 0 | inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {} |
8336 | | ~OneofDescriptorProto() override; |
8337 | | template <typename = void> |
8338 | | explicit PROTOBUF_CONSTEXPR OneofDescriptorProto( |
8339 | | ::google::protobuf::internal::ConstantInitialized); |
8340 | | |
8341 | 0 | inline OneofDescriptorProto(const OneofDescriptorProto& from) : OneofDescriptorProto(nullptr, from) {} |
8342 | | inline OneofDescriptorProto(OneofDescriptorProto&& from) noexcept |
8343 | 0 | : OneofDescriptorProto(nullptr, std::move(from)) {} |
8344 | 0 | inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
8345 | 0 | CopyFrom(from); |
8346 | 0 | return *this; |
8347 | 0 | } |
8348 | 0 | inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
8349 | 0 | if (this == &from) return *this; |
8350 | 0 | if (GetArena() == from.GetArena() |
8351 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
8352 | 0 | && GetArena() != nullptr |
8353 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8354 | 0 | ) { |
8355 | 0 | InternalSwap(&from); |
8356 | 0 | } else { |
8357 | 0 | CopyFrom(from); |
8358 | 0 | } |
8359 | 0 | return *this; |
8360 | 0 | } |
8361 | | |
8362 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8363 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8364 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8365 | 0 | } |
8366 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8367 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8368 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8369 | 0 | } |
8370 | | |
8371 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8372 | 0 | return GetDescriptor(); |
8373 | 0 | } |
8374 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8375 | 0 | return default_instance().GetMetadata().descriptor; |
8376 | 0 | } |
8377 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
8378 | 0 | return default_instance().GetMetadata().reflection; |
8379 | 0 | } |
8380 | 0 | static const OneofDescriptorProto& default_instance() { |
8381 | 0 | return *internal_default_instance(); |
8382 | 0 | } |
8383 | 0 | static inline const OneofDescriptorProto* internal_default_instance() { |
8384 | 0 | return reinterpret_cast<const OneofDescriptorProto*>( |
8385 | 0 | &_OneofDescriptorProto_default_instance_); |
8386 | 0 | } |
8387 | | static constexpr int kIndexInFileMessages = 8; |
8388 | 0 | friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { a.Swap(&b); } |
8389 | 0 | inline void Swap(OneofDescriptorProto* other) { |
8390 | 0 | if (other == this) return; |
8391 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8392 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
8393 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8394 | 0 | if (GetArena() == other->GetArena()) { |
8395 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8396 | 0 | InternalSwap(other); |
8397 | 0 | } else { |
8398 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8399 | 0 | } |
8400 | 0 | } |
8401 | 0 | void UnsafeArenaSwap(OneofDescriptorProto* other) { |
8402 | 0 | if (other == this) return; |
8403 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8404 | 0 | InternalSwap(other); |
8405 | 0 | } |
8406 | | |
8407 | | // implements Message ---------------------------------------------- |
8408 | | |
8409 | 0 | OneofDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
8410 | 0 | return ::google::protobuf::Message::DefaultConstruct<OneofDescriptorProto>(arena); |
8411 | 0 | } |
8412 | | using ::google::protobuf::Message::CopyFrom; |
8413 | | void CopyFrom(const OneofDescriptorProto& from); |
8414 | | using ::google::protobuf::Message::MergeFrom; |
8415 | 0 | void MergeFrom(const OneofDescriptorProto& from) { OneofDescriptorProto::MergeImpl(*this, from); } |
8416 | | |
8417 | | private: |
8418 | | static void MergeImpl( |
8419 | | ::google::protobuf::MessageLite& to_msg, |
8420 | | const ::google::protobuf::MessageLite& from_msg); |
8421 | | |
8422 | | public: |
8423 | 0 | bool IsInitialized() const { |
8424 | 0 | return IsInitializedImpl(*this); |
8425 | 0 | } |
8426 | | |
8427 | | private: |
8428 | | static bool IsInitializedImpl(const MessageLite& msg); |
8429 | | |
8430 | | public: |
8431 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
8432 | | ::size_t ByteSizeLong() const final; |
8433 | | ::uint8_t* _InternalSerialize( |
8434 | | ::uint8_t* target, |
8435 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
8436 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
8437 | | |
8438 | | private: |
8439 | | void SharedCtor(::google::protobuf::Arena* arena); |
8440 | | void SharedDtor(); |
8441 | | void InternalSwap(OneofDescriptorProto* other); |
8442 | | private: |
8443 | | friend class ::google::protobuf::internal::AnyMetadata; |
8444 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.OneofDescriptorProto"; } |
8445 | | |
8446 | | protected: |
8447 | | explicit OneofDescriptorProto(::google::protobuf::Arena* arena); |
8448 | | OneofDescriptorProto(::google::protobuf::Arena* arena, const OneofDescriptorProto& from); |
8449 | | OneofDescriptorProto(::google::protobuf::Arena* arena, OneofDescriptorProto&& from) noexcept |
8450 | 0 | : OneofDescriptorProto(arena) { |
8451 | 0 | *this = ::std::move(from); |
8452 | 0 | } |
8453 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
8454 | | |
8455 | | public: |
8456 | | ::google::protobuf::Metadata GetMetadata() const; |
8457 | | // nested types ---------------------------------------------------- |
8458 | | |
8459 | | // accessors ------------------------------------------------------- |
8460 | | enum : int { |
8461 | | kNameFieldNumber = 1, |
8462 | | kOptionsFieldNumber = 2, |
8463 | | }; |
8464 | | // optional string name = 1; |
8465 | | bool has_name() const; |
8466 | | void clear_name() ; |
8467 | | const std::string& name() const; |
8468 | | template <typename Arg_ = const std::string&, typename... Args_> |
8469 | | void set_name(Arg_&& arg, Args_... args); |
8470 | | std::string* mutable_name(); |
8471 | | PROTOBUF_NODISCARD std::string* release_name(); |
8472 | | void set_allocated_name(std::string* value); |
8473 | | |
8474 | | private: |
8475 | | const std::string& _internal_name() const; |
8476 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
8477 | | const std::string& value); |
8478 | | std::string* _internal_mutable_name(); |
8479 | | |
8480 | | public: |
8481 | | // optional .google.protobuf.OneofOptions options = 2; |
8482 | | bool has_options() const; |
8483 | | void clear_options() ; |
8484 | | const ::google::protobuf::OneofOptions& options() const; |
8485 | | PROTOBUF_NODISCARD ::google::protobuf::OneofOptions* release_options(); |
8486 | | ::google::protobuf::OneofOptions* mutable_options(); |
8487 | | void set_allocated_options(::google::protobuf::OneofOptions* value); |
8488 | | void unsafe_arena_set_allocated_options(::google::protobuf::OneofOptions* value); |
8489 | | ::google::protobuf::OneofOptions* unsafe_arena_release_options(); |
8490 | | |
8491 | | private: |
8492 | | const ::google::protobuf::OneofOptions& _internal_options() const; |
8493 | | ::google::protobuf::OneofOptions* _internal_mutable_options(); |
8494 | | |
8495 | | public: |
8496 | | // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
8497 | | private: |
8498 | | class _Internal; |
8499 | | friend class ::google::protobuf::internal::TcParser; |
8500 | | static const ::google::protobuf::internal::TcParseTable< |
8501 | | 1, 2, 1, |
8502 | | 49, 2> |
8503 | | _table_; |
8504 | | |
8505 | | static constexpr const void* _raw_default_instance_ = |
8506 | | &_OneofDescriptorProto_default_instance_; |
8507 | | |
8508 | | friend class ::google::protobuf::MessageLite; |
8509 | | friend class ::google::protobuf::Arena; |
8510 | | template <typename T> |
8511 | | friend class ::google::protobuf::Arena::InternalHelper; |
8512 | | using InternalArenaConstructable_ = void; |
8513 | | using DestructorSkippable_ = void; |
8514 | | struct Impl_ { |
8515 | | inline explicit constexpr Impl_( |
8516 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
8517 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8518 | | ::google::protobuf::Arena* arena); |
8519 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8520 | | ::google::protobuf::Arena* arena, const Impl_& from, |
8521 | | const OneofDescriptorProto& from_msg); |
8522 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8523 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8524 | | ::google::protobuf::internal::ArenaStringPtr name_; |
8525 | | ::google::protobuf::OneofOptions* options_; |
8526 | | PROTOBUF_TSAN_DECLARE_MEMBER |
8527 | | }; |
8528 | | union { Impl_ _impl_; }; |
8529 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8530 | | }; |
8531 | | // ------------------------------------------------------------------- |
8532 | | |
8533 | | class PROTOBUF_EXPORT MethodDescriptorProto final : public ::google::protobuf::Message |
8534 | | /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ { |
8535 | | public: |
8536 | 0 | inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {} |
8537 | | ~MethodDescriptorProto() override; |
8538 | | template <typename = void> |
8539 | | explicit PROTOBUF_CONSTEXPR MethodDescriptorProto( |
8540 | | ::google::protobuf::internal::ConstantInitialized); |
8541 | | |
8542 | 0 | inline MethodDescriptorProto(const MethodDescriptorProto& from) : MethodDescriptorProto(nullptr, from) {} |
8543 | | inline MethodDescriptorProto(MethodDescriptorProto&& from) noexcept |
8544 | 0 | : MethodDescriptorProto(nullptr, std::move(from)) {} |
8545 | 0 | inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
8546 | 0 | CopyFrom(from); |
8547 | 0 | return *this; |
8548 | 0 | } |
8549 | 0 | inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
8550 | 0 | if (this == &from) return *this; |
8551 | 0 | if (GetArena() == from.GetArena() |
8552 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
8553 | 0 | && GetArena() != nullptr |
8554 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8555 | 0 | ) { |
8556 | 0 | InternalSwap(&from); |
8557 | 0 | } else { |
8558 | 0 | CopyFrom(from); |
8559 | 0 | } |
8560 | 0 | return *this; |
8561 | 0 | } |
8562 | | |
8563 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8564 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8565 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8566 | 0 | } |
8567 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8568 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8569 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8570 | 0 | } |
8571 | | |
8572 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8573 | 0 | return GetDescriptor(); |
8574 | 0 | } |
8575 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8576 | 0 | return default_instance().GetMetadata().descriptor; |
8577 | 0 | } |
8578 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
8579 | 0 | return default_instance().GetMetadata().reflection; |
8580 | 0 | } |
8581 | 0 | static const MethodDescriptorProto& default_instance() { |
8582 | 0 | return *internal_default_instance(); |
8583 | 0 | } |
8584 | 0 | static inline const MethodDescriptorProto* internal_default_instance() { |
8585 | 0 | return reinterpret_cast<const MethodDescriptorProto*>( |
8586 | 0 | &_MethodDescriptorProto_default_instance_); |
8587 | 0 | } |
8588 | | static constexpr int kIndexInFileMessages = 13; |
8589 | 0 | friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { a.Swap(&b); } |
8590 | 0 | inline void Swap(MethodDescriptorProto* other) { |
8591 | 0 | if (other == this) return; |
8592 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8593 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
8594 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8595 | 0 | if (GetArena() == other->GetArena()) { |
8596 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8597 | 0 | InternalSwap(other); |
8598 | 0 | } else { |
8599 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8600 | 0 | } |
8601 | 0 | } |
8602 | 0 | void UnsafeArenaSwap(MethodDescriptorProto* other) { |
8603 | 0 | if (other == this) return; |
8604 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8605 | 0 | InternalSwap(other); |
8606 | 0 | } |
8607 | | |
8608 | | // implements Message ---------------------------------------------- |
8609 | | |
8610 | 0 | MethodDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
8611 | 0 | return ::google::protobuf::Message::DefaultConstruct<MethodDescriptorProto>(arena); |
8612 | 0 | } |
8613 | | using ::google::protobuf::Message::CopyFrom; |
8614 | | void CopyFrom(const MethodDescriptorProto& from); |
8615 | | using ::google::protobuf::Message::MergeFrom; |
8616 | 0 | void MergeFrom(const MethodDescriptorProto& from) { MethodDescriptorProto::MergeImpl(*this, from); } |
8617 | | |
8618 | | private: |
8619 | | static void MergeImpl( |
8620 | | ::google::protobuf::MessageLite& to_msg, |
8621 | | const ::google::protobuf::MessageLite& from_msg); |
8622 | | |
8623 | | public: |
8624 | 0 | bool IsInitialized() const { |
8625 | 0 | return IsInitializedImpl(*this); |
8626 | 0 | } |
8627 | | |
8628 | | private: |
8629 | | static bool IsInitializedImpl(const MessageLite& msg); |
8630 | | |
8631 | | public: |
8632 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
8633 | | ::size_t ByteSizeLong() const final; |
8634 | | ::uint8_t* _InternalSerialize( |
8635 | | ::uint8_t* target, |
8636 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
8637 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
8638 | | |
8639 | | private: |
8640 | | void SharedCtor(::google::protobuf::Arena* arena); |
8641 | | void SharedDtor(); |
8642 | | void InternalSwap(MethodDescriptorProto* other); |
8643 | | private: |
8644 | | friend class ::google::protobuf::internal::AnyMetadata; |
8645 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.MethodDescriptorProto"; } |
8646 | | |
8647 | | protected: |
8648 | | explicit MethodDescriptorProto(::google::protobuf::Arena* arena); |
8649 | | MethodDescriptorProto(::google::protobuf::Arena* arena, const MethodDescriptorProto& from); |
8650 | | MethodDescriptorProto(::google::protobuf::Arena* arena, MethodDescriptorProto&& from) noexcept |
8651 | 0 | : MethodDescriptorProto(arena) { |
8652 | 0 | *this = ::std::move(from); |
8653 | 0 | } |
8654 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
8655 | | |
8656 | | public: |
8657 | | ::google::protobuf::Metadata GetMetadata() const; |
8658 | | // nested types ---------------------------------------------------- |
8659 | | |
8660 | | // accessors ------------------------------------------------------- |
8661 | | enum : int { |
8662 | | kNameFieldNumber = 1, |
8663 | | kInputTypeFieldNumber = 2, |
8664 | | kOutputTypeFieldNumber = 3, |
8665 | | kOptionsFieldNumber = 4, |
8666 | | kClientStreamingFieldNumber = 5, |
8667 | | kServerStreamingFieldNumber = 6, |
8668 | | }; |
8669 | | // optional string name = 1; |
8670 | | bool has_name() const; |
8671 | | void clear_name() ; |
8672 | | const std::string& name() const; |
8673 | | template <typename Arg_ = const std::string&, typename... Args_> |
8674 | | void set_name(Arg_&& arg, Args_... args); |
8675 | | std::string* mutable_name(); |
8676 | | PROTOBUF_NODISCARD std::string* release_name(); |
8677 | | void set_allocated_name(std::string* value); |
8678 | | |
8679 | | private: |
8680 | | const std::string& _internal_name() const; |
8681 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
8682 | | const std::string& value); |
8683 | | std::string* _internal_mutable_name(); |
8684 | | |
8685 | | public: |
8686 | | // optional string input_type = 2; |
8687 | | bool has_input_type() const; |
8688 | | void clear_input_type() ; |
8689 | | const std::string& input_type() const; |
8690 | | template <typename Arg_ = const std::string&, typename... Args_> |
8691 | | void set_input_type(Arg_&& arg, Args_... args); |
8692 | | std::string* mutable_input_type(); |
8693 | | PROTOBUF_NODISCARD std::string* release_input_type(); |
8694 | | void set_allocated_input_type(std::string* value); |
8695 | | |
8696 | | private: |
8697 | | const std::string& _internal_input_type() const; |
8698 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type( |
8699 | | const std::string& value); |
8700 | | std::string* _internal_mutable_input_type(); |
8701 | | |
8702 | | public: |
8703 | | // optional string output_type = 3; |
8704 | | bool has_output_type() const; |
8705 | | void clear_output_type() ; |
8706 | | const std::string& output_type() const; |
8707 | | template <typename Arg_ = const std::string&, typename... Args_> |
8708 | | void set_output_type(Arg_&& arg, Args_... args); |
8709 | | std::string* mutable_output_type(); |
8710 | | PROTOBUF_NODISCARD std::string* release_output_type(); |
8711 | | void set_allocated_output_type(std::string* value); |
8712 | | |
8713 | | private: |
8714 | | const std::string& _internal_output_type() const; |
8715 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type( |
8716 | | const std::string& value); |
8717 | | std::string* _internal_mutable_output_type(); |
8718 | | |
8719 | | public: |
8720 | | // optional .google.protobuf.MethodOptions options = 4; |
8721 | | bool has_options() const; |
8722 | | void clear_options() ; |
8723 | | const ::google::protobuf::MethodOptions& options() const; |
8724 | | PROTOBUF_NODISCARD ::google::protobuf::MethodOptions* release_options(); |
8725 | | ::google::protobuf::MethodOptions* mutable_options(); |
8726 | | void set_allocated_options(::google::protobuf::MethodOptions* value); |
8727 | | void unsafe_arena_set_allocated_options(::google::protobuf::MethodOptions* value); |
8728 | | ::google::protobuf::MethodOptions* unsafe_arena_release_options(); |
8729 | | |
8730 | | private: |
8731 | | const ::google::protobuf::MethodOptions& _internal_options() const; |
8732 | | ::google::protobuf::MethodOptions* _internal_mutable_options(); |
8733 | | |
8734 | | public: |
8735 | | // optional bool client_streaming = 5 [default = false]; |
8736 | | bool has_client_streaming() const; |
8737 | | void clear_client_streaming() ; |
8738 | | bool client_streaming() const; |
8739 | | void set_client_streaming(bool value); |
8740 | | |
8741 | | private: |
8742 | | bool _internal_client_streaming() const; |
8743 | | void _internal_set_client_streaming(bool value); |
8744 | | |
8745 | | public: |
8746 | | // optional bool server_streaming = 6 [default = false]; |
8747 | | bool has_server_streaming() const; |
8748 | | void clear_server_streaming() ; |
8749 | | bool server_streaming() const; |
8750 | | void set_server_streaming(bool value); |
8751 | | |
8752 | | private: |
8753 | | bool _internal_server_streaming() const; |
8754 | | void _internal_set_server_streaming(bool value); |
8755 | | |
8756 | | public: |
8757 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
8758 | | private: |
8759 | | class _Internal; |
8760 | | friend class ::google::protobuf::internal::TcParser; |
8761 | | static const ::google::protobuf::internal::TcParseTable< |
8762 | | 3, 6, 1, |
8763 | | 71, 2> |
8764 | | _table_; |
8765 | | |
8766 | | static constexpr const void* _raw_default_instance_ = |
8767 | | &_MethodDescriptorProto_default_instance_; |
8768 | | |
8769 | | friend class ::google::protobuf::MessageLite; |
8770 | | friend class ::google::protobuf::Arena; |
8771 | | template <typename T> |
8772 | | friend class ::google::protobuf::Arena::InternalHelper; |
8773 | | using InternalArenaConstructable_ = void; |
8774 | | using DestructorSkippable_ = void; |
8775 | | struct Impl_ { |
8776 | | inline explicit constexpr Impl_( |
8777 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
8778 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8779 | | ::google::protobuf::Arena* arena); |
8780 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8781 | | ::google::protobuf::Arena* arena, const Impl_& from, |
8782 | | const MethodDescriptorProto& from_msg); |
8783 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8784 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8785 | | ::google::protobuf::internal::ArenaStringPtr name_; |
8786 | | ::google::protobuf::internal::ArenaStringPtr input_type_; |
8787 | | ::google::protobuf::internal::ArenaStringPtr output_type_; |
8788 | | ::google::protobuf::MethodOptions* options_; |
8789 | | bool client_streaming_; |
8790 | | bool server_streaming_; |
8791 | | PROTOBUF_TSAN_DECLARE_MEMBER |
8792 | | }; |
8793 | | union { Impl_ _impl_; }; |
8794 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8795 | | }; |
8796 | | // ------------------------------------------------------------------- |
8797 | | |
8798 | | class PROTOBUF_EXPORT FieldDescriptorProto final : public ::google::protobuf::Message |
8799 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { |
8800 | | public: |
8801 | 0 | inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {} |
8802 | | ~FieldDescriptorProto() override; |
8803 | | template <typename = void> |
8804 | | explicit PROTOBUF_CONSTEXPR FieldDescriptorProto( |
8805 | | ::google::protobuf::internal::ConstantInitialized); |
8806 | | |
8807 | 0 | inline FieldDescriptorProto(const FieldDescriptorProto& from) : FieldDescriptorProto(nullptr, from) {} |
8808 | | inline FieldDescriptorProto(FieldDescriptorProto&& from) noexcept |
8809 | 0 | : FieldDescriptorProto(nullptr, std::move(from)) {} |
8810 | 0 | inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
8811 | 0 | CopyFrom(from); |
8812 | 0 | return *this; |
8813 | 0 | } |
8814 | 0 | inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
8815 | 0 | if (this == &from) return *this; |
8816 | 0 | if (GetArena() == from.GetArena() |
8817 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
8818 | 0 | && GetArena() != nullptr |
8819 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8820 | 0 | ) { |
8821 | 0 | InternalSwap(&from); |
8822 | 0 | } else { |
8823 | 0 | CopyFrom(from); |
8824 | 0 | } |
8825 | 0 | return *this; |
8826 | 0 | } |
8827 | | |
8828 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8829 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8830 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8831 | 0 | } |
8832 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8833 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8834 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8835 | 0 | } |
8836 | | |
8837 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8838 | 0 | return GetDescriptor(); |
8839 | 0 | } |
8840 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8841 | 0 | return default_instance().GetMetadata().descriptor; |
8842 | 0 | } |
8843 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
8844 | 0 | return default_instance().GetMetadata().reflection; |
8845 | 0 | } |
8846 | 0 | static const FieldDescriptorProto& default_instance() { |
8847 | 0 | return *internal_default_instance(); |
8848 | 0 | } |
8849 | 0 | static inline const FieldDescriptorProto* internal_default_instance() { |
8850 | 0 | return reinterpret_cast<const FieldDescriptorProto*>( |
8851 | 0 | &_FieldDescriptorProto_default_instance_); |
8852 | 0 | } |
8853 | | static constexpr int kIndexInFileMessages = 7; |
8854 | 0 | friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { a.Swap(&b); } |
8855 | 0 | inline void Swap(FieldDescriptorProto* other) { |
8856 | 0 | if (other == this) return; |
8857 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8858 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
8859 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8860 | 0 | if (GetArena() == other->GetArena()) { |
8861 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8862 | 0 | InternalSwap(other); |
8863 | 0 | } else { |
8864 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8865 | 0 | } |
8866 | 0 | } |
8867 | 0 | void UnsafeArenaSwap(FieldDescriptorProto* other) { |
8868 | 0 | if (other == this) return; |
8869 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8870 | 0 | InternalSwap(other); |
8871 | 0 | } |
8872 | | |
8873 | | // implements Message ---------------------------------------------- |
8874 | | |
8875 | 0 | FieldDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
8876 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldDescriptorProto>(arena); |
8877 | 0 | } |
8878 | | using ::google::protobuf::Message::CopyFrom; |
8879 | | void CopyFrom(const FieldDescriptorProto& from); |
8880 | | using ::google::protobuf::Message::MergeFrom; |
8881 | 0 | void MergeFrom(const FieldDescriptorProto& from) { FieldDescriptorProto::MergeImpl(*this, from); } |
8882 | | |
8883 | | private: |
8884 | | static void MergeImpl( |
8885 | | ::google::protobuf::MessageLite& to_msg, |
8886 | | const ::google::protobuf::MessageLite& from_msg); |
8887 | | |
8888 | | public: |
8889 | 0 | bool IsInitialized() const { |
8890 | 0 | return IsInitializedImpl(*this); |
8891 | 0 | } |
8892 | | |
8893 | | private: |
8894 | | static bool IsInitializedImpl(const MessageLite& msg); |
8895 | | |
8896 | | public: |
8897 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
8898 | | ::size_t ByteSizeLong() const final; |
8899 | | ::uint8_t* _InternalSerialize( |
8900 | | ::uint8_t* target, |
8901 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
8902 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
8903 | | |
8904 | | private: |
8905 | | void SharedCtor(::google::protobuf::Arena* arena); |
8906 | | void SharedDtor(); |
8907 | | void InternalSwap(FieldDescriptorProto* other); |
8908 | | private: |
8909 | | friend class ::google::protobuf::internal::AnyMetadata; |
8910 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FieldDescriptorProto"; } |
8911 | | |
8912 | | protected: |
8913 | | explicit FieldDescriptorProto(::google::protobuf::Arena* arena); |
8914 | | FieldDescriptorProto(::google::protobuf::Arena* arena, const FieldDescriptorProto& from); |
8915 | | FieldDescriptorProto(::google::protobuf::Arena* arena, FieldDescriptorProto&& from) noexcept |
8916 | 0 | : FieldDescriptorProto(arena) { |
8917 | 0 | *this = ::std::move(from); |
8918 | 0 | } |
8919 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
8920 | | |
8921 | | public: |
8922 | | ::google::protobuf::Metadata GetMetadata() const; |
8923 | | // nested types ---------------------------------------------------- |
8924 | | using Type = FieldDescriptorProto_Type; |
8925 | | static constexpr Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE; |
8926 | | static constexpr Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT; |
8927 | | static constexpr Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64; |
8928 | | static constexpr Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64; |
8929 | | static constexpr Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32; |
8930 | | static constexpr Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64; |
8931 | | static constexpr Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32; |
8932 | | static constexpr Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL; |
8933 | | static constexpr Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING; |
8934 | | static constexpr Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP; |
8935 | | static constexpr Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE; |
8936 | | static constexpr Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES; |
8937 | | static constexpr Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32; |
8938 | | static constexpr Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM; |
8939 | | static constexpr Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32; |
8940 | | static constexpr Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64; |
8941 | | static constexpr Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32; |
8942 | | static constexpr Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64; |
8943 | 0 | static inline bool Type_IsValid(int value) { |
8944 | 0 | return FieldDescriptorProto_Type_IsValid(value); |
8945 | 0 | } |
8946 | | static constexpr Type Type_MIN = FieldDescriptorProto_Type_Type_MIN; |
8947 | | static constexpr Type Type_MAX = FieldDescriptorProto_Type_Type_MAX; |
8948 | | static constexpr int Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_ARRAYSIZE; |
8949 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
8950 | 0 | return FieldDescriptorProto_Type_descriptor(); |
8951 | 0 | } |
8952 | | template <typename T> |
8953 | | static inline const std::string& Type_Name(T value) { |
8954 | | return FieldDescriptorProto_Type_Name(value); |
8955 | | } |
8956 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
8957 | 0 | return FieldDescriptorProto_Type_Parse(name, value); |
8958 | 0 | } |
8959 | | using Label = FieldDescriptorProto_Label; |
8960 | | static constexpr Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
8961 | | static constexpr Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED; |
8962 | | static constexpr Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED; |
8963 | 0 | static inline bool Label_IsValid(int value) { |
8964 | 0 | return FieldDescriptorProto_Label_IsValid(value); |
8965 | 0 | } |
8966 | | static constexpr Label Label_MIN = FieldDescriptorProto_Label_Label_MIN; |
8967 | | static constexpr Label Label_MAX = FieldDescriptorProto_Label_Label_MAX; |
8968 | | static constexpr int Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_ARRAYSIZE; |
8969 | 0 | static inline const ::google::protobuf::EnumDescriptor* Label_descriptor() { |
8970 | 0 | return FieldDescriptorProto_Label_descriptor(); |
8971 | 0 | } |
8972 | | template <typename T> |
8973 | | static inline const std::string& Label_Name(T value) { |
8974 | | return FieldDescriptorProto_Label_Name(value); |
8975 | | } |
8976 | 0 | static inline bool Label_Parse(absl::string_view name, Label* value) { |
8977 | 0 | return FieldDescriptorProto_Label_Parse(name, value); |
8978 | 0 | } |
8979 | | |
8980 | | // accessors ------------------------------------------------------- |
8981 | | enum : int { |
8982 | | kNameFieldNumber = 1, |
8983 | | kExtendeeFieldNumber = 2, |
8984 | | kTypeNameFieldNumber = 6, |
8985 | | kDefaultValueFieldNumber = 7, |
8986 | | kJsonNameFieldNumber = 10, |
8987 | | kOptionsFieldNumber = 8, |
8988 | | kNumberFieldNumber = 3, |
8989 | | kOneofIndexFieldNumber = 9, |
8990 | | kProto3OptionalFieldNumber = 17, |
8991 | | kLabelFieldNumber = 4, |
8992 | | kTypeFieldNumber = 5, |
8993 | | }; |
8994 | | // optional string name = 1; |
8995 | | bool has_name() const; |
8996 | | void clear_name() ; |
8997 | | const std::string& name() const; |
8998 | | template <typename Arg_ = const std::string&, typename... Args_> |
8999 | | void set_name(Arg_&& arg, Args_... args); |
9000 | | std::string* mutable_name(); |
9001 | | PROTOBUF_NODISCARD std::string* release_name(); |
9002 | | void set_allocated_name(std::string* value); |
9003 | | |
9004 | | private: |
9005 | | const std::string& _internal_name() const; |
9006 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
9007 | | const std::string& value); |
9008 | | std::string* _internal_mutable_name(); |
9009 | | |
9010 | | public: |
9011 | | // optional string extendee = 2; |
9012 | | bool has_extendee() const; |
9013 | | void clear_extendee() ; |
9014 | | const std::string& extendee() const; |
9015 | | template <typename Arg_ = const std::string&, typename... Args_> |
9016 | | void set_extendee(Arg_&& arg, Args_... args); |
9017 | | std::string* mutable_extendee(); |
9018 | | PROTOBUF_NODISCARD std::string* release_extendee(); |
9019 | | void set_allocated_extendee(std::string* value); |
9020 | | |
9021 | | private: |
9022 | | const std::string& _internal_extendee() const; |
9023 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee( |
9024 | | const std::string& value); |
9025 | | std::string* _internal_mutable_extendee(); |
9026 | | |
9027 | | public: |
9028 | | // optional string type_name = 6; |
9029 | | bool has_type_name() const; |
9030 | | void clear_type_name() ; |
9031 | | const std::string& type_name() const; |
9032 | | template <typename Arg_ = const std::string&, typename... Args_> |
9033 | | void set_type_name(Arg_&& arg, Args_... args); |
9034 | | std::string* mutable_type_name(); |
9035 | | PROTOBUF_NODISCARD std::string* release_type_name(); |
9036 | | void set_allocated_type_name(std::string* value); |
9037 | | |
9038 | | private: |
9039 | | const std::string& _internal_type_name() const; |
9040 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name( |
9041 | | const std::string& value); |
9042 | | std::string* _internal_mutable_type_name(); |
9043 | | |
9044 | | public: |
9045 | | // optional string default_value = 7; |
9046 | | bool has_default_value() const; |
9047 | | void clear_default_value() ; |
9048 | | const std::string& default_value() const; |
9049 | | template <typename Arg_ = const std::string&, typename... Args_> |
9050 | | void set_default_value(Arg_&& arg, Args_... args); |
9051 | | std::string* mutable_default_value(); |
9052 | | PROTOBUF_NODISCARD std::string* release_default_value(); |
9053 | | void set_allocated_default_value(std::string* value); |
9054 | | |
9055 | | private: |
9056 | | const std::string& _internal_default_value() const; |
9057 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value( |
9058 | | const std::string& value); |
9059 | | std::string* _internal_mutable_default_value(); |
9060 | | |
9061 | | public: |
9062 | | // optional string json_name = 10; |
9063 | | bool has_json_name() const; |
9064 | | void clear_json_name() ; |
9065 | | const std::string& json_name() const; |
9066 | | template <typename Arg_ = const std::string&, typename... Args_> |
9067 | | void set_json_name(Arg_&& arg, Args_... args); |
9068 | | std::string* mutable_json_name(); |
9069 | | PROTOBUF_NODISCARD std::string* release_json_name(); |
9070 | | void set_allocated_json_name(std::string* value); |
9071 | | |
9072 | | private: |
9073 | | const std::string& _internal_json_name() const; |
9074 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name( |
9075 | | const std::string& value); |
9076 | | std::string* _internal_mutable_json_name(); |
9077 | | |
9078 | | public: |
9079 | | // optional .google.protobuf.FieldOptions options = 8; |
9080 | | bool has_options() const; |
9081 | | void clear_options() ; |
9082 | | const ::google::protobuf::FieldOptions& options() const; |
9083 | | PROTOBUF_NODISCARD ::google::protobuf::FieldOptions* release_options(); |
9084 | | ::google::protobuf::FieldOptions* mutable_options(); |
9085 | | void set_allocated_options(::google::protobuf::FieldOptions* value); |
9086 | | void unsafe_arena_set_allocated_options(::google::protobuf::FieldOptions* value); |
9087 | | ::google::protobuf::FieldOptions* unsafe_arena_release_options(); |
9088 | | |
9089 | | private: |
9090 | | const ::google::protobuf::FieldOptions& _internal_options() const; |
9091 | | ::google::protobuf::FieldOptions* _internal_mutable_options(); |
9092 | | |
9093 | | public: |
9094 | | // optional int32 number = 3; |
9095 | | bool has_number() const; |
9096 | | void clear_number() ; |
9097 | | ::int32_t number() const; |
9098 | | void set_number(::int32_t value); |
9099 | | |
9100 | | private: |
9101 | | ::int32_t _internal_number() const; |
9102 | | void _internal_set_number(::int32_t value); |
9103 | | |
9104 | | public: |
9105 | | // optional int32 oneof_index = 9; |
9106 | | bool has_oneof_index() const; |
9107 | | void clear_oneof_index() ; |
9108 | | ::int32_t oneof_index() const; |
9109 | | void set_oneof_index(::int32_t value); |
9110 | | |
9111 | | private: |
9112 | | ::int32_t _internal_oneof_index() const; |
9113 | | void _internal_set_oneof_index(::int32_t value); |
9114 | | |
9115 | | public: |
9116 | | // optional bool proto3_optional = 17; |
9117 | | bool has_proto3_optional() const; |
9118 | | void clear_proto3_optional() ; |
9119 | | bool proto3_optional() const; |
9120 | | void set_proto3_optional(bool value); |
9121 | | |
9122 | | private: |
9123 | | bool _internal_proto3_optional() const; |
9124 | | void _internal_set_proto3_optional(bool value); |
9125 | | |
9126 | | public: |
9127 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
9128 | | bool has_label() const; |
9129 | | void clear_label() ; |
9130 | | ::google::protobuf::FieldDescriptorProto_Label label() const; |
9131 | | void set_label(::google::protobuf::FieldDescriptorProto_Label value); |
9132 | | |
9133 | | private: |
9134 | | ::google::protobuf::FieldDescriptorProto_Label _internal_label() const; |
9135 | | void _internal_set_label(::google::protobuf::FieldDescriptorProto_Label value); |
9136 | | |
9137 | | public: |
9138 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
9139 | | bool has_type() const; |
9140 | | void clear_type() ; |
9141 | | ::google::protobuf::FieldDescriptorProto_Type type() const; |
9142 | | void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
9143 | | |
9144 | | private: |
9145 | | ::google::protobuf::FieldDescriptorProto_Type _internal_type() const; |
9146 | | void _internal_set_type(::google::protobuf::FieldDescriptorProto_Type value); |
9147 | | |
9148 | | public: |
9149 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
9150 | | private: |
9151 | | class _Internal; |
9152 | | friend class ::google::protobuf::internal::TcParser; |
9153 | | static const ::google::protobuf::internal::TcParseTable< |
9154 | | 4, 11, 3, |
9155 | | 96, 2> |
9156 | | _table_; |
9157 | | |
9158 | | static constexpr const void* _raw_default_instance_ = |
9159 | | &_FieldDescriptorProto_default_instance_; |
9160 | | |
9161 | | friend class ::google::protobuf::MessageLite; |
9162 | | friend class ::google::protobuf::Arena; |
9163 | | template <typename T> |
9164 | | friend class ::google::protobuf::Arena::InternalHelper; |
9165 | | using InternalArenaConstructable_ = void; |
9166 | | using DestructorSkippable_ = void; |
9167 | | struct Impl_ { |
9168 | | inline explicit constexpr Impl_( |
9169 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
9170 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9171 | | ::google::protobuf::Arena* arena); |
9172 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9173 | | ::google::protobuf::Arena* arena, const Impl_& from, |
9174 | | const FieldDescriptorProto& from_msg); |
9175 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9176 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9177 | | ::google::protobuf::internal::ArenaStringPtr name_; |
9178 | | ::google::protobuf::internal::ArenaStringPtr extendee_; |
9179 | | ::google::protobuf::internal::ArenaStringPtr type_name_; |
9180 | | ::google::protobuf::internal::ArenaStringPtr default_value_; |
9181 | | ::google::protobuf::internal::ArenaStringPtr json_name_; |
9182 | | ::google::protobuf::FieldOptions* options_; |
9183 | | ::int32_t number_; |
9184 | | ::int32_t oneof_index_; |
9185 | | bool proto3_optional_; |
9186 | | int label_; |
9187 | | int type_; |
9188 | | PROTOBUF_TSAN_DECLARE_MEMBER |
9189 | | }; |
9190 | | union { Impl_ _impl_; }; |
9191 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
9192 | | }; |
9193 | | // ------------------------------------------------------------------- |
9194 | | |
9195 | | class PROTOBUF_EXPORT EnumValueDescriptorProto final : public ::google::protobuf::Message |
9196 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { |
9197 | | public: |
9198 | 0 | inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {} |
9199 | | ~EnumValueDescriptorProto() override; |
9200 | | template <typename = void> |
9201 | | explicit PROTOBUF_CONSTEXPR EnumValueDescriptorProto( |
9202 | | ::google::protobuf::internal::ConstantInitialized); |
9203 | | |
9204 | 0 | inline EnumValueDescriptorProto(const EnumValueDescriptorProto& from) : EnumValueDescriptorProto(nullptr, from) {} |
9205 | | inline EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept |
9206 | 0 | : EnumValueDescriptorProto(nullptr, std::move(from)) {} |
9207 | 0 | inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
9208 | 0 | CopyFrom(from); |
9209 | 0 | return *this; |
9210 | 0 | } |
9211 | 0 | inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
9212 | 0 | if (this == &from) return *this; |
9213 | 0 | if (GetArena() == from.GetArena() |
9214 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
9215 | 0 | && GetArena() != nullptr |
9216 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
9217 | 0 | ) { |
9218 | 0 | InternalSwap(&from); |
9219 | 0 | } else { |
9220 | 0 | CopyFrom(from); |
9221 | 0 | } |
9222 | 0 | return *this; |
9223 | 0 | } |
9224 | | |
9225 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9226 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9227 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9228 | 0 | } |
9229 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9230 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9231 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9232 | 0 | } |
9233 | | |
9234 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9235 | 0 | return GetDescriptor(); |
9236 | 0 | } |
9237 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9238 | 0 | return default_instance().GetMetadata().descriptor; |
9239 | 0 | } |
9240 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9241 | 0 | return default_instance().GetMetadata().reflection; |
9242 | 0 | } |
9243 | 0 | static const EnumValueDescriptorProto& default_instance() { |
9244 | 0 | return *internal_default_instance(); |
9245 | 0 | } |
9246 | 0 | static inline const EnumValueDescriptorProto* internal_default_instance() { |
9247 | 0 | return reinterpret_cast<const EnumValueDescriptorProto*>( |
9248 | 0 | &_EnumValueDescriptorProto_default_instance_); |
9249 | 0 | } |
9250 | | static constexpr int kIndexInFileMessages = 11; |
9251 | 0 | friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { a.Swap(&b); } |
9252 | 0 | inline void Swap(EnumValueDescriptorProto* other) { |
9253 | 0 | if (other == this) return; |
9254 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
9255 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
9256 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
9257 | 0 | if (GetArena() == other->GetArena()) { |
9258 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
9259 | 0 | InternalSwap(other); |
9260 | 0 | } else { |
9261 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9262 | 0 | } |
9263 | 0 | } |
9264 | 0 | void UnsafeArenaSwap(EnumValueDescriptorProto* other) { |
9265 | 0 | if (other == this) return; |
9266 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9267 | 0 | InternalSwap(other); |
9268 | 0 | } |
9269 | | |
9270 | | // implements Message ---------------------------------------------- |
9271 | | |
9272 | 0 | EnumValueDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
9273 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumValueDescriptorProto>(arena); |
9274 | 0 | } |
9275 | | using ::google::protobuf::Message::CopyFrom; |
9276 | | void CopyFrom(const EnumValueDescriptorProto& from); |
9277 | | using ::google::protobuf::Message::MergeFrom; |
9278 | 0 | void MergeFrom(const EnumValueDescriptorProto& from) { EnumValueDescriptorProto::MergeImpl(*this, from); } |
9279 | | |
9280 | | private: |
9281 | | static void MergeImpl( |
9282 | | ::google::protobuf::MessageLite& to_msg, |
9283 | | const ::google::protobuf::MessageLite& from_msg); |
9284 | | |
9285 | | public: |
9286 | 0 | bool IsInitialized() const { |
9287 | 0 | return IsInitializedImpl(*this); |
9288 | 0 | } |
9289 | | |
9290 | | private: |
9291 | | static bool IsInitializedImpl(const MessageLite& msg); |
9292 | | |
9293 | | public: |
9294 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
9295 | | ::size_t ByteSizeLong() const final; |
9296 | | ::uint8_t* _InternalSerialize( |
9297 | | ::uint8_t* target, |
9298 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9299 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9300 | | |
9301 | | private: |
9302 | | void SharedCtor(::google::protobuf::Arena* arena); |
9303 | | void SharedDtor(); |
9304 | | void InternalSwap(EnumValueDescriptorProto* other); |
9305 | | private: |
9306 | | friend class ::google::protobuf::internal::AnyMetadata; |
9307 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValueDescriptorProto"; } |
9308 | | |
9309 | | protected: |
9310 | | explicit EnumValueDescriptorProto(::google::protobuf::Arena* arena); |
9311 | | EnumValueDescriptorProto(::google::protobuf::Arena* arena, const EnumValueDescriptorProto& from); |
9312 | | EnumValueDescriptorProto(::google::protobuf::Arena* arena, EnumValueDescriptorProto&& from) noexcept |
9313 | 0 | : EnumValueDescriptorProto(arena) { |
9314 | 0 | *this = ::std::move(from); |
9315 | 0 | } |
9316 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
9317 | | |
9318 | | public: |
9319 | | ::google::protobuf::Metadata GetMetadata() const; |
9320 | | // nested types ---------------------------------------------------- |
9321 | | |
9322 | | // accessors ------------------------------------------------------- |
9323 | | enum : int { |
9324 | | kNameFieldNumber = 1, |
9325 | | kOptionsFieldNumber = 3, |
9326 | | kNumberFieldNumber = 2, |
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 .google.protobuf.EnumValueOptions options = 3; |
9346 | | bool has_options() const; |
9347 | | void clear_options() ; |
9348 | | const ::google::protobuf::EnumValueOptions& options() const; |
9349 | | PROTOBUF_NODISCARD ::google::protobuf::EnumValueOptions* release_options(); |
9350 | | ::google::protobuf::EnumValueOptions* mutable_options(); |
9351 | | void set_allocated_options(::google::protobuf::EnumValueOptions* value); |
9352 | | void unsafe_arena_set_allocated_options(::google::protobuf::EnumValueOptions* value); |
9353 | | ::google::protobuf::EnumValueOptions* unsafe_arena_release_options(); |
9354 | | |
9355 | | private: |
9356 | | const ::google::protobuf::EnumValueOptions& _internal_options() const; |
9357 | | ::google::protobuf::EnumValueOptions* _internal_mutable_options(); |
9358 | | |
9359 | | public: |
9360 | | // optional int32 number = 2; |
9361 | | bool has_number() const; |
9362 | | void clear_number() ; |
9363 | | ::int32_t number() const; |
9364 | | void set_number(::int32_t value); |
9365 | | |
9366 | | private: |
9367 | | ::int32_t _internal_number() const; |
9368 | | void _internal_set_number(::int32_t value); |
9369 | | |
9370 | | public: |
9371 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
9372 | | private: |
9373 | | class _Internal; |
9374 | | friend class ::google::protobuf::internal::TcParser; |
9375 | | static const ::google::protobuf::internal::TcParseTable< |
9376 | | 2, 3, 1, |
9377 | | 53, 2> |
9378 | | _table_; |
9379 | | |
9380 | | static constexpr const void* _raw_default_instance_ = |
9381 | | &_EnumValueDescriptorProto_default_instance_; |
9382 | | |
9383 | | friend class ::google::protobuf::MessageLite; |
9384 | | friend class ::google::protobuf::Arena; |
9385 | | template <typename T> |
9386 | | friend class ::google::protobuf::Arena::InternalHelper; |
9387 | | using InternalArenaConstructable_ = void; |
9388 | | using DestructorSkippable_ = void; |
9389 | | struct Impl_ { |
9390 | | inline explicit constexpr Impl_( |
9391 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
9392 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9393 | | ::google::protobuf::Arena* arena); |
9394 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9395 | | ::google::protobuf::Arena* arena, const Impl_& from, |
9396 | | const EnumValueDescriptorProto& from_msg); |
9397 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9398 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9399 | | ::google::protobuf::internal::ArenaStringPtr name_; |
9400 | | ::google::protobuf::EnumValueOptions* options_; |
9401 | | ::int32_t number_; |
9402 | | PROTOBUF_TSAN_DECLARE_MEMBER |
9403 | | }; |
9404 | | union { Impl_ _impl_; }; |
9405 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
9406 | | }; |
9407 | | // ------------------------------------------------------------------- |
9408 | | |
9409 | | class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : public ::google::protobuf::Message |
9410 | | /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { |
9411 | | public: |
9412 | 0 | inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {} |
9413 | | ~DescriptorProto_ExtensionRange() override; |
9414 | | template <typename = void> |
9415 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange( |
9416 | | ::google::protobuf::internal::ConstantInitialized); |
9417 | | |
9418 | 0 | inline DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from) : DescriptorProto_ExtensionRange(nullptr, from) {} |
9419 | | inline DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept |
9420 | 0 | : DescriptorProto_ExtensionRange(nullptr, std::move(from)) {} |
9421 | 0 | inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
9422 | 0 | CopyFrom(from); |
9423 | 0 | return *this; |
9424 | 0 | } |
9425 | 0 | inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
9426 | 0 | if (this == &from) return *this; |
9427 | 0 | if (GetArena() == from.GetArena() |
9428 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
9429 | 0 | && GetArena() != nullptr |
9430 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
9431 | 0 | ) { |
9432 | 0 | InternalSwap(&from); |
9433 | 0 | } else { |
9434 | 0 | CopyFrom(from); |
9435 | 0 | } |
9436 | 0 | return *this; |
9437 | 0 | } |
9438 | | |
9439 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9440 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9441 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9442 | 0 | } |
9443 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9444 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9445 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9446 | 0 | } |
9447 | | |
9448 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9449 | 0 | return GetDescriptor(); |
9450 | 0 | } |
9451 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9452 | 0 | return default_instance().GetMetadata().descriptor; |
9453 | 0 | } |
9454 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9455 | 0 | return default_instance().GetMetadata().reflection; |
9456 | 0 | } |
9457 | 0 | static const DescriptorProto_ExtensionRange& default_instance() { |
9458 | 0 | return *internal_default_instance(); |
9459 | 0 | } |
9460 | 0 | static inline const DescriptorProto_ExtensionRange* internal_default_instance() { |
9461 | 0 | return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
9462 | 0 | &_DescriptorProto_ExtensionRange_default_instance_); |
9463 | 0 | } |
9464 | | static constexpr int kIndexInFileMessages = 2; |
9465 | 0 | friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { a.Swap(&b); } |
9466 | 0 | inline void Swap(DescriptorProto_ExtensionRange* other) { |
9467 | 0 | if (other == this) return; |
9468 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
9469 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
9470 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
9471 | 0 | if (GetArena() == other->GetArena()) { |
9472 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
9473 | 0 | InternalSwap(other); |
9474 | 0 | } else { |
9475 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9476 | 0 | } |
9477 | 0 | } |
9478 | 0 | void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) { |
9479 | 0 | if (other == this) return; |
9480 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9481 | 0 | InternalSwap(other); |
9482 | 0 | } |
9483 | | |
9484 | | // implements Message ---------------------------------------------- |
9485 | | |
9486 | 0 | DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena = nullptr) const final { |
9487 | 0 | return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ExtensionRange>(arena); |
9488 | 0 | } |
9489 | | using ::google::protobuf::Message::CopyFrom; |
9490 | | void CopyFrom(const DescriptorProto_ExtensionRange& from); |
9491 | | using ::google::protobuf::Message::MergeFrom; |
9492 | 0 | void MergeFrom(const DescriptorProto_ExtensionRange& from) { DescriptorProto_ExtensionRange::MergeImpl(*this, from); } |
9493 | | |
9494 | | private: |
9495 | | static void MergeImpl( |
9496 | | ::google::protobuf::MessageLite& to_msg, |
9497 | | const ::google::protobuf::MessageLite& from_msg); |
9498 | | |
9499 | | public: |
9500 | 0 | bool IsInitialized() const { |
9501 | 0 | return IsInitializedImpl(*this); |
9502 | 0 | } |
9503 | | |
9504 | | private: |
9505 | | static bool IsInitializedImpl(const MessageLite& msg); |
9506 | | |
9507 | | public: |
9508 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
9509 | | ::size_t ByteSizeLong() const final; |
9510 | | ::uint8_t* _InternalSerialize( |
9511 | | ::uint8_t* target, |
9512 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9513 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9514 | | |
9515 | | private: |
9516 | | void SharedCtor(::google::protobuf::Arena* arena); |
9517 | | void SharedDtor(); |
9518 | | void InternalSwap(DescriptorProto_ExtensionRange* other); |
9519 | | private: |
9520 | | friend class ::google::protobuf::internal::AnyMetadata; |
9521 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto.ExtensionRange"; } |
9522 | | |
9523 | | protected: |
9524 | | explicit DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena); |
9525 | | DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena, const DescriptorProto_ExtensionRange& from); |
9526 | | DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena, DescriptorProto_ExtensionRange&& from) noexcept |
9527 | 0 | : DescriptorProto_ExtensionRange(arena) { |
9528 | 0 | *this = ::std::move(from); |
9529 | 0 | } |
9530 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
9531 | | |
9532 | | public: |
9533 | | ::google::protobuf::Metadata GetMetadata() const; |
9534 | | // nested types ---------------------------------------------------- |
9535 | | |
9536 | | // accessors ------------------------------------------------------- |
9537 | | enum : int { |
9538 | | kOptionsFieldNumber = 3, |
9539 | | kStartFieldNumber = 1, |
9540 | | kEndFieldNumber = 2, |
9541 | | }; |
9542 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
9543 | | bool has_options() const; |
9544 | | void clear_options() ; |
9545 | | const ::google::protobuf::ExtensionRangeOptions& options() const; |
9546 | | PROTOBUF_NODISCARD ::google::protobuf::ExtensionRangeOptions* release_options(); |
9547 | | ::google::protobuf::ExtensionRangeOptions* mutable_options(); |
9548 | | void set_allocated_options(::google::protobuf::ExtensionRangeOptions* value); |
9549 | | void unsafe_arena_set_allocated_options(::google::protobuf::ExtensionRangeOptions* value); |
9550 | | ::google::protobuf::ExtensionRangeOptions* unsafe_arena_release_options(); |
9551 | | |
9552 | | private: |
9553 | | const ::google::protobuf::ExtensionRangeOptions& _internal_options() const; |
9554 | | ::google::protobuf::ExtensionRangeOptions* _internal_mutable_options(); |
9555 | | |
9556 | | public: |
9557 | | // optional int32 start = 1; |
9558 | | bool has_start() const; |
9559 | | void clear_start() ; |
9560 | | ::int32_t start() const; |
9561 | | void set_start(::int32_t value); |
9562 | | |
9563 | | private: |
9564 | | ::int32_t _internal_start() const; |
9565 | | void _internal_set_start(::int32_t value); |
9566 | | |
9567 | | public: |
9568 | | // optional int32 end = 2; |
9569 | | bool has_end() const; |
9570 | | void clear_end() ; |
9571 | | ::int32_t end() const; |
9572 | | void set_end(::int32_t value); |
9573 | | |
9574 | | private: |
9575 | | ::int32_t _internal_end() const; |
9576 | | void _internal_set_end(::int32_t value); |
9577 | | |
9578 | | public: |
9579 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
9580 | | private: |
9581 | | class _Internal; |
9582 | | friend class ::google::protobuf::internal::TcParser; |
9583 | | static const ::google::protobuf::internal::TcParseTable< |
9584 | | 2, 3, 1, |
9585 | | 0, 2> |
9586 | | _table_; |
9587 | | |
9588 | | static constexpr const void* _raw_default_instance_ = |
9589 | | &_DescriptorProto_ExtensionRange_default_instance_; |
9590 | | |
9591 | | friend class ::google::protobuf::MessageLite; |
9592 | | friend class ::google::protobuf::Arena; |
9593 | | template <typename T> |
9594 | | friend class ::google::protobuf::Arena::InternalHelper; |
9595 | | using InternalArenaConstructable_ = void; |
9596 | | using DestructorSkippable_ = void; |
9597 | | struct Impl_ { |
9598 | | inline explicit constexpr Impl_( |
9599 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
9600 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9601 | | ::google::protobuf::Arena* arena); |
9602 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9603 | | ::google::protobuf::Arena* arena, const Impl_& from, |
9604 | | const DescriptorProto_ExtensionRange& from_msg); |
9605 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9606 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9607 | | ::google::protobuf::ExtensionRangeOptions* options_; |
9608 | | ::int32_t start_; |
9609 | | ::int32_t end_; |
9610 | | PROTOBUF_TSAN_DECLARE_MEMBER |
9611 | | }; |
9612 | | union { Impl_ _impl_; }; |
9613 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
9614 | | }; |
9615 | | // ------------------------------------------------------------------- |
9616 | | |
9617 | | class PROTOBUF_EXPORT ServiceDescriptorProto final : public ::google::protobuf::Message |
9618 | | /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { |
9619 | | public: |
9620 | 0 | inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {} |
9621 | | ~ServiceDescriptorProto() override; |
9622 | | template <typename = void> |
9623 | | explicit PROTOBUF_CONSTEXPR ServiceDescriptorProto( |
9624 | | ::google::protobuf::internal::ConstantInitialized); |
9625 | | |
9626 | 0 | inline ServiceDescriptorProto(const ServiceDescriptorProto& from) : ServiceDescriptorProto(nullptr, from) {} |
9627 | | inline ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept |
9628 | 0 | : ServiceDescriptorProto(nullptr, std::move(from)) {} |
9629 | 0 | inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
9630 | 0 | CopyFrom(from); |
9631 | 0 | return *this; |
9632 | 0 | } |
9633 | 0 | inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
9634 | 0 | if (this == &from) return *this; |
9635 | 0 | if (GetArena() == from.GetArena() |
9636 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
9637 | 0 | && GetArena() != nullptr |
9638 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
9639 | 0 | ) { |
9640 | 0 | InternalSwap(&from); |
9641 | 0 | } else { |
9642 | 0 | CopyFrom(from); |
9643 | 0 | } |
9644 | 0 | return *this; |
9645 | 0 | } |
9646 | | |
9647 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9648 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9649 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9650 | 0 | } |
9651 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9652 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9653 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9654 | 0 | } |
9655 | | |
9656 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9657 | 0 | return GetDescriptor(); |
9658 | 0 | } |
9659 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9660 | 0 | return default_instance().GetMetadata().descriptor; |
9661 | 0 | } |
9662 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9663 | 0 | return default_instance().GetMetadata().reflection; |
9664 | 0 | } |
9665 | 0 | static const ServiceDescriptorProto& default_instance() { |
9666 | 0 | return *internal_default_instance(); |
9667 | 0 | } |
9668 | 0 | static inline const ServiceDescriptorProto* internal_default_instance() { |
9669 | 0 | return reinterpret_cast<const ServiceDescriptorProto*>( |
9670 | 0 | &_ServiceDescriptorProto_default_instance_); |
9671 | 0 | } |
9672 | | static constexpr int kIndexInFileMessages = 12; |
9673 | 0 | friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { a.Swap(&b); } |
9674 | 0 | inline void Swap(ServiceDescriptorProto* other) { |
9675 | 0 | if (other == this) return; |
9676 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
9677 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
9678 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
9679 | 0 | if (GetArena() == other->GetArena()) { |
9680 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
9681 | 0 | InternalSwap(other); |
9682 | 0 | } else { |
9683 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9684 | 0 | } |
9685 | 0 | } |
9686 | 0 | void UnsafeArenaSwap(ServiceDescriptorProto* other) { |
9687 | 0 | if (other == this) return; |
9688 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9689 | 0 | InternalSwap(other); |
9690 | 0 | } |
9691 | | |
9692 | | // implements Message ---------------------------------------------- |
9693 | | |
9694 | 0 | ServiceDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
9695 | 0 | return ::google::protobuf::Message::DefaultConstruct<ServiceDescriptorProto>(arena); |
9696 | 0 | } |
9697 | | using ::google::protobuf::Message::CopyFrom; |
9698 | | void CopyFrom(const ServiceDescriptorProto& from); |
9699 | | using ::google::protobuf::Message::MergeFrom; |
9700 | 0 | void MergeFrom(const ServiceDescriptorProto& from) { ServiceDescriptorProto::MergeImpl(*this, from); } |
9701 | | |
9702 | | private: |
9703 | | static void MergeImpl( |
9704 | | ::google::protobuf::MessageLite& to_msg, |
9705 | | const ::google::protobuf::MessageLite& from_msg); |
9706 | | |
9707 | | public: |
9708 | 0 | bool IsInitialized() const { |
9709 | 0 | return IsInitializedImpl(*this); |
9710 | 0 | } |
9711 | | |
9712 | | private: |
9713 | | static bool IsInitializedImpl(const MessageLite& msg); |
9714 | | |
9715 | | public: |
9716 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
9717 | | ::size_t ByteSizeLong() const final; |
9718 | | ::uint8_t* _InternalSerialize( |
9719 | | ::uint8_t* target, |
9720 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9721 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9722 | | |
9723 | | private: |
9724 | | void SharedCtor(::google::protobuf::Arena* arena); |
9725 | | void SharedDtor(); |
9726 | | void InternalSwap(ServiceDescriptorProto* other); |
9727 | | private: |
9728 | | friend class ::google::protobuf::internal::AnyMetadata; |
9729 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.ServiceDescriptorProto"; } |
9730 | | |
9731 | | protected: |
9732 | | explicit ServiceDescriptorProto(::google::protobuf::Arena* arena); |
9733 | | ServiceDescriptorProto(::google::protobuf::Arena* arena, const ServiceDescriptorProto& from); |
9734 | | ServiceDescriptorProto(::google::protobuf::Arena* arena, ServiceDescriptorProto&& from) noexcept |
9735 | 0 | : ServiceDescriptorProto(arena) { |
9736 | 0 | *this = ::std::move(from); |
9737 | 0 | } |
9738 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
9739 | | |
9740 | | public: |
9741 | | ::google::protobuf::Metadata GetMetadata() const; |
9742 | | // nested types ---------------------------------------------------- |
9743 | | |
9744 | | // accessors ------------------------------------------------------- |
9745 | | enum : int { |
9746 | | kMethodFieldNumber = 2, |
9747 | | kNameFieldNumber = 1, |
9748 | | kOptionsFieldNumber = 3, |
9749 | | }; |
9750 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
9751 | | int method_size() const; |
9752 | | private: |
9753 | | int _internal_method_size() const; |
9754 | | |
9755 | | public: |
9756 | | void clear_method() ; |
9757 | | ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
9758 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* mutable_method(); |
9759 | | |
9760 | | private: |
9761 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& _internal_method() const; |
9762 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* _internal_mutable_method(); |
9763 | | public: |
9764 | | const ::google::protobuf::MethodDescriptorProto& method(int index) const; |
9765 | | ::google::protobuf::MethodDescriptorProto* add_method(); |
9766 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& method() const; |
9767 | | // optional string name = 1; |
9768 | | bool has_name() const; |
9769 | | void clear_name() ; |
9770 | | const std::string& name() const; |
9771 | | template <typename Arg_ = const std::string&, typename... Args_> |
9772 | | void set_name(Arg_&& arg, Args_... args); |
9773 | | std::string* mutable_name(); |
9774 | | PROTOBUF_NODISCARD std::string* release_name(); |
9775 | | void set_allocated_name(std::string* value); |
9776 | | |
9777 | | private: |
9778 | | const std::string& _internal_name() const; |
9779 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
9780 | | const std::string& value); |
9781 | | std::string* _internal_mutable_name(); |
9782 | | |
9783 | | public: |
9784 | | // optional .google.protobuf.ServiceOptions options = 3; |
9785 | | bool has_options() const; |
9786 | | void clear_options() ; |
9787 | | const ::google::protobuf::ServiceOptions& options() const; |
9788 | | PROTOBUF_NODISCARD ::google::protobuf::ServiceOptions* release_options(); |
9789 | | ::google::protobuf::ServiceOptions* mutable_options(); |
9790 | | void set_allocated_options(::google::protobuf::ServiceOptions* value); |
9791 | | void unsafe_arena_set_allocated_options(::google::protobuf::ServiceOptions* value); |
9792 | | ::google::protobuf::ServiceOptions* unsafe_arena_release_options(); |
9793 | | |
9794 | | private: |
9795 | | const ::google::protobuf::ServiceOptions& _internal_options() const; |
9796 | | ::google::protobuf::ServiceOptions* _internal_mutable_options(); |
9797 | | |
9798 | | public: |
9799 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
9800 | | private: |
9801 | | class _Internal; |
9802 | | friend class ::google::protobuf::internal::TcParser; |
9803 | | static const ::google::protobuf::internal::TcParseTable< |
9804 | | 2, 3, 2, |
9805 | | 51, 2> |
9806 | | _table_; |
9807 | | |
9808 | | static constexpr const void* _raw_default_instance_ = |
9809 | | &_ServiceDescriptorProto_default_instance_; |
9810 | | |
9811 | | friend class ::google::protobuf::MessageLite; |
9812 | | friend class ::google::protobuf::Arena; |
9813 | | template <typename T> |
9814 | | friend class ::google::protobuf::Arena::InternalHelper; |
9815 | | using InternalArenaConstructable_ = void; |
9816 | | using DestructorSkippable_ = void; |
9817 | | struct Impl_ { |
9818 | | inline explicit constexpr Impl_( |
9819 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
9820 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9821 | | ::google::protobuf::Arena* arena); |
9822 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9823 | | ::google::protobuf::Arena* arena, const Impl_& from, |
9824 | | const ServiceDescriptorProto& from_msg); |
9825 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9826 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9827 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_; |
9828 | | ::google::protobuf::internal::ArenaStringPtr name_; |
9829 | | ::google::protobuf::ServiceOptions* options_; |
9830 | | PROTOBUF_TSAN_DECLARE_MEMBER |
9831 | | }; |
9832 | | union { Impl_ _impl_; }; |
9833 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
9834 | | }; |
9835 | | // ------------------------------------------------------------------- |
9836 | | |
9837 | | class PROTOBUF_EXPORT EnumDescriptorProto final : public ::google::protobuf::Message |
9838 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { |
9839 | | public: |
9840 | 0 | inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} |
9841 | | ~EnumDescriptorProto() override; |
9842 | | template <typename = void> |
9843 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto( |
9844 | | ::google::protobuf::internal::ConstantInitialized); |
9845 | | |
9846 | 0 | inline EnumDescriptorProto(const EnumDescriptorProto& from) : EnumDescriptorProto(nullptr, from) {} |
9847 | | inline EnumDescriptorProto(EnumDescriptorProto&& from) noexcept |
9848 | 0 | : EnumDescriptorProto(nullptr, std::move(from)) {} |
9849 | 0 | inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
9850 | 0 | CopyFrom(from); |
9851 | 0 | return *this; |
9852 | 0 | } |
9853 | 0 | inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
9854 | 0 | if (this == &from) return *this; |
9855 | 0 | if (GetArena() == from.GetArena() |
9856 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
9857 | 0 | && GetArena() != nullptr |
9858 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
9859 | 0 | ) { |
9860 | 0 | InternalSwap(&from); |
9861 | 0 | } else { |
9862 | 0 | CopyFrom(from); |
9863 | 0 | } |
9864 | 0 | return *this; |
9865 | 0 | } |
9866 | | |
9867 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9868 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9869 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9870 | 0 | } |
9871 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9872 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9873 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9874 | 0 | } |
9875 | | |
9876 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9877 | 0 | return GetDescriptor(); |
9878 | 0 | } |
9879 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9880 | 0 | return default_instance().GetMetadata().descriptor; |
9881 | 0 | } |
9882 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9883 | 0 | return default_instance().GetMetadata().reflection; |
9884 | 0 | } |
9885 | 0 | static const EnumDescriptorProto& default_instance() { |
9886 | 0 | return *internal_default_instance(); |
9887 | 0 | } |
9888 | 0 | static inline const EnumDescriptorProto* internal_default_instance() { |
9889 | 0 | return reinterpret_cast<const EnumDescriptorProto*>( |
9890 | 0 | &_EnumDescriptorProto_default_instance_); |
9891 | 0 | } |
9892 | | static constexpr int kIndexInFileMessages = 10; |
9893 | 0 | friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { a.Swap(&b); } |
9894 | 0 | inline void Swap(EnumDescriptorProto* other) { |
9895 | 0 | if (other == this) return; |
9896 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
9897 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
9898 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
9899 | 0 | if (GetArena() == other->GetArena()) { |
9900 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
9901 | 0 | InternalSwap(other); |
9902 | 0 | } else { |
9903 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9904 | 0 | } |
9905 | 0 | } |
9906 | 0 | void UnsafeArenaSwap(EnumDescriptorProto* other) { |
9907 | 0 | if (other == this) return; |
9908 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9909 | 0 | InternalSwap(other); |
9910 | 0 | } |
9911 | | |
9912 | | // implements Message ---------------------------------------------- |
9913 | | |
9914 | 0 | EnumDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
9915 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto>(arena); |
9916 | 0 | } |
9917 | | using ::google::protobuf::Message::CopyFrom; |
9918 | | void CopyFrom(const EnumDescriptorProto& from); |
9919 | | using ::google::protobuf::Message::MergeFrom; |
9920 | 0 | void MergeFrom(const EnumDescriptorProto& from) { EnumDescriptorProto::MergeImpl(*this, from); } |
9921 | | |
9922 | | private: |
9923 | | static void MergeImpl( |
9924 | | ::google::protobuf::MessageLite& to_msg, |
9925 | | const ::google::protobuf::MessageLite& from_msg); |
9926 | | |
9927 | | public: |
9928 | 0 | bool IsInitialized() const { |
9929 | 0 | return IsInitializedImpl(*this); |
9930 | 0 | } |
9931 | | |
9932 | | private: |
9933 | | static bool IsInitializedImpl(const MessageLite& msg); |
9934 | | |
9935 | | public: |
9936 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
9937 | | ::size_t ByteSizeLong() const final; |
9938 | | ::uint8_t* _InternalSerialize( |
9939 | | ::uint8_t* target, |
9940 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9941 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9942 | | |
9943 | | private: |
9944 | | void SharedCtor(::google::protobuf::Arena* arena); |
9945 | | void SharedDtor(); |
9946 | | void InternalSwap(EnumDescriptorProto* other); |
9947 | | private: |
9948 | | friend class ::google::protobuf::internal::AnyMetadata; |
9949 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumDescriptorProto"; } |
9950 | | |
9951 | | protected: |
9952 | | explicit EnumDescriptorProto(::google::protobuf::Arena* arena); |
9953 | | EnumDescriptorProto(::google::protobuf::Arena* arena, const EnumDescriptorProto& from); |
9954 | | EnumDescriptorProto(::google::protobuf::Arena* arena, EnumDescriptorProto&& from) noexcept |
9955 | 0 | : EnumDescriptorProto(arena) { |
9956 | 0 | *this = ::std::move(from); |
9957 | 0 | } |
9958 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
9959 | | |
9960 | | public: |
9961 | | ::google::protobuf::Metadata GetMetadata() const; |
9962 | | // nested types ---------------------------------------------------- |
9963 | | using EnumReservedRange = EnumDescriptorProto_EnumReservedRange; |
9964 | | |
9965 | | // accessors ------------------------------------------------------- |
9966 | | enum : int { |
9967 | | kValueFieldNumber = 2, |
9968 | | kReservedRangeFieldNumber = 4, |
9969 | | kReservedNameFieldNumber = 5, |
9970 | | kNameFieldNumber = 1, |
9971 | | kOptionsFieldNumber = 3, |
9972 | | }; |
9973 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
9974 | | int value_size() const; |
9975 | | private: |
9976 | | int _internal_value_size() const; |
9977 | | |
9978 | | public: |
9979 | | void clear_value() ; |
9980 | | ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
9981 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* mutable_value(); |
9982 | | |
9983 | | private: |
9984 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& _internal_value() const; |
9985 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* _internal_mutable_value(); |
9986 | | public: |
9987 | | const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; |
9988 | | ::google::protobuf::EnumValueDescriptorProto* add_value(); |
9989 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& value() const; |
9990 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
9991 | | int reserved_range_size() const; |
9992 | | private: |
9993 | | int _internal_reserved_range_size() const; |
9994 | | |
9995 | | public: |
9996 | | void clear_reserved_range() ; |
9997 | | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); |
9998 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* mutable_reserved_range(); |
9999 | | |
10000 | | private: |
10001 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& _internal_reserved_range() const; |
10002 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* _internal_mutable_reserved_range(); |
10003 | | public: |
10004 | | const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; |
10005 | | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); |
10006 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& reserved_range() const; |
10007 | | // repeated string reserved_name = 5; |
10008 | | int reserved_name_size() const; |
10009 | | private: |
10010 | | int _internal_reserved_name_size() const; |
10011 | | |
10012 | | public: |
10013 | | void clear_reserved_name() ; |
10014 | | const std::string& reserved_name(int index) const; |
10015 | | std::string* mutable_reserved_name(int index); |
10016 | | void set_reserved_name(int index, const std::string& value); |
10017 | | void set_reserved_name(int index, std::string&& value); |
10018 | | void set_reserved_name(int index, const char* value); |
10019 | | void set_reserved_name(int index, const char* value, std::size_t size); |
10020 | | void set_reserved_name(int index, absl::string_view value); |
10021 | | std::string* add_reserved_name(); |
10022 | | void add_reserved_name(const std::string& value); |
10023 | | void add_reserved_name(std::string&& value); |
10024 | | void add_reserved_name(const char* value); |
10025 | | void add_reserved_name(const char* value, std::size_t size); |
10026 | | void add_reserved_name(absl::string_view value); |
10027 | | const ::google::protobuf::RepeatedPtrField<std::string>& reserved_name() const; |
10028 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_reserved_name(); |
10029 | | |
10030 | | private: |
10031 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_reserved_name() const; |
10032 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_reserved_name(); |
10033 | | |
10034 | | public: |
10035 | | // optional string name = 1; |
10036 | | bool has_name() const; |
10037 | | void clear_name() ; |
10038 | | const std::string& name() const; |
10039 | | template <typename Arg_ = const std::string&, typename... Args_> |
10040 | | void set_name(Arg_&& arg, Args_... args); |
10041 | | std::string* mutable_name(); |
10042 | | PROTOBUF_NODISCARD std::string* release_name(); |
10043 | | void set_allocated_name(std::string* value); |
10044 | | |
10045 | | private: |
10046 | | const std::string& _internal_name() const; |
10047 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
10048 | | const std::string& value); |
10049 | | std::string* _internal_mutable_name(); |
10050 | | |
10051 | | public: |
10052 | | // optional .google.protobuf.EnumOptions options = 3; |
10053 | | bool has_options() const; |
10054 | | void clear_options() ; |
10055 | | const ::google::protobuf::EnumOptions& options() const; |
10056 | | PROTOBUF_NODISCARD ::google::protobuf::EnumOptions* release_options(); |
10057 | | ::google::protobuf::EnumOptions* mutable_options(); |
10058 | | void set_allocated_options(::google::protobuf::EnumOptions* value); |
10059 | | void unsafe_arena_set_allocated_options(::google::protobuf::EnumOptions* value); |
10060 | | ::google::protobuf::EnumOptions* unsafe_arena_release_options(); |
10061 | | |
10062 | | private: |
10063 | | const ::google::protobuf::EnumOptions& _internal_options() const; |
10064 | | ::google::protobuf::EnumOptions* _internal_mutable_options(); |
10065 | | |
10066 | | public: |
10067 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
10068 | | private: |
10069 | | class _Internal; |
10070 | | friend class ::google::protobuf::internal::TcParser; |
10071 | | static const ::google::protobuf::internal::TcParseTable< |
10072 | | 3, 5, 3, |
10073 | | 61, 2> |
10074 | | _table_; |
10075 | | |
10076 | | static constexpr const void* _raw_default_instance_ = |
10077 | | &_EnumDescriptorProto_default_instance_; |
10078 | | |
10079 | | friend class ::google::protobuf::MessageLite; |
10080 | | friend class ::google::protobuf::Arena; |
10081 | | template <typename T> |
10082 | | friend class ::google::protobuf::Arena::InternalHelper; |
10083 | | using InternalArenaConstructable_ = void; |
10084 | | using DestructorSkippable_ = void; |
10085 | | struct Impl_ { |
10086 | | inline explicit constexpr Impl_( |
10087 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10088 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10089 | | ::google::protobuf::Arena* arena); |
10090 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10091 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10092 | | const EnumDescriptorProto& from_msg); |
10093 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10094 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10095 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_; |
10096 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange > reserved_range_; |
10097 | | ::google::protobuf::RepeatedPtrField<std::string> reserved_name_; |
10098 | | ::google::protobuf::internal::ArenaStringPtr name_; |
10099 | | ::google::protobuf::EnumOptions* options_; |
10100 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10101 | | }; |
10102 | | union { Impl_ _impl_; }; |
10103 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10104 | | }; |
10105 | | // ------------------------------------------------------------------- |
10106 | | |
10107 | | class PROTOBUF_EXPORT DescriptorProto final : public ::google::protobuf::Message |
10108 | | /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
10109 | | public: |
10110 | 0 | inline DescriptorProto() : DescriptorProto(nullptr) {} |
10111 | | ~DescriptorProto() override; |
10112 | | template <typename = void> |
10113 | | explicit PROTOBUF_CONSTEXPR DescriptorProto( |
10114 | | ::google::protobuf::internal::ConstantInitialized); |
10115 | | |
10116 | 0 | inline DescriptorProto(const DescriptorProto& from) : DescriptorProto(nullptr, from) {} |
10117 | | inline DescriptorProto(DescriptorProto&& from) noexcept |
10118 | 0 | : DescriptorProto(nullptr, std::move(from)) {} |
10119 | 0 | inline DescriptorProto& operator=(const DescriptorProto& from) { |
10120 | 0 | CopyFrom(from); |
10121 | 0 | return *this; |
10122 | 0 | } |
10123 | 0 | inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
10124 | 0 | if (this == &from) return *this; |
10125 | 0 | if (GetArena() == from.GetArena() |
10126 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
10127 | 0 | && GetArena() != nullptr |
10128 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
10129 | 0 | ) { |
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& default_instance() { |
10156 | 0 | return *internal_default_instance(); |
10157 | 0 | } |
10158 | 0 | static inline const DescriptorProto* internal_default_instance() { |
10159 | 0 | return reinterpret_cast<const DescriptorProto*>( |
10160 | 0 | &_DescriptorProto_default_instance_); |
10161 | 0 | } |
10162 | | static constexpr int kIndexInFileMessages = 4; |
10163 | 0 | friend void swap(DescriptorProto& a, DescriptorProto& b) { a.Swap(&b); } |
10164 | 0 | inline void Swap(DescriptorProto* other) { |
10165 | 0 | if (other == this) return; |
10166 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
10167 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
10168 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
10169 | 0 | if (GetArena() == other->GetArena()) { |
10170 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
10171 | 0 | InternalSwap(other); |
10172 | 0 | } else { |
10173 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10174 | 0 | } |
10175 | 0 | } |
10176 | 0 | void UnsafeArenaSwap(DescriptorProto* other) { |
10177 | 0 | if (other == this) return; |
10178 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10179 | 0 | InternalSwap(other); |
10180 | 0 | } |
10181 | | |
10182 | | // implements Message ---------------------------------------------- |
10183 | | |
10184 | 0 | DescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
10185 | 0 | return ::google::protobuf::Message::DefaultConstruct<DescriptorProto>(arena); |
10186 | 0 | } |
10187 | | using ::google::protobuf::Message::CopyFrom; |
10188 | | void CopyFrom(const DescriptorProto& from); |
10189 | | using ::google::protobuf::Message::MergeFrom; |
10190 | 0 | void MergeFrom(const DescriptorProto& from) { DescriptorProto::MergeImpl(*this, from); } |
10191 | | |
10192 | | private: |
10193 | | static void MergeImpl( |
10194 | | ::google::protobuf::MessageLite& to_msg, |
10195 | | const ::google::protobuf::MessageLite& from_msg); |
10196 | | |
10197 | | public: |
10198 | 0 | bool IsInitialized() const { |
10199 | 0 | return IsInitializedImpl(*this); |
10200 | 0 | } |
10201 | | |
10202 | | private: |
10203 | | static bool IsInitializedImpl(const MessageLite& msg); |
10204 | | |
10205 | | public: |
10206 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
10207 | | ::size_t ByteSizeLong() const final; |
10208 | | ::uint8_t* _InternalSerialize( |
10209 | | ::uint8_t* target, |
10210 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10211 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10212 | | |
10213 | | private: |
10214 | | void SharedCtor(::google::protobuf::Arena* arena); |
10215 | | void SharedDtor(); |
10216 | | void InternalSwap(DescriptorProto* other); |
10217 | | private: |
10218 | | friend class ::google::protobuf::internal::AnyMetadata; |
10219 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto"; } |
10220 | | |
10221 | | protected: |
10222 | | explicit DescriptorProto(::google::protobuf::Arena* arena); |
10223 | | DescriptorProto(::google::protobuf::Arena* arena, const DescriptorProto& from); |
10224 | | DescriptorProto(::google::protobuf::Arena* arena, DescriptorProto&& from) noexcept |
10225 | 0 | : DescriptorProto(arena) { |
10226 | 0 | *this = ::std::move(from); |
10227 | 0 | } |
10228 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
10229 | | |
10230 | | public: |
10231 | | ::google::protobuf::Metadata GetMetadata() const; |
10232 | | // nested types ---------------------------------------------------- |
10233 | | using ExtensionRange = DescriptorProto_ExtensionRange; |
10234 | | using ReservedRange = DescriptorProto_ReservedRange; |
10235 | | |
10236 | | // accessors ------------------------------------------------------- |
10237 | | enum : int { |
10238 | | kFieldFieldNumber = 2, |
10239 | | kNestedTypeFieldNumber = 3, |
10240 | | kEnumTypeFieldNumber = 4, |
10241 | | kExtensionRangeFieldNumber = 5, |
10242 | | kExtensionFieldNumber = 6, |
10243 | | kOneofDeclFieldNumber = 8, |
10244 | | kReservedRangeFieldNumber = 9, |
10245 | | kReservedNameFieldNumber = 10, |
10246 | | kNameFieldNumber = 1, |
10247 | | kOptionsFieldNumber = 7, |
10248 | | }; |
10249 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
10250 | | int field_size() const; |
10251 | | private: |
10252 | | int _internal_field_size() const; |
10253 | | |
10254 | | public: |
10255 | | void clear_field() ; |
10256 | | ::google::protobuf::FieldDescriptorProto* mutable_field(int index); |
10257 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* mutable_field(); |
10258 | | |
10259 | | private: |
10260 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_field() const; |
10261 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* _internal_mutable_field(); |
10262 | | public: |
10263 | | const ::google::protobuf::FieldDescriptorProto& field(int index) const; |
10264 | | ::google::protobuf::FieldDescriptorProto* add_field(); |
10265 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& field() const; |
10266 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
10267 | | int nested_type_size() const; |
10268 | | private: |
10269 | | int _internal_nested_type_size() const; |
10270 | | |
10271 | | public: |
10272 | | void clear_nested_type() ; |
10273 | | ::google::protobuf::DescriptorProto* mutable_nested_type(int index); |
10274 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* mutable_nested_type(); |
10275 | | |
10276 | | private: |
10277 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& _internal_nested_type() const; |
10278 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* _internal_mutable_nested_type(); |
10279 | | public: |
10280 | | const ::google::protobuf::DescriptorProto& nested_type(int index) const; |
10281 | | ::google::protobuf::DescriptorProto* add_nested_type(); |
10282 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& nested_type() const; |
10283 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
10284 | | int enum_type_size() const; |
10285 | | private: |
10286 | | int _internal_enum_type_size() const; |
10287 | | |
10288 | | public: |
10289 | | void clear_enum_type() ; |
10290 | | ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
10291 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* mutable_enum_type(); |
10292 | | |
10293 | | private: |
10294 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& _internal_enum_type() const; |
10295 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* _internal_mutable_enum_type(); |
10296 | | public: |
10297 | | const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
10298 | | ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
10299 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& enum_type() const; |
10300 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
10301 | | int extension_range_size() const; |
10302 | | private: |
10303 | | int _internal_extension_range_size() const; |
10304 | | |
10305 | | public: |
10306 | | void clear_extension_range() ; |
10307 | | ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
10308 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* mutable_extension_range(); |
10309 | | |
10310 | | private: |
10311 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& _internal_extension_range() const; |
10312 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* _internal_mutable_extension_range(); |
10313 | | public: |
10314 | | const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const; |
10315 | | ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range(); |
10316 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& extension_range() const; |
10317 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
10318 | | int extension_size() const; |
10319 | | private: |
10320 | | int _internal_extension_size() const; |
10321 | | |
10322 | | public: |
10323 | | void clear_extension() ; |
10324 | | ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
10325 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* mutable_extension(); |
10326 | | |
10327 | | private: |
10328 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_extension() const; |
10329 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* _internal_mutable_extension(); |
10330 | | public: |
10331 | | const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
10332 | | ::google::protobuf::FieldDescriptorProto* add_extension(); |
10333 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& extension() const; |
10334 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
10335 | | int oneof_decl_size() const; |
10336 | | private: |
10337 | | int _internal_oneof_decl_size() const; |
10338 | | |
10339 | | public: |
10340 | | void clear_oneof_decl() ; |
10341 | | ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index); |
10342 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* mutable_oneof_decl(); |
10343 | | |
10344 | | private: |
10345 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& _internal_oneof_decl() const; |
10346 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* _internal_mutable_oneof_decl(); |
10347 | | public: |
10348 | | const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const; |
10349 | | ::google::protobuf::OneofDescriptorProto* add_oneof_decl(); |
10350 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& oneof_decl() const; |
10351 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
10352 | | int reserved_range_size() const; |
10353 | | private: |
10354 | | int _internal_reserved_range_size() const; |
10355 | | |
10356 | | public: |
10357 | | void clear_reserved_range() ; |
10358 | | ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int index); |
10359 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* mutable_reserved_range(); |
10360 | | |
10361 | | private: |
10362 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& _internal_reserved_range() const; |
10363 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* _internal_mutable_reserved_range(); |
10364 | | public: |
10365 | | const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const; |
10366 | | ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range(); |
10367 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& reserved_range() const; |
10368 | | // repeated string reserved_name = 10; |
10369 | | int reserved_name_size() const; |
10370 | | private: |
10371 | | int _internal_reserved_name_size() const; |
10372 | | |
10373 | | public: |
10374 | | void clear_reserved_name() ; |
10375 | | const std::string& reserved_name(int index) const; |
10376 | | std::string* mutable_reserved_name(int index); |
10377 | | void set_reserved_name(int index, const std::string& value); |
10378 | | void set_reserved_name(int index, std::string&& value); |
10379 | | void set_reserved_name(int index, const char* value); |
10380 | | void set_reserved_name(int index, const char* value, std::size_t size); |
10381 | | void set_reserved_name(int index, absl::string_view value); |
10382 | | std::string* add_reserved_name(); |
10383 | | void add_reserved_name(const std::string& value); |
10384 | | void add_reserved_name(std::string&& value); |
10385 | | void add_reserved_name(const char* value); |
10386 | | void add_reserved_name(const char* value, std::size_t size); |
10387 | | void add_reserved_name(absl::string_view value); |
10388 | | const ::google::protobuf::RepeatedPtrField<std::string>& reserved_name() const; |
10389 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_reserved_name(); |
10390 | | |
10391 | | private: |
10392 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_reserved_name() const; |
10393 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_reserved_name(); |
10394 | | |
10395 | | public: |
10396 | | // optional string name = 1; |
10397 | | bool has_name() const; |
10398 | | void clear_name() ; |
10399 | | const std::string& name() const; |
10400 | | template <typename Arg_ = const std::string&, typename... Args_> |
10401 | | void set_name(Arg_&& arg, Args_... args); |
10402 | | std::string* mutable_name(); |
10403 | | PROTOBUF_NODISCARD std::string* release_name(); |
10404 | | void set_allocated_name(std::string* value); |
10405 | | |
10406 | | private: |
10407 | | const std::string& _internal_name() const; |
10408 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
10409 | | const std::string& value); |
10410 | | std::string* _internal_mutable_name(); |
10411 | | |
10412 | | public: |
10413 | | // optional .google.protobuf.MessageOptions options = 7; |
10414 | | bool has_options() const; |
10415 | | void clear_options() ; |
10416 | | const ::google::protobuf::MessageOptions& options() const; |
10417 | | PROTOBUF_NODISCARD ::google::protobuf::MessageOptions* release_options(); |
10418 | | ::google::protobuf::MessageOptions* mutable_options(); |
10419 | | void set_allocated_options(::google::protobuf::MessageOptions* value); |
10420 | | void unsafe_arena_set_allocated_options(::google::protobuf::MessageOptions* value); |
10421 | | ::google::protobuf::MessageOptions* unsafe_arena_release_options(); |
10422 | | |
10423 | | private: |
10424 | | const ::google::protobuf::MessageOptions& _internal_options() const; |
10425 | | ::google::protobuf::MessageOptions* _internal_mutable_options(); |
10426 | | |
10427 | | public: |
10428 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
10429 | | private: |
10430 | | class _Internal; |
10431 | | friend class ::google::protobuf::internal::TcParser; |
10432 | | static const ::google::protobuf::internal::TcParseTable< |
10433 | | 4, 10, 8, |
10434 | | 65, 2> |
10435 | | _table_; |
10436 | | |
10437 | | static constexpr const void* _raw_default_instance_ = |
10438 | | &_DescriptorProto_default_instance_; |
10439 | | |
10440 | | friend class ::google::protobuf::MessageLite; |
10441 | | friend class ::google::protobuf::Arena; |
10442 | | template <typename T> |
10443 | | friend class ::google::protobuf::Arena::InternalHelper; |
10444 | | using InternalArenaConstructable_ = void; |
10445 | | using DestructorSkippable_ = void; |
10446 | | struct Impl_ { |
10447 | | inline explicit constexpr Impl_( |
10448 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10449 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10450 | | ::google::protobuf::Arena* arena); |
10451 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10452 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10453 | | const DescriptorProto& from_msg); |
10454 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10455 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10456 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_; |
10457 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_; |
10458 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
10459 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_; |
10460 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
10461 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_; |
10462 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_; |
10463 | | ::google::protobuf::RepeatedPtrField<std::string> reserved_name_; |
10464 | | ::google::protobuf::internal::ArenaStringPtr name_; |
10465 | | ::google::protobuf::MessageOptions* options_; |
10466 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10467 | | }; |
10468 | | union { Impl_ _impl_; }; |
10469 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10470 | | }; |
10471 | | // ------------------------------------------------------------------- |
10472 | | |
10473 | | class PROTOBUF_EXPORT FileDescriptorProto final : public ::google::protobuf::Message |
10474 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { |
10475 | | public: |
10476 | 0 | inline FileDescriptorProto() : FileDescriptorProto(nullptr) {} |
10477 | | ~FileDescriptorProto() override; |
10478 | | template <typename = void> |
10479 | | explicit PROTOBUF_CONSTEXPR FileDescriptorProto( |
10480 | | ::google::protobuf::internal::ConstantInitialized); |
10481 | | |
10482 | 0 | inline FileDescriptorProto(const FileDescriptorProto& from) : FileDescriptorProto(nullptr, from) {} |
10483 | | inline FileDescriptorProto(FileDescriptorProto&& from) noexcept |
10484 | 0 | : FileDescriptorProto(nullptr, std::move(from)) {} |
10485 | 0 | inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
10486 | 0 | CopyFrom(from); |
10487 | 0 | return *this; |
10488 | 0 | } |
10489 | 0 | inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
10490 | 0 | if (this == &from) return *this; |
10491 | 0 | if (GetArena() == from.GetArena() |
10492 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
10493 | 0 | && GetArena() != nullptr |
10494 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
10495 | 0 | ) { |
10496 | 0 | InternalSwap(&from); |
10497 | 0 | } else { |
10498 | 0 | CopyFrom(from); |
10499 | 0 | } |
10500 | 0 | return *this; |
10501 | 0 | } |
10502 | | |
10503 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
10504 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10505 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
10506 | 0 | } |
10507 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
10508 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10509 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
10510 | 0 | } |
10511 | | |
10512 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
10513 | 0 | return GetDescriptor(); |
10514 | 0 | } |
10515 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
10516 | 0 | return default_instance().GetMetadata().descriptor; |
10517 | 0 | } |
10518 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
10519 | 0 | return default_instance().GetMetadata().reflection; |
10520 | 0 | } |
10521 | 0 | static const FileDescriptorProto& default_instance() { |
10522 | 0 | return *internal_default_instance(); |
10523 | 0 | } |
10524 | 0 | static inline const FileDescriptorProto* internal_default_instance() { |
10525 | 0 | return reinterpret_cast<const FileDescriptorProto*>( |
10526 | 0 | &_FileDescriptorProto_default_instance_); |
10527 | 0 | } |
10528 | | static constexpr int kIndexInFileMessages = 1; |
10529 | 0 | friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { a.Swap(&b); } |
10530 | 0 | inline void Swap(FileDescriptorProto* other) { |
10531 | 0 | if (other == this) return; |
10532 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
10533 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
10534 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
10535 | 0 | if (GetArena() == other->GetArena()) { |
10536 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
10537 | 0 | InternalSwap(other); |
10538 | 0 | } else { |
10539 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10540 | 0 | } |
10541 | 0 | } |
10542 | 0 | void UnsafeArenaSwap(FileDescriptorProto* other) { |
10543 | 0 | if (other == this) return; |
10544 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10545 | 0 | InternalSwap(other); |
10546 | 0 | } |
10547 | | |
10548 | | // implements Message ---------------------------------------------- |
10549 | | |
10550 | 0 | FileDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const final { |
10551 | 0 | return ::google::protobuf::Message::DefaultConstruct<FileDescriptorProto>(arena); |
10552 | 0 | } |
10553 | | using ::google::protobuf::Message::CopyFrom; |
10554 | | void CopyFrom(const FileDescriptorProto& from); |
10555 | | using ::google::protobuf::Message::MergeFrom; |
10556 | 0 | void MergeFrom(const FileDescriptorProto& from) { FileDescriptorProto::MergeImpl(*this, from); } |
10557 | | |
10558 | | private: |
10559 | | static void MergeImpl( |
10560 | | ::google::protobuf::MessageLite& to_msg, |
10561 | | const ::google::protobuf::MessageLite& from_msg); |
10562 | | |
10563 | | public: |
10564 | 0 | bool IsInitialized() const { |
10565 | 0 | return IsInitializedImpl(*this); |
10566 | 0 | } |
10567 | | |
10568 | | private: |
10569 | | static bool IsInitializedImpl(const MessageLite& msg); |
10570 | | |
10571 | | public: |
10572 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
10573 | | ::size_t ByteSizeLong() const final; |
10574 | | ::uint8_t* _InternalSerialize( |
10575 | | ::uint8_t* target, |
10576 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10577 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10578 | | |
10579 | | private: |
10580 | | void SharedCtor(::google::protobuf::Arena* arena); |
10581 | | void SharedDtor(); |
10582 | | void InternalSwap(FileDescriptorProto* other); |
10583 | | private: |
10584 | | friend class ::google::protobuf::internal::AnyMetadata; |
10585 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FileDescriptorProto"; } |
10586 | | |
10587 | | protected: |
10588 | | explicit FileDescriptorProto(::google::protobuf::Arena* arena); |
10589 | | FileDescriptorProto(::google::protobuf::Arena* arena, const FileDescriptorProto& from); |
10590 | | FileDescriptorProto(::google::protobuf::Arena* arena, FileDescriptorProto&& from) noexcept |
10591 | 0 | : FileDescriptorProto(arena) { |
10592 | 0 | *this = ::std::move(from); |
10593 | 0 | } |
10594 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
10595 | | |
10596 | | public: |
10597 | | ::google::protobuf::Metadata GetMetadata() const; |
10598 | | // nested types ---------------------------------------------------- |
10599 | | |
10600 | | // accessors ------------------------------------------------------- |
10601 | | enum : int { |
10602 | | kDependencyFieldNumber = 3, |
10603 | | kMessageTypeFieldNumber = 4, |
10604 | | kEnumTypeFieldNumber = 5, |
10605 | | kServiceFieldNumber = 6, |
10606 | | kExtensionFieldNumber = 7, |
10607 | | kPublicDependencyFieldNumber = 10, |
10608 | | kWeakDependencyFieldNumber = 11, |
10609 | | kNameFieldNumber = 1, |
10610 | | kPackageFieldNumber = 2, |
10611 | | kSyntaxFieldNumber = 12, |
10612 | | kOptionsFieldNumber = 8, |
10613 | | kSourceCodeInfoFieldNumber = 9, |
10614 | | kEditionFieldNumber = 14, |
10615 | | }; |
10616 | | // repeated string dependency = 3; |
10617 | | int dependency_size() const; |
10618 | | private: |
10619 | | int _internal_dependency_size() const; |
10620 | | |
10621 | | public: |
10622 | | void clear_dependency() ; |
10623 | | const std::string& dependency(int index) const; |
10624 | | std::string* mutable_dependency(int index); |
10625 | | void set_dependency(int index, const std::string& value); |
10626 | | void set_dependency(int index, std::string&& value); |
10627 | | void set_dependency(int index, const char* value); |
10628 | | void set_dependency(int index, const char* value, std::size_t size); |
10629 | | void set_dependency(int index, absl::string_view value); |
10630 | | std::string* add_dependency(); |
10631 | | void add_dependency(const std::string& value); |
10632 | | void add_dependency(std::string&& value); |
10633 | | void add_dependency(const char* value); |
10634 | | void add_dependency(const char* value, std::size_t size); |
10635 | | void add_dependency(absl::string_view value); |
10636 | | const ::google::protobuf::RepeatedPtrField<std::string>& dependency() const; |
10637 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_dependency(); |
10638 | | |
10639 | | private: |
10640 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_dependency() const; |
10641 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_dependency(); |
10642 | | |
10643 | | public: |
10644 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
10645 | | int message_type_size() const; |
10646 | | private: |
10647 | | int _internal_message_type_size() const; |
10648 | | |
10649 | | public: |
10650 | | void clear_message_type() ; |
10651 | | ::google::protobuf::DescriptorProto* mutable_message_type(int index); |
10652 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* mutable_message_type(); |
10653 | | |
10654 | | private: |
10655 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& _internal_message_type() const; |
10656 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* _internal_mutable_message_type(); |
10657 | | public: |
10658 | | const ::google::protobuf::DescriptorProto& message_type(int index) const; |
10659 | | ::google::protobuf::DescriptorProto* add_message_type(); |
10660 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& message_type() const; |
10661 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
10662 | | int enum_type_size() const; |
10663 | | private: |
10664 | | int _internal_enum_type_size() const; |
10665 | | |
10666 | | public: |
10667 | | void clear_enum_type() ; |
10668 | | ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
10669 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* mutable_enum_type(); |
10670 | | |
10671 | | private: |
10672 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& _internal_enum_type() const; |
10673 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* _internal_mutable_enum_type(); |
10674 | | public: |
10675 | | const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
10676 | | ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
10677 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& enum_type() const; |
10678 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
10679 | | int service_size() const; |
10680 | | private: |
10681 | | int _internal_service_size() const; |
10682 | | |
10683 | | public: |
10684 | | void clear_service() ; |
10685 | | ::google::protobuf::ServiceDescriptorProto* mutable_service(int index); |
10686 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* mutable_service(); |
10687 | | |
10688 | | private: |
10689 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& _internal_service() const; |
10690 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* _internal_mutable_service(); |
10691 | | public: |
10692 | | const ::google::protobuf::ServiceDescriptorProto& service(int index) const; |
10693 | | ::google::protobuf::ServiceDescriptorProto* add_service(); |
10694 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& service() const; |
10695 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
10696 | | int extension_size() const; |
10697 | | private: |
10698 | | int _internal_extension_size() const; |
10699 | | |
10700 | | public: |
10701 | | void clear_extension() ; |
10702 | | ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
10703 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* mutable_extension(); |
10704 | | |
10705 | | private: |
10706 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_extension() const; |
10707 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* _internal_mutable_extension(); |
10708 | | public: |
10709 | | const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
10710 | | ::google::protobuf::FieldDescriptorProto* add_extension(); |
10711 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& extension() const; |
10712 | | // repeated int32 public_dependency = 10; |
10713 | | int public_dependency_size() const; |
10714 | | private: |
10715 | | int _internal_public_dependency_size() const; |
10716 | | |
10717 | | public: |
10718 | | void clear_public_dependency() ; |
10719 | | ::int32_t public_dependency(int index) const; |
10720 | | void set_public_dependency(int index, ::int32_t value); |
10721 | | void add_public_dependency(::int32_t value); |
10722 | | const ::google::protobuf::RepeatedField<::int32_t>& public_dependency() const; |
10723 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_public_dependency(); |
10724 | | |
10725 | | private: |
10726 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_public_dependency() const; |
10727 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_public_dependency(); |
10728 | | |
10729 | | public: |
10730 | | // repeated int32 weak_dependency = 11; |
10731 | | int weak_dependency_size() const; |
10732 | | private: |
10733 | | int _internal_weak_dependency_size() const; |
10734 | | |
10735 | | public: |
10736 | | void clear_weak_dependency() ; |
10737 | | ::int32_t weak_dependency(int index) const; |
10738 | | void set_weak_dependency(int index, ::int32_t value); |
10739 | | void add_weak_dependency(::int32_t value); |
10740 | | const ::google::protobuf::RepeatedField<::int32_t>& weak_dependency() const; |
10741 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_weak_dependency(); |
10742 | | |
10743 | | private: |
10744 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_weak_dependency() const; |
10745 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_weak_dependency(); |
10746 | | |
10747 | | public: |
10748 | | // optional string name = 1; |
10749 | | bool has_name() const; |
10750 | | void clear_name() ; |
10751 | | const std::string& name() const; |
10752 | | template <typename Arg_ = const std::string&, typename... Args_> |
10753 | | void set_name(Arg_&& arg, Args_... args); |
10754 | | std::string* mutable_name(); |
10755 | | PROTOBUF_NODISCARD std::string* release_name(); |
10756 | | void set_allocated_name(std::string* value); |
10757 | | |
10758 | | private: |
10759 | | const std::string& _internal_name() const; |
10760 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
10761 | | const std::string& value); |
10762 | | std::string* _internal_mutable_name(); |
10763 | | |
10764 | | public: |
10765 | | // optional string package = 2; |
10766 | | bool has_package() const; |
10767 | | void clear_package() ; |
10768 | | const std::string& package() const; |
10769 | | template <typename Arg_ = const std::string&, typename... Args_> |
10770 | | void set_package(Arg_&& arg, Args_... args); |
10771 | | std::string* mutable_package(); |
10772 | | PROTOBUF_NODISCARD std::string* release_package(); |
10773 | | void set_allocated_package(std::string* value); |
10774 | | |
10775 | | private: |
10776 | | const std::string& _internal_package() const; |
10777 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_package( |
10778 | | const std::string& value); |
10779 | | std::string* _internal_mutable_package(); |
10780 | | |
10781 | | public: |
10782 | | // optional string syntax = 12; |
10783 | | bool has_syntax() const; |
10784 | | void clear_syntax() ; |
10785 | | const std::string& syntax() const; |
10786 | | template <typename Arg_ = const std::string&, typename... Args_> |
10787 | | void set_syntax(Arg_&& arg, Args_... args); |
10788 | | std::string* mutable_syntax(); |
10789 | | PROTOBUF_NODISCARD std::string* release_syntax(); |
10790 | | void set_allocated_syntax(std::string* value); |
10791 | | |
10792 | | private: |
10793 | | const std::string& _internal_syntax() const; |
10794 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax( |
10795 | | const std::string& value); |
10796 | | std::string* _internal_mutable_syntax(); |
10797 | | |
10798 | | public: |
10799 | | // optional .google.protobuf.FileOptions options = 8; |
10800 | | bool has_options() const; |
10801 | | void clear_options() ; |
10802 | | const ::google::protobuf::FileOptions& options() const; |
10803 | | PROTOBUF_NODISCARD ::google::protobuf::FileOptions* release_options(); |
10804 | | ::google::protobuf::FileOptions* mutable_options(); |
10805 | | void set_allocated_options(::google::protobuf::FileOptions* value); |
10806 | | void unsafe_arena_set_allocated_options(::google::protobuf::FileOptions* value); |
10807 | | ::google::protobuf::FileOptions* unsafe_arena_release_options(); |
10808 | | |
10809 | | private: |
10810 | | const ::google::protobuf::FileOptions& _internal_options() const; |
10811 | | ::google::protobuf::FileOptions* _internal_mutable_options(); |
10812 | | |
10813 | | public: |
10814 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
10815 | | bool has_source_code_info() const; |
10816 | | void clear_source_code_info() ; |
10817 | | const ::google::protobuf::SourceCodeInfo& source_code_info() const; |
10818 | | PROTOBUF_NODISCARD ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
10819 | | ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
10820 | | void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value); |
10821 | | void unsafe_arena_set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value); |
10822 | | ::google::protobuf::SourceCodeInfo* unsafe_arena_release_source_code_info(); |
10823 | | |
10824 | | private: |
10825 | | const ::google::protobuf::SourceCodeInfo& _internal_source_code_info() const; |
10826 | | ::google::protobuf::SourceCodeInfo* _internal_mutable_source_code_info(); |
10827 | | |
10828 | | public: |
10829 | | // optional .google.protobuf.Edition edition = 14; |
10830 | | bool has_edition() const; |
10831 | | void clear_edition() ; |
10832 | | ::google::protobuf::Edition edition() const; |
10833 | | void set_edition(::google::protobuf::Edition value); |
10834 | | |
10835 | | private: |
10836 | | ::google::protobuf::Edition _internal_edition() const; |
10837 | | void _internal_set_edition(::google::protobuf::Edition value); |
10838 | | |
10839 | | public: |
10840 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
10841 | | private: |
10842 | | class _Internal; |
10843 | | friend class ::google::protobuf::internal::TcParser; |
10844 | | static const ::google::protobuf::internal::TcParseTable< |
10845 | | 4, 13, 7, |
10846 | | 79, 2> |
10847 | | _table_; |
10848 | | |
10849 | | static constexpr const void* _raw_default_instance_ = |
10850 | | &_FileDescriptorProto_default_instance_; |
10851 | | |
10852 | | friend class ::google::protobuf::MessageLite; |
10853 | | friend class ::google::protobuf::Arena; |
10854 | | template <typename T> |
10855 | | friend class ::google::protobuf::Arena::InternalHelper; |
10856 | | using InternalArenaConstructable_ = void; |
10857 | | using DestructorSkippable_ = void; |
10858 | | struct Impl_ { |
10859 | | inline explicit constexpr Impl_( |
10860 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10861 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10862 | | ::google::protobuf::Arena* arena); |
10863 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10864 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10865 | | const FileDescriptorProto& from_msg); |
10866 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10867 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10868 | | ::google::protobuf::RepeatedPtrField<std::string> dependency_; |
10869 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_; |
10870 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
10871 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_; |
10872 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
10873 | | ::google::protobuf::RepeatedField<::int32_t> public_dependency_; |
10874 | | ::google::protobuf::RepeatedField<::int32_t> weak_dependency_; |
10875 | | ::google::protobuf::internal::ArenaStringPtr name_; |
10876 | | ::google::protobuf::internal::ArenaStringPtr package_; |
10877 | | ::google::protobuf::internal::ArenaStringPtr syntax_; |
10878 | | ::google::protobuf::FileOptions* options_; |
10879 | | ::google::protobuf::SourceCodeInfo* source_code_info_; |
10880 | | int edition_; |
10881 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10882 | | }; |
10883 | | union { Impl_ _impl_; }; |
10884 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10885 | | }; |
10886 | | // ------------------------------------------------------------------- |
10887 | | |
10888 | | class PROTOBUF_EXPORT FileDescriptorSet final : public ::google::protobuf::Message |
10889 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { |
10890 | | public: |
10891 | 0 | inline FileDescriptorSet() : FileDescriptorSet(nullptr) {} |
10892 | | ~FileDescriptorSet() override; |
10893 | | template <typename = void> |
10894 | | explicit PROTOBUF_CONSTEXPR FileDescriptorSet( |
10895 | | ::google::protobuf::internal::ConstantInitialized); |
10896 | | |
10897 | 0 | inline FileDescriptorSet(const FileDescriptorSet& from) : FileDescriptorSet(nullptr, from) {} |
10898 | | inline FileDescriptorSet(FileDescriptorSet&& from) noexcept |
10899 | 0 | : FileDescriptorSet(nullptr, std::move(from)) {} |
10900 | 0 | inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
10901 | 0 | CopyFrom(from); |
10902 | 0 | return *this; |
10903 | 0 | } |
10904 | 0 | inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
10905 | 0 | if (this == &from) return *this; |
10906 | 0 | if (GetArena() == from.GetArena() |
10907 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
10908 | 0 | && GetArena() != nullptr |
10909 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
10910 | 0 | ) { |
10911 | 0 | InternalSwap(&from); |
10912 | 0 | } else { |
10913 | 0 | CopyFrom(from); |
10914 | 0 | } |
10915 | 0 | return *this; |
10916 | 0 | } |
10917 | | |
10918 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
10919 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10920 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
10921 | 0 | } |
10922 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
10923 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10924 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
10925 | 0 | } |
10926 | | |
10927 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
10928 | 0 | return GetDescriptor(); |
10929 | 0 | } |
10930 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
10931 | 0 | return default_instance().GetMetadata().descriptor; |
10932 | 0 | } |
10933 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
10934 | 0 | return default_instance().GetMetadata().reflection; |
10935 | 0 | } |
10936 | 0 | static const FileDescriptorSet& default_instance() { |
10937 | 0 | return *internal_default_instance(); |
10938 | 0 | } |
10939 | 0 | static inline const FileDescriptorSet* internal_default_instance() { |
10940 | 0 | return reinterpret_cast<const FileDescriptorSet*>( |
10941 | 0 | &_FileDescriptorSet_default_instance_); |
10942 | 0 | } |
10943 | | static constexpr int kIndexInFileMessages = 0; |
10944 | 0 | friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { a.Swap(&b); } |
10945 | 0 | inline void Swap(FileDescriptorSet* other) { |
10946 | 0 | if (other == this) return; |
10947 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
10948 | 0 | if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
10949 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
10950 | 0 | if (GetArena() == other->GetArena()) { |
10951 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
10952 | 0 | InternalSwap(other); |
10953 | 0 | } else { |
10954 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10955 | 0 | } |
10956 | 0 | } |
10957 | 0 | void UnsafeArenaSwap(FileDescriptorSet* other) { |
10958 | 0 | if (other == this) return; |
10959 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10960 | 0 | InternalSwap(other); |
10961 | 0 | } |
10962 | | |
10963 | | // implements Message ---------------------------------------------- |
10964 | | |
10965 | 0 | FileDescriptorSet* New(::google::protobuf::Arena* arena = nullptr) const final { |
10966 | 0 | return ::google::protobuf::Message::DefaultConstruct<FileDescriptorSet>(arena); |
10967 | 0 | } |
10968 | | using ::google::protobuf::Message::CopyFrom; |
10969 | | void CopyFrom(const FileDescriptorSet& from); |
10970 | | using ::google::protobuf::Message::MergeFrom; |
10971 | 0 | void MergeFrom(const FileDescriptorSet& from) { FileDescriptorSet::MergeImpl(*this, from); } |
10972 | | |
10973 | | private: |
10974 | | static void MergeImpl( |
10975 | | ::google::protobuf::MessageLite& to_msg, |
10976 | | const ::google::protobuf::MessageLite& from_msg); |
10977 | | |
10978 | | public: |
10979 | 0 | bool IsInitialized() const { |
10980 | 0 | return IsInitializedImpl(*this); |
10981 | 0 | } |
10982 | | |
10983 | | private: |
10984 | | static bool IsInitializedImpl(const MessageLite& msg); |
10985 | | |
10986 | | public: |
10987 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
10988 | | ::size_t ByteSizeLong() const final; |
10989 | | ::uint8_t* _InternalSerialize( |
10990 | | ::uint8_t* target, |
10991 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10992 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10993 | | |
10994 | | private: |
10995 | | void SharedCtor(::google::protobuf::Arena* arena); |
10996 | | void SharedDtor(); |
10997 | | void InternalSwap(FileDescriptorSet* other); |
10998 | | private: |
10999 | | friend class ::google::protobuf::internal::AnyMetadata; |
11000 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FileDescriptorSet"; } |
11001 | | |
11002 | | protected: |
11003 | | explicit FileDescriptorSet(::google::protobuf::Arena* arena); |
11004 | | FileDescriptorSet(::google::protobuf::Arena* arena, const FileDescriptorSet& from); |
11005 | | FileDescriptorSet(::google::protobuf::Arena* arena, FileDescriptorSet&& from) noexcept |
11006 | 0 | : FileDescriptorSet(arena) { |
11007 | 0 | *this = ::std::move(from); |
11008 | 0 | } |
11009 | | const ::google::protobuf::Message::ClassData* GetClassData() const final; |
11010 | | |
11011 | | public: |
11012 | | ::google::protobuf::Metadata GetMetadata() const; |
11013 | | // nested types ---------------------------------------------------- |
11014 | | |
11015 | | // accessors ------------------------------------------------------- |
11016 | | enum : int { |
11017 | | kFileFieldNumber = 1, |
11018 | | }; |
11019 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
11020 | | int file_size() const; |
11021 | | private: |
11022 | | int _internal_file_size() const; |
11023 | | |
11024 | | public: |
11025 | | void clear_file() ; |
11026 | | ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
11027 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* mutable_file(); |
11028 | | |
11029 | | private: |
11030 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& _internal_file() const; |
11031 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* _internal_mutable_file(); |
11032 | | public: |
11033 | | const ::google::protobuf::FileDescriptorProto& file(int index) const; |
11034 | | ::google::protobuf::FileDescriptorProto* add_file(); |
11035 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& file() const; |
11036 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
11037 | | private: |
11038 | | class _Internal; |
11039 | | friend class ::google::protobuf::internal::TcParser; |
11040 | | static const ::google::protobuf::internal::TcParseTable< |
11041 | | 0, 1, 1, |
11042 | | 0, 2> |
11043 | | _table_; |
11044 | | |
11045 | | static constexpr const void* _raw_default_instance_ = |
11046 | | &_FileDescriptorSet_default_instance_; |
11047 | | |
11048 | | friend class ::google::protobuf::MessageLite; |
11049 | | friend class ::google::protobuf::Arena; |
11050 | | template <typename T> |
11051 | | friend class ::google::protobuf::Arena::InternalHelper; |
11052 | | using InternalArenaConstructable_ = void; |
11053 | | using DestructorSkippable_ = void; |
11054 | | struct Impl_ { |
11055 | | inline explicit constexpr Impl_( |
11056 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
11057 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
11058 | | ::google::protobuf::Arena* arena); |
11059 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
11060 | | ::google::protobuf::Arena* arena, const Impl_& from, |
11061 | | const FileDescriptorSet& from_msg); |
11062 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; |
11063 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11064 | | PROTOBUF_TSAN_DECLARE_MEMBER |
11065 | | }; |
11066 | | union { Impl_ _impl_; }; |
11067 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
11068 | | }; |
11069 | | |
11070 | | // =================================================================== |
11071 | | |
11072 | | |
11073 | | |
11074 | | |
11075 | | // =================================================================== |
11076 | | |
11077 | | |
11078 | | #ifdef __GNUC__ |
11079 | | #pragma GCC diagnostic push |
11080 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
11081 | | #endif // __GNUC__ |
11082 | | // ------------------------------------------------------------------- |
11083 | | |
11084 | | // FileDescriptorSet |
11085 | | |
11086 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
11087 | 0 | inline int FileDescriptorSet::_internal_file_size() const { |
11088 | 0 | return _internal_file().size(); |
11089 | 0 | } |
11090 | 0 | inline int FileDescriptorSet::file_size() const { |
11091 | 0 | return _internal_file_size(); |
11092 | 0 | } |
11093 | 0 | inline void FileDescriptorSet::clear_file() { |
11094 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11095 | 0 | _impl_.file_.Clear(); |
11096 | 0 | } |
11097 | | inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) |
11098 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11099 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) |
11100 | 0 | return _internal_mutable_file()->Mutable(index); |
11101 | 0 | } |
11102 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* FileDescriptorSet::mutable_file() |
11103 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11104 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) |
11105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11106 | 0 | return _internal_mutable_file(); |
11107 | 0 | } |
11108 | | inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const |
11109 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11110 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) |
11111 | 0 | return _internal_file().Get(index); |
11112 | 0 | } |
11113 | 0 | inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11114 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11115 | 0 | ::google::protobuf::FileDescriptorProto* _add = _internal_mutable_file()->Add(); |
11116 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) |
11117 | 0 | return _add; |
11118 | 0 | } |
11119 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& FileDescriptorSet::file() const |
11120 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11121 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) |
11122 | 0 | return _internal_file(); |
11123 | 0 | } |
11124 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& |
11125 | 0 | FileDescriptorSet::_internal_file() const { |
11126 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11127 | 0 | return _impl_.file_; |
11128 | 0 | } |
11129 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* |
11130 | 0 | FileDescriptorSet::_internal_mutable_file() { |
11131 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11132 | 0 | return &_impl_.file_; |
11133 | 0 | } |
11134 | | |
11135 | | // ------------------------------------------------------------------- |
11136 | | |
11137 | | // FileDescriptorProto |
11138 | | |
11139 | | // optional string name = 1; |
11140 | 0 | inline bool FileDescriptorProto::has_name() const { |
11141 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11142 | 0 | return value; |
11143 | 0 | } |
11144 | 0 | inline void FileDescriptorProto::clear_name() { |
11145 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11146 | 0 | _impl_.name_.ClearToEmpty(); |
11147 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11148 | 0 | } |
11149 | | inline const std::string& FileDescriptorProto::name() const |
11150 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11151 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) |
11152 | 0 | return _internal_name(); |
11153 | 0 | } |
11154 | | template <typename Arg_, typename... Args_> |
11155 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_name(Arg_&& arg, |
11156 | | Args_... args) { |
11157 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
11158 | | _impl_._has_bits_[0] |= 0x00000001u; |
11159 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
11160 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) |
11161 | | } |
11162 | 0 | inline std::string* FileDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11163 | 0 | std::string* _s = _internal_mutable_name(); |
11164 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) |
11165 | 0 | return _s; |
11166 | 0 | } |
11167 | 0 | inline const std::string& FileDescriptorProto::_internal_name() const { |
11168 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11169 | 0 | return _impl_.name_.Get(); |
11170 | 0 | } |
11171 | 0 | inline void FileDescriptorProto::_internal_set_name(const std::string& value) { |
11172 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11173 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11174 | 0 | _impl_.name_.Set(value, GetArena()); |
11175 | 0 | } |
11176 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_name() { |
11177 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11178 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11179 | 0 | return _impl_.name_.Mutable( GetArena()); |
11180 | 0 | } |
11181 | 0 | inline std::string* FileDescriptorProto::release_name() { |
11182 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11183 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
11184 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
11185 | 0 | return nullptr; |
11186 | 0 | } |
11187 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11188 | 0 | auto* released = _impl_.name_.Release(); |
11189 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11190 | 0 | _impl_.name_.Set("", GetArena()); |
11191 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11192 | 0 | return released; |
11193 | 0 | } |
11194 | 0 | inline void FileDescriptorProto::set_allocated_name(std::string* value) { |
11195 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11196 | 0 | if (value != nullptr) { |
11197 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11198 | 0 | } else { |
11199 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11200 | 0 | } |
11201 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
11202 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11203 | 0 | if (_impl_.name_.IsDefault()) { |
11204 | 0 | _impl_.name_.Set("", GetArena()); |
11205 | 0 | } |
11206 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11207 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) |
11208 | 0 | } |
11209 | | |
11210 | | // optional string package = 2; |
11211 | 0 | inline bool FileDescriptorProto::has_package() const { |
11212 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11213 | 0 | return value; |
11214 | 0 | } |
11215 | 0 | inline void FileDescriptorProto::clear_package() { |
11216 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11217 | 0 | _impl_.package_.ClearToEmpty(); |
11218 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11219 | 0 | } |
11220 | | inline const std::string& FileDescriptorProto::package() const |
11221 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11222 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) |
11223 | 0 | return _internal_package(); |
11224 | 0 | } |
11225 | | template <typename Arg_, typename... Args_> |
11226 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_package(Arg_&& arg, |
11227 | | Args_... args) { |
11228 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
11229 | | _impl_._has_bits_[0] |= 0x00000002u; |
11230 | | _impl_.package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
11231 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) |
11232 | | } |
11233 | 0 | inline std::string* FileDescriptorProto::mutable_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11234 | 0 | std::string* _s = _internal_mutable_package(); |
11235 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) |
11236 | 0 | return _s; |
11237 | 0 | } |
11238 | 0 | inline const std::string& FileDescriptorProto::_internal_package() const { |
11239 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11240 | 0 | return _impl_.package_.Get(); |
11241 | 0 | } |
11242 | 0 | inline void FileDescriptorProto::_internal_set_package(const std::string& value) { |
11243 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11244 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11245 | 0 | _impl_.package_.Set(value, GetArena()); |
11246 | 0 | } |
11247 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_package() { |
11248 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11249 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11250 | 0 | return _impl_.package_.Mutable( GetArena()); |
11251 | 0 | } |
11252 | 0 | inline std::string* FileDescriptorProto::release_package() { |
11253 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11254 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
11255 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
11256 | 0 | return nullptr; |
11257 | 0 | } |
11258 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11259 | 0 | auto* released = _impl_.package_.Release(); |
11260 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11261 | 0 | _impl_.package_.Set("", GetArena()); |
11262 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11263 | 0 | return released; |
11264 | 0 | } |
11265 | 0 | inline void FileDescriptorProto::set_allocated_package(std::string* value) { |
11266 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11267 | 0 | if (value != nullptr) { |
11268 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11269 | 0 | } else { |
11270 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11271 | 0 | } |
11272 | 0 | _impl_.package_.SetAllocated(value, GetArena()); |
11273 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11274 | 0 | if (_impl_.package_.IsDefault()) { |
11275 | 0 | _impl_.package_.Set("", GetArena()); |
11276 | 0 | } |
11277 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11278 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) |
11279 | 0 | } |
11280 | | |
11281 | | // repeated string dependency = 3; |
11282 | 0 | inline int FileDescriptorProto::_internal_dependency_size() const { |
11283 | 0 | return _internal_dependency().size(); |
11284 | 0 | } |
11285 | 0 | inline int FileDescriptorProto::dependency_size() const { |
11286 | 0 | return _internal_dependency_size(); |
11287 | 0 | } |
11288 | 0 | inline void FileDescriptorProto::clear_dependency() { |
11289 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11290 | 0 | _impl_.dependency_.Clear(); |
11291 | 0 | } |
11292 | | inline std::string* FileDescriptorProto::add_dependency() |
11293 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11294 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11295 | 0 | std::string* _s = _internal_mutable_dependency()->Add(); |
11296 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
11297 | 0 | return _s; |
11298 | 0 | } |
11299 | | inline const std::string& FileDescriptorProto::dependency(int index) const |
11300 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11301 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) |
11302 | 0 | return _internal_dependency().Get(index); |
11303 | 0 | } |
11304 | | inline std::string* FileDescriptorProto::mutable_dependency(int index) |
11305 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11306 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) |
11307 | 0 | return _internal_mutable_dependency()->Mutable(index); |
11308 | 0 | } |
11309 | 0 | inline void FileDescriptorProto::set_dependency(int index, const std::string& value) { |
11310 | 0 | _internal_mutable_dependency()->Mutable(index)->assign(value); |
11311 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
11312 | 0 | } |
11313 | 0 | inline void FileDescriptorProto::set_dependency(int index, std::string&& value) { |
11314 | 0 | _internal_mutable_dependency()->Mutable(index)->assign(std::move(value)); |
11315 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
11316 | 0 | } |
11317 | 0 | inline void FileDescriptorProto::set_dependency(int index, const char* value) { |
11318 | 0 | ABSL_DCHECK(value != nullptr); |
11319 | 0 | _internal_mutable_dependency()->Mutable(index)->assign(value); |
11320 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency) |
11321 | 0 | } |
11322 | | inline void FileDescriptorProto::set_dependency(int index, const char* value, |
11323 | 0 | std::size_t size) { |
11324 | 0 | _internal_mutable_dependency()->Mutable(index)->assign( |
11325 | 0 | reinterpret_cast<const char*>(value), size); |
11326 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) |
11327 | 0 | } |
11328 | 0 | inline void FileDescriptorProto::set_dependency(int index, absl::string_view value) { |
11329 | 0 | _internal_mutable_dependency()->Mutable(index)->assign( |
11330 | 0 | value.data(), value.size()); |
11331 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.FileDescriptorProto.dependency) |
11332 | 0 | } |
11333 | 0 | inline void FileDescriptorProto::add_dependency(const std::string& value) { |
11334 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11335 | 0 | _internal_mutable_dependency()->Add()->assign(value); |
11336 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
11337 | 0 | } |
11338 | 0 | inline void FileDescriptorProto::add_dependency(std::string&& value) { |
11339 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11340 | 0 | _internal_mutable_dependency()->Add(std::move(value)); |
11341 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
11342 | 0 | } |
11343 | 0 | inline void FileDescriptorProto::add_dependency(const char* value) { |
11344 | 0 | ABSL_DCHECK(value != nullptr); |
11345 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11346 | 0 | _internal_mutable_dependency()->Add()->assign(value); |
11347 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency) |
11348 | 0 | } |
11349 | 0 | inline void FileDescriptorProto::add_dependency(const char* value, std::size_t size) { |
11350 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11351 | 0 | _internal_mutable_dependency()->Add()->assign( |
11352 | 0 | reinterpret_cast<const char*>(value), size); |
11353 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency) |
11354 | 0 | } |
11355 | 0 | inline void FileDescriptorProto::add_dependency(absl::string_view value) { |
11356 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11357 | 0 | _internal_mutable_dependency()->Add()->assign(value.data(), |
11358 | 0 | value.size()); |
11359 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.FileDescriptorProto.dependency) |
11360 | 0 | } |
11361 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
11362 | 0 | FileDescriptorProto::dependency() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11363 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) |
11364 | 0 | return _internal_dependency(); |
11365 | 0 | } |
11366 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
11367 | 0 | FileDescriptorProto::mutable_dependency() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11368 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) |
11369 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11370 | 0 | return _internal_mutable_dependency(); |
11371 | 0 | } |
11372 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
11373 | 0 | FileDescriptorProto::_internal_dependency() const { |
11374 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11375 | 0 | return _impl_.dependency_; |
11376 | 0 | } |
11377 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
11378 | 0 | FileDescriptorProto::_internal_mutable_dependency() { |
11379 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11380 | 0 | return &_impl_.dependency_; |
11381 | 0 | } |
11382 | | |
11383 | | // repeated int32 public_dependency = 10; |
11384 | 0 | inline int FileDescriptorProto::_internal_public_dependency_size() const { |
11385 | 0 | return _internal_public_dependency().size(); |
11386 | 0 | } |
11387 | 0 | inline int FileDescriptorProto::public_dependency_size() const { |
11388 | 0 | return _internal_public_dependency_size(); |
11389 | 0 | } |
11390 | 0 | inline void FileDescriptorProto::clear_public_dependency() { |
11391 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11392 | 0 | _impl_.public_dependency_.Clear(); |
11393 | 0 | } |
11394 | 0 | inline ::int32_t FileDescriptorProto::public_dependency(int index) const { |
11395 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) |
11396 | 0 | return _internal_public_dependency().Get(index); |
11397 | 0 | } |
11398 | 0 | inline void FileDescriptorProto::set_public_dependency(int index, ::int32_t value) { |
11399 | 0 | _internal_mutable_public_dependency()->Set(index, value); |
11400 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) |
11401 | 0 | } |
11402 | 0 | inline void FileDescriptorProto::add_public_dependency(::int32_t value) { |
11403 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11404 | 0 | _internal_mutable_public_dependency()->Add(value); |
11405 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) |
11406 | 0 | } |
11407 | | inline const ::google::protobuf::RepeatedField<::int32_t>& FileDescriptorProto::public_dependency() const |
11408 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11409 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) |
11410 | 0 | return _internal_public_dependency(); |
11411 | 0 | } |
11412 | | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::mutable_public_dependency() |
11413 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11414 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) |
11415 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11416 | 0 | return _internal_mutable_public_dependency(); |
11417 | 0 | } |
11418 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
11419 | 0 | FileDescriptorProto::_internal_public_dependency() const { |
11420 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11421 | 0 | return _impl_.public_dependency_; |
11422 | 0 | } |
11423 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::_internal_mutable_public_dependency() { |
11424 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11425 | 0 | return &_impl_.public_dependency_; |
11426 | 0 | } |
11427 | | |
11428 | | // repeated int32 weak_dependency = 11; |
11429 | 0 | inline int FileDescriptorProto::_internal_weak_dependency_size() const { |
11430 | 0 | return _internal_weak_dependency().size(); |
11431 | 0 | } |
11432 | 0 | inline int FileDescriptorProto::weak_dependency_size() const { |
11433 | 0 | return _internal_weak_dependency_size(); |
11434 | 0 | } |
11435 | 0 | inline void FileDescriptorProto::clear_weak_dependency() { |
11436 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11437 | 0 | _impl_.weak_dependency_.Clear(); |
11438 | 0 | } |
11439 | 0 | inline ::int32_t FileDescriptorProto::weak_dependency(int index) const { |
11440 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) |
11441 | 0 | return _internal_weak_dependency().Get(index); |
11442 | 0 | } |
11443 | 0 | inline void FileDescriptorProto::set_weak_dependency(int index, ::int32_t value) { |
11444 | 0 | _internal_mutable_weak_dependency()->Set(index, value); |
11445 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) |
11446 | 0 | } |
11447 | 0 | inline void FileDescriptorProto::add_weak_dependency(::int32_t value) { |
11448 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11449 | 0 | _internal_mutable_weak_dependency()->Add(value); |
11450 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) |
11451 | 0 | } |
11452 | | inline const ::google::protobuf::RepeatedField<::int32_t>& FileDescriptorProto::weak_dependency() const |
11453 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11454 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) |
11455 | 0 | return _internal_weak_dependency(); |
11456 | 0 | } |
11457 | | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::mutable_weak_dependency() |
11458 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11459 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) |
11460 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11461 | 0 | return _internal_mutable_weak_dependency(); |
11462 | 0 | } |
11463 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
11464 | 0 | FileDescriptorProto::_internal_weak_dependency() const { |
11465 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11466 | 0 | return _impl_.weak_dependency_; |
11467 | 0 | } |
11468 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::_internal_mutable_weak_dependency() { |
11469 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11470 | 0 | return &_impl_.weak_dependency_; |
11471 | 0 | } |
11472 | | |
11473 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
11474 | 0 | inline int FileDescriptorProto::_internal_message_type_size() const { |
11475 | 0 | return _internal_message_type().size(); |
11476 | 0 | } |
11477 | 0 | inline int FileDescriptorProto::message_type_size() const { |
11478 | 0 | return _internal_message_type_size(); |
11479 | 0 | } |
11480 | 0 | inline void FileDescriptorProto::clear_message_type() { |
11481 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11482 | 0 | _impl_.message_type_.Clear(); |
11483 | 0 | } |
11484 | | inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) |
11485 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11486 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) |
11487 | 0 | return _internal_mutable_message_type()->Mutable(index); |
11488 | 0 | } |
11489 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* FileDescriptorProto::mutable_message_type() |
11490 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11491 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) |
11492 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11493 | 0 | return _internal_mutable_message_type(); |
11494 | 0 | } |
11495 | | inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const |
11496 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11497 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) |
11498 | 0 | return _internal_message_type().Get(index); |
11499 | 0 | } |
11500 | 0 | inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11501 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11502 | 0 | ::google::protobuf::DescriptorProto* _add = _internal_mutable_message_type()->Add(); |
11503 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) |
11504 | 0 | return _add; |
11505 | 0 | } |
11506 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& FileDescriptorProto::message_type() const |
11507 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11508 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) |
11509 | 0 | return _internal_message_type(); |
11510 | 0 | } |
11511 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& |
11512 | 0 | FileDescriptorProto::_internal_message_type() const { |
11513 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11514 | 0 | return _impl_.message_type_; |
11515 | 0 | } |
11516 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* |
11517 | 0 | FileDescriptorProto::_internal_mutable_message_type() { |
11518 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11519 | 0 | return &_impl_.message_type_; |
11520 | 0 | } |
11521 | | |
11522 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
11523 | 0 | inline int FileDescriptorProto::_internal_enum_type_size() const { |
11524 | 0 | return _internal_enum_type().size(); |
11525 | 0 | } |
11526 | 0 | inline int FileDescriptorProto::enum_type_size() const { |
11527 | 0 | return _internal_enum_type_size(); |
11528 | 0 | } |
11529 | 0 | inline void FileDescriptorProto::clear_enum_type() { |
11530 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11531 | 0 | _impl_.enum_type_.Clear(); |
11532 | 0 | } |
11533 | | inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) |
11534 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11535 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) |
11536 | 0 | return _internal_mutable_enum_type()->Mutable(index); |
11537 | 0 | } |
11538 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* FileDescriptorProto::mutable_enum_type() |
11539 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11540 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) |
11541 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11542 | 0 | return _internal_mutable_enum_type(); |
11543 | 0 | } |
11544 | | inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const |
11545 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11546 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) |
11547 | 0 | return _internal_enum_type().Get(index); |
11548 | 0 | } |
11549 | 0 | inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11550 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11551 | 0 | ::google::protobuf::EnumDescriptorProto* _add = _internal_mutable_enum_type()->Add(); |
11552 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) |
11553 | 0 | return _add; |
11554 | 0 | } |
11555 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& FileDescriptorProto::enum_type() const |
11556 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11557 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) |
11558 | 0 | return _internal_enum_type(); |
11559 | 0 | } |
11560 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& |
11561 | 0 | FileDescriptorProto::_internal_enum_type() const { |
11562 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11563 | 0 | return _impl_.enum_type_; |
11564 | 0 | } |
11565 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* |
11566 | 0 | FileDescriptorProto::_internal_mutable_enum_type() { |
11567 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11568 | 0 | return &_impl_.enum_type_; |
11569 | 0 | } |
11570 | | |
11571 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
11572 | 0 | inline int FileDescriptorProto::_internal_service_size() const { |
11573 | 0 | return _internal_service().size(); |
11574 | 0 | } |
11575 | 0 | inline int FileDescriptorProto::service_size() const { |
11576 | 0 | return _internal_service_size(); |
11577 | 0 | } |
11578 | 0 | inline void FileDescriptorProto::clear_service() { |
11579 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11580 | 0 | _impl_.service_.Clear(); |
11581 | 0 | } |
11582 | | inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) |
11583 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11584 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) |
11585 | 0 | return _internal_mutable_service()->Mutable(index); |
11586 | 0 | } |
11587 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* FileDescriptorProto::mutable_service() |
11588 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11589 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) |
11590 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11591 | 0 | return _internal_mutable_service(); |
11592 | 0 | } |
11593 | | inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const |
11594 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11595 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) |
11596 | 0 | return _internal_service().Get(index); |
11597 | 0 | } |
11598 | 0 | inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11599 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11600 | 0 | ::google::protobuf::ServiceDescriptorProto* _add = _internal_mutable_service()->Add(); |
11601 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) |
11602 | 0 | return _add; |
11603 | 0 | } |
11604 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& FileDescriptorProto::service() const |
11605 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11606 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) |
11607 | 0 | return _internal_service(); |
11608 | 0 | } |
11609 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& |
11610 | 0 | FileDescriptorProto::_internal_service() const { |
11611 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11612 | 0 | return _impl_.service_; |
11613 | 0 | } |
11614 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* |
11615 | 0 | FileDescriptorProto::_internal_mutable_service() { |
11616 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11617 | 0 | return &_impl_.service_; |
11618 | 0 | } |
11619 | | |
11620 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
11621 | 0 | inline int FileDescriptorProto::_internal_extension_size() const { |
11622 | 0 | return _internal_extension().size(); |
11623 | 0 | } |
11624 | 0 | inline int FileDescriptorProto::extension_size() const { |
11625 | 0 | return _internal_extension_size(); |
11626 | 0 | } |
11627 | 0 | inline void FileDescriptorProto::clear_extension() { |
11628 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11629 | 0 | _impl_.extension_.Clear(); |
11630 | 0 | } |
11631 | | inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) |
11632 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11633 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) |
11634 | 0 | return _internal_mutable_extension()->Mutable(index); |
11635 | 0 | } |
11636 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* FileDescriptorProto::mutable_extension() |
11637 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11638 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) |
11639 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11640 | 0 | return _internal_mutable_extension(); |
11641 | 0 | } |
11642 | | inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const |
11643 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11644 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) |
11645 | 0 | return _internal_extension().Get(index); |
11646 | 0 | } |
11647 | 0 | inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11648 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11649 | 0 | ::google::protobuf::FieldDescriptorProto* _add = _internal_mutable_extension()->Add(); |
11650 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) |
11651 | 0 | return _add; |
11652 | 0 | } |
11653 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& FileDescriptorProto::extension() const |
11654 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11655 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) |
11656 | 0 | return _internal_extension(); |
11657 | 0 | } |
11658 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& |
11659 | 0 | FileDescriptorProto::_internal_extension() const { |
11660 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11661 | 0 | return _impl_.extension_; |
11662 | 0 | } |
11663 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* |
11664 | 0 | FileDescriptorProto::_internal_mutable_extension() { |
11665 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11666 | 0 | return &_impl_.extension_; |
11667 | 0 | } |
11668 | | |
11669 | | // optional .google.protobuf.FileOptions options = 8; |
11670 | 0 | inline bool FileDescriptorProto::has_options() const { |
11671 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
11672 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11673 | 0 | return value; |
11674 | 0 | } |
11675 | 0 | inline void FileDescriptorProto::clear_options() { |
11676 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11677 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11678 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11679 | 0 | } |
11680 | 0 | inline const ::google::protobuf::FileOptions& FileDescriptorProto::_internal_options() const { |
11681 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11682 | 0 | const ::google::protobuf::FileOptions* p = _impl_.options_; |
11683 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FileOptions&>(::google::protobuf::_FileOptions_default_instance_); |
11684 | 0 | } |
11685 | 0 | inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11686 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) |
11687 | 0 | return _internal_options(); |
11688 | 0 | } |
11689 | 0 | inline void FileDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::FileOptions* value) { |
11690 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11691 | 0 | if (GetArena() == nullptr) { |
11692 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
11693 | 0 | } |
11694 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FileOptions*>(value); |
11695 | 0 | if (value != nullptr) { |
11696 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11697 | 0 | } else { |
11698 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11699 | 0 | } |
11700 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options) |
11701 | 0 | } |
11702 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
11703 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11704 | 0 |
|
11705 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11706 | 0 | ::google::protobuf::FileOptions* released = _impl_.options_; |
11707 | 0 | _impl_.options_ = nullptr; |
11708 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11709 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
11710 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11711 | 0 | if (GetArena() == nullptr) { |
11712 | 0 | delete old; |
11713 | 0 | } |
11714 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11715 | 0 | if (GetArena() != nullptr) { |
11716 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11717 | 0 | } |
11718 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11719 | 0 | return released; |
11720 | 0 | } |
11721 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { |
11722 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11723 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
11724 | 0 |
|
11725 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11726 | 0 | ::google::protobuf::FileOptions* temp = _impl_.options_; |
11727 | 0 | _impl_.options_ = nullptr; |
11728 | 0 | return temp; |
11729 | 0 | } |
11730 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::_internal_mutable_options() { |
11731 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11732 | 0 | if (_impl_.options_ == nullptr) { |
11733 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FileOptions>(GetArena()); |
11734 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FileOptions*>(p); |
11735 | 0 | } |
11736 | 0 | return _impl_.options_; |
11737 | 0 | } |
11738 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11739 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11740 | 0 | ::google::protobuf::FileOptions* _msg = _internal_mutable_options(); |
11741 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) |
11742 | 0 | return _msg; |
11743 | 0 | } |
11744 | 0 | inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* value) { |
11745 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
11746 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11747 | 0 | if (message_arena == nullptr) { |
11748 | 0 | delete (_impl_.options_); |
11749 | 0 | } |
11750 | 0 |
|
11751 | 0 | if (value != nullptr) { |
11752 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
11753 | 0 | if (message_arena != submessage_arena) { |
11754 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
11755 | 0 | } |
11756 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11757 | 0 | } else { |
11758 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11759 | 0 | } |
11760 | 0 |
|
11761 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FileOptions*>(value); |
11762 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) |
11763 | 0 | } |
11764 | | |
11765 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
11766 | 0 | inline bool FileDescriptorProto::has_source_code_info() const { |
11767 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
11768 | 0 | PROTOBUF_ASSUME(!value || _impl_.source_code_info_ != nullptr); |
11769 | 0 | return value; |
11770 | 0 | } |
11771 | 0 | inline void FileDescriptorProto::clear_source_code_info() { |
11772 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11773 | 0 | if (_impl_.source_code_info_ != nullptr) _impl_.source_code_info_->Clear(); |
11774 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11775 | 0 | } |
11776 | 0 | inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { |
11777 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11778 | 0 | const ::google::protobuf::SourceCodeInfo* p = _impl_.source_code_info_; |
11779 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceCodeInfo&>(::google::protobuf::_SourceCodeInfo_default_instance_); |
11780 | 0 | } |
11781 | 0 | inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11782 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) |
11783 | 0 | return _internal_source_code_info(); |
11784 | 0 | } |
11785 | 0 | inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value) { |
11786 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11787 | 0 | if (GetArena() == nullptr) { |
11788 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_code_info_); |
11789 | 0 | } |
11790 | 0 | _impl_.source_code_info_ = reinterpret_cast<::google::protobuf::SourceCodeInfo*>(value); |
11791 | 0 | if (value != nullptr) { |
11792 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
11793 | 0 | } else { |
11794 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11795 | 0 | } |
11796 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
11797 | 0 | } |
11798 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
11799 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11800 | 0 |
|
11801 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11802 | 0 | ::google::protobuf::SourceCodeInfo* released = _impl_.source_code_info_; |
11803 | 0 | _impl_.source_code_info_ = nullptr; |
11804 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11805 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
11806 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11807 | 0 | if (GetArena() == nullptr) { |
11808 | 0 | delete old; |
11809 | 0 | } |
11810 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11811 | 0 | if (GetArena() != nullptr) { |
11812 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11813 | 0 | } |
11814 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11815 | 0 | return released; |
11816 | 0 | } |
11817 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { |
11818 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11819 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
11820 | 0 |
|
11821 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11822 | 0 | ::google::protobuf::SourceCodeInfo* temp = _impl_.source_code_info_; |
11823 | 0 | _impl_.source_code_info_ = nullptr; |
11824 | 0 | return temp; |
11825 | 0 | } |
11826 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() { |
11827 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11828 | 0 | if (_impl_.source_code_info_ == nullptr) { |
11829 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceCodeInfo>(GetArena()); |
11830 | 0 | _impl_.source_code_info_ = reinterpret_cast<::google::protobuf::SourceCodeInfo*>(p); |
11831 | 0 | } |
11832 | 0 | return _impl_.source_code_info_; |
11833 | 0 | } |
11834 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11835 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
11836 | 0 | ::google::protobuf::SourceCodeInfo* _msg = _internal_mutable_source_code_info(); |
11837 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) |
11838 | 0 | return _msg; |
11839 | 0 | } |
11840 | 0 | inline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value) { |
11841 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
11842 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11843 | 0 | if (message_arena == nullptr) { |
11844 | 0 | delete (_impl_.source_code_info_); |
11845 | 0 | } |
11846 | 0 |
|
11847 | 0 | if (value != nullptr) { |
11848 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
11849 | 0 | if (message_arena != submessage_arena) { |
11850 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
11851 | 0 | } |
11852 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
11853 | 0 | } else { |
11854 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11855 | 0 | } |
11856 | 0 |
|
11857 | 0 | _impl_.source_code_info_ = reinterpret_cast<::google::protobuf::SourceCodeInfo*>(value); |
11858 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
11859 | 0 | } |
11860 | | |
11861 | | // optional string syntax = 12; |
11862 | 0 | inline bool FileDescriptorProto::has_syntax() const { |
11863 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11864 | 0 | return value; |
11865 | 0 | } |
11866 | 0 | inline void FileDescriptorProto::clear_syntax() { |
11867 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11868 | 0 | _impl_.syntax_.ClearToEmpty(); |
11869 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11870 | 0 | } |
11871 | | inline const std::string& FileDescriptorProto::syntax() const |
11872 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11873 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) |
11874 | 0 | return _internal_syntax(); |
11875 | 0 | } |
11876 | | template <typename Arg_, typename... Args_> |
11877 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_syntax(Arg_&& arg, |
11878 | | Args_... args) { |
11879 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
11880 | | _impl_._has_bits_[0] |= 0x00000004u; |
11881 | | _impl_.syntax_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
11882 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) |
11883 | | } |
11884 | 0 | inline std::string* FileDescriptorProto::mutable_syntax() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11885 | 0 | std::string* _s = _internal_mutable_syntax(); |
11886 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) |
11887 | 0 | return _s; |
11888 | 0 | } |
11889 | 0 | inline const std::string& FileDescriptorProto::_internal_syntax() const { |
11890 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11891 | 0 | return _impl_.syntax_.Get(); |
11892 | 0 | } |
11893 | 0 | inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) { |
11894 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11895 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11896 | 0 | _impl_.syntax_.Set(value, GetArena()); |
11897 | 0 | } |
11898 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_syntax() { |
11899 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11900 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11901 | 0 | return _impl_.syntax_.Mutable( GetArena()); |
11902 | 0 | } |
11903 | 0 | inline std::string* FileDescriptorProto::release_syntax() { |
11904 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11905 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
11906 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
11907 | 0 | return nullptr; |
11908 | 0 | } |
11909 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11910 | 0 | auto* released = _impl_.syntax_.Release(); |
11911 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11912 | 0 | _impl_.syntax_.Set("", GetArena()); |
11913 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11914 | 0 | return released; |
11915 | 0 | } |
11916 | 0 | inline void FileDescriptorProto::set_allocated_syntax(std::string* value) { |
11917 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11918 | 0 | if (value != nullptr) { |
11919 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11920 | 0 | } else { |
11921 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11922 | 0 | } |
11923 | 0 | _impl_.syntax_.SetAllocated(value, GetArena()); |
11924 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11925 | 0 | if (_impl_.syntax_.IsDefault()) { |
11926 | 0 | _impl_.syntax_.Set("", GetArena()); |
11927 | 0 | } |
11928 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11929 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
11930 | 0 | } |
11931 | | |
11932 | | // optional .google.protobuf.Edition edition = 14; |
11933 | 0 | inline bool FileDescriptorProto::has_edition() const { |
11934 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
11935 | 0 | return value; |
11936 | 0 | } |
11937 | 0 | inline void FileDescriptorProto::clear_edition() { |
11938 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11939 | 0 | _impl_.edition_ = 0; |
11940 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
11941 | 0 | } |
11942 | 0 | inline ::google::protobuf::Edition FileDescriptorProto::edition() const { |
11943 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.edition) |
11944 | 0 | return _internal_edition(); |
11945 | 0 | } |
11946 | 0 | inline void FileDescriptorProto::set_edition(::google::protobuf::Edition value) { |
11947 | 0 | _internal_set_edition(value); |
11948 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
11949 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.edition) |
11950 | 0 | } |
11951 | 0 | inline ::google::protobuf::Edition FileDescriptorProto::_internal_edition() const { |
11952 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11953 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_); |
11954 | 0 | } |
11955 | 0 | inline void FileDescriptorProto::_internal_set_edition(::google::protobuf::Edition value) { |
11956 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11957 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
11958 | 0 | _impl_.edition_ = value; |
11959 | 0 | } |
11960 | | |
11961 | | // ------------------------------------------------------------------- |
11962 | | |
11963 | | // DescriptorProto_ExtensionRange |
11964 | | |
11965 | | // optional int32 start = 1; |
11966 | 0 | inline bool DescriptorProto_ExtensionRange::has_start() const { |
11967 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11968 | 0 | return value; |
11969 | 0 | } |
11970 | 0 | inline void DescriptorProto_ExtensionRange::clear_start() { |
11971 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11972 | 0 | _impl_.start_ = 0; |
11973 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11974 | 0 | } |
11975 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::start() const { |
11976 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) |
11977 | 0 | return _internal_start(); |
11978 | 0 | } |
11979 | 0 | inline void DescriptorProto_ExtensionRange::set_start(::int32_t value) { |
11980 | 0 | _internal_set_start(value); |
11981 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11982 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) |
11983 | 0 | } |
11984 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::_internal_start() const { |
11985 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11986 | 0 | return _impl_.start_; |
11987 | 0 | } |
11988 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_start(::int32_t value) { |
11989 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11990 | 0 | _impl_.start_ = value; |
11991 | 0 | } |
11992 | | |
11993 | | // optional int32 end = 2; |
11994 | 0 | inline bool DescriptorProto_ExtensionRange::has_end() const { |
11995 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11996 | 0 | return value; |
11997 | 0 | } |
11998 | 0 | inline void DescriptorProto_ExtensionRange::clear_end() { |
11999 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12000 | 0 | _impl_.end_ = 0; |
12001 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12002 | 0 | } |
12003 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::end() const { |
12004 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) |
12005 | 0 | return _internal_end(); |
12006 | 0 | } |
12007 | 0 | inline void DescriptorProto_ExtensionRange::set_end(::int32_t value) { |
12008 | 0 | _internal_set_end(value); |
12009 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12010 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) |
12011 | 0 | } |
12012 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::_internal_end() const { |
12013 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12014 | 0 | return _impl_.end_; |
12015 | 0 | } |
12016 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_end(::int32_t value) { |
12017 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12018 | 0 | _impl_.end_ = value; |
12019 | 0 | } |
12020 | | |
12021 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
12022 | 0 | inline bool DescriptorProto_ExtensionRange::has_options() const { |
12023 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12024 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
12025 | 0 | return value; |
12026 | 0 | } |
12027 | 0 | inline void DescriptorProto_ExtensionRange::clear_options() { |
12028 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12029 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
12030 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12031 | 0 | } |
12032 | 0 | inline const ::google::protobuf::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { |
12033 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12034 | 0 | const ::google::protobuf::ExtensionRangeOptions* p = _impl_.options_; |
12035 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::ExtensionRangeOptions&>(::google::protobuf::_ExtensionRangeOptions_default_instance_); |
12036 | 0 | } |
12037 | 0 | inline const ::google::protobuf::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12038 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) |
12039 | 0 | return _internal_options(); |
12040 | 0 | } |
12041 | 0 | inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options(::google::protobuf::ExtensionRangeOptions* value) { |
12042 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12043 | 0 | if (GetArena() == nullptr) { |
12044 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
12045 | 0 | } |
12046 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ExtensionRangeOptions*>(value); |
12047 | 0 | if (value != nullptr) { |
12048 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12049 | 0 | } else { |
12050 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12051 | 0 | } |
12052 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
12053 | 0 | } |
12054 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { |
12055 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12056 | 0 |
|
12057 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12058 | 0 | ::google::protobuf::ExtensionRangeOptions* released = _impl_.options_; |
12059 | 0 | _impl_.options_ = nullptr; |
12060 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
12061 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12062 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12063 | 0 | if (GetArena() == nullptr) { |
12064 | 0 | delete old; |
12065 | 0 | } |
12066 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
12067 | 0 | if (GetArena() != nullptr) { |
12068 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12069 | 0 | } |
12070 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
12071 | 0 | return released; |
12072 | 0 | } |
12073 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { |
12074 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12075 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
12076 | 0 |
|
12077 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12078 | 0 | ::google::protobuf::ExtensionRangeOptions* temp = _impl_.options_; |
12079 | 0 | _impl_.options_ = nullptr; |
12080 | 0 | return temp; |
12081 | 0 | } |
12082 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() { |
12083 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12084 | 0 | if (_impl_.options_ == nullptr) { |
12085 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::ExtensionRangeOptions>(GetArena()); |
12086 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ExtensionRangeOptions*>(p); |
12087 | 0 | } |
12088 | 0 | return _impl_.options_; |
12089 | 0 | } |
12090 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12091 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12092 | 0 | ::google::protobuf::ExtensionRangeOptions* _msg = _internal_mutable_options(); |
12093 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) |
12094 | 0 | return _msg; |
12095 | 0 | } |
12096 | 0 | inline void DescriptorProto_ExtensionRange::set_allocated_options(::google::protobuf::ExtensionRangeOptions* value) { |
12097 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
12098 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12099 | 0 | if (message_arena == nullptr) { |
12100 | 0 | delete (_impl_.options_); |
12101 | 0 | } |
12102 | 0 |
|
12103 | 0 | if (value != nullptr) { |
12104 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
12105 | 0 | if (message_arena != submessage_arena) { |
12106 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
12107 | 0 | } |
12108 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12109 | 0 | } else { |
12110 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12111 | 0 | } |
12112 | 0 |
|
12113 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ExtensionRangeOptions*>(value); |
12114 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
12115 | 0 | } |
12116 | | |
12117 | | // ------------------------------------------------------------------- |
12118 | | |
12119 | | // DescriptorProto_ReservedRange |
12120 | | |
12121 | | // optional int32 start = 1; |
12122 | 0 | inline bool DescriptorProto_ReservedRange::has_start() const { |
12123 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12124 | 0 | return value; |
12125 | 0 | } |
12126 | 0 | inline void DescriptorProto_ReservedRange::clear_start() { |
12127 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12128 | 0 | _impl_.start_ = 0; |
12129 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12130 | 0 | } |
12131 | 0 | inline ::int32_t DescriptorProto_ReservedRange::start() const { |
12132 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) |
12133 | 0 | return _internal_start(); |
12134 | 0 | } |
12135 | 0 | inline void DescriptorProto_ReservedRange::set_start(::int32_t value) { |
12136 | 0 | _internal_set_start(value); |
12137 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12138 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) |
12139 | 0 | } |
12140 | 0 | inline ::int32_t DescriptorProto_ReservedRange::_internal_start() const { |
12141 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12142 | 0 | return _impl_.start_; |
12143 | 0 | } |
12144 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_start(::int32_t value) { |
12145 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12146 | 0 | _impl_.start_ = value; |
12147 | 0 | } |
12148 | | |
12149 | | // optional int32 end = 2; |
12150 | 0 | inline bool DescriptorProto_ReservedRange::has_end() const { |
12151 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12152 | 0 | return value; |
12153 | 0 | } |
12154 | 0 | inline void DescriptorProto_ReservedRange::clear_end() { |
12155 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12156 | 0 | _impl_.end_ = 0; |
12157 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12158 | 0 | } |
12159 | 0 | inline ::int32_t DescriptorProto_ReservedRange::end() const { |
12160 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) |
12161 | 0 | return _internal_end(); |
12162 | 0 | } |
12163 | 0 | inline void DescriptorProto_ReservedRange::set_end(::int32_t value) { |
12164 | 0 | _internal_set_end(value); |
12165 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12166 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) |
12167 | 0 | } |
12168 | 0 | inline ::int32_t DescriptorProto_ReservedRange::_internal_end() const { |
12169 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12170 | 0 | return _impl_.end_; |
12171 | 0 | } |
12172 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_end(::int32_t value) { |
12173 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12174 | 0 | _impl_.end_ = value; |
12175 | 0 | } |
12176 | | |
12177 | | // ------------------------------------------------------------------- |
12178 | | |
12179 | | // DescriptorProto |
12180 | | |
12181 | | // optional string name = 1; |
12182 | 0 | inline bool DescriptorProto::has_name() const { |
12183 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12184 | 0 | return value; |
12185 | 0 | } |
12186 | 0 | inline void DescriptorProto::clear_name() { |
12187 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12188 | 0 | _impl_.name_.ClearToEmpty(); |
12189 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12190 | 0 | } |
12191 | | inline const std::string& DescriptorProto::name() const |
12192 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12193 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
12194 | 0 | return _internal_name(); |
12195 | 0 | } |
12196 | | template <typename Arg_, typename... Args_> |
12197 | | inline PROTOBUF_ALWAYS_INLINE void DescriptorProto::set_name(Arg_&& arg, |
12198 | | Args_... args) { |
12199 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12200 | | _impl_._has_bits_[0] |= 0x00000001u; |
12201 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12202 | | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
12203 | | } |
12204 | 0 | inline std::string* DescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12205 | 0 | std::string* _s = _internal_mutable_name(); |
12206 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) |
12207 | 0 | return _s; |
12208 | 0 | } |
12209 | 0 | inline const std::string& DescriptorProto::_internal_name() const { |
12210 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12211 | 0 | return _impl_.name_.Get(); |
12212 | 0 | } |
12213 | 0 | inline void DescriptorProto::_internal_set_name(const std::string& value) { |
12214 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12215 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12216 | 0 | _impl_.name_.Set(value, GetArena()); |
12217 | 0 | } |
12218 | 0 | inline std::string* DescriptorProto::_internal_mutable_name() { |
12219 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12220 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12221 | 0 | return _impl_.name_.Mutable( GetArena()); |
12222 | 0 | } |
12223 | 0 | inline std::string* DescriptorProto::release_name() { |
12224 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12225 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
12226 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
12227 | 0 | return nullptr; |
12228 | 0 | } |
12229 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12230 | 0 | auto* released = _impl_.name_.Release(); |
12231 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12232 | 0 | _impl_.name_.Set("", GetArena()); |
12233 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12234 | 0 | return released; |
12235 | 0 | } |
12236 | 0 | inline void DescriptorProto::set_allocated_name(std::string* value) { |
12237 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12238 | 0 | if (value != nullptr) { |
12239 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12240 | 0 | } else { |
12241 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12242 | 0 | } |
12243 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
12244 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12245 | 0 | if (_impl_.name_.IsDefault()) { |
12246 | 0 | _impl_.name_.Set("", GetArena()); |
12247 | 0 | } |
12248 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12249 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) |
12250 | 0 | } |
12251 | | |
12252 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
12253 | 0 | inline int DescriptorProto::_internal_field_size() const { |
12254 | 0 | return _internal_field().size(); |
12255 | 0 | } |
12256 | 0 | inline int DescriptorProto::field_size() const { |
12257 | 0 | return _internal_field_size(); |
12258 | 0 | } |
12259 | 0 | inline void DescriptorProto::clear_field() { |
12260 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12261 | 0 | _impl_.field_.Clear(); |
12262 | 0 | } |
12263 | | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) |
12264 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12265 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) |
12266 | 0 | return _internal_mutable_field()->Mutable(index); |
12267 | 0 | } |
12268 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* DescriptorProto::mutable_field() |
12269 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12270 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) |
12271 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12272 | 0 | return _internal_mutable_field(); |
12273 | 0 | } |
12274 | | inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const |
12275 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12276 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) |
12277 | 0 | return _internal_field().Get(index); |
12278 | 0 | } |
12279 | 0 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12280 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12281 | 0 | ::google::protobuf::FieldDescriptorProto* _add = _internal_mutable_field()->Add(); |
12282 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) |
12283 | 0 | return _add; |
12284 | 0 | } |
12285 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& DescriptorProto::field() const |
12286 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12287 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) |
12288 | 0 | return _internal_field(); |
12289 | 0 | } |
12290 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& |
12291 | 0 | DescriptorProto::_internal_field() const { |
12292 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12293 | 0 | return _impl_.field_; |
12294 | 0 | } |
12295 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* |
12296 | 0 | DescriptorProto::_internal_mutable_field() { |
12297 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12298 | 0 | return &_impl_.field_; |
12299 | 0 | } |
12300 | | |
12301 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
12302 | 0 | inline int DescriptorProto::_internal_extension_size() const { |
12303 | 0 | return _internal_extension().size(); |
12304 | 0 | } |
12305 | 0 | inline int DescriptorProto::extension_size() const { |
12306 | 0 | return _internal_extension_size(); |
12307 | 0 | } |
12308 | 0 | inline void DescriptorProto::clear_extension() { |
12309 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12310 | 0 | _impl_.extension_.Clear(); |
12311 | 0 | } |
12312 | | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) |
12313 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12314 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) |
12315 | 0 | return _internal_mutable_extension()->Mutable(index); |
12316 | 0 | } |
12317 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* DescriptorProto::mutable_extension() |
12318 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12319 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) |
12320 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12321 | 0 | return _internal_mutable_extension(); |
12322 | 0 | } |
12323 | | inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const |
12324 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12325 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) |
12326 | 0 | return _internal_extension().Get(index); |
12327 | 0 | } |
12328 | 0 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12329 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12330 | 0 | ::google::protobuf::FieldDescriptorProto* _add = _internal_mutable_extension()->Add(); |
12331 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) |
12332 | 0 | return _add; |
12333 | 0 | } |
12334 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& DescriptorProto::extension() const |
12335 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12336 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) |
12337 | 0 | return _internal_extension(); |
12338 | 0 | } |
12339 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& |
12340 | 0 | DescriptorProto::_internal_extension() const { |
12341 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12342 | 0 | return _impl_.extension_; |
12343 | 0 | } |
12344 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* |
12345 | 0 | DescriptorProto::_internal_mutable_extension() { |
12346 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12347 | 0 | return &_impl_.extension_; |
12348 | 0 | } |
12349 | | |
12350 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
12351 | 0 | inline int DescriptorProto::_internal_nested_type_size() const { |
12352 | 0 | return _internal_nested_type().size(); |
12353 | 0 | } |
12354 | 0 | inline int DescriptorProto::nested_type_size() const { |
12355 | 0 | return _internal_nested_type_size(); |
12356 | 0 | } |
12357 | 0 | inline void DescriptorProto::clear_nested_type() { |
12358 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12359 | 0 | _impl_.nested_type_.Clear(); |
12360 | 0 | } |
12361 | | inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) |
12362 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12363 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) |
12364 | 0 | return _internal_mutable_nested_type()->Mutable(index); |
12365 | 0 | } |
12366 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* DescriptorProto::mutable_nested_type() |
12367 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12368 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) |
12369 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12370 | 0 | return _internal_mutable_nested_type(); |
12371 | 0 | } |
12372 | | inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const |
12373 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12374 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) |
12375 | 0 | return _internal_nested_type().Get(index); |
12376 | 0 | } |
12377 | 0 | inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12378 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12379 | 0 | ::google::protobuf::DescriptorProto* _add = _internal_mutable_nested_type()->Add(); |
12380 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) |
12381 | 0 | return _add; |
12382 | 0 | } |
12383 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& DescriptorProto::nested_type() const |
12384 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12385 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) |
12386 | 0 | return _internal_nested_type(); |
12387 | 0 | } |
12388 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& |
12389 | 0 | DescriptorProto::_internal_nested_type() const { |
12390 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12391 | 0 | return _impl_.nested_type_; |
12392 | 0 | } |
12393 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* |
12394 | 0 | DescriptorProto::_internal_mutable_nested_type() { |
12395 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12396 | 0 | return &_impl_.nested_type_; |
12397 | 0 | } |
12398 | | |
12399 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
12400 | 0 | inline int DescriptorProto::_internal_enum_type_size() const { |
12401 | 0 | return _internal_enum_type().size(); |
12402 | 0 | } |
12403 | 0 | inline int DescriptorProto::enum_type_size() const { |
12404 | 0 | return _internal_enum_type_size(); |
12405 | 0 | } |
12406 | 0 | inline void DescriptorProto::clear_enum_type() { |
12407 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12408 | 0 | _impl_.enum_type_.Clear(); |
12409 | 0 | } |
12410 | | inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) |
12411 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12412 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) |
12413 | 0 | return _internal_mutable_enum_type()->Mutable(index); |
12414 | 0 | } |
12415 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* DescriptorProto::mutable_enum_type() |
12416 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12417 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) |
12418 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12419 | 0 | return _internal_mutable_enum_type(); |
12420 | 0 | } |
12421 | | inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const |
12422 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12423 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) |
12424 | 0 | return _internal_enum_type().Get(index); |
12425 | 0 | } |
12426 | 0 | inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12427 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12428 | 0 | ::google::protobuf::EnumDescriptorProto* _add = _internal_mutable_enum_type()->Add(); |
12429 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) |
12430 | 0 | return _add; |
12431 | 0 | } |
12432 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& DescriptorProto::enum_type() const |
12433 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12434 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) |
12435 | 0 | return _internal_enum_type(); |
12436 | 0 | } |
12437 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& |
12438 | 0 | DescriptorProto::_internal_enum_type() const { |
12439 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12440 | 0 | return _impl_.enum_type_; |
12441 | 0 | } |
12442 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* |
12443 | 0 | DescriptorProto::_internal_mutable_enum_type() { |
12444 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12445 | 0 | return &_impl_.enum_type_; |
12446 | 0 | } |
12447 | | |
12448 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
12449 | 0 | inline int DescriptorProto::_internal_extension_range_size() const { |
12450 | 0 | return _internal_extension_range().size(); |
12451 | 0 | } |
12452 | 0 | inline int DescriptorProto::extension_range_size() const { |
12453 | 0 | return _internal_extension_range_size(); |
12454 | 0 | } |
12455 | 0 | inline void DescriptorProto::clear_extension_range() { |
12456 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12457 | 0 | _impl_.extension_range_.Clear(); |
12458 | 0 | } |
12459 | | inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) |
12460 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12461 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) |
12462 | 0 | return _internal_mutable_extension_range()->Mutable(index); |
12463 | 0 | } |
12464 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* DescriptorProto::mutable_extension_range() |
12465 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12466 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) |
12467 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12468 | 0 | return _internal_mutable_extension_range(); |
12469 | 0 | } |
12470 | | inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const |
12471 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12472 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) |
12473 | 0 | return _internal_extension_range().Get(index); |
12474 | 0 | } |
12475 | 0 | inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12476 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12477 | 0 | ::google::protobuf::DescriptorProto_ExtensionRange* _add = _internal_mutable_extension_range()->Add(); |
12478 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) |
12479 | 0 | return _add; |
12480 | 0 | } |
12481 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& DescriptorProto::extension_range() const |
12482 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12483 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) |
12484 | 0 | return _internal_extension_range(); |
12485 | 0 | } |
12486 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& |
12487 | 0 | DescriptorProto::_internal_extension_range() const { |
12488 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12489 | 0 | return _impl_.extension_range_; |
12490 | 0 | } |
12491 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* |
12492 | 0 | DescriptorProto::_internal_mutable_extension_range() { |
12493 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12494 | 0 | return &_impl_.extension_range_; |
12495 | 0 | } |
12496 | | |
12497 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
12498 | 0 | inline int DescriptorProto::_internal_oneof_decl_size() const { |
12499 | 0 | return _internal_oneof_decl().size(); |
12500 | 0 | } |
12501 | 0 | inline int DescriptorProto::oneof_decl_size() const { |
12502 | 0 | return _internal_oneof_decl_size(); |
12503 | 0 | } |
12504 | 0 | inline void DescriptorProto::clear_oneof_decl() { |
12505 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12506 | 0 | _impl_.oneof_decl_.Clear(); |
12507 | 0 | } |
12508 | | inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) |
12509 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12510 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) |
12511 | 0 | return _internal_mutable_oneof_decl()->Mutable(index); |
12512 | 0 | } |
12513 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* DescriptorProto::mutable_oneof_decl() |
12514 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12515 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) |
12516 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12517 | 0 | return _internal_mutable_oneof_decl(); |
12518 | 0 | } |
12519 | | inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const |
12520 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12521 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) |
12522 | 0 | return _internal_oneof_decl().Get(index); |
12523 | 0 | } |
12524 | 0 | inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12525 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12526 | 0 | ::google::protobuf::OneofDescriptorProto* _add = _internal_mutable_oneof_decl()->Add(); |
12527 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) |
12528 | 0 | return _add; |
12529 | 0 | } |
12530 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& DescriptorProto::oneof_decl() const |
12531 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12532 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) |
12533 | 0 | return _internal_oneof_decl(); |
12534 | 0 | } |
12535 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& |
12536 | 0 | DescriptorProto::_internal_oneof_decl() const { |
12537 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12538 | 0 | return _impl_.oneof_decl_; |
12539 | 0 | } |
12540 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* |
12541 | 0 | DescriptorProto::_internal_mutable_oneof_decl() { |
12542 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12543 | 0 | return &_impl_.oneof_decl_; |
12544 | 0 | } |
12545 | | |
12546 | | // optional .google.protobuf.MessageOptions options = 7; |
12547 | 0 | inline bool DescriptorProto::has_options() const { |
12548 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12549 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
12550 | 0 | return value; |
12551 | 0 | } |
12552 | 0 | inline void DescriptorProto::clear_options() { |
12553 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12554 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
12555 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12556 | 0 | } |
12557 | 0 | inline const ::google::protobuf::MessageOptions& DescriptorProto::_internal_options() const { |
12558 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12559 | 0 | const ::google::protobuf::MessageOptions* p = _impl_.options_; |
12560 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::MessageOptions&>(::google::protobuf::_MessageOptions_default_instance_); |
12561 | 0 | } |
12562 | 0 | inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12563 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
12564 | 0 | return _internal_options(); |
12565 | 0 | } |
12566 | 0 | inline void DescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::MessageOptions* value) { |
12567 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12568 | 0 | if (GetArena() == nullptr) { |
12569 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
12570 | 0 | } |
12571 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MessageOptions*>(value); |
12572 | 0 | if (value != nullptr) { |
12573 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12574 | 0 | } else { |
12575 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12576 | 0 | } |
12577 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options) |
12578 | 0 | } |
12579 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
12580 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12581 | 0 |
|
12582 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12583 | 0 | ::google::protobuf::MessageOptions* released = _impl_.options_; |
12584 | 0 | _impl_.options_ = nullptr; |
12585 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
12586 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12587 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12588 | 0 | if (GetArena() == nullptr) { |
12589 | 0 | delete old; |
12590 | 0 | } |
12591 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
12592 | 0 | if (GetArena() != nullptr) { |
12593 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12594 | 0 | } |
12595 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
12596 | 0 | return released; |
12597 | 0 | } |
12598 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::unsafe_arena_release_options() { |
12599 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12600 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
12601 | 0 |
|
12602 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12603 | 0 | ::google::protobuf::MessageOptions* temp = _impl_.options_; |
12604 | 0 | _impl_.options_ = nullptr; |
12605 | 0 | return temp; |
12606 | 0 | } |
12607 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::_internal_mutable_options() { |
12608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12609 | 0 | if (_impl_.options_ == nullptr) { |
12610 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::MessageOptions>(GetArena()); |
12611 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MessageOptions*>(p); |
12612 | 0 | } |
12613 | 0 | return _impl_.options_; |
12614 | 0 | } |
12615 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12616 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12617 | 0 | ::google::protobuf::MessageOptions* _msg = _internal_mutable_options(); |
12618 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) |
12619 | 0 | return _msg; |
12620 | 0 | } |
12621 | 0 | inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* value) { |
12622 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
12623 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12624 | 0 | if (message_arena == nullptr) { |
12625 | 0 | delete (_impl_.options_); |
12626 | 0 | } |
12627 | 0 |
|
12628 | 0 | if (value != nullptr) { |
12629 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
12630 | 0 | if (message_arena != submessage_arena) { |
12631 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
12632 | 0 | } |
12633 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12634 | 0 | } else { |
12635 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12636 | 0 | } |
12637 | 0 |
|
12638 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MessageOptions*>(value); |
12639 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) |
12640 | 0 | } |
12641 | | |
12642 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
12643 | 0 | inline int DescriptorProto::_internal_reserved_range_size() const { |
12644 | 0 | return _internal_reserved_range().size(); |
12645 | 0 | } |
12646 | 0 | inline int DescriptorProto::reserved_range_size() const { |
12647 | 0 | return _internal_reserved_range_size(); |
12648 | 0 | } |
12649 | 0 | inline void DescriptorProto::clear_reserved_range() { |
12650 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12651 | 0 | _impl_.reserved_range_.Clear(); |
12652 | 0 | } |
12653 | | inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) |
12654 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12655 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) |
12656 | 0 | return _internal_mutable_reserved_range()->Mutable(index); |
12657 | 0 | } |
12658 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* DescriptorProto::mutable_reserved_range() |
12659 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12660 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) |
12661 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12662 | 0 | return _internal_mutable_reserved_range(); |
12663 | 0 | } |
12664 | | inline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const |
12665 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12666 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) |
12667 | 0 | return _internal_reserved_range().Get(index); |
12668 | 0 | } |
12669 | 0 | inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12670 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12671 | 0 | ::google::protobuf::DescriptorProto_ReservedRange* _add = _internal_mutable_reserved_range()->Add(); |
12672 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) |
12673 | 0 | return _add; |
12674 | 0 | } |
12675 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& DescriptorProto::reserved_range() const |
12676 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12677 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) |
12678 | 0 | return _internal_reserved_range(); |
12679 | 0 | } |
12680 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& |
12681 | 0 | DescriptorProto::_internal_reserved_range() const { |
12682 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12683 | 0 | return _impl_.reserved_range_; |
12684 | 0 | } |
12685 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* |
12686 | 0 | DescriptorProto::_internal_mutable_reserved_range() { |
12687 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12688 | 0 | return &_impl_.reserved_range_; |
12689 | 0 | } |
12690 | | |
12691 | | // repeated string reserved_name = 10; |
12692 | 0 | inline int DescriptorProto::_internal_reserved_name_size() const { |
12693 | 0 | return _internal_reserved_name().size(); |
12694 | 0 | } |
12695 | 0 | inline int DescriptorProto::reserved_name_size() const { |
12696 | 0 | return _internal_reserved_name_size(); |
12697 | 0 | } |
12698 | 0 | inline void DescriptorProto::clear_reserved_name() { |
12699 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12700 | 0 | _impl_.reserved_name_.Clear(); |
12701 | 0 | } |
12702 | | inline std::string* DescriptorProto::add_reserved_name() |
12703 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12704 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12705 | 0 | std::string* _s = _internal_mutable_reserved_name()->Add(); |
12706 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
12707 | 0 | return _s; |
12708 | 0 | } |
12709 | | inline const std::string& DescriptorProto::reserved_name(int index) const |
12710 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12711 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) |
12712 | 0 | return _internal_reserved_name().Get(index); |
12713 | 0 | } |
12714 | | inline std::string* DescriptorProto::mutable_reserved_name(int index) |
12715 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12716 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) |
12717 | 0 | return _internal_mutable_reserved_name()->Mutable(index); |
12718 | 0 | } |
12719 | 0 | inline void DescriptorProto::set_reserved_name(int index, const std::string& value) { |
12720 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign(value); |
12721 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
12722 | 0 | } |
12723 | 0 | inline void DescriptorProto::set_reserved_name(int index, std::string&& value) { |
12724 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign(std::move(value)); |
12725 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
12726 | 0 | } |
12727 | 0 | inline void DescriptorProto::set_reserved_name(int index, const char* value) { |
12728 | 0 | ABSL_DCHECK(value != nullptr); |
12729 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign(value); |
12730 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name) |
12731 | 0 | } |
12732 | | inline void DescriptorProto::set_reserved_name(int index, const char* value, |
12733 | 0 | std::size_t size) { |
12734 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign( |
12735 | 0 | reinterpret_cast<const char*>(value), size); |
12736 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) |
12737 | 0 | } |
12738 | 0 | inline void DescriptorProto::set_reserved_name(int index, absl::string_view value) { |
12739 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign( |
12740 | 0 | value.data(), value.size()); |
12741 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.DescriptorProto.reserved_name) |
12742 | 0 | } |
12743 | 0 | inline void DescriptorProto::add_reserved_name(const std::string& value) { |
12744 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12745 | 0 | _internal_mutable_reserved_name()->Add()->assign(value); |
12746 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
12747 | 0 | } |
12748 | 0 | inline void DescriptorProto::add_reserved_name(std::string&& value) { |
12749 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12750 | 0 | _internal_mutable_reserved_name()->Add(std::move(value)); |
12751 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
12752 | 0 | } |
12753 | 0 | inline void DescriptorProto::add_reserved_name(const char* value) { |
12754 | 0 | ABSL_DCHECK(value != nullptr); |
12755 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12756 | 0 | _internal_mutable_reserved_name()->Add()->assign(value); |
12757 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name) |
12758 | 0 | } |
12759 | 0 | inline void DescriptorProto::add_reserved_name(const char* value, std::size_t size) { |
12760 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12761 | 0 | _internal_mutable_reserved_name()->Add()->assign( |
12762 | 0 | reinterpret_cast<const char*>(value), size); |
12763 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name) |
12764 | 0 | } |
12765 | 0 | inline void DescriptorProto::add_reserved_name(absl::string_view value) { |
12766 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12767 | 0 | _internal_mutable_reserved_name()->Add()->assign(value.data(), |
12768 | 0 | value.size()); |
12769 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.DescriptorProto.reserved_name) |
12770 | 0 | } |
12771 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
12772 | 0 | DescriptorProto::reserved_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12773 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) |
12774 | 0 | return _internal_reserved_name(); |
12775 | 0 | } |
12776 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
12777 | 0 | DescriptorProto::mutable_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12778 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) |
12779 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12780 | 0 | return _internal_mutable_reserved_name(); |
12781 | 0 | } |
12782 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
12783 | 0 | DescriptorProto::_internal_reserved_name() const { |
12784 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12785 | 0 | return _impl_.reserved_name_; |
12786 | 0 | } |
12787 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
12788 | 0 | DescriptorProto::_internal_mutable_reserved_name() { |
12789 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12790 | 0 | return &_impl_.reserved_name_; |
12791 | 0 | } |
12792 | | |
12793 | | // ------------------------------------------------------------------- |
12794 | | |
12795 | | // ExtensionRangeOptions_Declaration |
12796 | | |
12797 | | // optional int32 number = 1; |
12798 | 0 | inline bool ExtensionRangeOptions_Declaration::has_number() const { |
12799 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12800 | 0 | return value; |
12801 | 0 | } |
12802 | 0 | inline void ExtensionRangeOptions_Declaration::clear_number() { |
12803 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12804 | 0 | _impl_.number_ = 0; |
12805 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12806 | 0 | } |
12807 | 0 | inline ::int32_t ExtensionRangeOptions_Declaration::number() const { |
12808 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.number) |
12809 | 0 | return _internal_number(); |
12810 | 0 | } |
12811 | 0 | inline void ExtensionRangeOptions_Declaration::set_number(::int32_t value) { |
12812 | 0 | _internal_set_number(value); |
12813 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12814 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.number) |
12815 | 0 | } |
12816 | 0 | inline ::int32_t ExtensionRangeOptions_Declaration::_internal_number() const { |
12817 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12818 | 0 | return _impl_.number_; |
12819 | 0 | } |
12820 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_number(::int32_t value) { |
12821 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12822 | 0 | _impl_.number_ = value; |
12823 | 0 | } |
12824 | | |
12825 | | // optional string full_name = 2; |
12826 | 0 | inline bool ExtensionRangeOptions_Declaration::has_full_name() const { |
12827 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12828 | 0 | return value; |
12829 | 0 | } |
12830 | 0 | inline void ExtensionRangeOptions_Declaration::clear_full_name() { |
12831 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12832 | 0 | _impl_.full_name_.ClearToEmpty(); |
12833 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12834 | 0 | } |
12835 | | inline const std::string& ExtensionRangeOptions_Declaration::full_name() const |
12836 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12837 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
12838 | 0 | return _internal_full_name(); |
12839 | 0 | } |
12840 | | template <typename Arg_, typename... Args_> |
12841 | | inline PROTOBUF_ALWAYS_INLINE void ExtensionRangeOptions_Declaration::set_full_name(Arg_&& arg, |
12842 | | Args_... args) { |
12843 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12844 | | _impl_._has_bits_[0] |= 0x00000001u; |
12845 | | _impl_.full_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12846 | | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
12847 | | } |
12848 | 0 | inline std::string* ExtensionRangeOptions_Declaration::mutable_full_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12849 | 0 | std::string* _s = _internal_mutable_full_name(); |
12850 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
12851 | 0 | return _s; |
12852 | 0 | } |
12853 | 0 | inline const std::string& ExtensionRangeOptions_Declaration::_internal_full_name() const { |
12854 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12855 | 0 | return _impl_.full_name_.Get(); |
12856 | 0 | } |
12857 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_full_name(const std::string& value) { |
12858 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12859 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12860 | 0 | _impl_.full_name_.Set(value, GetArena()); |
12861 | 0 | } |
12862 | 0 | inline std::string* ExtensionRangeOptions_Declaration::_internal_mutable_full_name() { |
12863 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12864 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12865 | 0 | return _impl_.full_name_.Mutable( GetArena()); |
12866 | 0 | } |
12867 | 0 | inline std::string* ExtensionRangeOptions_Declaration::release_full_name() { |
12868 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12869 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
12870 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
12871 | 0 | return nullptr; |
12872 | 0 | } |
12873 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12874 | 0 | auto* released = _impl_.full_name_.Release(); |
12875 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12876 | 0 | _impl_.full_name_.Set("", GetArena()); |
12877 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12878 | 0 | return released; |
12879 | 0 | } |
12880 | 0 | inline void ExtensionRangeOptions_Declaration::set_allocated_full_name(std::string* value) { |
12881 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12882 | 0 | if (value != nullptr) { |
12883 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12884 | 0 | } else { |
12885 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12886 | 0 | } |
12887 | 0 | _impl_.full_name_.SetAllocated(value, GetArena()); |
12888 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12889 | 0 | if (_impl_.full_name_.IsDefault()) { |
12890 | 0 | _impl_.full_name_.Set("", GetArena()); |
12891 | 0 | } |
12892 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12893 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
12894 | 0 | } |
12895 | | |
12896 | | // optional string type = 3; |
12897 | 0 | inline bool ExtensionRangeOptions_Declaration::has_type() const { |
12898 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12899 | 0 | return value; |
12900 | 0 | } |
12901 | 0 | inline void ExtensionRangeOptions_Declaration::clear_type() { |
12902 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12903 | 0 | _impl_.type_.ClearToEmpty(); |
12904 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12905 | 0 | } |
12906 | | inline const std::string& ExtensionRangeOptions_Declaration::type() const |
12907 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12908 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.type) |
12909 | 0 | return _internal_type(); |
12910 | 0 | } |
12911 | | template <typename Arg_, typename... Args_> |
12912 | | inline PROTOBUF_ALWAYS_INLINE void ExtensionRangeOptions_Declaration::set_type(Arg_&& arg, |
12913 | | Args_... args) { |
12914 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12915 | | _impl_._has_bits_[0] |= 0x00000002u; |
12916 | | _impl_.type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12917 | | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.type) |
12918 | | } |
12919 | 0 | inline std::string* ExtensionRangeOptions_Declaration::mutable_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12920 | 0 | std::string* _s = _internal_mutable_type(); |
12921 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.type) |
12922 | 0 | return _s; |
12923 | 0 | } |
12924 | 0 | inline const std::string& ExtensionRangeOptions_Declaration::_internal_type() const { |
12925 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12926 | 0 | return _impl_.type_.Get(); |
12927 | 0 | } |
12928 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_type(const std::string& value) { |
12929 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12930 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12931 | 0 | _impl_.type_.Set(value, GetArena()); |
12932 | 0 | } |
12933 | 0 | inline std::string* ExtensionRangeOptions_Declaration::_internal_mutable_type() { |
12934 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12935 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12936 | 0 | return _impl_.type_.Mutable( GetArena()); |
12937 | 0 | } |
12938 | 0 | inline std::string* ExtensionRangeOptions_Declaration::release_type() { |
12939 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12940 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ExtensionRangeOptions.Declaration.type) |
12941 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
12942 | 0 | return nullptr; |
12943 | 0 | } |
12944 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12945 | 0 | auto* released = _impl_.type_.Release(); |
12946 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12947 | 0 | _impl_.type_.Set("", GetArena()); |
12948 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12949 | 0 | return released; |
12950 | 0 | } |
12951 | 0 | inline void ExtensionRangeOptions_Declaration::set_allocated_type(std::string* value) { |
12952 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12953 | 0 | if (value != nullptr) { |
12954 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12955 | 0 | } else { |
12956 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12957 | 0 | } |
12958 | 0 | _impl_.type_.SetAllocated(value, GetArena()); |
12959 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12960 | 0 | if (_impl_.type_.IsDefault()) { |
12961 | 0 | _impl_.type_.Set("", GetArena()); |
12962 | 0 | } |
12963 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12964 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ExtensionRangeOptions.Declaration.type) |
12965 | 0 | } |
12966 | | |
12967 | | // optional bool reserved = 5; |
12968 | 0 | inline bool ExtensionRangeOptions_Declaration::has_reserved() const { |
12969 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
12970 | 0 | return value; |
12971 | 0 | } |
12972 | 0 | inline void ExtensionRangeOptions_Declaration::clear_reserved() { |
12973 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12974 | 0 | _impl_.reserved_ = false; |
12975 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12976 | 0 | } |
12977 | 0 | inline bool ExtensionRangeOptions_Declaration::reserved() const { |
12978 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.reserved) |
12979 | 0 | return _internal_reserved(); |
12980 | 0 | } |
12981 | 0 | inline void ExtensionRangeOptions_Declaration::set_reserved(bool value) { |
12982 | 0 | _internal_set_reserved(value); |
12983 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12984 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.reserved) |
12985 | 0 | } |
12986 | 0 | inline bool ExtensionRangeOptions_Declaration::_internal_reserved() const { |
12987 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12988 | 0 | return _impl_.reserved_; |
12989 | 0 | } |
12990 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_reserved(bool value) { |
12991 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12992 | 0 | _impl_.reserved_ = value; |
12993 | 0 | } |
12994 | | |
12995 | | // optional bool repeated = 6; |
12996 | 0 | inline bool ExtensionRangeOptions_Declaration::has_repeated() const { |
12997 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
12998 | 0 | return value; |
12999 | 0 | } |
13000 | 0 | inline void ExtensionRangeOptions_Declaration::clear_repeated() { |
13001 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13002 | 0 | _impl_.repeated_ = false; |
13003 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13004 | 0 | } |
13005 | 0 | inline bool ExtensionRangeOptions_Declaration::repeated() const { |
13006 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.repeated) |
13007 | 0 | return _internal_repeated(); |
13008 | 0 | } |
13009 | 0 | inline void ExtensionRangeOptions_Declaration::set_repeated(bool value) { |
13010 | 0 | _internal_set_repeated(value); |
13011 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13012 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.repeated) |
13013 | 0 | } |
13014 | 0 | inline bool ExtensionRangeOptions_Declaration::_internal_repeated() const { |
13015 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13016 | 0 | return _impl_.repeated_; |
13017 | 0 | } |
13018 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_repeated(bool value) { |
13019 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13020 | 0 | _impl_.repeated_ = value; |
13021 | 0 | } |
13022 | | |
13023 | | // ------------------------------------------------------------------- |
13024 | | |
13025 | | // ExtensionRangeOptions |
13026 | | |
13027 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13028 | 0 | inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const { |
13029 | 0 | return _internal_uninterpreted_option().size(); |
13030 | 0 | } |
13031 | 0 | inline int ExtensionRangeOptions::uninterpreted_option_size() const { |
13032 | 0 | return _internal_uninterpreted_option_size(); |
13033 | 0 | } |
13034 | 0 | inline void ExtensionRangeOptions::clear_uninterpreted_option() { |
13035 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13036 | 0 | _impl_.uninterpreted_option_.Clear(); |
13037 | 0 | } |
13038 | | inline ::google::protobuf::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) |
13039 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13040 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13041 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
13042 | 0 | } |
13043 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* ExtensionRangeOptions::mutable_uninterpreted_option() |
13044 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13045 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13046 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13047 | 0 | return _internal_mutable_uninterpreted_option(); |
13048 | 0 | } |
13049 | | inline const ::google::protobuf::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const |
13050 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13051 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13052 | 0 | return _internal_uninterpreted_option().Get(index); |
13053 | 0 | } |
13054 | 0 | inline ::google::protobuf::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13055 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13056 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
13057 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13058 | 0 | return _add; |
13059 | 0 | } |
13060 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& ExtensionRangeOptions::uninterpreted_option() const |
13061 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13062 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13063 | 0 | return _internal_uninterpreted_option(); |
13064 | 0 | } |
13065 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
13066 | 0 | ExtensionRangeOptions::_internal_uninterpreted_option() const { |
13067 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13068 | 0 | return _impl_.uninterpreted_option_; |
13069 | 0 | } |
13070 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
13071 | 0 | ExtensionRangeOptions::_internal_mutable_uninterpreted_option() { |
13072 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13073 | 0 | return &_impl_.uninterpreted_option_; |
13074 | 0 | } |
13075 | | |
13076 | | // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE]; |
13077 | 0 | inline int ExtensionRangeOptions::_internal_declaration_size() const { |
13078 | 0 | return _internal_declaration().size(); |
13079 | 0 | } |
13080 | 0 | inline int ExtensionRangeOptions::declaration_size() const { |
13081 | 0 | return _internal_declaration_size(); |
13082 | 0 | } |
13083 | 0 | inline void ExtensionRangeOptions::clear_declaration() { |
13084 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13085 | 0 | _impl_.declaration_.Clear(); |
13086 | 0 | } |
13087 | | inline ::google::protobuf::ExtensionRangeOptions_Declaration* ExtensionRangeOptions::mutable_declaration(int index) |
13088 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13089 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.declaration) |
13090 | 0 | return _internal_mutable_declaration()->Mutable(index); |
13091 | 0 | } |
13092 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* ExtensionRangeOptions::mutable_declaration() |
13093 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13094 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.declaration) |
13095 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13096 | 0 | return _internal_mutable_declaration(); |
13097 | 0 | } |
13098 | | inline const ::google::protobuf::ExtensionRangeOptions_Declaration& ExtensionRangeOptions::declaration(int index) const |
13099 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13100 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.declaration) |
13101 | 0 | return _internal_declaration().Get(index); |
13102 | 0 | } |
13103 | 0 | inline ::google::protobuf::ExtensionRangeOptions_Declaration* ExtensionRangeOptions::add_declaration() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13104 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13105 | 0 | ::google::protobuf::ExtensionRangeOptions_Declaration* _add = _internal_mutable_declaration()->Add(); |
13106 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.declaration) |
13107 | 0 | return _add; |
13108 | 0 | } |
13109 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& ExtensionRangeOptions::declaration() const |
13110 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13111 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.declaration) |
13112 | 0 | return _internal_declaration(); |
13113 | 0 | } |
13114 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& |
13115 | 0 | ExtensionRangeOptions::_internal_declaration() const { |
13116 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13117 | 0 | return _impl_.declaration_; |
13118 | 0 | } |
13119 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* |
13120 | 0 | ExtensionRangeOptions::_internal_mutable_declaration() { |
13121 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13122 | 0 | return &_impl_.declaration_; |
13123 | 0 | } |
13124 | | |
13125 | | // optional .google.protobuf.FeatureSet features = 50; |
13126 | 0 | inline bool ExtensionRangeOptions::has_features() const { |
13127 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13128 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
13129 | 0 | return value; |
13130 | 0 | } |
13131 | 0 | inline void ExtensionRangeOptions::clear_features() { |
13132 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13133 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
13134 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13135 | 0 | } |
13136 | 0 | inline const ::google::protobuf::FeatureSet& ExtensionRangeOptions::_internal_features() const { |
13137 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13138 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
13139 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
13140 | 0 | } |
13141 | 0 | inline const ::google::protobuf::FeatureSet& ExtensionRangeOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13142 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.features) |
13143 | 0 | return _internal_features(); |
13144 | 0 | } |
13145 | 0 | inline void ExtensionRangeOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
13146 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13147 | 0 | if (GetArena() == nullptr) { |
13148 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
13149 | 0 | } |
13150 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
13151 | 0 | if (value != nullptr) { |
13152 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13153 | 0 | } else { |
13154 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13155 | 0 | } |
13156 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ExtensionRangeOptions.features) |
13157 | 0 | } |
13158 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::release_features() { |
13159 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13160 | 0 |
|
13161 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13162 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
13163 | 0 | _impl_.features_ = nullptr; |
13164 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
13165 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13166 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13167 | 0 | if (GetArena() == nullptr) { |
13168 | 0 | delete old; |
13169 | 0 | } |
13170 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
13171 | 0 | if (GetArena() != nullptr) { |
13172 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13173 | 0 | } |
13174 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
13175 | 0 | return released; |
13176 | 0 | } |
13177 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::unsafe_arena_release_features() { |
13178 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13179 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ExtensionRangeOptions.features) |
13180 | 0 |
|
13181 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13182 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
13183 | 0 | _impl_.features_ = nullptr; |
13184 | 0 | return temp; |
13185 | 0 | } |
13186 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::_internal_mutable_features() { |
13187 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13188 | 0 | if (_impl_.features_ == nullptr) { |
13189 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
13190 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
13191 | 0 | } |
13192 | 0 | return _impl_.features_; |
13193 | 0 | } |
13194 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13195 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13196 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
13197 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.features) |
13198 | 0 | return _msg; |
13199 | 0 | } |
13200 | 0 | inline void ExtensionRangeOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
13201 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13202 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13203 | 0 | if (message_arena == nullptr) { |
13204 | 0 | delete (_impl_.features_); |
13205 | 0 | } |
13206 | 0 |
|
13207 | 0 | if (value != nullptr) { |
13208 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13209 | 0 | if (message_arena != submessage_arena) { |
13210 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13211 | 0 | } |
13212 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13213 | 0 | } else { |
13214 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13215 | 0 | } |
13216 | 0 |
|
13217 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
13218 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ExtensionRangeOptions.features) |
13219 | 0 | } |
13220 | | |
13221 | | // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE]; |
13222 | 0 | inline bool ExtensionRangeOptions::has_verification() const { |
13223 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13224 | 0 | return value; |
13225 | 0 | } |
13226 | 0 | inline void ExtensionRangeOptions::clear_verification() { |
13227 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13228 | 0 | _impl_.verification_ = 1; |
13229 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13230 | 0 | } |
13231 | 0 | inline ::google::protobuf::ExtensionRangeOptions_VerificationState ExtensionRangeOptions::verification() const { |
13232 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.verification) |
13233 | 0 | return _internal_verification(); |
13234 | 0 | } |
13235 | 0 | inline void ExtensionRangeOptions::set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value) { |
13236 | 0 | _internal_set_verification(value); |
13237 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13238 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.verification) |
13239 | 0 | } |
13240 | 0 | inline ::google::protobuf::ExtensionRangeOptions_VerificationState ExtensionRangeOptions::_internal_verification() const { |
13241 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13242 | 0 | return static_cast<::google::protobuf::ExtensionRangeOptions_VerificationState>(_impl_.verification_); |
13243 | 0 | } |
13244 | 0 | inline void ExtensionRangeOptions::_internal_set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value) { |
13245 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13246 | 0 | assert(::google::protobuf::ExtensionRangeOptions_VerificationState_IsValid(value)); |
13247 | 0 | _impl_.verification_ = value; |
13248 | 0 | } |
13249 | | |
13250 | | // ------------------------------------------------------------------- |
13251 | | |
13252 | | // FieldDescriptorProto |
13253 | | |
13254 | | // optional string name = 1; |
13255 | 0 | inline bool FieldDescriptorProto::has_name() const { |
13256 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13257 | 0 | return value; |
13258 | 0 | } |
13259 | 0 | inline void FieldDescriptorProto::clear_name() { |
13260 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13261 | 0 | _impl_.name_.ClearToEmpty(); |
13262 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13263 | 0 | } |
13264 | | inline const std::string& FieldDescriptorProto::name() const |
13265 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13266 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) |
13267 | 0 | return _internal_name(); |
13268 | 0 | } |
13269 | | template <typename Arg_, typename... Args_> |
13270 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_name(Arg_&& arg, |
13271 | | Args_... args) { |
13272 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13273 | | _impl_._has_bits_[0] |= 0x00000001u; |
13274 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13275 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) |
13276 | | } |
13277 | 0 | inline std::string* FieldDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13278 | 0 | std::string* _s = _internal_mutable_name(); |
13279 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) |
13280 | 0 | return _s; |
13281 | 0 | } |
13282 | 0 | inline const std::string& FieldDescriptorProto::_internal_name() const { |
13283 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13284 | 0 | return _impl_.name_.Get(); |
13285 | 0 | } |
13286 | 0 | inline void FieldDescriptorProto::_internal_set_name(const std::string& value) { |
13287 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13288 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13289 | 0 | _impl_.name_.Set(value, GetArena()); |
13290 | 0 | } |
13291 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_name() { |
13292 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13293 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13294 | 0 | return _impl_.name_.Mutable( GetArena()); |
13295 | 0 | } |
13296 | 0 | inline std::string* FieldDescriptorProto::release_name() { |
13297 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13298 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
13299 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
13300 | 0 | return nullptr; |
13301 | 0 | } |
13302 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13303 | 0 | auto* released = _impl_.name_.Release(); |
13304 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13305 | 0 | _impl_.name_.Set("", GetArena()); |
13306 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13307 | 0 | return released; |
13308 | 0 | } |
13309 | 0 | inline void FieldDescriptorProto::set_allocated_name(std::string* value) { |
13310 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13311 | 0 | if (value != nullptr) { |
13312 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13313 | 0 | } else { |
13314 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13315 | 0 | } |
13316 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
13317 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13318 | 0 | if (_impl_.name_.IsDefault()) { |
13319 | 0 | _impl_.name_.Set("", GetArena()); |
13320 | 0 | } |
13321 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13322 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) |
13323 | 0 | } |
13324 | | |
13325 | | // optional int32 number = 3; |
13326 | 0 | inline bool FieldDescriptorProto::has_number() const { |
13327 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
13328 | 0 | return value; |
13329 | 0 | } |
13330 | 0 | inline void FieldDescriptorProto::clear_number() { |
13331 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13332 | 0 | _impl_.number_ = 0; |
13333 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
13334 | 0 | } |
13335 | 0 | inline ::int32_t FieldDescriptorProto::number() const { |
13336 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) |
13337 | 0 | return _internal_number(); |
13338 | 0 | } |
13339 | 0 | inline void FieldDescriptorProto::set_number(::int32_t value) { |
13340 | 0 | _internal_set_number(value); |
13341 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
13342 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) |
13343 | 0 | } |
13344 | 0 | inline ::int32_t FieldDescriptorProto::_internal_number() const { |
13345 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13346 | 0 | return _impl_.number_; |
13347 | 0 | } |
13348 | 0 | inline void FieldDescriptorProto::_internal_set_number(::int32_t value) { |
13349 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13350 | 0 | _impl_.number_ = value; |
13351 | 0 | } |
13352 | | |
13353 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
13354 | 0 | inline bool FieldDescriptorProto::has_label() const { |
13355 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
13356 | 0 | return value; |
13357 | 0 | } |
13358 | 0 | inline void FieldDescriptorProto::clear_label() { |
13359 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13360 | 0 | _impl_.label_ = 1; |
13361 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
13362 | 0 | } |
13363 | 0 | inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const { |
13364 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) |
13365 | 0 | return _internal_label(); |
13366 | 0 | } |
13367 | 0 | inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) { |
13368 | 0 | _internal_set_label(value); |
13369 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
13370 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) |
13371 | 0 | } |
13372 | 0 | inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const { |
13373 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13374 | 0 | return static_cast<::google::protobuf::FieldDescriptorProto_Label>(_impl_.label_); |
13375 | 0 | } |
13376 | 0 | inline void FieldDescriptorProto::_internal_set_label(::google::protobuf::FieldDescriptorProto_Label value) { |
13377 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13378 | 0 | assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); |
13379 | 0 | _impl_.label_ = value; |
13380 | 0 | } |
13381 | | |
13382 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
13383 | 0 | inline bool FieldDescriptorProto::has_type() const { |
13384 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
13385 | 0 | return value; |
13386 | 0 | } |
13387 | 0 | inline void FieldDescriptorProto::clear_type() { |
13388 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13389 | 0 | _impl_.type_ = 1; |
13390 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
13391 | 0 | } |
13392 | 0 | inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const { |
13393 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) |
13394 | 0 | return _internal_type(); |
13395 | 0 | } |
13396 | 0 | inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) { |
13397 | 0 | _internal_set_type(value); |
13398 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
13399 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) |
13400 | 0 | } |
13401 | 0 | inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const { |
13402 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13403 | 0 | return static_cast<::google::protobuf::FieldDescriptorProto_Type>(_impl_.type_); |
13404 | 0 | } |
13405 | 0 | inline void FieldDescriptorProto::_internal_set_type(::google::protobuf::FieldDescriptorProto_Type value) { |
13406 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13407 | 0 | assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); |
13408 | 0 | _impl_.type_ = value; |
13409 | 0 | } |
13410 | | |
13411 | | // optional string type_name = 6; |
13412 | 0 | inline bool FieldDescriptorProto::has_type_name() const { |
13413 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
13414 | 0 | return value; |
13415 | 0 | } |
13416 | 0 | inline void FieldDescriptorProto::clear_type_name() { |
13417 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13418 | 0 | _impl_.type_name_.ClearToEmpty(); |
13419 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13420 | 0 | } |
13421 | | inline const std::string& FieldDescriptorProto::type_name() const |
13422 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13423 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) |
13424 | 0 | return _internal_type_name(); |
13425 | 0 | } |
13426 | | template <typename Arg_, typename... Args_> |
13427 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_type_name(Arg_&& arg, |
13428 | | Args_... args) { |
13429 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13430 | | _impl_._has_bits_[0] |= 0x00000004u; |
13431 | | _impl_.type_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13432 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) |
13433 | | } |
13434 | 0 | inline std::string* FieldDescriptorProto::mutable_type_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13435 | 0 | std::string* _s = _internal_mutable_type_name(); |
13436 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) |
13437 | 0 | return _s; |
13438 | 0 | } |
13439 | 0 | inline const std::string& FieldDescriptorProto::_internal_type_name() const { |
13440 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13441 | 0 | return _impl_.type_name_.Get(); |
13442 | 0 | } |
13443 | 0 | inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) { |
13444 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13445 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13446 | 0 | _impl_.type_name_.Set(value, GetArena()); |
13447 | 0 | } |
13448 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_type_name() { |
13449 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13450 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13451 | 0 | return _impl_.type_name_.Mutable( GetArena()); |
13452 | 0 | } |
13453 | 0 | inline std::string* FieldDescriptorProto::release_type_name() { |
13454 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13455 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
13456 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
13457 | 0 | return nullptr; |
13458 | 0 | } |
13459 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13460 | 0 | auto* released = _impl_.type_name_.Release(); |
13461 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13462 | 0 | _impl_.type_name_.Set("", GetArena()); |
13463 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13464 | 0 | return released; |
13465 | 0 | } |
13466 | 0 | inline void FieldDescriptorProto::set_allocated_type_name(std::string* value) { |
13467 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13468 | 0 | if (value != nullptr) { |
13469 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13470 | 0 | } else { |
13471 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13472 | 0 | } |
13473 | 0 | _impl_.type_name_.SetAllocated(value, GetArena()); |
13474 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13475 | 0 | if (_impl_.type_name_.IsDefault()) { |
13476 | 0 | _impl_.type_name_.Set("", GetArena()); |
13477 | 0 | } |
13478 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13479 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
13480 | 0 | } |
13481 | | |
13482 | | // optional string extendee = 2; |
13483 | 0 | inline bool FieldDescriptorProto::has_extendee() const { |
13484 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13485 | 0 | return value; |
13486 | 0 | } |
13487 | 0 | inline void FieldDescriptorProto::clear_extendee() { |
13488 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13489 | 0 | _impl_.extendee_.ClearToEmpty(); |
13490 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13491 | 0 | } |
13492 | | inline const std::string& FieldDescriptorProto::extendee() const |
13493 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13494 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) |
13495 | 0 | return _internal_extendee(); |
13496 | 0 | } |
13497 | | template <typename Arg_, typename... Args_> |
13498 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_extendee(Arg_&& arg, |
13499 | | Args_... args) { |
13500 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13501 | | _impl_._has_bits_[0] |= 0x00000002u; |
13502 | | _impl_.extendee_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13503 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) |
13504 | | } |
13505 | 0 | inline std::string* FieldDescriptorProto::mutable_extendee() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13506 | 0 | std::string* _s = _internal_mutable_extendee(); |
13507 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) |
13508 | 0 | return _s; |
13509 | 0 | } |
13510 | 0 | inline const std::string& FieldDescriptorProto::_internal_extendee() const { |
13511 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13512 | 0 | return _impl_.extendee_.Get(); |
13513 | 0 | } |
13514 | 0 | inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) { |
13515 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13516 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13517 | 0 | _impl_.extendee_.Set(value, GetArena()); |
13518 | 0 | } |
13519 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_extendee() { |
13520 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13521 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13522 | 0 | return _impl_.extendee_.Mutable( GetArena()); |
13523 | 0 | } |
13524 | 0 | inline std::string* FieldDescriptorProto::release_extendee() { |
13525 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13526 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
13527 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
13528 | 0 | return nullptr; |
13529 | 0 | } |
13530 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13531 | 0 | auto* released = _impl_.extendee_.Release(); |
13532 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13533 | 0 | _impl_.extendee_.Set("", GetArena()); |
13534 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13535 | 0 | return released; |
13536 | 0 | } |
13537 | 0 | inline void FieldDescriptorProto::set_allocated_extendee(std::string* value) { |
13538 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13539 | 0 | if (value != nullptr) { |
13540 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13541 | 0 | } else { |
13542 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13543 | 0 | } |
13544 | 0 | _impl_.extendee_.SetAllocated(value, GetArena()); |
13545 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13546 | 0 | if (_impl_.extendee_.IsDefault()) { |
13547 | 0 | _impl_.extendee_.Set("", GetArena()); |
13548 | 0 | } |
13549 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13550 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
13551 | 0 | } |
13552 | | |
13553 | | // optional string default_value = 7; |
13554 | 0 | inline bool FieldDescriptorProto::has_default_value() const { |
13555 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
13556 | 0 | return value; |
13557 | 0 | } |
13558 | 0 | inline void FieldDescriptorProto::clear_default_value() { |
13559 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13560 | 0 | _impl_.default_value_.ClearToEmpty(); |
13561 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13562 | 0 | } |
13563 | | inline const std::string& FieldDescriptorProto::default_value() const |
13564 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13565 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) |
13566 | 0 | return _internal_default_value(); |
13567 | 0 | } |
13568 | | template <typename Arg_, typename... Args_> |
13569 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_default_value(Arg_&& arg, |
13570 | | Args_... args) { |
13571 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13572 | | _impl_._has_bits_[0] |= 0x00000008u; |
13573 | | _impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13574 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) |
13575 | | } |
13576 | 0 | inline std::string* FieldDescriptorProto::mutable_default_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13577 | 0 | std::string* _s = _internal_mutable_default_value(); |
13578 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) |
13579 | 0 | return _s; |
13580 | 0 | } |
13581 | 0 | inline const std::string& FieldDescriptorProto::_internal_default_value() const { |
13582 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13583 | 0 | return _impl_.default_value_.Get(); |
13584 | 0 | } |
13585 | 0 | inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) { |
13586 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13587 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13588 | 0 | _impl_.default_value_.Set(value, GetArena()); |
13589 | 0 | } |
13590 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_default_value() { |
13591 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13592 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13593 | 0 | return _impl_.default_value_.Mutable( GetArena()); |
13594 | 0 | } |
13595 | 0 | inline std::string* FieldDescriptorProto::release_default_value() { |
13596 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13597 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
13598 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
13599 | 0 | return nullptr; |
13600 | 0 | } |
13601 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13602 | 0 | auto* released = _impl_.default_value_.Release(); |
13603 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13604 | 0 | _impl_.default_value_.Set("", GetArena()); |
13605 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13606 | 0 | return released; |
13607 | 0 | } |
13608 | 0 | inline void FieldDescriptorProto::set_allocated_default_value(std::string* value) { |
13609 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13610 | 0 | if (value != nullptr) { |
13611 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13612 | 0 | } else { |
13613 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13614 | 0 | } |
13615 | 0 | _impl_.default_value_.SetAllocated(value, GetArena()); |
13616 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13617 | 0 | if (_impl_.default_value_.IsDefault()) { |
13618 | 0 | _impl_.default_value_.Set("", GetArena()); |
13619 | 0 | } |
13620 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13621 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
13622 | 0 | } |
13623 | | |
13624 | | // optional int32 oneof_index = 9; |
13625 | 0 | inline bool FieldDescriptorProto::has_oneof_index() const { |
13626 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
13627 | 0 | return value; |
13628 | 0 | } |
13629 | 0 | inline void FieldDescriptorProto::clear_oneof_index() { |
13630 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13631 | 0 | _impl_.oneof_index_ = 0; |
13632 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
13633 | 0 | } |
13634 | 0 | inline ::int32_t FieldDescriptorProto::oneof_index() const { |
13635 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) |
13636 | 0 | return _internal_oneof_index(); |
13637 | 0 | } |
13638 | 0 | inline void FieldDescriptorProto::set_oneof_index(::int32_t value) { |
13639 | 0 | _internal_set_oneof_index(value); |
13640 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
13641 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) |
13642 | 0 | } |
13643 | 0 | inline ::int32_t FieldDescriptorProto::_internal_oneof_index() const { |
13644 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13645 | 0 | return _impl_.oneof_index_; |
13646 | 0 | } |
13647 | 0 | inline void FieldDescriptorProto::_internal_set_oneof_index(::int32_t value) { |
13648 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13649 | 0 | _impl_.oneof_index_ = value; |
13650 | 0 | } |
13651 | | |
13652 | | // optional string json_name = 10; |
13653 | 0 | inline bool FieldDescriptorProto::has_json_name() const { |
13654 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
13655 | 0 | return value; |
13656 | 0 | } |
13657 | 0 | inline void FieldDescriptorProto::clear_json_name() { |
13658 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13659 | 0 | _impl_.json_name_.ClearToEmpty(); |
13660 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13661 | 0 | } |
13662 | | inline const std::string& FieldDescriptorProto::json_name() const |
13663 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13664 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) |
13665 | 0 | return _internal_json_name(); |
13666 | 0 | } |
13667 | | template <typename Arg_, typename... Args_> |
13668 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_json_name(Arg_&& arg, |
13669 | | Args_... args) { |
13670 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13671 | | _impl_._has_bits_[0] |= 0x00000010u; |
13672 | | _impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13673 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) |
13674 | | } |
13675 | 0 | inline std::string* FieldDescriptorProto::mutable_json_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13676 | 0 | std::string* _s = _internal_mutable_json_name(); |
13677 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) |
13678 | 0 | return _s; |
13679 | 0 | } |
13680 | 0 | inline const std::string& FieldDescriptorProto::_internal_json_name() const { |
13681 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13682 | 0 | return _impl_.json_name_.Get(); |
13683 | 0 | } |
13684 | 0 | inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) { |
13685 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13686 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13687 | 0 | _impl_.json_name_.Set(value, GetArena()); |
13688 | 0 | } |
13689 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_json_name() { |
13690 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13691 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13692 | 0 | return _impl_.json_name_.Mutable( GetArena()); |
13693 | 0 | } |
13694 | 0 | inline std::string* FieldDescriptorProto::release_json_name() { |
13695 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13696 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
13697 | 0 | if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { |
13698 | 0 | return nullptr; |
13699 | 0 | } |
13700 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13701 | 0 | auto* released = _impl_.json_name_.Release(); |
13702 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13703 | 0 | _impl_.json_name_.Set("", GetArena()); |
13704 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13705 | 0 | return released; |
13706 | 0 | } |
13707 | 0 | inline void FieldDescriptorProto::set_allocated_json_name(std::string* value) { |
13708 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13709 | 0 | if (value != nullptr) { |
13710 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13711 | 0 | } else { |
13712 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13713 | 0 | } |
13714 | 0 | _impl_.json_name_.SetAllocated(value, GetArena()); |
13715 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13716 | 0 | if (_impl_.json_name_.IsDefault()) { |
13717 | 0 | _impl_.json_name_.Set("", GetArena()); |
13718 | 0 | } |
13719 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13720 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
13721 | 0 | } |
13722 | | |
13723 | | // optional .google.protobuf.FieldOptions options = 8; |
13724 | 0 | inline bool FieldDescriptorProto::has_options() const { |
13725 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
13726 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
13727 | 0 | return value; |
13728 | 0 | } |
13729 | 0 | inline void FieldDescriptorProto::clear_options() { |
13730 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13731 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
13732 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13733 | 0 | } |
13734 | 0 | inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::_internal_options() const { |
13735 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13736 | 0 | const ::google::protobuf::FieldOptions* p = _impl_.options_; |
13737 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FieldOptions&>(::google::protobuf::_FieldOptions_default_instance_); |
13738 | 0 | } |
13739 | 0 | inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13740 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) |
13741 | 0 | return _internal_options(); |
13742 | 0 | } |
13743 | 0 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::FieldOptions* value) { |
13744 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13745 | 0 | if (GetArena() == nullptr) { |
13746 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
13747 | 0 | } |
13748 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FieldOptions*>(value); |
13749 | 0 | if (value != nullptr) { |
13750 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
13751 | 0 | } else { |
13752 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13753 | 0 | } |
13754 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options) |
13755 | 0 | } |
13756 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() { |
13757 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13758 | 0 |
|
13759 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13760 | 0 | ::google::protobuf::FieldOptions* released = _impl_.options_; |
13761 | 0 | _impl_.options_ = nullptr; |
13762 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
13763 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13764 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13765 | 0 | if (GetArena() == nullptr) { |
13766 | 0 | delete old; |
13767 | 0 | } |
13768 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
13769 | 0 | if (GetArena() != nullptr) { |
13770 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13771 | 0 | } |
13772 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
13773 | 0 | return released; |
13774 | 0 | } |
13775 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { |
13776 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13777 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
13778 | 0 |
|
13779 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13780 | 0 | ::google::protobuf::FieldOptions* temp = _impl_.options_; |
13781 | 0 | _impl_.options_ = nullptr; |
13782 | 0 | return temp; |
13783 | 0 | } |
13784 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::_internal_mutable_options() { |
13785 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13786 | 0 | if (_impl_.options_ == nullptr) { |
13787 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FieldOptions>(GetArena()); |
13788 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FieldOptions*>(p); |
13789 | 0 | } |
13790 | 0 | return _impl_.options_; |
13791 | 0 | } |
13792 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13793 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
13794 | 0 | ::google::protobuf::FieldOptions* _msg = _internal_mutable_options(); |
13795 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) |
13796 | 0 | return _msg; |
13797 | 0 | } |
13798 | 0 | inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* value) { |
13799 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13800 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13801 | 0 | if (message_arena == nullptr) { |
13802 | 0 | delete (_impl_.options_); |
13803 | 0 | } |
13804 | 0 |
|
13805 | 0 | if (value != nullptr) { |
13806 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13807 | 0 | if (message_arena != submessage_arena) { |
13808 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13809 | 0 | } |
13810 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
13811 | 0 | } else { |
13812 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13813 | 0 | } |
13814 | 0 |
|
13815 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FieldOptions*>(value); |
13816 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) |
13817 | 0 | } |
13818 | | |
13819 | | // optional bool proto3_optional = 17; |
13820 | 0 | inline bool FieldDescriptorProto::has_proto3_optional() const { |
13821 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
13822 | 0 | return value; |
13823 | 0 | } |
13824 | 0 | inline void FieldDescriptorProto::clear_proto3_optional() { |
13825 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13826 | 0 | _impl_.proto3_optional_ = false; |
13827 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
13828 | 0 | } |
13829 | 0 | inline bool FieldDescriptorProto::proto3_optional() const { |
13830 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional) |
13831 | 0 | return _internal_proto3_optional(); |
13832 | 0 | } |
13833 | 0 | inline void FieldDescriptorProto::set_proto3_optional(bool value) { |
13834 | 0 | _internal_set_proto3_optional(value); |
13835 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
13836 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional) |
13837 | 0 | } |
13838 | 0 | inline bool FieldDescriptorProto::_internal_proto3_optional() const { |
13839 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13840 | 0 | return _impl_.proto3_optional_; |
13841 | 0 | } |
13842 | 0 | inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) { |
13843 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13844 | 0 | _impl_.proto3_optional_ = value; |
13845 | 0 | } |
13846 | | |
13847 | | // ------------------------------------------------------------------- |
13848 | | |
13849 | | // OneofDescriptorProto |
13850 | | |
13851 | | // optional string name = 1; |
13852 | 0 | inline bool OneofDescriptorProto::has_name() const { |
13853 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13854 | 0 | return value; |
13855 | 0 | } |
13856 | 0 | inline void OneofDescriptorProto::clear_name() { |
13857 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13858 | 0 | _impl_.name_.ClearToEmpty(); |
13859 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13860 | 0 | } |
13861 | | inline const std::string& OneofDescriptorProto::name() const |
13862 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13863 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) |
13864 | 0 | return _internal_name(); |
13865 | 0 | } |
13866 | | template <typename Arg_, typename... Args_> |
13867 | | inline PROTOBUF_ALWAYS_INLINE void OneofDescriptorProto::set_name(Arg_&& arg, |
13868 | | Args_... args) { |
13869 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13870 | | _impl_._has_bits_[0] |= 0x00000001u; |
13871 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13872 | | // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) |
13873 | | } |
13874 | 0 | inline std::string* OneofDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13875 | 0 | std::string* _s = _internal_mutable_name(); |
13876 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) |
13877 | 0 | return _s; |
13878 | 0 | } |
13879 | 0 | inline const std::string& OneofDescriptorProto::_internal_name() const { |
13880 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13881 | 0 | return _impl_.name_.Get(); |
13882 | 0 | } |
13883 | 0 | inline void OneofDescriptorProto::_internal_set_name(const std::string& value) { |
13884 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13885 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13886 | 0 | _impl_.name_.Set(value, GetArena()); |
13887 | 0 | } |
13888 | 0 | inline std::string* OneofDescriptorProto::_internal_mutable_name() { |
13889 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13890 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13891 | 0 | return _impl_.name_.Mutable( GetArena()); |
13892 | 0 | } |
13893 | 0 | inline std::string* OneofDescriptorProto::release_name() { |
13894 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13895 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
13896 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
13897 | 0 | return nullptr; |
13898 | 0 | } |
13899 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13900 | 0 | auto* released = _impl_.name_.Release(); |
13901 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13902 | 0 | _impl_.name_.Set("", GetArena()); |
13903 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13904 | 0 | return released; |
13905 | 0 | } |
13906 | 0 | inline void OneofDescriptorProto::set_allocated_name(std::string* value) { |
13907 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13908 | 0 | if (value != nullptr) { |
13909 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13910 | 0 | } else { |
13911 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13912 | 0 | } |
13913 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
13914 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13915 | 0 | if (_impl_.name_.IsDefault()) { |
13916 | 0 | _impl_.name_.Set("", GetArena()); |
13917 | 0 | } |
13918 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13919 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) |
13920 | 0 | } |
13921 | | |
13922 | | // optional .google.protobuf.OneofOptions options = 2; |
13923 | 0 | inline bool OneofDescriptorProto::has_options() const { |
13924 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13925 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
13926 | 0 | return value; |
13927 | 0 | } |
13928 | 0 | inline void OneofDescriptorProto::clear_options() { |
13929 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13930 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
13931 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13932 | 0 | } |
13933 | 0 | inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::_internal_options() const { |
13934 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13935 | 0 | const ::google::protobuf::OneofOptions* p = _impl_.options_; |
13936 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::OneofOptions&>(::google::protobuf::_OneofOptions_default_instance_); |
13937 | 0 | } |
13938 | 0 | inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13939 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) |
13940 | 0 | return _internal_options(); |
13941 | 0 | } |
13942 | 0 | inline void OneofDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::OneofOptions* value) { |
13943 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13944 | 0 | if (GetArena() == nullptr) { |
13945 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
13946 | 0 | } |
13947 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::OneofOptions*>(value); |
13948 | 0 | if (value != nullptr) { |
13949 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13950 | 0 | } else { |
13951 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13952 | 0 | } |
13953 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options) |
13954 | 0 | } |
13955 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::release_options() { |
13956 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13957 | 0 |
|
13958 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13959 | 0 | ::google::protobuf::OneofOptions* released = _impl_.options_; |
13960 | 0 | _impl_.options_ = nullptr; |
13961 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
13962 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13963 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13964 | 0 | if (GetArena() == nullptr) { |
13965 | 0 | delete old; |
13966 | 0 | } |
13967 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
13968 | 0 | if (GetArena() != nullptr) { |
13969 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13970 | 0 | } |
13971 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
13972 | 0 | return released; |
13973 | 0 | } |
13974 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { |
13975 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13976 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) |
13977 | 0 |
|
13978 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13979 | 0 | ::google::protobuf::OneofOptions* temp = _impl_.options_; |
13980 | 0 | _impl_.options_ = nullptr; |
13981 | 0 | return temp; |
13982 | 0 | } |
13983 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::_internal_mutable_options() { |
13984 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13985 | 0 | if (_impl_.options_ == nullptr) { |
13986 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::OneofOptions>(GetArena()); |
13987 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::OneofOptions*>(p); |
13988 | 0 | } |
13989 | 0 | return _impl_.options_; |
13990 | 0 | } |
13991 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13992 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13993 | 0 | ::google::protobuf::OneofOptions* _msg = _internal_mutable_options(); |
13994 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) |
13995 | 0 | return _msg; |
13996 | 0 | } |
13997 | 0 | inline void OneofDescriptorProto::set_allocated_options(::google::protobuf::OneofOptions* value) { |
13998 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13999 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14000 | 0 | if (message_arena == nullptr) { |
14001 | 0 | delete (_impl_.options_); |
14002 | 0 | } |
14003 | 0 |
|
14004 | 0 | if (value != nullptr) { |
14005 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14006 | 0 | if (message_arena != submessage_arena) { |
14007 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14008 | 0 | } |
14009 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14010 | 0 | } else { |
14011 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14012 | 0 | } |
14013 | 0 |
|
14014 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::OneofOptions*>(value); |
14015 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) |
14016 | 0 | } |
14017 | | |
14018 | | // ------------------------------------------------------------------- |
14019 | | |
14020 | | // EnumDescriptorProto_EnumReservedRange |
14021 | | |
14022 | | // optional int32 start = 1; |
14023 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { |
14024 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14025 | 0 | return value; |
14026 | 0 | } |
14027 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_start() { |
14028 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14029 | 0 | _impl_.start_ = 0; |
14030 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14031 | 0 | } |
14032 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::start() const { |
14033 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
14034 | 0 | return _internal_start(); |
14035 | 0 | } |
14036 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_start(::int32_t value) { |
14037 | 0 | _internal_set_start(value); |
14038 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14039 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
14040 | 0 | } |
14041 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::_internal_start() const { |
14042 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14043 | 0 | return _impl_.start_; |
14044 | 0 | } |
14045 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(::int32_t value) { |
14046 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14047 | 0 | _impl_.start_ = value; |
14048 | 0 | } |
14049 | | |
14050 | | // optional int32 end = 2; |
14051 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { |
14052 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14053 | 0 | return value; |
14054 | 0 | } |
14055 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_end() { |
14056 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14057 | 0 | _impl_.end_ = 0; |
14058 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14059 | 0 | } |
14060 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::end() const { |
14061 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
14062 | 0 | return _internal_end(); |
14063 | 0 | } |
14064 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_end(::int32_t value) { |
14065 | 0 | _internal_set_end(value); |
14066 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14067 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
14068 | 0 | } |
14069 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::_internal_end() const { |
14070 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14071 | 0 | return _impl_.end_; |
14072 | 0 | } |
14073 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(::int32_t value) { |
14074 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14075 | 0 | _impl_.end_ = value; |
14076 | 0 | } |
14077 | | |
14078 | | // ------------------------------------------------------------------- |
14079 | | |
14080 | | // EnumDescriptorProto |
14081 | | |
14082 | | // optional string name = 1; |
14083 | 0 | inline bool EnumDescriptorProto::has_name() const { |
14084 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14085 | 0 | return value; |
14086 | 0 | } |
14087 | 0 | inline void EnumDescriptorProto::clear_name() { |
14088 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14089 | 0 | _impl_.name_.ClearToEmpty(); |
14090 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14091 | 0 | } |
14092 | | inline const std::string& EnumDescriptorProto::name() const |
14093 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14094 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) |
14095 | 0 | return _internal_name(); |
14096 | 0 | } |
14097 | | template <typename Arg_, typename... Args_> |
14098 | | inline PROTOBUF_ALWAYS_INLINE void EnumDescriptorProto::set_name(Arg_&& arg, |
14099 | | Args_... args) { |
14100 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14101 | | _impl_._has_bits_[0] |= 0x00000001u; |
14102 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14103 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) |
14104 | | } |
14105 | 0 | inline std::string* EnumDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14106 | 0 | std::string* _s = _internal_mutable_name(); |
14107 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) |
14108 | 0 | return _s; |
14109 | 0 | } |
14110 | 0 | inline const std::string& EnumDescriptorProto::_internal_name() const { |
14111 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14112 | 0 | return _impl_.name_.Get(); |
14113 | 0 | } |
14114 | 0 | inline void EnumDescriptorProto::_internal_set_name(const std::string& value) { |
14115 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14116 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14117 | 0 | _impl_.name_.Set(value, GetArena()); |
14118 | 0 | } |
14119 | 0 | inline std::string* EnumDescriptorProto::_internal_mutable_name() { |
14120 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14121 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14122 | 0 | return _impl_.name_.Mutable( GetArena()); |
14123 | 0 | } |
14124 | 0 | inline std::string* EnumDescriptorProto::release_name() { |
14125 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14126 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
14127 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14128 | 0 | return nullptr; |
14129 | 0 | } |
14130 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14131 | 0 | auto* released = _impl_.name_.Release(); |
14132 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14133 | 0 | _impl_.name_.Set("", GetArena()); |
14134 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14135 | 0 | return released; |
14136 | 0 | } |
14137 | 0 | inline void EnumDescriptorProto::set_allocated_name(std::string* value) { |
14138 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14139 | 0 | if (value != nullptr) { |
14140 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14141 | 0 | } else { |
14142 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14143 | 0 | } |
14144 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
14145 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14146 | 0 | if (_impl_.name_.IsDefault()) { |
14147 | 0 | _impl_.name_.Set("", GetArena()); |
14148 | 0 | } |
14149 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14150 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) |
14151 | 0 | } |
14152 | | |
14153 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
14154 | 0 | inline int EnumDescriptorProto::_internal_value_size() const { |
14155 | 0 | return _internal_value().size(); |
14156 | 0 | } |
14157 | 0 | inline int EnumDescriptorProto::value_size() const { |
14158 | 0 | return _internal_value_size(); |
14159 | 0 | } |
14160 | 0 | inline void EnumDescriptorProto::clear_value() { |
14161 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14162 | 0 | _impl_.value_.Clear(); |
14163 | 0 | } |
14164 | | inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) |
14165 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14166 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) |
14167 | 0 | return _internal_mutable_value()->Mutable(index); |
14168 | 0 | } |
14169 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* EnumDescriptorProto::mutable_value() |
14170 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14171 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) |
14172 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14173 | 0 | return _internal_mutable_value(); |
14174 | 0 | } |
14175 | | inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const |
14176 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14177 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) |
14178 | 0 | return _internal_value().Get(index); |
14179 | 0 | } |
14180 | 0 | inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14181 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14182 | 0 | ::google::protobuf::EnumValueDescriptorProto* _add = _internal_mutable_value()->Add(); |
14183 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) |
14184 | 0 | return _add; |
14185 | 0 | } |
14186 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& EnumDescriptorProto::value() const |
14187 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14188 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) |
14189 | 0 | return _internal_value(); |
14190 | 0 | } |
14191 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& |
14192 | 0 | EnumDescriptorProto::_internal_value() const { |
14193 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14194 | 0 | return _impl_.value_; |
14195 | 0 | } |
14196 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* |
14197 | 0 | EnumDescriptorProto::_internal_mutable_value() { |
14198 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14199 | 0 | return &_impl_.value_; |
14200 | 0 | } |
14201 | | |
14202 | | // optional .google.protobuf.EnumOptions options = 3; |
14203 | 0 | inline bool EnumDescriptorProto::has_options() const { |
14204 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14205 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
14206 | 0 | return value; |
14207 | 0 | } |
14208 | 0 | inline void EnumDescriptorProto::clear_options() { |
14209 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14210 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
14211 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14212 | 0 | } |
14213 | 0 | inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::_internal_options() const { |
14214 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14215 | 0 | const ::google::protobuf::EnumOptions* p = _impl_.options_; |
14216 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::EnumOptions&>(::google::protobuf::_EnumOptions_default_instance_); |
14217 | 0 | } |
14218 | 0 | inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14219 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) |
14220 | 0 | return _internal_options(); |
14221 | 0 | } |
14222 | 0 | inline void EnumDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::EnumOptions* value) { |
14223 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14224 | 0 | if (GetArena() == nullptr) { |
14225 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
14226 | 0 | } |
14227 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumOptions*>(value); |
14228 | 0 | if (value != nullptr) { |
14229 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14230 | 0 | } else { |
14231 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14232 | 0 | } |
14233 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options) |
14234 | 0 | } |
14235 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
14236 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14237 | 0 |
|
14238 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14239 | 0 | ::google::protobuf::EnumOptions* released = _impl_.options_; |
14240 | 0 | _impl_.options_ = nullptr; |
14241 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
14242 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
14243 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14244 | 0 | if (GetArena() == nullptr) { |
14245 | 0 | delete old; |
14246 | 0 | } |
14247 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
14248 | 0 | if (GetArena() != nullptr) { |
14249 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14250 | 0 | } |
14251 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
14252 | 0 | return released; |
14253 | 0 | } |
14254 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { |
14255 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14256 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
14257 | 0 |
|
14258 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14259 | 0 | ::google::protobuf::EnumOptions* temp = _impl_.options_; |
14260 | 0 | _impl_.options_ = nullptr; |
14261 | 0 | return temp; |
14262 | 0 | } |
14263 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::_internal_mutable_options() { |
14264 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14265 | 0 | if (_impl_.options_ == nullptr) { |
14266 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::EnumOptions>(GetArena()); |
14267 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumOptions*>(p); |
14268 | 0 | } |
14269 | 0 | return _impl_.options_; |
14270 | 0 | } |
14271 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14272 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14273 | 0 | ::google::protobuf::EnumOptions* _msg = _internal_mutable_options(); |
14274 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) |
14275 | 0 | return _msg; |
14276 | 0 | } |
14277 | 0 | inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* value) { |
14278 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
14279 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14280 | 0 | if (message_arena == nullptr) { |
14281 | 0 | delete (_impl_.options_); |
14282 | 0 | } |
14283 | 0 |
|
14284 | 0 | if (value != nullptr) { |
14285 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14286 | 0 | if (message_arena != submessage_arena) { |
14287 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14288 | 0 | } |
14289 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14290 | 0 | } else { |
14291 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14292 | 0 | } |
14293 | 0 |
|
14294 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumOptions*>(value); |
14295 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) |
14296 | 0 | } |
14297 | | |
14298 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
14299 | 0 | inline int EnumDescriptorProto::_internal_reserved_range_size() const { |
14300 | 0 | return _internal_reserved_range().size(); |
14301 | 0 | } |
14302 | 0 | inline int EnumDescriptorProto::reserved_range_size() const { |
14303 | 0 | return _internal_reserved_range_size(); |
14304 | 0 | } |
14305 | 0 | inline void EnumDescriptorProto::clear_reserved_range() { |
14306 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14307 | 0 | _impl_.reserved_range_.Clear(); |
14308 | 0 | } |
14309 | | inline ::google::protobuf::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) |
14310 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14311 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) |
14312 | 0 | return _internal_mutable_reserved_range()->Mutable(index); |
14313 | 0 | } |
14314 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* EnumDescriptorProto::mutable_reserved_range() |
14315 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14316 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) |
14317 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14318 | 0 | return _internal_mutable_reserved_range(); |
14319 | 0 | } |
14320 | | inline const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const |
14321 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14322 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) |
14323 | 0 | return _internal_reserved_range().Get(index); |
14324 | 0 | } |
14325 | 0 | inline ::google::protobuf::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14326 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14327 | 0 | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* _add = _internal_mutable_reserved_range()->Add(); |
14328 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) |
14329 | 0 | return _add; |
14330 | 0 | } |
14331 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& EnumDescriptorProto::reserved_range() const |
14332 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14333 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) |
14334 | 0 | return _internal_reserved_range(); |
14335 | 0 | } |
14336 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& |
14337 | 0 | EnumDescriptorProto::_internal_reserved_range() const { |
14338 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14339 | 0 | return _impl_.reserved_range_; |
14340 | 0 | } |
14341 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* |
14342 | 0 | EnumDescriptorProto::_internal_mutable_reserved_range() { |
14343 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14344 | 0 | return &_impl_.reserved_range_; |
14345 | 0 | } |
14346 | | |
14347 | | // repeated string reserved_name = 5; |
14348 | 0 | inline int EnumDescriptorProto::_internal_reserved_name_size() const { |
14349 | 0 | return _internal_reserved_name().size(); |
14350 | 0 | } |
14351 | 0 | inline int EnumDescriptorProto::reserved_name_size() const { |
14352 | 0 | return _internal_reserved_name_size(); |
14353 | 0 | } |
14354 | 0 | inline void EnumDescriptorProto::clear_reserved_name() { |
14355 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14356 | 0 | _impl_.reserved_name_.Clear(); |
14357 | 0 | } |
14358 | | inline std::string* EnumDescriptorProto::add_reserved_name() |
14359 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14360 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14361 | 0 | std::string* _s = _internal_mutable_reserved_name()->Add(); |
14362 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
14363 | 0 | return _s; |
14364 | 0 | } |
14365 | | inline const std::string& EnumDescriptorProto::reserved_name(int index) const |
14366 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14367 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) |
14368 | 0 | return _internal_reserved_name().Get(index); |
14369 | 0 | } |
14370 | | inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) |
14371 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14372 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
14373 | 0 | return _internal_mutable_reserved_name()->Mutable(index); |
14374 | 0 | } |
14375 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) { |
14376 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign(value); |
14377 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
14378 | 0 | } |
14379 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) { |
14380 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign(std::move(value)); |
14381 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
14382 | 0 | } |
14383 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) { |
14384 | 0 | ABSL_DCHECK(value != nullptr); |
14385 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign(value); |
14386 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name) |
14387 | 0 | } |
14388 | | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, |
14389 | 0 | std::size_t size) { |
14390 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign( |
14391 | 0 | reinterpret_cast<const char*>(value), size); |
14392 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
14393 | 0 | } |
14394 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, absl::string_view value) { |
14395 | 0 | _internal_mutable_reserved_name()->Mutable(index)->assign( |
14396 | 0 | value.data(), value.size()); |
14397 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.EnumDescriptorProto.reserved_name) |
14398 | 0 | } |
14399 | 0 | inline void EnumDescriptorProto::add_reserved_name(const std::string& value) { |
14400 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14401 | 0 | _internal_mutable_reserved_name()->Add()->assign(value); |
14402 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
14403 | 0 | } |
14404 | 0 | inline void EnumDescriptorProto::add_reserved_name(std::string&& value) { |
14405 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14406 | 0 | _internal_mutable_reserved_name()->Add(std::move(value)); |
14407 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
14408 | 0 | } |
14409 | 0 | inline void EnumDescriptorProto::add_reserved_name(const char* value) { |
14410 | 0 | ABSL_DCHECK(value != nullptr); |
14411 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14412 | 0 | _internal_mutable_reserved_name()->Add()->assign(value); |
14413 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name) |
14414 | 0 | } |
14415 | 0 | inline void EnumDescriptorProto::add_reserved_name(const char* value, std::size_t size) { |
14416 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14417 | 0 | _internal_mutable_reserved_name()->Add()->assign( |
14418 | 0 | reinterpret_cast<const char*>(value), size); |
14419 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
14420 | 0 | } |
14421 | 0 | inline void EnumDescriptorProto::add_reserved_name(absl::string_view value) { |
14422 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14423 | 0 | _internal_mutable_reserved_name()->Add()->assign(value.data(), |
14424 | 0 | value.size()); |
14425 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.EnumDescriptorProto.reserved_name) |
14426 | 0 | } |
14427 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
14428 | 0 | EnumDescriptorProto::reserved_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14429 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) |
14430 | 0 | return _internal_reserved_name(); |
14431 | 0 | } |
14432 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
14433 | 0 | EnumDescriptorProto::mutable_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14434 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) |
14435 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14436 | 0 | return _internal_mutable_reserved_name(); |
14437 | 0 | } |
14438 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
14439 | 0 | EnumDescriptorProto::_internal_reserved_name() const { |
14440 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14441 | 0 | return _impl_.reserved_name_; |
14442 | 0 | } |
14443 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
14444 | 0 | EnumDescriptorProto::_internal_mutable_reserved_name() { |
14445 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14446 | 0 | return &_impl_.reserved_name_; |
14447 | 0 | } |
14448 | | |
14449 | | // ------------------------------------------------------------------- |
14450 | | |
14451 | | // EnumValueDescriptorProto |
14452 | | |
14453 | | // optional string name = 1; |
14454 | 0 | inline bool EnumValueDescriptorProto::has_name() const { |
14455 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14456 | 0 | return value; |
14457 | 0 | } |
14458 | 0 | inline void EnumValueDescriptorProto::clear_name() { |
14459 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14460 | 0 | _impl_.name_.ClearToEmpty(); |
14461 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14462 | 0 | } |
14463 | | inline const std::string& EnumValueDescriptorProto::name() const |
14464 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14465 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) |
14466 | 0 | return _internal_name(); |
14467 | 0 | } |
14468 | | template <typename Arg_, typename... Args_> |
14469 | | inline PROTOBUF_ALWAYS_INLINE void EnumValueDescriptorProto::set_name(Arg_&& arg, |
14470 | | Args_... args) { |
14471 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14472 | | _impl_._has_bits_[0] |= 0x00000001u; |
14473 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14474 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) |
14475 | | } |
14476 | 0 | inline std::string* EnumValueDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14477 | 0 | std::string* _s = _internal_mutable_name(); |
14478 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) |
14479 | 0 | return _s; |
14480 | 0 | } |
14481 | 0 | inline const std::string& EnumValueDescriptorProto::_internal_name() const { |
14482 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14483 | 0 | return _impl_.name_.Get(); |
14484 | 0 | } |
14485 | 0 | inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) { |
14486 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14487 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14488 | 0 | _impl_.name_.Set(value, GetArena()); |
14489 | 0 | } |
14490 | 0 | inline std::string* EnumValueDescriptorProto::_internal_mutable_name() { |
14491 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14492 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14493 | 0 | return _impl_.name_.Mutable( GetArena()); |
14494 | 0 | } |
14495 | 0 | inline std::string* EnumValueDescriptorProto::release_name() { |
14496 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14497 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
14498 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14499 | 0 | return nullptr; |
14500 | 0 | } |
14501 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14502 | 0 | auto* released = _impl_.name_.Release(); |
14503 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14504 | 0 | _impl_.name_.Set("", GetArena()); |
14505 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14506 | 0 | return released; |
14507 | 0 | } |
14508 | 0 | inline void EnumValueDescriptorProto::set_allocated_name(std::string* value) { |
14509 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14510 | 0 | if (value != nullptr) { |
14511 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14512 | 0 | } else { |
14513 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14514 | 0 | } |
14515 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
14516 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14517 | 0 | if (_impl_.name_.IsDefault()) { |
14518 | 0 | _impl_.name_.Set("", GetArena()); |
14519 | 0 | } |
14520 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14521 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
14522 | 0 | } |
14523 | | |
14524 | | // optional int32 number = 2; |
14525 | 0 | inline bool EnumValueDescriptorProto::has_number() const { |
14526 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
14527 | 0 | return value; |
14528 | 0 | } |
14529 | 0 | inline void EnumValueDescriptorProto::clear_number() { |
14530 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14531 | 0 | _impl_.number_ = 0; |
14532 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14533 | 0 | } |
14534 | 0 | inline ::int32_t EnumValueDescriptorProto::number() const { |
14535 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) |
14536 | 0 | return _internal_number(); |
14537 | 0 | } |
14538 | 0 | inline void EnumValueDescriptorProto::set_number(::int32_t value) { |
14539 | 0 | _internal_set_number(value); |
14540 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14541 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) |
14542 | 0 | } |
14543 | 0 | inline ::int32_t EnumValueDescriptorProto::_internal_number() const { |
14544 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14545 | 0 | return _impl_.number_; |
14546 | 0 | } |
14547 | 0 | inline void EnumValueDescriptorProto::_internal_set_number(::int32_t value) { |
14548 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14549 | 0 | _impl_.number_ = value; |
14550 | 0 | } |
14551 | | |
14552 | | // optional .google.protobuf.EnumValueOptions options = 3; |
14553 | 0 | inline bool EnumValueDescriptorProto::has_options() const { |
14554 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14555 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
14556 | 0 | return value; |
14557 | 0 | } |
14558 | 0 | inline void EnumValueDescriptorProto::clear_options() { |
14559 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14560 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
14561 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14562 | 0 | } |
14563 | 0 | inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { |
14564 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14565 | 0 | const ::google::protobuf::EnumValueOptions* p = _impl_.options_; |
14566 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::EnumValueOptions&>(::google::protobuf::_EnumValueOptions_default_instance_); |
14567 | 0 | } |
14568 | 0 | inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14569 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) |
14570 | 0 | return _internal_options(); |
14571 | 0 | } |
14572 | 0 | inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::EnumValueOptions* value) { |
14573 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14574 | 0 | if (GetArena() == nullptr) { |
14575 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
14576 | 0 | } |
14577 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumValueOptions*>(value); |
14578 | 0 | if (value != nullptr) { |
14579 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14580 | 0 | } else { |
14581 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14582 | 0 | } |
14583 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
14584 | 0 | } |
14585 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
14586 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14587 | 0 |
|
14588 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14589 | 0 | ::google::protobuf::EnumValueOptions* released = _impl_.options_; |
14590 | 0 | _impl_.options_ = nullptr; |
14591 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
14592 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
14593 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14594 | 0 | if (GetArena() == nullptr) { |
14595 | 0 | delete old; |
14596 | 0 | } |
14597 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
14598 | 0 | if (GetArena() != nullptr) { |
14599 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14600 | 0 | } |
14601 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
14602 | 0 | return released; |
14603 | 0 | } |
14604 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { |
14605 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14606 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
14607 | 0 |
|
14608 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14609 | 0 | ::google::protobuf::EnumValueOptions* temp = _impl_.options_; |
14610 | 0 | _impl_.options_ = nullptr; |
14611 | 0 | return temp; |
14612 | 0 | } |
14613 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() { |
14614 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14615 | 0 | if (_impl_.options_ == nullptr) { |
14616 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::EnumValueOptions>(GetArena()); |
14617 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumValueOptions*>(p); |
14618 | 0 | } |
14619 | 0 | return _impl_.options_; |
14620 | 0 | } |
14621 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14622 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14623 | 0 | ::google::protobuf::EnumValueOptions* _msg = _internal_mutable_options(); |
14624 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) |
14625 | 0 | return _msg; |
14626 | 0 | } |
14627 | 0 | inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* value) { |
14628 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
14629 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14630 | 0 | if (message_arena == nullptr) { |
14631 | 0 | delete (_impl_.options_); |
14632 | 0 | } |
14633 | 0 |
|
14634 | 0 | if (value != nullptr) { |
14635 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14636 | 0 | if (message_arena != submessage_arena) { |
14637 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14638 | 0 | } |
14639 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14640 | 0 | } else { |
14641 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14642 | 0 | } |
14643 | 0 |
|
14644 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumValueOptions*>(value); |
14645 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
14646 | 0 | } |
14647 | | |
14648 | | // ------------------------------------------------------------------- |
14649 | | |
14650 | | // ServiceDescriptorProto |
14651 | | |
14652 | | // optional string name = 1; |
14653 | 0 | inline bool ServiceDescriptorProto::has_name() const { |
14654 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14655 | 0 | return value; |
14656 | 0 | } |
14657 | 0 | inline void ServiceDescriptorProto::clear_name() { |
14658 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14659 | 0 | _impl_.name_.ClearToEmpty(); |
14660 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14661 | 0 | } |
14662 | | inline const std::string& ServiceDescriptorProto::name() const |
14663 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14664 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) |
14665 | 0 | return _internal_name(); |
14666 | 0 | } |
14667 | | template <typename Arg_, typename... Args_> |
14668 | | inline PROTOBUF_ALWAYS_INLINE void ServiceDescriptorProto::set_name(Arg_&& arg, |
14669 | | Args_... args) { |
14670 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14671 | | _impl_._has_bits_[0] |= 0x00000001u; |
14672 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14673 | | // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) |
14674 | | } |
14675 | 0 | inline std::string* ServiceDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14676 | 0 | std::string* _s = _internal_mutable_name(); |
14677 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) |
14678 | 0 | return _s; |
14679 | 0 | } |
14680 | 0 | inline const std::string& ServiceDescriptorProto::_internal_name() const { |
14681 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14682 | 0 | return _impl_.name_.Get(); |
14683 | 0 | } |
14684 | 0 | inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) { |
14685 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14686 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14687 | 0 | _impl_.name_.Set(value, GetArena()); |
14688 | 0 | } |
14689 | 0 | inline std::string* ServiceDescriptorProto::_internal_mutable_name() { |
14690 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14691 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14692 | 0 | return _impl_.name_.Mutable( GetArena()); |
14693 | 0 | } |
14694 | 0 | inline std::string* ServiceDescriptorProto::release_name() { |
14695 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14696 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
14697 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14698 | 0 | return nullptr; |
14699 | 0 | } |
14700 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14701 | 0 | auto* released = _impl_.name_.Release(); |
14702 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14703 | 0 | _impl_.name_.Set("", GetArena()); |
14704 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14705 | 0 | return released; |
14706 | 0 | } |
14707 | 0 | inline void ServiceDescriptorProto::set_allocated_name(std::string* value) { |
14708 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14709 | 0 | if (value != nullptr) { |
14710 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14711 | 0 | } else { |
14712 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14713 | 0 | } |
14714 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
14715 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14716 | 0 | if (_impl_.name_.IsDefault()) { |
14717 | 0 | _impl_.name_.Set("", GetArena()); |
14718 | 0 | } |
14719 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14720 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
14721 | 0 | } |
14722 | | |
14723 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
14724 | 0 | inline int ServiceDescriptorProto::_internal_method_size() const { |
14725 | 0 | return _internal_method().size(); |
14726 | 0 | } |
14727 | 0 | inline int ServiceDescriptorProto::method_size() const { |
14728 | 0 | return _internal_method_size(); |
14729 | 0 | } |
14730 | 0 | inline void ServiceDescriptorProto::clear_method() { |
14731 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14732 | 0 | _impl_.method_.Clear(); |
14733 | 0 | } |
14734 | | inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) |
14735 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14736 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) |
14737 | 0 | return _internal_mutable_method()->Mutable(index); |
14738 | 0 | } |
14739 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* ServiceDescriptorProto::mutable_method() |
14740 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14741 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) |
14742 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14743 | 0 | return _internal_mutable_method(); |
14744 | 0 | } |
14745 | | inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const |
14746 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14747 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) |
14748 | 0 | return _internal_method().Get(index); |
14749 | 0 | } |
14750 | 0 | inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14751 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14752 | 0 | ::google::protobuf::MethodDescriptorProto* _add = _internal_mutable_method()->Add(); |
14753 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) |
14754 | 0 | return _add; |
14755 | 0 | } |
14756 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& ServiceDescriptorProto::method() const |
14757 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14758 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) |
14759 | 0 | return _internal_method(); |
14760 | 0 | } |
14761 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& |
14762 | 0 | ServiceDescriptorProto::_internal_method() const { |
14763 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14764 | 0 | return _impl_.method_; |
14765 | 0 | } |
14766 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* |
14767 | 0 | ServiceDescriptorProto::_internal_mutable_method() { |
14768 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14769 | 0 | return &_impl_.method_; |
14770 | 0 | } |
14771 | | |
14772 | | // optional .google.protobuf.ServiceOptions options = 3; |
14773 | 0 | inline bool ServiceDescriptorProto::has_options() const { |
14774 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14775 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
14776 | 0 | return value; |
14777 | 0 | } |
14778 | 0 | inline void ServiceDescriptorProto::clear_options() { |
14779 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14780 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
14781 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14782 | 0 | } |
14783 | 0 | inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::_internal_options() const { |
14784 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14785 | 0 | const ::google::protobuf::ServiceOptions* p = _impl_.options_; |
14786 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::ServiceOptions&>(::google::protobuf::_ServiceOptions_default_instance_); |
14787 | 0 | } |
14788 | 0 | inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14789 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) |
14790 | 0 | return _internal_options(); |
14791 | 0 | } |
14792 | 0 | inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::ServiceOptions* value) { |
14793 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14794 | 0 | if (GetArena() == nullptr) { |
14795 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
14796 | 0 | } |
14797 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ServiceOptions*>(value); |
14798 | 0 | if (value != nullptr) { |
14799 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14800 | 0 | } else { |
14801 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14802 | 0 | } |
14803 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
14804 | 0 | } |
14805 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() { |
14806 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14807 | 0 |
|
14808 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14809 | 0 | ::google::protobuf::ServiceOptions* released = _impl_.options_; |
14810 | 0 | _impl_.options_ = nullptr; |
14811 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
14812 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
14813 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14814 | 0 | if (GetArena() == nullptr) { |
14815 | 0 | delete old; |
14816 | 0 | } |
14817 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
14818 | 0 | if (GetArena() != nullptr) { |
14819 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14820 | 0 | } |
14821 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
14822 | 0 | return released; |
14823 | 0 | } |
14824 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { |
14825 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14826 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
14827 | 0 |
|
14828 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14829 | 0 | ::google::protobuf::ServiceOptions* temp = _impl_.options_; |
14830 | 0 | _impl_.options_ = nullptr; |
14831 | 0 | return temp; |
14832 | 0 | } |
14833 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() { |
14834 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14835 | 0 | if (_impl_.options_ == nullptr) { |
14836 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::ServiceOptions>(GetArena()); |
14837 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ServiceOptions*>(p); |
14838 | 0 | } |
14839 | 0 | return _impl_.options_; |
14840 | 0 | } |
14841 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14842 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14843 | 0 | ::google::protobuf::ServiceOptions* _msg = _internal_mutable_options(); |
14844 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) |
14845 | 0 | return _msg; |
14846 | 0 | } |
14847 | 0 | inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* value) { |
14848 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
14849 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14850 | 0 | if (message_arena == nullptr) { |
14851 | 0 | delete (_impl_.options_); |
14852 | 0 | } |
14853 | 0 |
|
14854 | 0 | if (value != nullptr) { |
14855 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14856 | 0 | if (message_arena != submessage_arena) { |
14857 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14858 | 0 | } |
14859 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14860 | 0 | } else { |
14861 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14862 | 0 | } |
14863 | 0 |
|
14864 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ServiceOptions*>(value); |
14865 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
14866 | 0 | } |
14867 | | |
14868 | | // ------------------------------------------------------------------- |
14869 | | |
14870 | | // MethodDescriptorProto |
14871 | | |
14872 | | // optional string name = 1; |
14873 | 0 | inline bool MethodDescriptorProto::has_name() const { |
14874 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14875 | 0 | return value; |
14876 | 0 | } |
14877 | 0 | inline void MethodDescriptorProto::clear_name() { |
14878 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14879 | 0 | _impl_.name_.ClearToEmpty(); |
14880 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14881 | 0 | } |
14882 | | inline const std::string& MethodDescriptorProto::name() const |
14883 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14884 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) |
14885 | 0 | return _internal_name(); |
14886 | 0 | } |
14887 | | template <typename Arg_, typename... Args_> |
14888 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_name(Arg_&& arg, |
14889 | | Args_... args) { |
14890 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14891 | | _impl_._has_bits_[0] |= 0x00000001u; |
14892 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14893 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) |
14894 | | } |
14895 | 0 | inline std::string* MethodDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14896 | 0 | std::string* _s = _internal_mutable_name(); |
14897 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) |
14898 | 0 | return _s; |
14899 | 0 | } |
14900 | 0 | inline const std::string& MethodDescriptorProto::_internal_name() const { |
14901 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14902 | 0 | return _impl_.name_.Get(); |
14903 | 0 | } |
14904 | 0 | inline void MethodDescriptorProto::_internal_set_name(const std::string& value) { |
14905 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14906 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14907 | 0 | _impl_.name_.Set(value, GetArena()); |
14908 | 0 | } |
14909 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_name() { |
14910 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14911 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14912 | 0 | return _impl_.name_.Mutable( GetArena()); |
14913 | 0 | } |
14914 | 0 | inline std::string* MethodDescriptorProto::release_name() { |
14915 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14916 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
14917 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14918 | 0 | return nullptr; |
14919 | 0 | } |
14920 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14921 | 0 | auto* released = _impl_.name_.Release(); |
14922 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14923 | 0 | _impl_.name_.Set("", GetArena()); |
14924 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14925 | 0 | return released; |
14926 | 0 | } |
14927 | 0 | inline void MethodDescriptorProto::set_allocated_name(std::string* value) { |
14928 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14929 | 0 | if (value != nullptr) { |
14930 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14931 | 0 | } else { |
14932 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14933 | 0 | } |
14934 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
14935 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14936 | 0 | if (_impl_.name_.IsDefault()) { |
14937 | 0 | _impl_.name_.Set("", GetArena()); |
14938 | 0 | } |
14939 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14940 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) |
14941 | 0 | } |
14942 | | |
14943 | | // optional string input_type = 2; |
14944 | 0 | inline bool MethodDescriptorProto::has_input_type() const { |
14945 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14946 | 0 | return value; |
14947 | 0 | } |
14948 | 0 | inline void MethodDescriptorProto::clear_input_type() { |
14949 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14950 | 0 | _impl_.input_type_.ClearToEmpty(); |
14951 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14952 | 0 | } |
14953 | | inline const std::string& MethodDescriptorProto::input_type() const |
14954 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14955 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) |
14956 | 0 | return _internal_input_type(); |
14957 | 0 | } |
14958 | | template <typename Arg_, typename... Args_> |
14959 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_input_type(Arg_&& arg, |
14960 | | Args_... args) { |
14961 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14962 | | _impl_._has_bits_[0] |= 0x00000002u; |
14963 | | _impl_.input_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14964 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) |
14965 | | } |
14966 | 0 | inline std::string* MethodDescriptorProto::mutable_input_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14967 | 0 | std::string* _s = _internal_mutable_input_type(); |
14968 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) |
14969 | 0 | return _s; |
14970 | 0 | } |
14971 | 0 | inline const std::string& MethodDescriptorProto::_internal_input_type() const { |
14972 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14973 | 0 | return _impl_.input_type_.Get(); |
14974 | 0 | } |
14975 | 0 | inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) { |
14976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14977 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14978 | 0 | _impl_.input_type_.Set(value, GetArena()); |
14979 | 0 | } |
14980 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_input_type() { |
14981 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14982 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14983 | 0 | return _impl_.input_type_.Mutable( GetArena()); |
14984 | 0 | } |
14985 | 0 | inline std::string* MethodDescriptorProto::release_input_type() { |
14986 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14987 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
14988 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
14989 | 0 | return nullptr; |
14990 | 0 | } |
14991 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14992 | 0 | auto* released = _impl_.input_type_.Release(); |
14993 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14994 | 0 | _impl_.input_type_.Set("", GetArena()); |
14995 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14996 | 0 | return released; |
14997 | 0 | } |
14998 | 0 | inline void MethodDescriptorProto::set_allocated_input_type(std::string* value) { |
14999 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15000 | 0 | if (value != nullptr) { |
15001 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15002 | 0 | } else { |
15003 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15004 | 0 | } |
15005 | 0 | _impl_.input_type_.SetAllocated(value, GetArena()); |
15006 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15007 | 0 | if (_impl_.input_type_.IsDefault()) { |
15008 | 0 | _impl_.input_type_.Set("", GetArena()); |
15009 | 0 | } |
15010 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15011 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
15012 | 0 | } |
15013 | | |
15014 | | // optional string output_type = 3; |
15015 | 0 | inline bool MethodDescriptorProto::has_output_type() const { |
15016 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
15017 | 0 | return value; |
15018 | 0 | } |
15019 | 0 | inline void MethodDescriptorProto::clear_output_type() { |
15020 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15021 | 0 | _impl_.output_type_.ClearToEmpty(); |
15022 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15023 | 0 | } |
15024 | | inline const std::string& MethodDescriptorProto::output_type() const |
15025 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15026 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) |
15027 | 0 | return _internal_output_type(); |
15028 | 0 | } |
15029 | | template <typename Arg_, typename... Args_> |
15030 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_output_type(Arg_&& arg, |
15031 | | Args_... args) { |
15032 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15033 | | _impl_._has_bits_[0] |= 0x00000004u; |
15034 | | _impl_.output_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15035 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) |
15036 | | } |
15037 | 0 | inline std::string* MethodDescriptorProto::mutable_output_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15038 | 0 | std::string* _s = _internal_mutable_output_type(); |
15039 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) |
15040 | 0 | return _s; |
15041 | 0 | } |
15042 | 0 | inline const std::string& MethodDescriptorProto::_internal_output_type() const { |
15043 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15044 | 0 | return _impl_.output_type_.Get(); |
15045 | 0 | } |
15046 | 0 | inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) { |
15047 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15048 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15049 | 0 | _impl_.output_type_.Set(value, GetArena()); |
15050 | 0 | } |
15051 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_output_type() { |
15052 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15053 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15054 | 0 | return _impl_.output_type_.Mutable( GetArena()); |
15055 | 0 | } |
15056 | 0 | inline std::string* MethodDescriptorProto::release_output_type() { |
15057 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15058 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
15059 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
15060 | 0 | return nullptr; |
15061 | 0 | } |
15062 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15063 | 0 | auto* released = _impl_.output_type_.Release(); |
15064 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15065 | 0 | _impl_.output_type_.Set("", GetArena()); |
15066 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15067 | 0 | return released; |
15068 | 0 | } |
15069 | 0 | inline void MethodDescriptorProto::set_allocated_output_type(std::string* value) { |
15070 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15071 | 0 | if (value != nullptr) { |
15072 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15073 | 0 | } else { |
15074 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15075 | 0 | } |
15076 | 0 | _impl_.output_type_.SetAllocated(value, GetArena()); |
15077 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15078 | 0 | if (_impl_.output_type_.IsDefault()) { |
15079 | 0 | _impl_.output_type_.Set("", GetArena()); |
15080 | 0 | } |
15081 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15082 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
15083 | 0 | } |
15084 | | |
15085 | | // optional .google.protobuf.MethodOptions options = 4; |
15086 | 0 | inline bool MethodDescriptorProto::has_options() const { |
15087 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
15088 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
15089 | 0 | return value; |
15090 | 0 | } |
15091 | 0 | inline void MethodDescriptorProto::clear_options() { |
15092 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15093 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
15094 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15095 | 0 | } |
15096 | 0 | inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::_internal_options() const { |
15097 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15098 | 0 | const ::google::protobuf::MethodOptions* p = _impl_.options_; |
15099 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::MethodOptions&>(::google::protobuf::_MethodOptions_default_instance_); |
15100 | 0 | } |
15101 | 0 | inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15102 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) |
15103 | 0 | return _internal_options(); |
15104 | 0 | } |
15105 | 0 | inline void MethodDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::MethodOptions* value) { |
15106 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15107 | 0 | if (GetArena() == nullptr) { |
15108 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
15109 | 0 | } |
15110 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MethodOptions*>(value); |
15111 | 0 | if (value != nullptr) { |
15112 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15113 | 0 | } else { |
15114 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15115 | 0 | } |
15116 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options) |
15117 | 0 | } |
15118 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() { |
15119 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15120 | 0 |
|
15121 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15122 | 0 | ::google::protobuf::MethodOptions* released = _impl_.options_; |
15123 | 0 | _impl_.options_ = nullptr; |
15124 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
15125 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
15126 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15127 | 0 | if (GetArena() == nullptr) { |
15128 | 0 | delete old; |
15129 | 0 | } |
15130 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
15131 | 0 | if (GetArena() != nullptr) { |
15132 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15133 | 0 | } |
15134 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
15135 | 0 | return released; |
15136 | 0 | } |
15137 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { |
15138 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15139 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
15140 | 0 |
|
15141 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15142 | 0 | ::google::protobuf::MethodOptions* temp = _impl_.options_; |
15143 | 0 | _impl_.options_ = nullptr; |
15144 | 0 | return temp; |
15145 | 0 | } |
15146 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::_internal_mutable_options() { |
15147 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15148 | 0 | if (_impl_.options_ == nullptr) { |
15149 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::MethodOptions>(GetArena()); |
15150 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MethodOptions*>(p); |
15151 | 0 | } |
15152 | 0 | return _impl_.options_; |
15153 | 0 | } |
15154 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15155 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15156 | 0 | ::google::protobuf::MethodOptions* _msg = _internal_mutable_options(); |
15157 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) |
15158 | 0 | return _msg; |
15159 | 0 | } |
15160 | 0 | inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* value) { |
15161 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
15162 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15163 | 0 | if (message_arena == nullptr) { |
15164 | 0 | delete (_impl_.options_); |
15165 | 0 | } |
15166 | 0 |
|
15167 | 0 | if (value != nullptr) { |
15168 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
15169 | 0 | if (message_arena != submessage_arena) { |
15170 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
15171 | 0 | } |
15172 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15173 | 0 | } else { |
15174 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15175 | 0 | } |
15176 | 0 |
|
15177 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MethodOptions*>(value); |
15178 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) |
15179 | 0 | } |
15180 | | |
15181 | | // optional bool client_streaming = 5 [default = false]; |
15182 | 0 | inline bool MethodDescriptorProto::has_client_streaming() const { |
15183 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
15184 | 0 | return value; |
15185 | 0 | } |
15186 | 0 | inline void MethodDescriptorProto::clear_client_streaming() { |
15187 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15188 | 0 | _impl_.client_streaming_ = false; |
15189 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
15190 | 0 | } |
15191 | 0 | inline bool MethodDescriptorProto::client_streaming() const { |
15192 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) |
15193 | 0 | return _internal_client_streaming(); |
15194 | 0 | } |
15195 | 0 | inline void MethodDescriptorProto::set_client_streaming(bool value) { |
15196 | 0 | _internal_set_client_streaming(value); |
15197 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
15198 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) |
15199 | 0 | } |
15200 | 0 | inline bool MethodDescriptorProto::_internal_client_streaming() const { |
15201 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15202 | 0 | return _impl_.client_streaming_; |
15203 | 0 | } |
15204 | 0 | inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) { |
15205 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15206 | 0 | _impl_.client_streaming_ = value; |
15207 | 0 | } |
15208 | | |
15209 | | // optional bool server_streaming = 6 [default = false]; |
15210 | 0 | inline bool MethodDescriptorProto::has_server_streaming() const { |
15211 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
15212 | 0 | return value; |
15213 | 0 | } |
15214 | 0 | inline void MethodDescriptorProto::clear_server_streaming() { |
15215 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15216 | 0 | _impl_.server_streaming_ = false; |
15217 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
15218 | 0 | } |
15219 | 0 | inline bool MethodDescriptorProto::server_streaming() const { |
15220 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) |
15221 | 0 | return _internal_server_streaming(); |
15222 | 0 | } |
15223 | 0 | inline void MethodDescriptorProto::set_server_streaming(bool value) { |
15224 | 0 | _internal_set_server_streaming(value); |
15225 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
15226 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) |
15227 | 0 | } |
15228 | 0 | inline bool MethodDescriptorProto::_internal_server_streaming() const { |
15229 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15230 | 0 | return _impl_.server_streaming_; |
15231 | 0 | } |
15232 | 0 | inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) { |
15233 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15234 | 0 | _impl_.server_streaming_ = value; |
15235 | 0 | } |
15236 | | |
15237 | | // ------------------------------------------------------------------- |
15238 | | |
15239 | | // FileOptions |
15240 | | |
15241 | | // optional string java_package = 1; |
15242 | 0 | inline bool FileOptions::has_java_package() const { |
15243 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
15244 | 0 | return value; |
15245 | 0 | } |
15246 | 0 | inline void FileOptions::clear_java_package() { |
15247 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15248 | 0 | _impl_.java_package_.ClearToEmpty(); |
15249 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15250 | 0 | } |
15251 | | inline const std::string& FileOptions::java_package() const |
15252 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15253 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) |
15254 | 0 | return _internal_java_package(); |
15255 | 0 | } |
15256 | | template <typename Arg_, typename... Args_> |
15257 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_package(Arg_&& arg, |
15258 | | Args_... args) { |
15259 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15260 | | _impl_._has_bits_[0] |= 0x00000001u; |
15261 | | _impl_.java_package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15262 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) |
15263 | | } |
15264 | 0 | inline std::string* FileOptions::mutable_java_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15265 | 0 | std::string* _s = _internal_mutable_java_package(); |
15266 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) |
15267 | 0 | return _s; |
15268 | 0 | } |
15269 | 0 | inline const std::string& FileOptions::_internal_java_package() const { |
15270 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15271 | 0 | return _impl_.java_package_.Get(); |
15272 | 0 | } |
15273 | 0 | inline void FileOptions::_internal_set_java_package(const std::string& value) { |
15274 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15275 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15276 | 0 | _impl_.java_package_.Set(value, GetArena()); |
15277 | 0 | } |
15278 | 0 | inline std::string* FileOptions::_internal_mutable_java_package() { |
15279 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15280 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15281 | 0 | return _impl_.java_package_.Mutable( GetArena()); |
15282 | 0 | } |
15283 | 0 | inline std::string* FileOptions::release_java_package() { |
15284 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15285 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
15286 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
15287 | 0 | return nullptr; |
15288 | 0 | } |
15289 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15290 | 0 | auto* released = _impl_.java_package_.Release(); |
15291 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15292 | 0 | _impl_.java_package_.Set("", GetArena()); |
15293 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15294 | 0 | return released; |
15295 | 0 | } |
15296 | 0 | inline void FileOptions::set_allocated_java_package(std::string* value) { |
15297 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15298 | 0 | if (value != nullptr) { |
15299 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15300 | 0 | } else { |
15301 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15302 | 0 | } |
15303 | 0 | _impl_.java_package_.SetAllocated(value, GetArena()); |
15304 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15305 | 0 | if (_impl_.java_package_.IsDefault()) { |
15306 | 0 | _impl_.java_package_.Set("", GetArena()); |
15307 | 0 | } |
15308 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15309 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) |
15310 | 0 | } |
15311 | | |
15312 | | // optional string java_outer_classname = 8; |
15313 | 0 | inline bool FileOptions::has_java_outer_classname() const { |
15314 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
15315 | 0 | return value; |
15316 | 0 | } |
15317 | 0 | inline void FileOptions::clear_java_outer_classname() { |
15318 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15319 | 0 | _impl_.java_outer_classname_.ClearToEmpty(); |
15320 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15321 | 0 | } |
15322 | | inline const std::string& FileOptions::java_outer_classname() const |
15323 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15324 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) |
15325 | 0 | return _internal_java_outer_classname(); |
15326 | 0 | } |
15327 | | template <typename Arg_, typename... Args_> |
15328 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_outer_classname(Arg_&& arg, |
15329 | | Args_... args) { |
15330 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15331 | | _impl_._has_bits_[0] |= 0x00000002u; |
15332 | | _impl_.java_outer_classname_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15333 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) |
15334 | | } |
15335 | 0 | inline std::string* FileOptions::mutable_java_outer_classname() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15336 | 0 | std::string* _s = _internal_mutable_java_outer_classname(); |
15337 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) |
15338 | 0 | return _s; |
15339 | 0 | } |
15340 | 0 | inline const std::string& FileOptions::_internal_java_outer_classname() const { |
15341 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15342 | 0 | return _impl_.java_outer_classname_.Get(); |
15343 | 0 | } |
15344 | 0 | inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) { |
15345 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15346 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15347 | 0 | _impl_.java_outer_classname_.Set(value, GetArena()); |
15348 | 0 | } |
15349 | 0 | inline std::string* FileOptions::_internal_mutable_java_outer_classname() { |
15350 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15351 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15352 | 0 | return _impl_.java_outer_classname_.Mutable( GetArena()); |
15353 | 0 | } |
15354 | 0 | inline std::string* FileOptions::release_java_outer_classname() { |
15355 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15356 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
15357 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
15358 | 0 | return nullptr; |
15359 | 0 | } |
15360 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15361 | 0 | auto* released = _impl_.java_outer_classname_.Release(); |
15362 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15363 | 0 | _impl_.java_outer_classname_.Set("", GetArena()); |
15364 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15365 | 0 | return released; |
15366 | 0 | } |
15367 | 0 | inline void FileOptions::set_allocated_java_outer_classname(std::string* value) { |
15368 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15369 | 0 | if (value != nullptr) { |
15370 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15371 | 0 | } else { |
15372 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15373 | 0 | } |
15374 | 0 | _impl_.java_outer_classname_.SetAllocated(value, GetArena()); |
15375 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15376 | 0 | if (_impl_.java_outer_classname_.IsDefault()) { |
15377 | 0 | _impl_.java_outer_classname_.Set("", GetArena()); |
15378 | 0 | } |
15379 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15380 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
15381 | 0 | } |
15382 | | |
15383 | | // optional bool java_multiple_files = 10 [default = false]; |
15384 | 0 | inline bool FileOptions::has_java_multiple_files() const { |
15385 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; |
15386 | 0 | return value; |
15387 | 0 | } |
15388 | 0 | inline void FileOptions::clear_java_multiple_files() { |
15389 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15390 | 0 | _impl_.java_multiple_files_ = false; |
15391 | 0 | _impl_._has_bits_[0] &= ~0x00000800u; |
15392 | 0 | } |
15393 | 0 | inline bool FileOptions::java_multiple_files() const { |
15394 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) |
15395 | 0 | return _internal_java_multiple_files(); |
15396 | 0 | } |
15397 | 0 | inline void FileOptions::set_java_multiple_files(bool value) { |
15398 | 0 | _internal_set_java_multiple_files(value); |
15399 | 0 | _impl_._has_bits_[0] |= 0x00000800u; |
15400 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) |
15401 | 0 | } |
15402 | 0 | inline bool FileOptions::_internal_java_multiple_files() const { |
15403 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15404 | 0 | return _impl_.java_multiple_files_; |
15405 | 0 | } |
15406 | 0 | inline void FileOptions::_internal_set_java_multiple_files(bool value) { |
15407 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15408 | 0 | _impl_.java_multiple_files_ = value; |
15409 | 0 | } |
15410 | | |
15411 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
15412 | 0 | inline bool FileOptions::has_java_generate_equals_and_hash() const { |
15413 | 0 | bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; |
15414 | 0 | return value; |
15415 | 0 | } |
15416 | 0 | inline void FileOptions::clear_java_generate_equals_and_hash() { |
15417 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15418 | 0 | _impl_.java_generate_equals_and_hash_ = false; |
15419 | 0 | _impl_._has_bits_[0] &= ~0x00001000u; |
15420 | 0 | } |
15421 | 0 | inline bool FileOptions::java_generate_equals_and_hash() const { |
15422 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) |
15423 | 0 | return _internal_java_generate_equals_and_hash(); |
15424 | 0 | } |
15425 | 0 | inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
15426 | 0 | _internal_set_java_generate_equals_and_hash(value); |
15427 | 0 | _impl_._has_bits_[0] |= 0x00001000u; |
15428 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) |
15429 | 0 | } |
15430 | 0 | inline bool FileOptions::_internal_java_generate_equals_and_hash() const { |
15431 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15432 | 0 | return _impl_.java_generate_equals_and_hash_; |
15433 | 0 | } |
15434 | 0 | inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) { |
15435 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15436 | 0 | _impl_.java_generate_equals_and_hash_ = value; |
15437 | 0 | } |
15438 | | |
15439 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
15440 | 0 | inline bool FileOptions::has_java_string_check_utf8() const { |
15441 | 0 | bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; |
15442 | 0 | return value; |
15443 | 0 | } |
15444 | 0 | inline void FileOptions::clear_java_string_check_utf8() { |
15445 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15446 | 0 | _impl_.java_string_check_utf8_ = false; |
15447 | 0 | _impl_._has_bits_[0] &= ~0x00002000u; |
15448 | 0 | } |
15449 | 0 | inline bool FileOptions::java_string_check_utf8() const { |
15450 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) |
15451 | 0 | return _internal_java_string_check_utf8(); |
15452 | 0 | } |
15453 | 0 | inline void FileOptions::set_java_string_check_utf8(bool value) { |
15454 | 0 | _internal_set_java_string_check_utf8(value); |
15455 | 0 | _impl_._has_bits_[0] |= 0x00002000u; |
15456 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) |
15457 | 0 | } |
15458 | 0 | inline bool FileOptions::_internal_java_string_check_utf8() const { |
15459 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15460 | 0 | return _impl_.java_string_check_utf8_; |
15461 | 0 | } |
15462 | 0 | inline void FileOptions::_internal_set_java_string_check_utf8(bool value) { |
15463 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15464 | 0 | _impl_.java_string_check_utf8_ = value; |
15465 | 0 | } |
15466 | | |
15467 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
15468 | 0 | inline bool FileOptions::has_optimize_for() const { |
15469 | 0 | bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; |
15470 | 0 | return value; |
15471 | 0 | } |
15472 | 0 | inline void FileOptions::clear_optimize_for() { |
15473 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15474 | 0 | _impl_.optimize_for_ = 1; |
15475 | 0 | _impl_._has_bits_[0] &= ~0x00040000u; |
15476 | 0 | } |
15477 | 0 | inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const { |
15478 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) |
15479 | 0 | return _internal_optimize_for(); |
15480 | 0 | } |
15481 | 0 | inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) { |
15482 | 0 | _internal_set_optimize_for(value); |
15483 | 0 | _impl_._has_bits_[0] |= 0x00040000u; |
15484 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) |
15485 | 0 | } |
15486 | 0 | inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const { |
15487 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15488 | 0 | return static_cast<::google::protobuf::FileOptions_OptimizeMode>(_impl_.optimize_for_); |
15489 | 0 | } |
15490 | 0 | inline void FileOptions::_internal_set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) { |
15491 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15492 | 0 | assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); |
15493 | 0 | _impl_.optimize_for_ = value; |
15494 | 0 | } |
15495 | | |
15496 | | // optional string go_package = 11; |
15497 | 0 | inline bool FileOptions::has_go_package() const { |
15498 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
15499 | 0 | return value; |
15500 | 0 | } |
15501 | 0 | inline void FileOptions::clear_go_package() { |
15502 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15503 | 0 | _impl_.go_package_.ClearToEmpty(); |
15504 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15505 | 0 | } |
15506 | | inline const std::string& FileOptions::go_package() const |
15507 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15508 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
15509 | 0 | return _internal_go_package(); |
15510 | 0 | } |
15511 | | template <typename Arg_, typename... Args_> |
15512 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_go_package(Arg_&& arg, |
15513 | | Args_... args) { |
15514 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15515 | | _impl_._has_bits_[0] |= 0x00000004u; |
15516 | | _impl_.go_package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15517 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
15518 | | } |
15519 | 0 | inline std::string* FileOptions::mutable_go_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15520 | 0 | std::string* _s = _internal_mutable_go_package(); |
15521 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) |
15522 | 0 | return _s; |
15523 | 0 | } |
15524 | 0 | inline const std::string& FileOptions::_internal_go_package() const { |
15525 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15526 | 0 | return _impl_.go_package_.Get(); |
15527 | 0 | } |
15528 | 0 | inline void FileOptions::_internal_set_go_package(const std::string& value) { |
15529 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15530 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15531 | 0 | _impl_.go_package_.Set(value, GetArena()); |
15532 | 0 | } |
15533 | 0 | inline std::string* FileOptions::_internal_mutable_go_package() { |
15534 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15535 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15536 | 0 | return _impl_.go_package_.Mutable( GetArena()); |
15537 | 0 | } |
15538 | 0 | inline std::string* FileOptions::release_go_package() { |
15539 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15540 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
15541 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
15542 | 0 | return nullptr; |
15543 | 0 | } |
15544 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15545 | 0 | auto* released = _impl_.go_package_.Release(); |
15546 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15547 | 0 | _impl_.go_package_.Set("", GetArena()); |
15548 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15549 | 0 | return released; |
15550 | 0 | } |
15551 | 0 | inline void FileOptions::set_allocated_go_package(std::string* value) { |
15552 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15553 | 0 | if (value != nullptr) { |
15554 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15555 | 0 | } else { |
15556 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15557 | 0 | } |
15558 | 0 | _impl_.go_package_.SetAllocated(value, GetArena()); |
15559 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15560 | 0 | if (_impl_.go_package_.IsDefault()) { |
15561 | 0 | _impl_.go_package_.Set("", GetArena()); |
15562 | 0 | } |
15563 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15564 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) |
15565 | 0 | } |
15566 | | |
15567 | | // optional bool cc_generic_services = 16 [default = false]; |
15568 | 0 | inline bool FileOptions::has_cc_generic_services() const { |
15569 | 0 | bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; |
15570 | 0 | return value; |
15571 | 0 | } |
15572 | 0 | inline void FileOptions::clear_cc_generic_services() { |
15573 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15574 | 0 | _impl_.cc_generic_services_ = false; |
15575 | 0 | _impl_._has_bits_[0] &= ~0x00004000u; |
15576 | 0 | } |
15577 | 0 | inline bool FileOptions::cc_generic_services() const { |
15578 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) |
15579 | 0 | return _internal_cc_generic_services(); |
15580 | 0 | } |
15581 | 0 | inline void FileOptions::set_cc_generic_services(bool value) { |
15582 | 0 | _internal_set_cc_generic_services(value); |
15583 | 0 | _impl_._has_bits_[0] |= 0x00004000u; |
15584 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) |
15585 | 0 | } |
15586 | 0 | inline bool FileOptions::_internal_cc_generic_services() const { |
15587 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15588 | 0 | return _impl_.cc_generic_services_; |
15589 | 0 | } |
15590 | 0 | inline void FileOptions::_internal_set_cc_generic_services(bool value) { |
15591 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15592 | 0 | _impl_.cc_generic_services_ = value; |
15593 | 0 | } |
15594 | | |
15595 | | // optional bool java_generic_services = 17 [default = false]; |
15596 | 0 | inline bool FileOptions::has_java_generic_services() const { |
15597 | 0 | bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; |
15598 | 0 | return value; |
15599 | 0 | } |
15600 | 0 | inline void FileOptions::clear_java_generic_services() { |
15601 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15602 | 0 | _impl_.java_generic_services_ = false; |
15603 | 0 | _impl_._has_bits_[0] &= ~0x00008000u; |
15604 | 0 | } |
15605 | 0 | inline bool FileOptions::java_generic_services() const { |
15606 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) |
15607 | 0 | return _internal_java_generic_services(); |
15608 | 0 | } |
15609 | 0 | inline void FileOptions::set_java_generic_services(bool value) { |
15610 | 0 | _internal_set_java_generic_services(value); |
15611 | 0 | _impl_._has_bits_[0] |= 0x00008000u; |
15612 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) |
15613 | 0 | } |
15614 | 0 | inline bool FileOptions::_internal_java_generic_services() const { |
15615 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15616 | 0 | return _impl_.java_generic_services_; |
15617 | 0 | } |
15618 | 0 | inline void FileOptions::_internal_set_java_generic_services(bool value) { |
15619 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15620 | 0 | _impl_.java_generic_services_ = value; |
15621 | 0 | } |
15622 | | |
15623 | | // optional bool py_generic_services = 18 [default = false]; |
15624 | 0 | inline bool FileOptions::has_py_generic_services() const { |
15625 | 0 | bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; |
15626 | 0 | return value; |
15627 | 0 | } |
15628 | 0 | inline void FileOptions::clear_py_generic_services() { |
15629 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15630 | 0 | _impl_.py_generic_services_ = false; |
15631 | 0 | _impl_._has_bits_[0] &= ~0x00010000u; |
15632 | 0 | } |
15633 | 0 | inline bool FileOptions::py_generic_services() const { |
15634 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) |
15635 | 0 | return _internal_py_generic_services(); |
15636 | 0 | } |
15637 | 0 | inline void FileOptions::set_py_generic_services(bool value) { |
15638 | 0 | _internal_set_py_generic_services(value); |
15639 | 0 | _impl_._has_bits_[0] |= 0x00010000u; |
15640 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) |
15641 | 0 | } |
15642 | 0 | inline bool FileOptions::_internal_py_generic_services() const { |
15643 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15644 | 0 | return _impl_.py_generic_services_; |
15645 | 0 | } |
15646 | 0 | inline void FileOptions::_internal_set_py_generic_services(bool value) { |
15647 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15648 | 0 | _impl_.py_generic_services_ = value; |
15649 | 0 | } |
15650 | | |
15651 | | // optional bool deprecated = 23 [default = false]; |
15652 | 0 | inline bool FileOptions::has_deprecated() const { |
15653 | 0 | bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; |
15654 | 0 | return value; |
15655 | 0 | } |
15656 | 0 | inline void FileOptions::clear_deprecated() { |
15657 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15658 | 0 | _impl_.deprecated_ = false; |
15659 | 0 | _impl_._has_bits_[0] &= ~0x00020000u; |
15660 | 0 | } |
15661 | 0 | inline bool FileOptions::deprecated() const { |
15662 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
15663 | 0 | return _internal_deprecated(); |
15664 | 0 | } |
15665 | 0 | inline void FileOptions::set_deprecated(bool value) { |
15666 | 0 | _internal_set_deprecated(value); |
15667 | 0 | _impl_._has_bits_[0] |= 0x00020000u; |
15668 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
15669 | 0 | } |
15670 | 0 | inline bool FileOptions::_internal_deprecated() const { |
15671 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15672 | 0 | return _impl_.deprecated_; |
15673 | 0 | } |
15674 | 0 | inline void FileOptions::_internal_set_deprecated(bool value) { |
15675 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15676 | 0 | _impl_.deprecated_ = value; |
15677 | 0 | } |
15678 | | |
15679 | | // optional bool cc_enable_arenas = 31 [default = true]; |
15680 | 0 | inline bool FileOptions::has_cc_enable_arenas() const { |
15681 | 0 | bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; |
15682 | 0 | return value; |
15683 | 0 | } |
15684 | 0 | inline void FileOptions::clear_cc_enable_arenas() { |
15685 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15686 | 0 | _impl_.cc_enable_arenas_ = true; |
15687 | 0 | _impl_._has_bits_[0] &= ~0x00080000u; |
15688 | 0 | } |
15689 | 0 | inline bool FileOptions::cc_enable_arenas() const { |
15690 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) |
15691 | 0 | return _internal_cc_enable_arenas(); |
15692 | 0 | } |
15693 | 0 | inline void FileOptions::set_cc_enable_arenas(bool value) { |
15694 | 0 | _internal_set_cc_enable_arenas(value); |
15695 | 0 | _impl_._has_bits_[0] |= 0x00080000u; |
15696 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) |
15697 | 0 | } |
15698 | 0 | inline bool FileOptions::_internal_cc_enable_arenas() const { |
15699 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15700 | 0 | return _impl_.cc_enable_arenas_; |
15701 | 0 | } |
15702 | 0 | inline void FileOptions::_internal_set_cc_enable_arenas(bool value) { |
15703 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15704 | 0 | _impl_.cc_enable_arenas_ = value; |
15705 | 0 | } |
15706 | | |
15707 | | // optional string objc_class_prefix = 36; |
15708 | 0 | inline bool FileOptions::has_objc_class_prefix() const { |
15709 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
15710 | 0 | return value; |
15711 | 0 | } |
15712 | 0 | inline void FileOptions::clear_objc_class_prefix() { |
15713 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15714 | 0 | _impl_.objc_class_prefix_.ClearToEmpty(); |
15715 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15716 | 0 | } |
15717 | | inline const std::string& FileOptions::objc_class_prefix() const |
15718 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15719 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) |
15720 | 0 | return _internal_objc_class_prefix(); |
15721 | 0 | } |
15722 | | template <typename Arg_, typename... Args_> |
15723 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_objc_class_prefix(Arg_&& arg, |
15724 | | Args_... args) { |
15725 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15726 | | _impl_._has_bits_[0] |= 0x00000008u; |
15727 | | _impl_.objc_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15728 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) |
15729 | | } |
15730 | 0 | inline std::string* FileOptions::mutable_objc_class_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15731 | 0 | std::string* _s = _internal_mutable_objc_class_prefix(); |
15732 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) |
15733 | 0 | return _s; |
15734 | 0 | } |
15735 | 0 | inline const std::string& FileOptions::_internal_objc_class_prefix() const { |
15736 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15737 | 0 | return _impl_.objc_class_prefix_.Get(); |
15738 | 0 | } |
15739 | 0 | inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) { |
15740 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15741 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15742 | 0 | _impl_.objc_class_prefix_.Set(value, GetArena()); |
15743 | 0 | } |
15744 | 0 | inline std::string* FileOptions::_internal_mutable_objc_class_prefix() { |
15745 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15746 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15747 | 0 | return _impl_.objc_class_prefix_.Mutable( GetArena()); |
15748 | 0 | } |
15749 | 0 | inline std::string* FileOptions::release_objc_class_prefix() { |
15750 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15751 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
15752 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
15753 | 0 | return nullptr; |
15754 | 0 | } |
15755 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15756 | 0 | auto* released = _impl_.objc_class_prefix_.Release(); |
15757 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15758 | 0 | _impl_.objc_class_prefix_.Set("", GetArena()); |
15759 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15760 | 0 | return released; |
15761 | 0 | } |
15762 | 0 | inline void FileOptions::set_allocated_objc_class_prefix(std::string* value) { |
15763 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15764 | 0 | if (value != nullptr) { |
15765 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15766 | 0 | } else { |
15767 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15768 | 0 | } |
15769 | 0 | _impl_.objc_class_prefix_.SetAllocated(value, GetArena()); |
15770 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15771 | 0 | if (_impl_.objc_class_prefix_.IsDefault()) { |
15772 | 0 | _impl_.objc_class_prefix_.Set("", GetArena()); |
15773 | 0 | } |
15774 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15775 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
15776 | 0 | } |
15777 | | |
15778 | | // optional string csharp_namespace = 37; |
15779 | 0 | inline bool FileOptions::has_csharp_namespace() const { |
15780 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
15781 | 0 | return value; |
15782 | 0 | } |
15783 | 0 | inline void FileOptions::clear_csharp_namespace() { |
15784 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15785 | 0 | _impl_.csharp_namespace_.ClearToEmpty(); |
15786 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
15787 | 0 | } |
15788 | | inline const std::string& FileOptions::csharp_namespace() const |
15789 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15790 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) |
15791 | 0 | return _internal_csharp_namespace(); |
15792 | 0 | } |
15793 | | template <typename Arg_, typename... Args_> |
15794 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_csharp_namespace(Arg_&& arg, |
15795 | | Args_... args) { |
15796 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15797 | | _impl_._has_bits_[0] |= 0x00000010u; |
15798 | | _impl_.csharp_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15799 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) |
15800 | | } |
15801 | 0 | inline std::string* FileOptions::mutable_csharp_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15802 | 0 | std::string* _s = _internal_mutable_csharp_namespace(); |
15803 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) |
15804 | 0 | return _s; |
15805 | 0 | } |
15806 | 0 | inline const std::string& FileOptions::_internal_csharp_namespace() const { |
15807 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15808 | 0 | return _impl_.csharp_namespace_.Get(); |
15809 | 0 | } |
15810 | 0 | inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) { |
15811 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15812 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
15813 | 0 | _impl_.csharp_namespace_.Set(value, GetArena()); |
15814 | 0 | } |
15815 | 0 | inline std::string* FileOptions::_internal_mutable_csharp_namespace() { |
15816 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15817 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
15818 | 0 | return _impl_.csharp_namespace_.Mutable( GetArena()); |
15819 | 0 | } |
15820 | 0 | inline std::string* FileOptions::release_csharp_namespace() { |
15821 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15822 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
15823 | 0 | if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { |
15824 | 0 | return nullptr; |
15825 | 0 | } |
15826 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
15827 | 0 | auto* released = _impl_.csharp_namespace_.Release(); |
15828 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15829 | 0 | _impl_.csharp_namespace_.Set("", GetArena()); |
15830 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15831 | 0 | return released; |
15832 | 0 | } |
15833 | 0 | inline void FileOptions::set_allocated_csharp_namespace(std::string* value) { |
15834 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15835 | 0 | if (value != nullptr) { |
15836 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
15837 | 0 | } else { |
15838 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
15839 | 0 | } |
15840 | 0 | _impl_.csharp_namespace_.SetAllocated(value, GetArena()); |
15841 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15842 | 0 | if (_impl_.csharp_namespace_.IsDefault()) { |
15843 | 0 | _impl_.csharp_namespace_.Set("", GetArena()); |
15844 | 0 | } |
15845 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15846 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
15847 | 0 | } |
15848 | | |
15849 | | // optional string swift_prefix = 39; |
15850 | 0 | inline bool FileOptions::has_swift_prefix() const { |
15851 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
15852 | 0 | return value; |
15853 | 0 | } |
15854 | 0 | inline void FileOptions::clear_swift_prefix() { |
15855 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15856 | 0 | _impl_.swift_prefix_.ClearToEmpty(); |
15857 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
15858 | 0 | } |
15859 | | inline const std::string& FileOptions::swift_prefix() const |
15860 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15861 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) |
15862 | 0 | return _internal_swift_prefix(); |
15863 | 0 | } |
15864 | | template <typename Arg_, typename... Args_> |
15865 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_swift_prefix(Arg_&& arg, |
15866 | | Args_... args) { |
15867 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15868 | | _impl_._has_bits_[0] |= 0x00000020u; |
15869 | | _impl_.swift_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15870 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) |
15871 | | } |
15872 | 0 | inline std::string* FileOptions::mutable_swift_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15873 | 0 | std::string* _s = _internal_mutable_swift_prefix(); |
15874 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) |
15875 | 0 | return _s; |
15876 | 0 | } |
15877 | 0 | inline const std::string& FileOptions::_internal_swift_prefix() const { |
15878 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15879 | 0 | return _impl_.swift_prefix_.Get(); |
15880 | 0 | } |
15881 | 0 | inline void FileOptions::_internal_set_swift_prefix(const std::string& value) { |
15882 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15883 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
15884 | 0 | _impl_.swift_prefix_.Set(value, GetArena()); |
15885 | 0 | } |
15886 | 0 | inline std::string* FileOptions::_internal_mutable_swift_prefix() { |
15887 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15888 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
15889 | 0 | return _impl_.swift_prefix_.Mutable( GetArena()); |
15890 | 0 | } |
15891 | 0 | inline std::string* FileOptions::release_swift_prefix() { |
15892 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15893 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) |
15894 | 0 | if ((_impl_._has_bits_[0] & 0x00000020u) == 0) { |
15895 | 0 | return nullptr; |
15896 | 0 | } |
15897 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
15898 | 0 | auto* released = _impl_.swift_prefix_.Release(); |
15899 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15900 | 0 | _impl_.swift_prefix_.Set("", GetArena()); |
15901 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15902 | 0 | return released; |
15903 | 0 | } |
15904 | 0 | inline void FileOptions::set_allocated_swift_prefix(std::string* value) { |
15905 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15906 | 0 | if (value != nullptr) { |
15907 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
15908 | 0 | } else { |
15909 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
15910 | 0 | } |
15911 | 0 | _impl_.swift_prefix_.SetAllocated(value, GetArena()); |
15912 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15913 | 0 | if (_impl_.swift_prefix_.IsDefault()) { |
15914 | 0 | _impl_.swift_prefix_.Set("", GetArena()); |
15915 | 0 | } |
15916 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15917 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) |
15918 | 0 | } |
15919 | | |
15920 | | // optional string php_class_prefix = 40; |
15921 | 0 | inline bool FileOptions::has_php_class_prefix() const { |
15922 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
15923 | 0 | return value; |
15924 | 0 | } |
15925 | 0 | inline void FileOptions::clear_php_class_prefix() { |
15926 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15927 | 0 | _impl_.php_class_prefix_.ClearToEmpty(); |
15928 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
15929 | 0 | } |
15930 | | inline const std::string& FileOptions::php_class_prefix() const |
15931 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15932 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) |
15933 | 0 | return _internal_php_class_prefix(); |
15934 | 0 | } |
15935 | | template <typename Arg_, typename... Args_> |
15936 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_class_prefix(Arg_&& arg, |
15937 | | Args_... args) { |
15938 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15939 | | _impl_._has_bits_[0] |= 0x00000040u; |
15940 | | _impl_.php_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15941 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) |
15942 | | } |
15943 | 0 | inline std::string* FileOptions::mutable_php_class_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15944 | 0 | std::string* _s = _internal_mutable_php_class_prefix(); |
15945 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) |
15946 | 0 | return _s; |
15947 | 0 | } |
15948 | 0 | inline const std::string& FileOptions::_internal_php_class_prefix() const { |
15949 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15950 | 0 | return _impl_.php_class_prefix_.Get(); |
15951 | 0 | } |
15952 | 0 | inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) { |
15953 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15954 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
15955 | 0 | _impl_.php_class_prefix_.Set(value, GetArena()); |
15956 | 0 | } |
15957 | 0 | inline std::string* FileOptions::_internal_mutable_php_class_prefix() { |
15958 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15959 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
15960 | 0 | return _impl_.php_class_prefix_.Mutable( GetArena()); |
15961 | 0 | } |
15962 | 0 | inline std::string* FileOptions::release_php_class_prefix() { |
15963 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15964 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) |
15965 | 0 | if ((_impl_._has_bits_[0] & 0x00000040u) == 0) { |
15966 | 0 | return nullptr; |
15967 | 0 | } |
15968 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
15969 | 0 | auto* released = _impl_.php_class_prefix_.Release(); |
15970 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15971 | 0 | _impl_.php_class_prefix_.Set("", GetArena()); |
15972 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15973 | 0 | return released; |
15974 | 0 | } |
15975 | 0 | inline void FileOptions::set_allocated_php_class_prefix(std::string* value) { |
15976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15977 | 0 | if (value != nullptr) { |
15978 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
15979 | 0 | } else { |
15980 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
15981 | 0 | } |
15982 | 0 | _impl_.php_class_prefix_.SetAllocated(value, GetArena()); |
15983 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15984 | 0 | if (_impl_.php_class_prefix_.IsDefault()) { |
15985 | 0 | _impl_.php_class_prefix_.Set("", GetArena()); |
15986 | 0 | } |
15987 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
15988 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
15989 | 0 | } |
15990 | | |
15991 | | // optional string php_namespace = 41; |
15992 | 0 | inline bool FileOptions::has_php_namespace() const { |
15993 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
15994 | 0 | return value; |
15995 | 0 | } |
15996 | 0 | inline void FileOptions::clear_php_namespace() { |
15997 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15998 | 0 | _impl_.php_namespace_.ClearToEmpty(); |
15999 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
16000 | 0 | } |
16001 | | inline const std::string& FileOptions::php_namespace() const |
16002 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16003 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) |
16004 | 0 | return _internal_php_namespace(); |
16005 | 0 | } |
16006 | | template <typename Arg_, typename... Args_> |
16007 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_namespace(Arg_&& arg, |
16008 | | Args_... args) { |
16009 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16010 | | _impl_._has_bits_[0] |= 0x00000080u; |
16011 | | _impl_.php_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16012 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) |
16013 | | } |
16014 | 0 | inline std::string* FileOptions::mutable_php_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16015 | 0 | std::string* _s = _internal_mutable_php_namespace(); |
16016 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) |
16017 | 0 | return _s; |
16018 | 0 | } |
16019 | 0 | inline const std::string& FileOptions::_internal_php_namespace() const { |
16020 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16021 | 0 | return _impl_.php_namespace_.Get(); |
16022 | 0 | } |
16023 | 0 | inline void FileOptions::_internal_set_php_namespace(const std::string& value) { |
16024 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16025 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
16026 | 0 | _impl_.php_namespace_.Set(value, GetArena()); |
16027 | 0 | } |
16028 | 0 | inline std::string* FileOptions::_internal_mutable_php_namespace() { |
16029 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16030 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
16031 | 0 | return _impl_.php_namespace_.Mutable( GetArena()); |
16032 | 0 | } |
16033 | 0 | inline std::string* FileOptions::release_php_namespace() { |
16034 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16035 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) |
16036 | 0 | if ((_impl_._has_bits_[0] & 0x00000080u) == 0) { |
16037 | 0 | return nullptr; |
16038 | 0 | } |
16039 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
16040 | 0 | auto* released = _impl_.php_namespace_.Release(); |
16041 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16042 | 0 | _impl_.php_namespace_.Set("", GetArena()); |
16043 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16044 | 0 | return released; |
16045 | 0 | } |
16046 | 0 | inline void FileOptions::set_allocated_php_namespace(std::string* value) { |
16047 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16048 | 0 | if (value != nullptr) { |
16049 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
16050 | 0 | } else { |
16051 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
16052 | 0 | } |
16053 | 0 | _impl_.php_namespace_.SetAllocated(value, GetArena()); |
16054 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16055 | 0 | if (_impl_.php_namespace_.IsDefault()) { |
16056 | 0 | _impl_.php_namespace_.Set("", GetArena()); |
16057 | 0 | } |
16058 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16059 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) |
16060 | 0 | } |
16061 | | |
16062 | | // optional string php_metadata_namespace = 44; |
16063 | 0 | inline bool FileOptions::has_php_metadata_namespace() const { |
16064 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
16065 | 0 | return value; |
16066 | 0 | } |
16067 | 0 | inline void FileOptions::clear_php_metadata_namespace() { |
16068 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16069 | 0 | _impl_.php_metadata_namespace_.ClearToEmpty(); |
16070 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
16071 | 0 | } |
16072 | | inline const std::string& FileOptions::php_metadata_namespace() const |
16073 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16074 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) |
16075 | 0 | return _internal_php_metadata_namespace(); |
16076 | 0 | } |
16077 | | template <typename Arg_, typename... Args_> |
16078 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_metadata_namespace(Arg_&& arg, |
16079 | | Args_... args) { |
16080 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16081 | | _impl_._has_bits_[0] |= 0x00000100u; |
16082 | | _impl_.php_metadata_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16083 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) |
16084 | | } |
16085 | 0 | inline std::string* FileOptions::mutable_php_metadata_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16086 | 0 | std::string* _s = _internal_mutable_php_metadata_namespace(); |
16087 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) |
16088 | 0 | return _s; |
16089 | 0 | } |
16090 | 0 | inline const std::string& FileOptions::_internal_php_metadata_namespace() const { |
16091 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16092 | 0 | return _impl_.php_metadata_namespace_.Get(); |
16093 | 0 | } |
16094 | 0 | inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) { |
16095 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16096 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
16097 | 0 | _impl_.php_metadata_namespace_.Set(value, GetArena()); |
16098 | 0 | } |
16099 | 0 | inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() { |
16100 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16101 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
16102 | 0 | return _impl_.php_metadata_namespace_.Mutable( GetArena()); |
16103 | 0 | } |
16104 | 0 | inline std::string* FileOptions::release_php_metadata_namespace() { |
16105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16106 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) |
16107 | 0 | if ((_impl_._has_bits_[0] & 0x00000100u) == 0) { |
16108 | 0 | return nullptr; |
16109 | 0 | } |
16110 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
16111 | 0 | auto* released = _impl_.php_metadata_namespace_.Release(); |
16112 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16113 | 0 | _impl_.php_metadata_namespace_.Set("", GetArena()); |
16114 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16115 | 0 | return released; |
16116 | 0 | } |
16117 | 0 | inline void FileOptions::set_allocated_php_metadata_namespace(std::string* value) { |
16118 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16119 | 0 | if (value != nullptr) { |
16120 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
16121 | 0 | } else { |
16122 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
16123 | 0 | } |
16124 | 0 | _impl_.php_metadata_namespace_.SetAllocated(value, GetArena()); |
16125 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16126 | 0 | if (_impl_.php_metadata_namespace_.IsDefault()) { |
16127 | 0 | _impl_.php_metadata_namespace_.Set("", GetArena()); |
16128 | 0 | } |
16129 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16130 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
16131 | 0 | } |
16132 | | |
16133 | | // optional string ruby_package = 45; |
16134 | 0 | inline bool FileOptions::has_ruby_package() const { |
16135 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
16136 | 0 | return value; |
16137 | 0 | } |
16138 | 0 | inline void FileOptions::clear_ruby_package() { |
16139 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16140 | 0 | _impl_.ruby_package_.ClearToEmpty(); |
16141 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
16142 | 0 | } |
16143 | | inline const std::string& FileOptions::ruby_package() const |
16144 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16145 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) |
16146 | 0 | return _internal_ruby_package(); |
16147 | 0 | } |
16148 | | template <typename Arg_, typename... Args_> |
16149 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_ruby_package(Arg_&& arg, |
16150 | | Args_... args) { |
16151 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16152 | | _impl_._has_bits_[0] |= 0x00000200u; |
16153 | | _impl_.ruby_package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16154 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) |
16155 | | } |
16156 | 0 | inline std::string* FileOptions::mutable_ruby_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16157 | 0 | std::string* _s = _internal_mutable_ruby_package(); |
16158 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) |
16159 | 0 | return _s; |
16160 | 0 | } |
16161 | 0 | inline const std::string& FileOptions::_internal_ruby_package() const { |
16162 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16163 | 0 | return _impl_.ruby_package_.Get(); |
16164 | 0 | } |
16165 | 0 | inline void FileOptions::_internal_set_ruby_package(const std::string& value) { |
16166 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16167 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
16168 | 0 | _impl_.ruby_package_.Set(value, GetArena()); |
16169 | 0 | } |
16170 | 0 | inline std::string* FileOptions::_internal_mutable_ruby_package() { |
16171 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16172 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
16173 | 0 | return _impl_.ruby_package_.Mutable( GetArena()); |
16174 | 0 | } |
16175 | 0 | inline std::string* FileOptions::release_ruby_package() { |
16176 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16177 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) |
16178 | 0 | if ((_impl_._has_bits_[0] & 0x00000200u) == 0) { |
16179 | 0 | return nullptr; |
16180 | 0 | } |
16181 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
16182 | 0 | auto* released = _impl_.ruby_package_.Release(); |
16183 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16184 | 0 | _impl_.ruby_package_.Set("", GetArena()); |
16185 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16186 | 0 | return released; |
16187 | 0 | } |
16188 | 0 | inline void FileOptions::set_allocated_ruby_package(std::string* value) { |
16189 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16190 | 0 | if (value != nullptr) { |
16191 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
16192 | 0 | } else { |
16193 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
16194 | 0 | } |
16195 | 0 | _impl_.ruby_package_.SetAllocated(value, GetArena()); |
16196 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16197 | 0 | if (_impl_.ruby_package_.IsDefault()) { |
16198 | 0 | _impl_.ruby_package_.Set("", GetArena()); |
16199 | 0 | } |
16200 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16201 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) |
16202 | 0 | } |
16203 | | |
16204 | | // optional .google.protobuf.FeatureSet features = 50; |
16205 | 0 | inline bool FileOptions::has_features() const { |
16206 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
16207 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
16208 | 0 | return value; |
16209 | 0 | } |
16210 | 0 | inline void FileOptions::clear_features() { |
16211 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16212 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
16213 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
16214 | 0 | } |
16215 | 0 | inline const ::google::protobuf::FeatureSet& FileOptions::_internal_features() const { |
16216 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16217 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
16218 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
16219 | 0 | } |
16220 | 0 | inline const ::google::protobuf::FeatureSet& FileOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16221 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.features) |
16222 | 0 | return _internal_features(); |
16223 | 0 | } |
16224 | 0 | inline void FileOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
16225 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16226 | 0 | if (GetArena() == nullptr) { |
16227 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
16228 | 0 | } |
16229 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
16230 | 0 | if (value != nullptr) { |
16231 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
16232 | 0 | } else { |
16233 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
16234 | 0 | } |
16235 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.features) |
16236 | 0 | } |
16237 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::release_features() { |
16238 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16239 | 0 |
|
16240 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
16241 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
16242 | 0 | _impl_.features_ = nullptr; |
16243 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
16244 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
16245 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
16246 | 0 | if (GetArena() == nullptr) { |
16247 | 0 | delete old; |
16248 | 0 | } |
16249 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
16250 | 0 | if (GetArena() != nullptr) { |
16251 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
16252 | 0 | } |
16253 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
16254 | 0 | return released; |
16255 | 0 | } |
16256 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::unsafe_arena_release_features() { |
16257 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16258 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.features) |
16259 | 0 |
|
16260 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
16261 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
16262 | 0 | _impl_.features_ = nullptr; |
16263 | 0 | return temp; |
16264 | 0 | } |
16265 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::_internal_mutable_features() { |
16266 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16267 | 0 | if (_impl_.features_ == nullptr) { |
16268 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
16269 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
16270 | 0 | } |
16271 | 0 | return _impl_.features_; |
16272 | 0 | } |
16273 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16274 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
16275 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
16276 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.features) |
16277 | 0 | return _msg; |
16278 | 0 | } |
16279 | 0 | inline void FileOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
16280 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
16281 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16282 | 0 | if (message_arena == nullptr) { |
16283 | 0 | delete (_impl_.features_); |
16284 | 0 | } |
16285 | 0 |
|
16286 | 0 | if (value != nullptr) { |
16287 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
16288 | 0 | if (message_arena != submessage_arena) { |
16289 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
16290 | 0 | } |
16291 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
16292 | 0 | } else { |
16293 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
16294 | 0 | } |
16295 | 0 |
|
16296 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
16297 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.features) |
16298 | 0 | } |
16299 | | |
16300 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
16301 | 0 | inline int FileOptions::_internal_uninterpreted_option_size() const { |
16302 | 0 | return _internal_uninterpreted_option().size(); |
16303 | 0 | } |
16304 | 0 | inline int FileOptions::uninterpreted_option_size() const { |
16305 | 0 | return _internal_uninterpreted_option_size(); |
16306 | 0 | } |
16307 | 0 | inline void FileOptions::clear_uninterpreted_option() { |
16308 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16309 | 0 | _impl_.uninterpreted_option_.Clear(); |
16310 | 0 | } |
16311 | | inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) |
16312 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16313 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) |
16314 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
16315 | 0 | } |
16316 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* FileOptions::mutable_uninterpreted_option() |
16317 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16318 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) |
16319 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16320 | 0 | return _internal_mutable_uninterpreted_option(); |
16321 | 0 | } |
16322 | | inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const |
16323 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16324 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) |
16325 | 0 | return _internal_uninterpreted_option().Get(index); |
16326 | 0 | } |
16327 | 0 | inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16328 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16329 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
16330 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) |
16331 | 0 | return _add; |
16332 | 0 | } |
16333 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& FileOptions::uninterpreted_option() const |
16334 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16335 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) |
16336 | 0 | return _internal_uninterpreted_option(); |
16337 | 0 | } |
16338 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
16339 | 0 | FileOptions::_internal_uninterpreted_option() const { |
16340 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16341 | 0 | return _impl_.uninterpreted_option_; |
16342 | 0 | } |
16343 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
16344 | 0 | FileOptions::_internal_mutable_uninterpreted_option() { |
16345 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16346 | 0 | return &_impl_.uninterpreted_option_; |
16347 | 0 | } |
16348 | | |
16349 | | // ------------------------------------------------------------------- |
16350 | | |
16351 | | // MessageOptions |
16352 | | |
16353 | | // optional bool message_set_wire_format = 1 [default = false]; |
16354 | 0 | inline bool MessageOptions::has_message_set_wire_format() const { |
16355 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
16356 | 0 | return value; |
16357 | 0 | } |
16358 | 0 | inline void MessageOptions::clear_message_set_wire_format() { |
16359 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16360 | 0 | _impl_.message_set_wire_format_ = false; |
16361 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
16362 | 0 | } |
16363 | 0 | inline bool MessageOptions::message_set_wire_format() const { |
16364 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) |
16365 | 0 | return _internal_message_set_wire_format(); |
16366 | 0 | } |
16367 | 0 | inline void MessageOptions::set_message_set_wire_format(bool value) { |
16368 | 0 | _internal_set_message_set_wire_format(value); |
16369 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
16370 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) |
16371 | 0 | } |
16372 | 0 | inline bool MessageOptions::_internal_message_set_wire_format() const { |
16373 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16374 | 0 | return _impl_.message_set_wire_format_; |
16375 | 0 | } |
16376 | 0 | inline void MessageOptions::_internal_set_message_set_wire_format(bool value) { |
16377 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16378 | 0 | _impl_.message_set_wire_format_ = value; |
16379 | 0 | } |
16380 | | |
16381 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
16382 | 0 | inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
16383 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
16384 | 0 | return value; |
16385 | 0 | } |
16386 | 0 | inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
16387 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16388 | 0 | _impl_.no_standard_descriptor_accessor_ = false; |
16389 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
16390 | 0 | } |
16391 | 0 | inline bool MessageOptions::no_standard_descriptor_accessor() const { |
16392 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
16393 | 0 | return _internal_no_standard_descriptor_accessor(); |
16394 | 0 | } |
16395 | 0 | inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
16396 | 0 | _internal_set_no_standard_descriptor_accessor(value); |
16397 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
16398 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
16399 | 0 | } |
16400 | 0 | inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const { |
16401 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16402 | 0 | return _impl_.no_standard_descriptor_accessor_; |
16403 | 0 | } |
16404 | 0 | inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) { |
16405 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16406 | 0 | _impl_.no_standard_descriptor_accessor_ = value; |
16407 | 0 | } |
16408 | | |
16409 | | // optional bool deprecated = 3 [default = false]; |
16410 | 0 | inline bool MessageOptions::has_deprecated() const { |
16411 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
16412 | 0 | return value; |
16413 | 0 | } |
16414 | 0 | inline void MessageOptions::clear_deprecated() { |
16415 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16416 | 0 | _impl_.deprecated_ = false; |
16417 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
16418 | 0 | } |
16419 | 0 | inline bool MessageOptions::deprecated() const { |
16420 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) |
16421 | 0 | return _internal_deprecated(); |
16422 | 0 | } |
16423 | 0 | inline void MessageOptions::set_deprecated(bool value) { |
16424 | 0 | _internal_set_deprecated(value); |
16425 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
16426 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) |
16427 | 0 | } |
16428 | 0 | inline bool MessageOptions::_internal_deprecated() const { |
16429 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16430 | 0 | return _impl_.deprecated_; |
16431 | 0 | } |
16432 | 0 | inline void MessageOptions::_internal_set_deprecated(bool value) { |
16433 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16434 | 0 | _impl_.deprecated_ = value; |
16435 | 0 | } |
16436 | | |
16437 | | // optional bool map_entry = 7; |
16438 | 0 | inline bool MessageOptions::has_map_entry() const { |
16439 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
16440 | 0 | return value; |
16441 | 0 | } |
16442 | 0 | inline void MessageOptions::clear_map_entry() { |
16443 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16444 | 0 | _impl_.map_entry_ = false; |
16445 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
16446 | 0 | } |
16447 | 0 | inline bool MessageOptions::map_entry() const { |
16448 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) |
16449 | 0 | return _internal_map_entry(); |
16450 | 0 | } |
16451 | 0 | inline void MessageOptions::set_map_entry(bool value) { |
16452 | 0 | _internal_set_map_entry(value); |
16453 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
16454 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) |
16455 | 0 | } |
16456 | 0 | inline bool MessageOptions::_internal_map_entry() const { |
16457 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16458 | 0 | return _impl_.map_entry_; |
16459 | 0 | } |
16460 | 0 | inline void MessageOptions::_internal_set_map_entry(bool value) { |
16461 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16462 | 0 | _impl_.map_entry_ = value; |
16463 | 0 | } |
16464 | | |
16465 | | // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; |
16466 | 0 | inline bool MessageOptions::has_deprecated_legacy_json_field_conflicts() const { |
16467 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
16468 | 0 | return value; |
16469 | 0 | } |
16470 | 0 | inline void MessageOptions::clear_deprecated_legacy_json_field_conflicts() { |
16471 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16472 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = false; |
16473 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
16474 | 0 | } |
16475 | 0 | inline bool MessageOptions::deprecated_legacy_json_field_conflicts() const { |
16476 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts) |
16477 | 0 | return _internal_deprecated_legacy_json_field_conflicts(); |
16478 | 0 | } |
16479 | 0 | inline void MessageOptions::set_deprecated_legacy_json_field_conflicts(bool value) { |
16480 | 0 | _internal_set_deprecated_legacy_json_field_conflicts(value); |
16481 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
16482 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts) |
16483 | 0 | } |
16484 | 0 | inline bool MessageOptions::_internal_deprecated_legacy_json_field_conflicts() const { |
16485 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16486 | 0 | return _impl_.deprecated_legacy_json_field_conflicts_; |
16487 | 0 | } |
16488 | 0 | inline void MessageOptions::_internal_set_deprecated_legacy_json_field_conflicts(bool value) { |
16489 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16490 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = value; |
16491 | 0 | } |
16492 | | |
16493 | | // optional .google.protobuf.FeatureSet features = 12; |
16494 | 0 | inline bool MessageOptions::has_features() const { |
16495 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
16496 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
16497 | 0 | return value; |
16498 | 0 | } |
16499 | 0 | inline void MessageOptions::clear_features() { |
16500 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16501 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
16502 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16503 | 0 | } |
16504 | 0 | inline const ::google::protobuf::FeatureSet& MessageOptions::_internal_features() const { |
16505 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16506 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
16507 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
16508 | 0 | } |
16509 | 0 | inline const ::google::protobuf::FeatureSet& MessageOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16510 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.features) |
16511 | 0 | return _internal_features(); |
16512 | 0 | } |
16513 | 0 | inline void MessageOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
16514 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16515 | 0 | if (GetArena() == nullptr) { |
16516 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
16517 | 0 | } |
16518 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
16519 | 0 | if (value != nullptr) { |
16520 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16521 | 0 | } else { |
16522 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16523 | 0 | } |
16524 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MessageOptions.features) |
16525 | 0 | } |
16526 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::release_features() { |
16527 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16528 | 0 |
|
16529 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16530 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
16531 | 0 | _impl_.features_ = nullptr; |
16532 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
16533 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
16534 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
16535 | 0 | if (GetArena() == nullptr) { |
16536 | 0 | delete old; |
16537 | 0 | } |
16538 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
16539 | 0 | if (GetArena() != nullptr) { |
16540 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
16541 | 0 | } |
16542 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
16543 | 0 | return released; |
16544 | 0 | } |
16545 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::unsafe_arena_release_features() { |
16546 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16547 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MessageOptions.features) |
16548 | 0 |
|
16549 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16550 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
16551 | 0 | _impl_.features_ = nullptr; |
16552 | 0 | return temp; |
16553 | 0 | } |
16554 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::_internal_mutable_features() { |
16555 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16556 | 0 | if (_impl_.features_ == nullptr) { |
16557 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
16558 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
16559 | 0 | } |
16560 | 0 | return _impl_.features_; |
16561 | 0 | } |
16562 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16563 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16564 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
16565 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.features) |
16566 | 0 | return _msg; |
16567 | 0 | } |
16568 | 0 | inline void MessageOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
16569 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
16570 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16571 | 0 | if (message_arena == nullptr) { |
16572 | 0 | delete (_impl_.features_); |
16573 | 0 | } |
16574 | 0 |
|
16575 | 0 | if (value != nullptr) { |
16576 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
16577 | 0 | if (message_arena != submessage_arena) { |
16578 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
16579 | 0 | } |
16580 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16581 | 0 | } else { |
16582 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16583 | 0 | } |
16584 | 0 |
|
16585 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
16586 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MessageOptions.features) |
16587 | 0 | } |
16588 | | |
16589 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
16590 | 0 | inline int MessageOptions::_internal_uninterpreted_option_size() const { |
16591 | 0 | return _internal_uninterpreted_option().size(); |
16592 | 0 | } |
16593 | 0 | inline int MessageOptions::uninterpreted_option_size() const { |
16594 | 0 | return _internal_uninterpreted_option_size(); |
16595 | 0 | } |
16596 | 0 | inline void MessageOptions::clear_uninterpreted_option() { |
16597 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16598 | 0 | _impl_.uninterpreted_option_.Clear(); |
16599 | 0 | } |
16600 | | inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) |
16601 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16602 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) |
16603 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
16604 | 0 | } |
16605 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* MessageOptions::mutable_uninterpreted_option() |
16606 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16607 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) |
16608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16609 | 0 | return _internal_mutable_uninterpreted_option(); |
16610 | 0 | } |
16611 | | inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const |
16612 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16613 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) |
16614 | 0 | return _internal_uninterpreted_option().Get(index); |
16615 | 0 | } |
16616 | 0 | inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16617 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16618 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
16619 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) |
16620 | 0 | return _add; |
16621 | 0 | } |
16622 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& MessageOptions::uninterpreted_option() const |
16623 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16624 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) |
16625 | 0 | return _internal_uninterpreted_option(); |
16626 | 0 | } |
16627 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
16628 | 0 | MessageOptions::_internal_uninterpreted_option() const { |
16629 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16630 | 0 | return _impl_.uninterpreted_option_; |
16631 | 0 | } |
16632 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
16633 | 0 | MessageOptions::_internal_mutable_uninterpreted_option() { |
16634 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16635 | 0 | return &_impl_.uninterpreted_option_; |
16636 | 0 | } |
16637 | | |
16638 | | // ------------------------------------------------------------------- |
16639 | | |
16640 | | // FieldOptions_EditionDefault |
16641 | | |
16642 | | // optional .google.protobuf.Edition edition = 3; |
16643 | 0 | inline bool FieldOptions_EditionDefault::has_edition() const { |
16644 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
16645 | 0 | return value; |
16646 | 0 | } |
16647 | 0 | inline void FieldOptions_EditionDefault::clear_edition() { |
16648 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16649 | 0 | _impl_.edition_ = 0; |
16650 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
16651 | 0 | } |
16652 | 0 | inline ::google::protobuf::Edition FieldOptions_EditionDefault::edition() const { |
16653 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.edition) |
16654 | 0 | return _internal_edition(); |
16655 | 0 | } |
16656 | 0 | inline void FieldOptions_EditionDefault::set_edition(::google::protobuf::Edition value) { |
16657 | 0 | _internal_set_edition(value); |
16658 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
16659 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.edition) |
16660 | 0 | } |
16661 | 0 | inline ::google::protobuf::Edition FieldOptions_EditionDefault::_internal_edition() const { |
16662 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16663 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_); |
16664 | 0 | } |
16665 | 0 | inline void FieldOptions_EditionDefault::_internal_set_edition(::google::protobuf::Edition value) { |
16666 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16667 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
16668 | 0 | _impl_.edition_ = value; |
16669 | 0 | } |
16670 | | |
16671 | | // optional string value = 2; |
16672 | 0 | inline bool FieldOptions_EditionDefault::has_value() const { |
16673 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
16674 | 0 | return value; |
16675 | 0 | } |
16676 | 0 | inline void FieldOptions_EditionDefault::clear_value() { |
16677 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16678 | 0 | _impl_.value_.ClearToEmpty(); |
16679 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16680 | 0 | } |
16681 | | inline const std::string& FieldOptions_EditionDefault::value() const |
16682 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16683 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.value) |
16684 | 0 | return _internal_value(); |
16685 | 0 | } |
16686 | | template <typename Arg_, typename... Args_> |
16687 | | inline PROTOBUF_ALWAYS_INLINE void FieldOptions_EditionDefault::set_value(Arg_&& arg, |
16688 | | Args_... args) { |
16689 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16690 | | _impl_._has_bits_[0] |= 0x00000001u; |
16691 | | _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16692 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.value) |
16693 | | } |
16694 | 0 | inline std::string* FieldOptions_EditionDefault::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16695 | 0 | std::string* _s = _internal_mutable_value(); |
16696 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.EditionDefault.value) |
16697 | 0 | return _s; |
16698 | 0 | } |
16699 | 0 | inline const std::string& FieldOptions_EditionDefault::_internal_value() const { |
16700 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16701 | 0 | return _impl_.value_.Get(); |
16702 | 0 | } |
16703 | 0 | inline void FieldOptions_EditionDefault::_internal_set_value(const std::string& value) { |
16704 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16705 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16706 | 0 | _impl_.value_.Set(value, GetArena()); |
16707 | 0 | } |
16708 | 0 | inline std::string* FieldOptions_EditionDefault::_internal_mutable_value() { |
16709 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16710 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16711 | 0 | return _impl_.value_.Mutable( GetArena()); |
16712 | 0 | } |
16713 | 0 | inline std::string* FieldOptions_EditionDefault::release_value() { |
16714 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16715 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.EditionDefault.value) |
16716 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
16717 | 0 | return nullptr; |
16718 | 0 | } |
16719 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16720 | 0 | auto* released = _impl_.value_.Release(); |
16721 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16722 | 0 | _impl_.value_.Set("", GetArena()); |
16723 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16724 | 0 | return released; |
16725 | 0 | } |
16726 | 0 | inline void FieldOptions_EditionDefault::set_allocated_value(std::string* value) { |
16727 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16728 | 0 | if (value != nullptr) { |
16729 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16730 | 0 | } else { |
16731 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16732 | 0 | } |
16733 | 0 | _impl_.value_.SetAllocated(value, GetArena()); |
16734 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16735 | 0 | if (_impl_.value_.IsDefault()) { |
16736 | 0 | _impl_.value_.Set("", GetArena()); |
16737 | 0 | } |
16738 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16739 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.EditionDefault.value) |
16740 | 0 | } |
16741 | | |
16742 | | // ------------------------------------------------------------------- |
16743 | | |
16744 | | // FieldOptions_FeatureSupport |
16745 | | |
16746 | | // optional .google.protobuf.Edition edition_introduced = 1; |
16747 | 0 | inline bool FieldOptions_FeatureSupport::has_edition_introduced() const { |
16748 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
16749 | 0 | return value; |
16750 | 0 | } |
16751 | 0 | inline void FieldOptions_FeatureSupport::clear_edition_introduced() { |
16752 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16753 | 0 | _impl_.edition_introduced_ = 0; |
16754 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
16755 | 0 | } |
16756 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::edition_introduced() const { |
16757 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.edition_introduced) |
16758 | 0 | return _internal_edition_introduced(); |
16759 | 0 | } |
16760 | 0 | inline void FieldOptions_FeatureSupport::set_edition_introduced(::google::protobuf::Edition value) { |
16761 | 0 | _internal_set_edition_introduced(value); |
16762 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
16763 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.edition_introduced) |
16764 | 0 | } |
16765 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::_internal_edition_introduced() const { |
16766 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16767 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_introduced_); |
16768 | 0 | } |
16769 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_edition_introduced(::google::protobuf::Edition value) { |
16770 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16771 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
16772 | 0 | _impl_.edition_introduced_ = value; |
16773 | 0 | } |
16774 | | |
16775 | | // optional .google.protobuf.Edition edition_deprecated = 2; |
16776 | 0 | inline bool FieldOptions_FeatureSupport::has_edition_deprecated() const { |
16777 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
16778 | 0 | return value; |
16779 | 0 | } |
16780 | 0 | inline void FieldOptions_FeatureSupport::clear_edition_deprecated() { |
16781 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16782 | 0 | _impl_.edition_deprecated_ = 0; |
16783 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
16784 | 0 | } |
16785 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::edition_deprecated() const { |
16786 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.edition_deprecated) |
16787 | 0 | return _internal_edition_deprecated(); |
16788 | 0 | } |
16789 | 0 | inline void FieldOptions_FeatureSupport::set_edition_deprecated(::google::protobuf::Edition value) { |
16790 | 0 | _internal_set_edition_deprecated(value); |
16791 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
16792 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.edition_deprecated) |
16793 | 0 | } |
16794 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::_internal_edition_deprecated() const { |
16795 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16796 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_deprecated_); |
16797 | 0 | } |
16798 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_edition_deprecated(::google::protobuf::Edition value) { |
16799 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16800 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
16801 | 0 | _impl_.edition_deprecated_ = value; |
16802 | 0 | } |
16803 | | |
16804 | | // optional string deprecation_warning = 3; |
16805 | 0 | inline bool FieldOptions_FeatureSupport::has_deprecation_warning() const { |
16806 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
16807 | 0 | return value; |
16808 | 0 | } |
16809 | 0 | inline void FieldOptions_FeatureSupport::clear_deprecation_warning() { |
16810 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16811 | 0 | _impl_.deprecation_warning_.ClearToEmpty(); |
16812 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16813 | 0 | } |
16814 | | inline const std::string& FieldOptions_FeatureSupport::deprecation_warning() const |
16815 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16816 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
16817 | 0 | return _internal_deprecation_warning(); |
16818 | 0 | } |
16819 | | template <typename Arg_, typename... Args_> |
16820 | | inline PROTOBUF_ALWAYS_INLINE void FieldOptions_FeatureSupport::set_deprecation_warning(Arg_&& arg, |
16821 | | Args_... args) { |
16822 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16823 | | _impl_._has_bits_[0] |= 0x00000001u; |
16824 | | _impl_.deprecation_warning_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16825 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
16826 | | } |
16827 | 0 | inline std::string* FieldOptions_FeatureSupport::mutable_deprecation_warning() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16828 | 0 | std::string* _s = _internal_mutable_deprecation_warning(); |
16829 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
16830 | 0 | return _s; |
16831 | 0 | } |
16832 | 0 | inline const std::string& FieldOptions_FeatureSupport::_internal_deprecation_warning() const { |
16833 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16834 | 0 | return _impl_.deprecation_warning_.Get(); |
16835 | 0 | } |
16836 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_deprecation_warning(const std::string& value) { |
16837 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16838 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16839 | 0 | _impl_.deprecation_warning_.Set(value, GetArena()); |
16840 | 0 | } |
16841 | 0 | inline std::string* FieldOptions_FeatureSupport::_internal_mutable_deprecation_warning() { |
16842 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16843 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16844 | 0 | return _impl_.deprecation_warning_.Mutable( GetArena()); |
16845 | 0 | } |
16846 | 0 | inline std::string* FieldOptions_FeatureSupport::release_deprecation_warning() { |
16847 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16848 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
16849 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
16850 | 0 | return nullptr; |
16851 | 0 | } |
16852 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16853 | 0 | auto* released = _impl_.deprecation_warning_.Release(); |
16854 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16855 | 0 | _impl_.deprecation_warning_.Set("", GetArena()); |
16856 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16857 | 0 | return released; |
16858 | 0 | } |
16859 | 0 | inline void FieldOptions_FeatureSupport::set_allocated_deprecation_warning(std::string* value) { |
16860 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16861 | 0 | if (value != nullptr) { |
16862 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16863 | 0 | } else { |
16864 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16865 | 0 | } |
16866 | 0 | _impl_.deprecation_warning_.SetAllocated(value, GetArena()); |
16867 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16868 | 0 | if (_impl_.deprecation_warning_.IsDefault()) { |
16869 | 0 | _impl_.deprecation_warning_.Set("", GetArena()); |
16870 | 0 | } |
16871 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
16872 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
16873 | 0 | } |
16874 | | |
16875 | | // optional .google.protobuf.Edition edition_removed = 4; |
16876 | 0 | inline bool FieldOptions_FeatureSupport::has_edition_removed() const { |
16877 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
16878 | 0 | return value; |
16879 | 0 | } |
16880 | 0 | inline void FieldOptions_FeatureSupport::clear_edition_removed() { |
16881 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16882 | 0 | _impl_.edition_removed_ = 0; |
16883 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
16884 | 0 | } |
16885 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::edition_removed() const { |
16886 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.edition_removed) |
16887 | 0 | return _internal_edition_removed(); |
16888 | 0 | } |
16889 | 0 | inline void FieldOptions_FeatureSupport::set_edition_removed(::google::protobuf::Edition value) { |
16890 | 0 | _internal_set_edition_removed(value); |
16891 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
16892 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.edition_removed) |
16893 | 0 | } |
16894 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::_internal_edition_removed() const { |
16895 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16896 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_removed_); |
16897 | 0 | } |
16898 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_edition_removed(::google::protobuf::Edition value) { |
16899 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16900 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
16901 | 0 | _impl_.edition_removed_ = value; |
16902 | 0 | } |
16903 | | |
16904 | | // ------------------------------------------------------------------- |
16905 | | |
16906 | | // FieldOptions |
16907 | | |
16908 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
16909 | 0 | inline bool FieldOptions::has_ctype() const { |
16910 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
16911 | 0 | return value; |
16912 | 0 | } |
16913 | 0 | inline void FieldOptions::clear_ctype() { |
16914 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16915 | 0 | _impl_.ctype_ = 0; |
16916 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
16917 | 0 | } |
16918 | 0 | inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const { |
16919 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) |
16920 | 0 | return _internal_ctype(); |
16921 | 0 | } |
16922 | 0 | inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) { |
16923 | 0 | _internal_set_ctype(value); |
16924 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
16925 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
16926 | 0 | } |
16927 | 0 | inline ::google::protobuf::FieldOptions_CType FieldOptions::_internal_ctype() const { |
16928 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16929 | 0 | return static_cast<::google::protobuf::FieldOptions_CType>(_impl_.ctype_); |
16930 | 0 | } |
16931 | 0 | inline void FieldOptions::_internal_set_ctype(::google::protobuf::FieldOptions_CType value) { |
16932 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16933 | 0 | assert(::google::protobuf::FieldOptions_CType_IsValid(value)); |
16934 | 0 | _impl_.ctype_ = value; |
16935 | 0 | } |
16936 | | |
16937 | | // optional bool packed = 2; |
16938 | 0 | inline bool FieldOptions::has_packed() const { |
16939 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
16940 | 0 | return value; |
16941 | 0 | } |
16942 | 0 | inline void FieldOptions::clear_packed() { |
16943 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16944 | 0 | _impl_.packed_ = false; |
16945 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
16946 | 0 | } |
16947 | 0 | inline bool FieldOptions::packed() const { |
16948 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
16949 | 0 | return _internal_packed(); |
16950 | 0 | } |
16951 | 0 | inline void FieldOptions::set_packed(bool value) { |
16952 | 0 | _internal_set_packed(value); |
16953 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
16954 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
16955 | 0 | } |
16956 | 0 | inline bool FieldOptions::_internal_packed() const { |
16957 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16958 | 0 | return _impl_.packed_; |
16959 | 0 | } |
16960 | 0 | inline void FieldOptions::_internal_set_packed(bool value) { |
16961 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16962 | 0 | _impl_.packed_ = value; |
16963 | 0 | } |
16964 | | |
16965 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
16966 | 0 | inline bool FieldOptions::has_jstype() const { |
16967 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
16968 | 0 | return value; |
16969 | 0 | } |
16970 | 0 | inline void FieldOptions::clear_jstype() { |
16971 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16972 | 0 | _impl_.jstype_ = 0; |
16973 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
16974 | 0 | } |
16975 | 0 | inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { |
16976 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
16977 | 0 | return _internal_jstype(); |
16978 | 0 | } |
16979 | 0 | inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType value) { |
16980 | 0 | _internal_set_jstype(value); |
16981 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
16982 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) |
16983 | 0 | } |
16984 | 0 | inline ::google::protobuf::FieldOptions_JSType FieldOptions::_internal_jstype() const { |
16985 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16986 | 0 | return static_cast<::google::protobuf::FieldOptions_JSType>(_impl_.jstype_); |
16987 | 0 | } |
16988 | 0 | inline void FieldOptions::_internal_set_jstype(::google::protobuf::FieldOptions_JSType value) { |
16989 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16990 | 0 | assert(::google::protobuf::FieldOptions_JSType_IsValid(value)); |
16991 | 0 | _impl_.jstype_ = value; |
16992 | 0 | } |
16993 | | |
16994 | | // optional bool lazy = 5 [default = false]; |
16995 | 0 | inline bool FieldOptions::has_lazy() const { |
16996 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
16997 | 0 | return value; |
16998 | 0 | } |
16999 | 0 | inline void FieldOptions::clear_lazy() { |
17000 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17001 | 0 | _impl_.lazy_ = false; |
17002 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
17003 | 0 | } |
17004 | 0 | inline bool FieldOptions::lazy() const { |
17005 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) |
17006 | 0 | return _internal_lazy(); |
17007 | 0 | } |
17008 | 0 | inline void FieldOptions::set_lazy(bool value) { |
17009 | 0 | _internal_set_lazy(value); |
17010 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
17011 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) |
17012 | 0 | } |
17013 | 0 | inline bool FieldOptions::_internal_lazy() const { |
17014 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17015 | 0 | return _impl_.lazy_; |
17016 | 0 | } |
17017 | 0 | inline void FieldOptions::_internal_set_lazy(bool value) { |
17018 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17019 | 0 | _impl_.lazy_ = value; |
17020 | 0 | } |
17021 | | |
17022 | | // optional bool unverified_lazy = 15 [default = false]; |
17023 | 0 | inline bool FieldOptions::has_unverified_lazy() const { |
17024 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
17025 | 0 | return value; |
17026 | 0 | } |
17027 | 0 | inline void FieldOptions::clear_unverified_lazy() { |
17028 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17029 | 0 | _impl_.unverified_lazy_ = false; |
17030 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
17031 | 0 | } |
17032 | 0 | inline bool FieldOptions::unverified_lazy() const { |
17033 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.unverified_lazy) |
17034 | 0 | return _internal_unverified_lazy(); |
17035 | 0 | } |
17036 | 0 | inline void FieldOptions::set_unverified_lazy(bool value) { |
17037 | 0 | _internal_set_unverified_lazy(value); |
17038 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
17039 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.unverified_lazy) |
17040 | 0 | } |
17041 | 0 | inline bool FieldOptions::_internal_unverified_lazy() const { |
17042 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17043 | 0 | return _impl_.unverified_lazy_; |
17044 | 0 | } |
17045 | 0 | inline void FieldOptions::_internal_set_unverified_lazy(bool value) { |
17046 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17047 | 0 | _impl_.unverified_lazy_ = value; |
17048 | 0 | } |
17049 | | |
17050 | | // optional bool deprecated = 3 [default = false]; |
17051 | 0 | inline bool FieldOptions::has_deprecated() const { |
17052 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
17053 | 0 | return value; |
17054 | 0 | } |
17055 | 0 | inline void FieldOptions::clear_deprecated() { |
17056 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17057 | 0 | _impl_.deprecated_ = false; |
17058 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
17059 | 0 | } |
17060 | 0 | inline bool FieldOptions::deprecated() const { |
17061 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) |
17062 | 0 | return _internal_deprecated(); |
17063 | 0 | } |
17064 | 0 | inline void FieldOptions::set_deprecated(bool value) { |
17065 | 0 | _internal_set_deprecated(value); |
17066 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
17067 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) |
17068 | 0 | } |
17069 | 0 | inline bool FieldOptions::_internal_deprecated() const { |
17070 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17071 | 0 | return _impl_.deprecated_; |
17072 | 0 | } |
17073 | 0 | inline void FieldOptions::_internal_set_deprecated(bool value) { |
17074 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17075 | 0 | _impl_.deprecated_ = value; |
17076 | 0 | } |
17077 | | |
17078 | | // optional bool weak = 10 [default = false]; |
17079 | 0 | inline bool FieldOptions::has_weak() const { |
17080 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
17081 | 0 | return value; |
17082 | 0 | } |
17083 | 0 | inline void FieldOptions::clear_weak() { |
17084 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17085 | 0 | _impl_.weak_ = false; |
17086 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
17087 | 0 | } |
17088 | 0 | inline bool FieldOptions::weak() const { |
17089 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) |
17090 | 0 | return _internal_weak(); |
17091 | 0 | } |
17092 | 0 | inline void FieldOptions::set_weak(bool value) { |
17093 | 0 | _internal_set_weak(value); |
17094 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
17095 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) |
17096 | 0 | } |
17097 | 0 | inline bool FieldOptions::_internal_weak() const { |
17098 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17099 | 0 | return _impl_.weak_; |
17100 | 0 | } |
17101 | 0 | inline void FieldOptions::_internal_set_weak(bool value) { |
17102 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17103 | 0 | _impl_.weak_ = value; |
17104 | 0 | } |
17105 | | |
17106 | | // optional bool debug_redact = 16 [default = false]; |
17107 | 0 | inline bool FieldOptions::has_debug_redact() const { |
17108 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
17109 | 0 | return value; |
17110 | 0 | } |
17111 | 0 | inline void FieldOptions::clear_debug_redact() { |
17112 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17113 | 0 | _impl_.debug_redact_ = false; |
17114 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
17115 | 0 | } |
17116 | 0 | inline bool FieldOptions::debug_redact() const { |
17117 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.debug_redact) |
17118 | 0 | return _internal_debug_redact(); |
17119 | 0 | } |
17120 | 0 | inline void FieldOptions::set_debug_redact(bool value) { |
17121 | 0 | _internal_set_debug_redact(value); |
17122 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
17123 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.debug_redact) |
17124 | 0 | } |
17125 | 0 | inline bool FieldOptions::_internal_debug_redact() const { |
17126 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17127 | 0 | return _impl_.debug_redact_; |
17128 | 0 | } |
17129 | 0 | inline void FieldOptions::_internal_set_debug_redact(bool value) { |
17130 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17131 | 0 | _impl_.debug_redact_ = value; |
17132 | 0 | } |
17133 | | |
17134 | | // optional .google.protobuf.FieldOptions.OptionRetention retention = 17; |
17135 | 0 | inline bool FieldOptions::has_retention() const { |
17136 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
17137 | 0 | return value; |
17138 | 0 | } |
17139 | 0 | inline void FieldOptions::clear_retention() { |
17140 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17141 | 0 | _impl_.retention_ = 0; |
17142 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17143 | 0 | } |
17144 | 0 | inline ::google::protobuf::FieldOptions_OptionRetention FieldOptions::retention() const { |
17145 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.retention) |
17146 | 0 | return _internal_retention(); |
17147 | 0 | } |
17148 | 0 | inline void FieldOptions::set_retention(::google::protobuf::FieldOptions_OptionRetention value) { |
17149 | 0 | _internal_set_retention(value); |
17150 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
17151 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.retention) |
17152 | 0 | } |
17153 | 0 | inline ::google::protobuf::FieldOptions_OptionRetention FieldOptions::_internal_retention() const { |
17154 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17155 | 0 | return static_cast<::google::protobuf::FieldOptions_OptionRetention>(_impl_.retention_); |
17156 | 0 | } |
17157 | 0 | inline void FieldOptions::_internal_set_retention(::google::protobuf::FieldOptions_OptionRetention value) { |
17158 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17159 | 0 | assert(::google::protobuf::FieldOptions_OptionRetention_IsValid(value)); |
17160 | 0 | _impl_.retention_ = value; |
17161 | 0 | } |
17162 | | |
17163 | | // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19; |
17164 | 0 | inline int FieldOptions::_internal_targets_size() const { |
17165 | 0 | return _internal_targets().size(); |
17166 | 0 | } |
17167 | 0 | inline int FieldOptions::targets_size() const { |
17168 | 0 | return _internal_targets_size(); |
17169 | 0 | } |
17170 | 0 | inline void FieldOptions::clear_targets() { |
17171 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17172 | 0 | _impl_.targets_.Clear(); |
17173 | 0 | } |
17174 | 0 | inline ::google::protobuf::FieldOptions_OptionTargetType FieldOptions::targets(int index) const { |
17175 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.targets) |
17176 | 0 | return static_cast<::google::protobuf::FieldOptions_OptionTargetType>(_internal_targets().Get(index)); |
17177 | 0 | } |
17178 | 0 | inline void FieldOptions::set_targets(int index, ::google::protobuf::FieldOptions_OptionTargetType value) { |
17179 | 0 | assert(::google::protobuf::FieldOptions_OptionTargetType_IsValid(value)); |
17180 | 0 | _internal_mutable_targets()->Set(index, value); |
17181 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.targets) |
17182 | 0 | } |
17183 | 0 | inline void FieldOptions::add_targets(::google::protobuf::FieldOptions_OptionTargetType value) { |
17184 | 0 | assert(::google::protobuf::FieldOptions_OptionTargetType_IsValid(value)); |
17185 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17186 | 0 | _internal_mutable_targets()->Add(value); |
17187 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.targets) |
17188 | 0 | } |
17189 | | inline const ::google::protobuf::RepeatedField<int>& FieldOptions::targets() const |
17190 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17191 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.targets) |
17192 | 0 | return _internal_targets(); |
17193 | 0 | } |
17194 | | inline ::google::protobuf::RepeatedField<int>* FieldOptions::mutable_targets() |
17195 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17196 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.targets) |
17197 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17198 | 0 | return _internal_mutable_targets(); |
17199 | 0 | } |
17200 | | inline const ::google::protobuf::RepeatedField<int>& FieldOptions::_internal_targets() |
17201 | 0 | const { |
17202 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17203 | 0 | return _impl_.targets_; |
17204 | 0 | } |
17205 | 0 | inline ::google::protobuf::RepeatedField<int>* FieldOptions::_internal_mutable_targets() { |
17206 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17207 | 0 | return &_impl_.targets_; |
17208 | 0 | } |
17209 | | |
17210 | | // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; |
17211 | 0 | inline int FieldOptions::_internal_edition_defaults_size() const { |
17212 | 0 | return _internal_edition_defaults().size(); |
17213 | 0 | } |
17214 | 0 | inline int FieldOptions::edition_defaults_size() const { |
17215 | 0 | return _internal_edition_defaults_size(); |
17216 | 0 | } |
17217 | 0 | inline void FieldOptions::clear_edition_defaults() { |
17218 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17219 | 0 | _impl_.edition_defaults_.Clear(); |
17220 | 0 | } |
17221 | | inline ::google::protobuf::FieldOptions_EditionDefault* FieldOptions::mutable_edition_defaults(int index) |
17222 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17223 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.edition_defaults) |
17224 | 0 | return _internal_mutable_edition_defaults()->Mutable(index); |
17225 | 0 | } |
17226 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* FieldOptions::mutable_edition_defaults() |
17227 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17228 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.edition_defaults) |
17229 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17230 | 0 | return _internal_mutable_edition_defaults(); |
17231 | 0 | } |
17232 | | inline const ::google::protobuf::FieldOptions_EditionDefault& FieldOptions::edition_defaults(int index) const |
17233 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17234 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.edition_defaults) |
17235 | 0 | return _internal_edition_defaults().Get(index); |
17236 | 0 | } |
17237 | 0 | inline ::google::protobuf::FieldOptions_EditionDefault* FieldOptions::add_edition_defaults() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17238 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17239 | 0 | ::google::protobuf::FieldOptions_EditionDefault* _add = _internal_mutable_edition_defaults()->Add(); |
17240 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.edition_defaults) |
17241 | 0 | return _add; |
17242 | 0 | } |
17243 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& FieldOptions::edition_defaults() const |
17244 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17245 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.edition_defaults) |
17246 | 0 | return _internal_edition_defaults(); |
17247 | 0 | } |
17248 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& |
17249 | 0 | FieldOptions::_internal_edition_defaults() const { |
17250 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17251 | 0 | return _impl_.edition_defaults_; |
17252 | 0 | } |
17253 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* |
17254 | 0 | FieldOptions::_internal_mutable_edition_defaults() { |
17255 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17256 | 0 | return &_impl_.edition_defaults_; |
17257 | 0 | } |
17258 | | |
17259 | | // optional .google.protobuf.FeatureSet features = 21; |
17260 | 0 | inline bool FieldOptions::has_features() const { |
17261 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17262 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
17263 | 0 | return value; |
17264 | 0 | } |
17265 | 0 | inline void FieldOptions::clear_features() { |
17266 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17267 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
17268 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17269 | 0 | } |
17270 | 0 | inline const ::google::protobuf::FeatureSet& FieldOptions::_internal_features() const { |
17271 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17272 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
17273 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
17274 | 0 | } |
17275 | 0 | inline const ::google::protobuf::FeatureSet& FieldOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17276 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.features) |
17277 | 0 | return _internal_features(); |
17278 | 0 | } |
17279 | 0 | inline void FieldOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
17280 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17281 | 0 | if (GetArena() == nullptr) { |
17282 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
17283 | 0 | } |
17284 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17285 | 0 | if (value != nullptr) { |
17286 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17287 | 0 | } else { |
17288 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17289 | 0 | } |
17290 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldOptions.features) |
17291 | 0 | } |
17292 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::release_features() { |
17293 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17294 | 0 |
|
17295 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17296 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
17297 | 0 | _impl_.features_ = nullptr; |
17298 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
17299 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17300 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17301 | 0 | if (GetArena() == nullptr) { |
17302 | 0 | delete old; |
17303 | 0 | } |
17304 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
17305 | 0 | if (GetArena() != nullptr) { |
17306 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17307 | 0 | } |
17308 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
17309 | 0 | return released; |
17310 | 0 | } |
17311 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::unsafe_arena_release_features() { |
17312 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17313 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.features) |
17314 | 0 |
|
17315 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17316 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
17317 | 0 | _impl_.features_ = nullptr; |
17318 | 0 | return temp; |
17319 | 0 | } |
17320 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::_internal_mutable_features() { |
17321 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17322 | 0 | if (_impl_.features_ == nullptr) { |
17323 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
17324 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
17325 | 0 | } |
17326 | 0 | return _impl_.features_; |
17327 | 0 | } |
17328 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17329 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17330 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
17331 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.features) |
17332 | 0 | return _msg; |
17333 | 0 | } |
17334 | 0 | inline void FieldOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
17335 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17336 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17337 | 0 | if (message_arena == nullptr) { |
17338 | 0 | delete (_impl_.features_); |
17339 | 0 | } |
17340 | 0 |
|
17341 | 0 | if (value != nullptr) { |
17342 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17343 | 0 | if (message_arena != submessage_arena) { |
17344 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
17345 | 0 | } |
17346 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17347 | 0 | } else { |
17348 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17349 | 0 | } |
17350 | 0 |
|
17351 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17352 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.features) |
17353 | 0 | } |
17354 | | |
17355 | | // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; |
17356 | 0 | inline bool FieldOptions::has_feature_support() const { |
17357 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
17358 | 0 | PROTOBUF_ASSUME(!value || _impl_.feature_support_ != nullptr); |
17359 | 0 | return value; |
17360 | 0 | } |
17361 | 0 | inline void FieldOptions::clear_feature_support() { |
17362 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17363 | 0 | if (_impl_.feature_support_ != nullptr) _impl_.feature_support_->Clear(); |
17364 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17365 | 0 | } |
17366 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& FieldOptions::_internal_feature_support() const { |
17367 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17368 | 0 | const ::google::protobuf::FieldOptions_FeatureSupport* p = _impl_.feature_support_; |
17369 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FieldOptions_FeatureSupport&>(::google::protobuf::_FieldOptions_FeatureSupport_default_instance_); |
17370 | 0 | } |
17371 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& FieldOptions::feature_support() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17372 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.feature_support) |
17373 | 0 | return _internal_feature_support(); |
17374 | 0 | } |
17375 | 0 | inline void FieldOptions::unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
17376 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17377 | 0 | if (GetArena() == nullptr) { |
17378 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.feature_support_); |
17379 | 0 | } |
17380 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
17381 | 0 | if (value != nullptr) { |
17382 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17383 | 0 | } else { |
17384 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17385 | 0 | } |
17386 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldOptions.feature_support) |
17387 | 0 | } |
17388 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::release_feature_support() { |
17389 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17390 | 0 |
|
17391 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17392 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* released = _impl_.feature_support_; |
17393 | 0 | _impl_.feature_support_ = nullptr; |
17394 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
17395 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17396 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17397 | 0 | if (GetArena() == nullptr) { |
17398 | 0 | delete old; |
17399 | 0 | } |
17400 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
17401 | 0 | if (GetArena() != nullptr) { |
17402 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17403 | 0 | } |
17404 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
17405 | 0 | return released; |
17406 | 0 | } |
17407 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::unsafe_arena_release_feature_support() { |
17408 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17409 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.feature_support) |
17410 | 0 |
|
17411 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17412 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* temp = _impl_.feature_support_; |
17413 | 0 | _impl_.feature_support_ = nullptr; |
17414 | 0 | return temp; |
17415 | 0 | } |
17416 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::_internal_mutable_feature_support() { |
17417 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17418 | 0 | if (_impl_.feature_support_ == nullptr) { |
17419 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FieldOptions_FeatureSupport>(GetArena()); |
17420 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(p); |
17421 | 0 | } |
17422 | 0 | return _impl_.feature_support_; |
17423 | 0 | } |
17424 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::mutable_feature_support() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17425 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17426 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* _msg = _internal_mutable_feature_support(); |
17427 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.feature_support) |
17428 | 0 | return _msg; |
17429 | 0 | } |
17430 | 0 | inline void FieldOptions::set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
17431 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17432 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17433 | 0 | if (message_arena == nullptr) { |
17434 | 0 | delete (_impl_.feature_support_); |
17435 | 0 | } |
17436 | 0 |
|
17437 | 0 | if (value != nullptr) { |
17438 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17439 | 0 | if (message_arena != submessage_arena) { |
17440 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
17441 | 0 | } |
17442 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17443 | 0 | } else { |
17444 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17445 | 0 | } |
17446 | 0 |
|
17447 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
17448 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.feature_support) |
17449 | 0 | } |
17450 | | |
17451 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
17452 | 0 | inline int FieldOptions::_internal_uninterpreted_option_size() const { |
17453 | 0 | return _internal_uninterpreted_option().size(); |
17454 | 0 | } |
17455 | 0 | inline int FieldOptions::uninterpreted_option_size() const { |
17456 | 0 | return _internal_uninterpreted_option_size(); |
17457 | 0 | } |
17458 | 0 | inline void FieldOptions::clear_uninterpreted_option() { |
17459 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17460 | 0 | _impl_.uninterpreted_option_.Clear(); |
17461 | 0 | } |
17462 | | inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) |
17463 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17464 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) |
17465 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
17466 | 0 | } |
17467 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* FieldOptions::mutable_uninterpreted_option() |
17468 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17469 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) |
17470 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17471 | 0 | return _internal_mutable_uninterpreted_option(); |
17472 | 0 | } |
17473 | | inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const |
17474 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17475 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) |
17476 | 0 | return _internal_uninterpreted_option().Get(index); |
17477 | 0 | } |
17478 | 0 | inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17479 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17480 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
17481 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) |
17482 | 0 | return _add; |
17483 | 0 | } |
17484 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& FieldOptions::uninterpreted_option() const |
17485 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17486 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) |
17487 | 0 | return _internal_uninterpreted_option(); |
17488 | 0 | } |
17489 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
17490 | 0 | FieldOptions::_internal_uninterpreted_option() const { |
17491 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17492 | 0 | return _impl_.uninterpreted_option_; |
17493 | 0 | } |
17494 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
17495 | 0 | FieldOptions::_internal_mutable_uninterpreted_option() { |
17496 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17497 | 0 | return &_impl_.uninterpreted_option_; |
17498 | 0 | } |
17499 | | |
17500 | | // ------------------------------------------------------------------- |
17501 | | |
17502 | | // OneofOptions |
17503 | | |
17504 | | // optional .google.protobuf.FeatureSet features = 1; |
17505 | 0 | inline bool OneofOptions::has_features() const { |
17506 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17507 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
17508 | 0 | return value; |
17509 | 0 | } |
17510 | 0 | inline void OneofOptions::clear_features() { |
17511 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17512 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
17513 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17514 | 0 | } |
17515 | 0 | inline const ::google::protobuf::FeatureSet& OneofOptions::_internal_features() const { |
17516 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17517 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
17518 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
17519 | 0 | } |
17520 | 0 | inline const ::google::protobuf::FeatureSet& OneofOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17521 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.features) |
17522 | 0 | return _internal_features(); |
17523 | 0 | } |
17524 | 0 | inline void OneofOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
17525 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17526 | 0 | if (GetArena() == nullptr) { |
17527 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
17528 | 0 | } |
17529 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17530 | 0 | if (value != nullptr) { |
17531 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17532 | 0 | } else { |
17533 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17534 | 0 | } |
17535 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofOptions.features) |
17536 | 0 | } |
17537 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::release_features() { |
17538 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17539 | 0 |
|
17540 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17541 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
17542 | 0 | _impl_.features_ = nullptr; |
17543 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
17544 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17545 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17546 | 0 | if (GetArena() == nullptr) { |
17547 | 0 | delete old; |
17548 | 0 | } |
17549 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
17550 | 0 | if (GetArena() != nullptr) { |
17551 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17552 | 0 | } |
17553 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
17554 | 0 | return released; |
17555 | 0 | } |
17556 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::unsafe_arena_release_features() { |
17557 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17558 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofOptions.features) |
17559 | 0 |
|
17560 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17561 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
17562 | 0 | _impl_.features_ = nullptr; |
17563 | 0 | return temp; |
17564 | 0 | } |
17565 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::_internal_mutable_features() { |
17566 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17567 | 0 | if (_impl_.features_ == nullptr) { |
17568 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
17569 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
17570 | 0 | } |
17571 | 0 | return _impl_.features_; |
17572 | 0 | } |
17573 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17574 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17575 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
17576 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.features) |
17577 | 0 | return _msg; |
17578 | 0 | } |
17579 | 0 | inline void OneofOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
17580 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17581 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17582 | 0 | if (message_arena == nullptr) { |
17583 | 0 | delete (_impl_.features_); |
17584 | 0 | } |
17585 | 0 |
|
17586 | 0 | if (value != nullptr) { |
17587 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17588 | 0 | if (message_arena != submessage_arena) { |
17589 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
17590 | 0 | } |
17591 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17592 | 0 | } else { |
17593 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17594 | 0 | } |
17595 | 0 |
|
17596 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17597 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofOptions.features) |
17598 | 0 | } |
17599 | | |
17600 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
17601 | 0 | inline int OneofOptions::_internal_uninterpreted_option_size() const { |
17602 | 0 | return _internal_uninterpreted_option().size(); |
17603 | 0 | } |
17604 | 0 | inline int OneofOptions::uninterpreted_option_size() const { |
17605 | 0 | return _internal_uninterpreted_option_size(); |
17606 | 0 | } |
17607 | 0 | inline void OneofOptions::clear_uninterpreted_option() { |
17608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17609 | 0 | _impl_.uninterpreted_option_.Clear(); |
17610 | 0 | } |
17611 | | inline ::google::protobuf::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) |
17612 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17613 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) |
17614 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
17615 | 0 | } |
17616 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* OneofOptions::mutable_uninterpreted_option() |
17617 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17618 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) |
17619 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17620 | 0 | return _internal_mutable_uninterpreted_option(); |
17621 | 0 | } |
17622 | | inline const ::google::protobuf::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const |
17623 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17624 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) |
17625 | 0 | return _internal_uninterpreted_option().Get(index); |
17626 | 0 | } |
17627 | 0 | inline ::google::protobuf::UninterpretedOption* OneofOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17628 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17629 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
17630 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) |
17631 | 0 | return _add; |
17632 | 0 | } |
17633 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& OneofOptions::uninterpreted_option() const |
17634 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17635 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) |
17636 | 0 | return _internal_uninterpreted_option(); |
17637 | 0 | } |
17638 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
17639 | 0 | OneofOptions::_internal_uninterpreted_option() const { |
17640 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17641 | 0 | return _impl_.uninterpreted_option_; |
17642 | 0 | } |
17643 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
17644 | 0 | OneofOptions::_internal_mutable_uninterpreted_option() { |
17645 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17646 | 0 | return &_impl_.uninterpreted_option_; |
17647 | 0 | } |
17648 | | |
17649 | | // ------------------------------------------------------------------- |
17650 | | |
17651 | | // EnumOptions |
17652 | | |
17653 | | // optional bool allow_alias = 2; |
17654 | 0 | inline bool EnumOptions::has_allow_alias() const { |
17655 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
17656 | 0 | return value; |
17657 | 0 | } |
17658 | 0 | inline void EnumOptions::clear_allow_alias() { |
17659 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17660 | 0 | _impl_.allow_alias_ = false; |
17661 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17662 | 0 | } |
17663 | 0 | inline bool EnumOptions::allow_alias() const { |
17664 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) |
17665 | 0 | return _internal_allow_alias(); |
17666 | 0 | } |
17667 | 0 | inline void EnumOptions::set_allow_alias(bool value) { |
17668 | 0 | _internal_set_allow_alias(value); |
17669 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17670 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) |
17671 | 0 | } |
17672 | 0 | inline bool EnumOptions::_internal_allow_alias() const { |
17673 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17674 | 0 | return _impl_.allow_alias_; |
17675 | 0 | } |
17676 | 0 | inline void EnumOptions::_internal_set_allow_alias(bool value) { |
17677 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17678 | 0 | _impl_.allow_alias_ = value; |
17679 | 0 | } |
17680 | | |
17681 | | // optional bool deprecated = 3 [default = false]; |
17682 | 0 | inline bool EnumOptions::has_deprecated() const { |
17683 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
17684 | 0 | return value; |
17685 | 0 | } |
17686 | 0 | inline void EnumOptions::clear_deprecated() { |
17687 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17688 | 0 | _impl_.deprecated_ = false; |
17689 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
17690 | 0 | } |
17691 | 0 | inline bool EnumOptions::deprecated() const { |
17692 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) |
17693 | 0 | return _internal_deprecated(); |
17694 | 0 | } |
17695 | 0 | inline void EnumOptions::set_deprecated(bool value) { |
17696 | 0 | _internal_set_deprecated(value); |
17697 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
17698 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) |
17699 | 0 | } |
17700 | 0 | inline bool EnumOptions::_internal_deprecated() const { |
17701 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17702 | 0 | return _impl_.deprecated_; |
17703 | 0 | } |
17704 | 0 | inline void EnumOptions::_internal_set_deprecated(bool value) { |
17705 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17706 | 0 | _impl_.deprecated_ = value; |
17707 | 0 | } |
17708 | | |
17709 | | // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; |
17710 | 0 | inline bool EnumOptions::has_deprecated_legacy_json_field_conflicts() const { |
17711 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
17712 | 0 | return value; |
17713 | 0 | } |
17714 | 0 | inline void EnumOptions::clear_deprecated_legacy_json_field_conflicts() { |
17715 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17716 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = false; |
17717 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
17718 | 0 | } |
17719 | 0 | inline bool EnumOptions::deprecated_legacy_json_field_conflicts() const { |
17720 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts) |
17721 | 0 | return _internal_deprecated_legacy_json_field_conflicts(); |
17722 | 0 | } |
17723 | 0 | inline void EnumOptions::set_deprecated_legacy_json_field_conflicts(bool value) { |
17724 | 0 | _internal_set_deprecated_legacy_json_field_conflicts(value); |
17725 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
17726 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts) |
17727 | 0 | } |
17728 | 0 | inline bool EnumOptions::_internal_deprecated_legacy_json_field_conflicts() const { |
17729 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17730 | 0 | return _impl_.deprecated_legacy_json_field_conflicts_; |
17731 | 0 | } |
17732 | 0 | inline void EnumOptions::_internal_set_deprecated_legacy_json_field_conflicts(bool value) { |
17733 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17734 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = value; |
17735 | 0 | } |
17736 | | |
17737 | | // optional .google.protobuf.FeatureSet features = 7; |
17738 | 0 | inline bool EnumOptions::has_features() const { |
17739 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17740 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
17741 | 0 | return value; |
17742 | 0 | } |
17743 | 0 | inline void EnumOptions::clear_features() { |
17744 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17745 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
17746 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17747 | 0 | } |
17748 | 0 | inline const ::google::protobuf::FeatureSet& EnumOptions::_internal_features() const { |
17749 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17750 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
17751 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
17752 | 0 | } |
17753 | 0 | inline const ::google::protobuf::FeatureSet& EnumOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17754 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.features) |
17755 | 0 | return _internal_features(); |
17756 | 0 | } |
17757 | 0 | inline void EnumOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
17758 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17759 | 0 | if (GetArena() == nullptr) { |
17760 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
17761 | 0 | } |
17762 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17763 | 0 | if (value != nullptr) { |
17764 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17765 | 0 | } else { |
17766 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17767 | 0 | } |
17768 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumOptions.features) |
17769 | 0 | } |
17770 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::release_features() { |
17771 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17772 | 0 |
|
17773 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17774 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
17775 | 0 | _impl_.features_ = nullptr; |
17776 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
17777 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17778 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17779 | 0 | if (GetArena() == nullptr) { |
17780 | 0 | delete old; |
17781 | 0 | } |
17782 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
17783 | 0 | if (GetArena() != nullptr) { |
17784 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17785 | 0 | } |
17786 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
17787 | 0 | return released; |
17788 | 0 | } |
17789 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::unsafe_arena_release_features() { |
17790 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17791 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumOptions.features) |
17792 | 0 |
|
17793 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17794 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
17795 | 0 | _impl_.features_ = nullptr; |
17796 | 0 | return temp; |
17797 | 0 | } |
17798 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::_internal_mutable_features() { |
17799 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17800 | 0 | if (_impl_.features_ == nullptr) { |
17801 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
17802 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
17803 | 0 | } |
17804 | 0 | return _impl_.features_; |
17805 | 0 | } |
17806 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17807 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17808 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
17809 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.features) |
17810 | 0 | return _msg; |
17811 | 0 | } |
17812 | 0 | inline void EnumOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
17813 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17814 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17815 | 0 | if (message_arena == nullptr) { |
17816 | 0 | delete (_impl_.features_); |
17817 | 0 | } |
17818 | 0 |
|
17819 | 0 | if (value != nullptr) { |
17820 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17821 | 0 | if (message_arena != submessage_arena) { |
17822 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
17823 | 0 | } |
17824 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17825 | 0 | } else { |
17826 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17827 | 0 | } |
17828 | 0 |
|
17829 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17830 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumOptions.features) |
17831 | 0 | } |
17832 | | |
17833 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
17834 | 0 | inline int EnumOptions::_internal_uninterpreted_option_size() const { |
17835 | 0 | return _internal_uninterpreted_option().size(); |
17836 | 0 | } |
17837 | 0 | inline int EnumOptions::uninterpreted_option_size() const { |
17838 | 0 | return _internal_uninterpreted_option_size(); |
17839 | 0 | } |
17840 | 0 | inline void EnumOptions::clear_uninterpreted_option() { |
17841 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17842 | 0 | _impl_.uninterpreted_option_.Clear(); |
17843 | 0 | } |
17844 | | inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) |
17845 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17846 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) |
17847 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
17848 | 0 | } |
17849 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* EnumOptions::mutable_uninterpreted_option() |
17850 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17851 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) |
17852 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17853 | 0 | return _internal_mutable_uninterpreted_option(); |
17854 | 0 | } |
17855 | | inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const |
17856 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17857 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) |
17858 | 0 | return _internal_uninterpreted_option().Get(index); |
17859 | 0 | } |
17860 | 0 | inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17861 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17862 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
17863 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) |
17864 | 0 | return _add; |
17865 | 0 | } |
17866 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& EnumOptions::uninterpreted_option() const |
17867 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17868 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) |
17869 | 0 | return _internal_uninterpreted_option(); |
17870 | 0 | } |
17871 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
17872 | 0 | EnumOptions::_internal_uninterpreted_option() const { |
17873 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17874 | 0 | return _impl_.uninterpreted_option_; |
17875 | 0 | } |
17876 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
17877 | 0 | EnumOptions::_internal_mutable_uninterpreted_option() { |
17878 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17879 | 0 | return &_impl_.uninterpreted_option_; |
17880 | 0 | } |
17881 | | |
17882 | | // ------------------------------------------------------------------- |
17883 | | |
17884 | | // EnumValueOptions |
17885 | | |
17886 | | // optional bool deprecated = 1 [default = false]; |
17887 | 0 | inline bool EnumValueOptions::has_deprecated() const { |
17888 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
17889 | 0 | return value; |
17890 | 0 | } |
17891 | 0 | inline void EnumValueOptions::clear_deprecated() { |
17892 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17893 | 0 | _impl_.deprecated_ = false; |
17894 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
17895 | 0 | } |
17896 | 0 | inline bool EnumValueOptions::deprecated() const { |
17897 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) |
17898 | 0 | return _internal_deprecated(); |
17899 | 0 | } |
17900 | 0 | inline void EnumValueOptions::set_deprecated(bool value) { |
17901 | 0 | _internal_set_deprecated(value); |
17902 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
17903 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) |
17904 | 0 | } |
17905 | 0 | inline bool EnumValueOptions::_internal_deprecated() const { |
17906 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17907 | 0 | return _impl_.deprecated_; |
17908 | 0 | } |
17909 | 0 | inline void EnumValueOptions::_internal_set_deprecated(bool value) { |
17910 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17911 | 0 | _impl_.deprecated_ = value; |
17912 | 0 | } |
17913 | | |
17914 | | // optional .google.protobuf.FeatureSet features = 2; |
17915 | 0 | inline bool EnumValueOptions::has_features() const { |
17916 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17917 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
17918 | 0 | return value; |
17919 | 0 | } |
17920 | 0 | inline void EnumValueOptions::clear_features() { |
17921 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17922 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
17923 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17924 | 0 | } |
17925 | 0 | inline const ::google::protobuf::FeatureSet& EnumValueOptions::_internal_features() const { |
17926 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17927 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
17928 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
17929 | 0 | } |
17930 | 0 | inline const ::google::protobuf::FeatureSet& EnumValueOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17931 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.features) |
17932 | 0 | return _internal_features(); |
17933 | 0 | } |
17934 | 0 | inline void EnumValueOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
17935 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17936 | 0 | if (GetArena() == nullptr) { |
17937 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
17938 | 0 | } |
17939 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17940 | 0 | if (value != nullptr) { |
17941 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17942 | 0 | } else { |
17943 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17944 | 0 | } |
17945 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueOptions.features) |
17946 | 0 | } |
17947 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::release_features() { |
17948 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17949 | 0 |
|
17950 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17951 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
17952 | 0 | _impl_.features_ = nullptr; |
17953 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
17954 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17955 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17956 | 0 | if (GetArena() == nullptr) { |
17957 | 0 | delete old; |
17958 | 0 | } |
17959 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
17960 | 0 | if (GetArena() != nullptr) { |
17961 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17962 | 0 | } |
17963 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
17964 | 0 | return released; |
17965 | 0 | } |
17966 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::unsafe_arena_release_features() { |
17967 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17968 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueOptions.features) |
17969 | 0 |
|
17970 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17971 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
17972 | 0 | _impl_.features_ = nullptr; |
17973 | 0 | return temp; |
17974 | 0 | } |
17975 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::_internal_mutable_features() { |
17976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17977 | 0 | if (_impl_.features_ == nullptr) { |
17978 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
17979 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
17980 | 0 | } |
17981 | 0 | return _impl_.features_; |
17982 | 0 | } |
17983 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17984 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17985 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
17986 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.features) |
17987 | 0 | return _msg; |
17988 | 0 | } |
17989 | 0 | inline void EnumValueOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
17990 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17991 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17992 | 0 | if (message_arena == nullptr) { |
17993 | 0 | delete (_impl_.features_); |
17994 | 0 | } |
17995 | 0 |
|
17996 | 0 | if (value != nullptr) { |
17997 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17998 | 0 | if (message_arena != submessage_arena) { |
17999 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18000 | 0 | } |
18001 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18002 | 0 | } else { |
18003 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18004 | 0 | } |
18005 | 0 |
|
18006 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18007 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueOptions.features) |
18008 | 0 | } |
18009 | | |
18010 | | // optional bool debug_redact = 3 [default = false]; |
18011 | 0 | inline bool EnumValueOptions::has_debug_redact() const { |
18012 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
18013 | 0 | return value; |
18014 | 0 | } |
18015 | 0 | inline void EnumValueOptions::clear_debug_redact() { |
18016 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18017 | 0 | _impl_.debug_redact_ = false; |
18018 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
18019 | 0 | } |
18020 | 0 | inline bool EnumValueOptions::debug_redact() const { |
18021 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.debug_redact) |
18022 | 0 | return _internal_debug_redact(); |
18023 | 0 | } |
18024 | 0 | inline void EnumValueOptions::set_debug_redact(bool value) { |
18025 | 0 | _internal_set_debug_redact(value); |
18026 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
18027 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.debug_redact) |
18028 | 0 | } |
18029 | 0 | inline bool EnumValueOptions::_internal_debug_redact() const { |
18030 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18031 | 0 | return _impl_.debug_redact_; |
18032 | 0 | } |
18033 | 0 | inline void EnumValueOptions::_internal_set_debug_redact(bool value) { |
18034 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18035 | 0 | _impl_.debug_redact_ = value; |
18036 | 0 | } |
18037 | | |
18038 | | // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4; |
18039 | 0 | inline bool EnumValueOptions::has_feature_support() const { |
18040 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18041 | 0 | PROTOBUF_ASSUME(!value || _impl_.feature_support_ != nullptr); |
18042 | 0 | return value; |
18043 | 0 | } |
18044 | 0 | inline void EnumValueOptions::clear_feature_support() { |
18045 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18046 | 0 | if (_impl_.feature_support_ != nullptr) _impl_.feature_support_->Clear(); |
18047 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18048 | 0 | } |
18049 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& EnumValueOptions::_internal_feature_support() const { |
18050 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18051 | 0 | const ::google::protobuf::FieldOptions_FeatureSupport* p = _impl_.feature_support_; |
18052 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FieldOptions_FeatureSupport&>(::google::protobuf::_FieldOptions_FeatureSupport_default_instance_); |
18053 | 0 | } |
18054 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& EnumValueOptions::feature_support() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18055 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.feature_support) |
18056 | 0 | return _internal_feature_support(); |
18057 | 0 | } |
18058 | 0 | inline void EnumValueOptions::unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
18059 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18060 | 0 | if (GetArena() == nullptr) { |
18061 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.feature_support_); |
18062 | 0 | } |
18063 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
18064 | 0 | if (value != nullptr) { |
18065 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18066 | 0 | } else { |
18067 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18068 | 0 | } |
18069 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueOptions.feature_support) |
18070 | 0 | } |
18071 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::release_feature_support() { |
18072 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18073 | 0 |
|
18074 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18075 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* released = _impl_.feature_support_; |
18076 | 0 | _impl_.feature_support_ = nullptr; |
18077 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
18078 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18079 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18080 | 0 | if (GetArena() == nullptr) { |
18081 | 0 | delete old; |
18082 | 0 | } |
18083 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
18084 | 0 | if (GetArena() != nullptr) { |
18085 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18086 | 0 | } |
18087 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
18088 | 0 | return released; |
18089 | 0 | } |
18090 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::unsafe_arena_release_feature_support() { |
18091 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18092 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueOptions.feature_support) |
18093 | 0 |
|
18094 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18095 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* temp = _impl_.feature_support_; |
18096 | 0 | _impl_.feature_support_ = nullptr; |
18097 | 0 | return temp; |
18098 | 0 | } |
18099 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::_internal_mutable_feature_support() { |
18100 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18101 | 0 | if (_impl_.feature_support_ == nullptr) { |
18102 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FieldOptions_FeatureSupport>(GetArena()); |
18103 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(p); |
18104 | 0 | } |
18105 | 0 | return _impl_.feature_support_; |
18106 | 0 | } |
18107 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::mutable_feature_support() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18108 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18109 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* _msg = _internal_mutable_feature_support(); |
18110 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.feature_support) |
18111 | 0 | return _msg; |
18112 | 0 | } |
18113 | 0 | inline void EnumValueOptions::set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
18114 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18115 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18116 | 0 | if (message_arena == nullptr) { |
18117 | 0 | delete (_impl_.feature_support_); |
18118 | 0 | } |
18119 | 0 |
|
18120 | 0 | if (value != nullptr) { |
18121 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18122 | 0 | if (message_arena != submessage_arena) { |
18123 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18124 | 0 | } |
18125 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18126 | 0 | } else { |
18127 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18128 | 0 | } |
18129 | 0 |
|
18130 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
18131 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueOptions.feature_support) |
18132 | 0 | } |
18133 | | |
18134 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18135 | 0 | inline int EnumValueOptions::_internal_uninterpreted_option_size() const { |
18136 | 0 | return _internal_uninterpreted_option().size(); |
18137 | 0 | } |
18138 | 0 | inline int EnumValueOptions::uninterpreted_option_size() const { |
18139 | 0 | return _internal_uninterpreted_option_size(); |
18140 | 0 | } |
18141 | 0 | inline void EnumValueOptions::clear_uninterpreted_option() { |
18142 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18143 | 0 | _impl_.uninterpreted_option_.Clear(); |
18144 | 0 | } |
18145 | | inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) |
18146 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18147 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) |
18148 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18149 | 0 | } |
18150 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* EnumValueOptions::mutable_uninterpreted_option() |
18151 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18152 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
18153 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18154 | 0 | return _internal_mutable_uninterpreted_option(); |
18155 | 0 | } |
18156 | | inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const |
18157 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18158 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) |
18159 | 0 | return _internal_uninterpreted_option().Get(index); |
18160 | 0 | } |
18161 | 0 | inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18162 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18163 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18164 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) |
18165 | 0 | return _add; |
18166 | 0 | } |
18167 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& EnumValueOptions::uninterpreted_option() const |
18168 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18169 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
18170 | 0 | return _internal_uninterpreted_option(); |
18171 | 0 | } |
18172 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18173 | 0 | EnumValueOptions::_internal_uninterpreted_option() const { |
18174 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18175 | 0 | return _impl_.uninterpreted_option_; |
18176 | 0 | } |
18177 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18178 | 0 | EnumValueOptions::_internal_mutable_uninterpreted_option() { |
18179 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18180 | 0 | return &_impl_.uninterpreted_option_; |
18181 | 0 | } |
18182 | | |
18183 | | // ------------------------------------------------------------------- |
18184 | | |
18185 | | // ServiceOptions |
18186 | | |
18187 | | // optional .google.protobuf.FeatureSet features = 34; |
18188 | 0 | inline bool ServiceOptions::has_features() const { |
18189 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18190 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18191 | 0 | return value; |
18192 | 0 | } |
18193 | 0 | inline void ServiceOptions::clear_features() { |
18194 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18195 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18196 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18197 | 0 | } |
18198 | 0 | inline const ::google::protobuf::FeatureSet& ServiceOptions::_internal_features() const { |
18199 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18200 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18201 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18202 | 0 | } |
18203 | 0 | inline const ::google::protobuf::FeatureSet& ServiceOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18204 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.features) |
18205 | 0 | return _internal_features(); |
18206 | 0 | } |
18207 | 0 | inline void ServiceOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
18208 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18209 | 0 | if (GetArena() == nullptr) { |
18210 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
18211 | 0 | } |
18212 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18213 | 0 | if (value != nullptr) { |
18214 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18215 | 0 | } else { |
18216 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18217 | 0 | } |
18218 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceOptions.features) |
18219 | 0 | } |
18220 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::release_features() { |
18221 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18222 | 0 |
|
18223 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18224 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
18225 | 0 | _impl_.features_ = nullptr; |
18226 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
18227 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18228 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18229 | 0 | if (GetArena() == nullptr) { |
18230 | 0 | delete old; |
18231 | 0 | } |
18232 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
18233 | 0 | if (GetArena() != nullptr) { |
18234 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18235 | 0 | } |
18236 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
18237 | 0 | return released; |
18238 | 0 | } |
18239 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::unsafe_arena_release_features() { |
18240 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18241 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceOptions.features) |
18242 | 0 |
|
18243 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18244 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
18245 | 0 | _impl_.features_ = nullptr; |
18246 | 0 | return temp; |
18247 | 0 | } |
18248 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::_internal_mutable_features() { |
18249 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18250 | 0 | if (_impl_.features_ == nullptr) { |
18251 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
18252 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
18253 | 0 | } |
18254 | 0 | return _impl_.features_; |
18255 | 0 | } |
18256 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18257 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18258 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
18259 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.features) |
18260 | 0 | return _msg; |
18261 | 0 | } |
18262 | 0 | inline void ServiceOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
18263 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18264 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18265 | 0 | if (message_arena == nullptr) { |
18266 | 0 | delete (_impl_.features_); |
18267 | 0 | } |
18268 | 0 |
|
18269 | 0 | if (value != nullptr) { |
18270 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18271 | 0 | if (message_arena != submessage_arena) { |
18272 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18273 | 0 | } |
18274 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18275 | 0 | } else { |
18276 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18277 | 0 | } |
18278 | 0 |
|
18279 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18280 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceOptions.features) |
18281 | 0 | } |
18282 | | |
18283 | | // optional bool deprecated = 33 [default = false]; |
18284 | 0 | inline bool ServiceOptions::has_deprecated() const { |
18285 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18286 | 0 | return value; |
18287 | 0 | } |
18288 | 0 | inline void ServiceOptions::clear_deprecated() { |
18289 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18290 | 0 | _impl_.deprecated_ = false; |
18291 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18292 | 0 | } |
18293 | 0 | inline bool ServiceOptions::deprecated() const { |
18294 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) |
18295 | 0 | return _internal_deprecated(); |
18296 | 0 | } |
18297 | 0 | inline void ServiceOptions::set_deprecated(bool value) { |
18298 | 0 | _internal_set_deprecated(value); |
18299 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18300 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) |
18301 | 0 | } |
18302 | 0 | inline bool ServiceOptions::_internal_deprecated() const { |
18303 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18304 | 0 | return _impl_.deprecated_; |
18305 | 0 | } |
18306 | 0 | inline void ServiceOptions::_internal_set_deprecated(bool value) { |
18307 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18308 | 0 | _impl_.deprecated_ = value; |
18309 | 0 | } |
18310 | | |
18311 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18312 | 0 | inline int ServiceOptions::_internal_uninterpreted_option_size() const { |
18313 | 0 | return _internal_uninterpreted_option().size(); |
18314 | 0 | } |
18315 | 0 | inline int ServiceOptions::uninterpreted_option_size() const { |
18316 | 0 | return _internal_uninterpreted_option_size(); |
18317 | 0 | } |
18318 | 0 | inline void ServiceOptions::clear_uninterpreted_option() { |
18319 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18320 | 0 | _impl_.uninterpreted_option_.Clear(); |
18321 | 0 | } |
18322 | | inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) |
18323 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18324 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) |
18325 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18326 | 0 | } |
18327 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* ServiceOptions::mutable_uninterpreted_option() |
18328 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18329 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) |
18330 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18331 | 0 | return _internal_mutable_uninterpreted_option(); |
18332 | 0 | } |
18333 | | inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const |
18334 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18335 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) |
18336 | 0 | return _internal_uninterpreted_option().Get(index); |
18337 | 0 | } |
18338 | 0 | inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18339 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18340 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18341 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) |
18342 | 0 | return _add; |
18343 | 0 | } |
18344 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& ServiceOptions::uninterpreted_option() const |
18345 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18346 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) |
18347 | 0 | return _internal_uninterpreted_option(); |
18348 | 0 | } |
18349 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18350 | 0 | ServiceOptions::_internal_uninterpreted_option() const { |
18351 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18352 | 0 | return _impl_.uninterpreted_option_; |
18353 | 0 | } |
18354 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18355 | 0 | ServiceOptions::_internal_mutable_uninterpreted_option() { |
18356 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18357 | 0 | return &_impl_.uninterpreted_option_; |
18358 | 0 | } |
18359 | | |
18360 | | // ------------------------------------------------------------------- |
18361 | | |
18362 | | // MethodOptions |
18363 | | |
18364 | | // optional bool deprecated = 33 [default = false]; |
18365 | 0 | inline bool MethodOptions::has_deprecated() const { |
18366 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18367 | 0 | return value; |
18368 | 0 | } |
18369 | 0 | inline void MethodOptions::clear_deprecated() { |
18370 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18371 | 0 | _impl_.deprecated_ = false; |
18372 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18373 | 0 | } |
18374 | 0 | inline bool MethodOptions::deprecated() const { |
18375 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) |
18376 | 0 | return _internal_deprecated(); |
18377 | 0 | } |
18378 | 0 | inline void MethodOptions::set_deprecated(bool value) { |
18379 | 0 | _internal_set_deprecated(value); |
18380 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18381 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) |
18382 | 0 | } |
18383 | 0 | inline bool MethodOptions::_internal_deprecated() const { |
18384 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18385 | 0 | return _impl_.deprecated_; |
18386 | 0 | } |
18387 | 0 | inline void MethodOptions::_internal_set_deprecated(bool value) { |
18388 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18389 | 0 | _impl_.deprecated_ = value; |
18390 | 0 | } |
18391 | | |
18392 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
18393 | 0 | inline bool MethodOptions::has_idempotency_level() const { |
18394 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
18395 | 0 | return value; |
18396 | 0 | } |
18397 | 0 | inline void MethodOptions::clear_idempotency_level() { |
18398 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18399 | 0 | _impl_.idempotency_level_ = 0; |
18400 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
18401 | 0 | } |
18402 | 0 | inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { |
18403 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) |
18404 | 0 | return _internal_idempotency_level(); |
18405 | 0 | } |
18406 | 0 | inline void MethodOptions::set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value) { |
18407 | 0 | _internal_set_idempotency_level(value); |
18408 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
18409 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) |
18410 | 0 | } |
18411 | 0 | inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const { |
18412 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18413 | 0 | return static_cast<::google::protobuf::MethodOptions_IdempotencyLevel>(_impl_.idempotency_level_); |
18414 | 0 | } |
18415 | 0 | inline void MethodOptions::_internal_set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value) { |
18416 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18417 | 0 | assert(::google::protobuf::MethodOptions_IdempotencyLevel_IsValid(value)); |
18418 | 0 | _impl_.idempotency_level_ = value; |
18419 | 0 | } |
18420 | | |
18421 | | // optional .google.protobuf.FeatureSet features = 35; |
18422 | 0 | inline bool MethodOptions::has_features() const { |
18423 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18424 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18425 | 0 | return value; |
18426 | 0 | } |
18427 | 0 | inline void MethodOptions::clear_features() { |
18428 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18429 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18430 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18431 | 0 | } |
18432 | 0 | inline const ::google::protobuf::FeatureSet& MethodOptions::_internal_features() const { |
18433 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18434 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18435 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18436 | 0 | } |
18437 | 0 | inline const ::google::protobuf::FeatureSet& MethodOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18438 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.features) |
18439 | 0 | return _internal_features(); |
18440 | 0 | } |
18441 | 0 | inline void MethodOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
18442 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18443 | 0 | if (GetArena() == nullptr) { |
18444 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
18445 | 0 | } |
18446 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18447 | 0 | if (value != nullptr) { |
18448 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18449 | 0 | } else { |
18450 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18451 | 0 | } |
18452 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodOptions.features) |
18453 | 0 | } |
18454 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::release_features() { |
18455 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18456 | 0 |
|
18457 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18458 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
18459 | 0 | _impl_.features_ = nullptr; |
18460 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
18461 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18462 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18463 | 0 | if (GetArena() == nullptr) { |
18464 | 0 | delete old; |
18465 | 0 | } |
18466 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
18467 | 0 | if (GetArena() != nullptr) { |
18468 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18469 | 0 | } |
18470 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
18471 | 0 | return released; |
18472 | 0 | } |
18473 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::unsafe_arena_release_features() { |
18474 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18475 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodOptions.features) |
18476 | 0 |
|
18477 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18478 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
18479 | 0 | _impl_.features_ = nullptr; |
18480 | 0 | return temp; |
18481 | 0 | } |
18482 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::_internal_mutable_features() { |
18483 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18484 | 0 | if (_impl_.features_ == nullptr) { |
18485 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
18486 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
18487 | 0 | } |
18488 | 0 | return _impl_.features_; |
18489 | 0 | } |
18490 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18491 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18492 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
18493 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.features) |
18494 | 0 | return _msg; |
18495 | 0 | } |
18496 | 0 | inline void MethodOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
18497 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18498 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18499 | 0 | if (message_arena == nullptr) { |
18500 | 0 | delete (_impl_.features_); |
18501 | 0 | } |
18502 | 0 |
|
18503 | 0 | if (value != nullptr) { |
18504 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18505 | 0 | if (message_arena != submessage_arena) { |
18506 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18507 | 0 | } |
18508 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18509 | 0 | } else { |
18510 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18511 | 0 | } |
18512 | 0 |
|
18513 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18514 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodOptions.features) |
18515 | 0 | } |
18516 | | |
18517 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18518 | 0 | inline int MethodOptions::_internal_uninterpreted_option_size() const { |
18519 | 0 | return _internal_uninterpreted_option().size(); |
18520 | 0 | } |
18521 | 0 | inline int MethodOptions::uninterpreted_option_size() const { |
18522 | 0 | return _internal_uninterpreted_option_size(); |
18523 | 0 | } |
18524 | 0 | inline void MethodOptions::clear_uninterpreted_option() { |
18525 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18526 | 0 | _impl_.uninterpreted_option_.Clear(); |
18527 | 0 | } |
18528 | | inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) |
18529 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18530 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) |
18531 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18532 | 0 | } |
18533 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* MethodOptions::mutable_uninterpreted_option() |
18534 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18535 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) |
18536 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18537 | 0 | return _internal_mutable_uninterpreted_option(); |
18538 | 0 | } |
18539 | | inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const |
18540 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18541 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) |
18542 | 0 | return _internal_uninterpreted_option().Get(index); |
18543 | 0 | } |
18544 | 0 | inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18545 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18546 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18547 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) |
18548 | 0 | return _add; |
18549 | 0 | } |
18550 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& MethodOptions::uninterpreted_option() const |
18551 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18552 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) |
18553 | 0 | return _internal_uninterpreted_option(); |
18554 | 0 | } |
18555 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18556 | 0 | MethodOptions::_internal_uninterpreted_option() const { |
18557 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18558 | 0 | return _impl_.uninterpreted_option_; |
18559 | 0 | } |
18560 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18561 | 0 | MethodOptions::_internal_mutable_uninterpreted_option() { |
18562 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18563 | 0 | return &_impl_.uninterpreted_option_; |
18564 | 0 | } |
18565 | | |
18566 | | // ------------------------------------------------------------------- |
18567 | | |
18568 | | // UninterpretedOption_NamePart |
18569 | | |
18570 | | // required string name_part = 1; |
18571 | 0 | inline bool UninterpretedOption_NamePart::has_name_part() const { |
18572 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18573 | 0 | return value; |
18574 | 0 | } |
18575 | 0 | inline void UninterpretedOption_NamePart::clear_name_part() { |
18576 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18577 | 0 | _impl_.name_part_.ClearToEmpty(); |
18578 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18579 | 0 | } |
18580 | | inline const std::string& UninterpretedOption_NamePart::name_part() const |
18581 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18582 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) |
18583 | 0 | return _internal_name_part(); |
18584 | 0 | } |
18585 | | template <typename Arg_, typename... Args_> |
18586 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption_NamePart::set_name_part(Arg_&& arg, |
18587 | | Args_... args) { |
18588 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
18589 | | _impl_._has_bits_[0] |= 0x00000001u; |
18590 | | _impl_.name_part_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
18591 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) |
18592 | | } |
18593 | 0 | inline std::string* UninterpretedOption_NamePart::mutable_name_part() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18594 | 0 | std::string* _s = _internal_mutable_name_part(); |
18595 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) |
18596 | 0 | return _s; |
18597 | 0 | } |
18598 | 0 | inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const { |
18599 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18600 | 0 | return _impl_.name_part_.Get(); |
18601 | 0 | } |
18602 | 0 | inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) { |
18603 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18604 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18605 | 0 | _impl_.name_part_.Set(value, GetArena()); |
18606 | 0 | } |
18607 | 0 | inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() { |
18608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18609 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18610 | 0 | return _impl_.name_part_.Mutable( GetArena()); |
18611 | 0 | } |
18612 | 0 | inline std::string* UninterpretedOption_NamePart::release_name_part() { |
18613 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18614 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
18615 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
18616 | 0 | return nullptr; |
18617 | 0 | } |
18618 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18619 | 0 | auto* released = _impl_.name_part_.Release(); |
18620 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18621 | 0 | _impl_.name_part_.Set("", GetArena()); |
18622 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18623 | 0 | return released; |
18624 | 0 | } |
18625 | 0 | inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* value) { |
18626 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18627 | 0 | if (value != nullptr) { |
18628 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18629 | 0 | } else { |
18630 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18631 | 0 | } |
18632 | 0 | _impl_.name_part_.SetAllocated(value, GetArena()); |
18633 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18634 | 0 | if (_impl_.name_part_.IsDefault()) { |
18635 | 0 | _impl_.name_part_.Set("", GetArena()); |
18636 | 0 | } |
18637 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18638 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
18639 | 0 | } |
18640 | | |
18641 | | // required bool is_extension = 2; |
18642 | 0 | inline bool UninterpretedOption_NamePart::has_is_extension() const { |
18643 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18644 | 0 | return value; |
18645 | 0 | } |
18646 | 0 | inline void UninterpretedOption_NamePart::clear_is_extension() { |
18647 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18648 | 0 | _impl_.is_extension_ = false; |
18649 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18650 | 0 | } |
18651 | 0 | inline bool UninterpretedOption_NamePart::is_extension() const { |
18652 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) |
18653 | 0 | return _internal_is_extension(); |
18654 | 0 | } |
18655 | 0 | inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
18656 | 0 | _internal_set_is_extension(value); |
18657 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18658 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) |
18659 | 0 | } |
18660 | 0 | inline bool UninterpretedOption_NamePart::_internal_is_extension() const { |
18661 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18662 | 0 | return _impl_.is_extension_; |
18663 | 0 | } |
18664 | 0 | inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) { |
18665 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18666 | 0 | _impl_.is_extension_ = value; |
18667 | 0 | } |
18668 | | |
18669 | | // ------------------------------------------------------------------- |
18670 | | |
18671 | | // UninterpretedOption |
18672 | | |
18673 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
18674 | 0 | inline int UninterpretedOption::_internal_name_size() const { |
18675 | 0 | return _internal_name().size(); |
18676 | 0 | } |
18677 | 0 | inline int UninterpretedOption::name_size() const { |
18678 | 0 | return _internal_name_size(); |
18679 | 0 | } |
18680 | 0 | inline void UninterpretedOption::clear_name() { |
18681 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18682 | 0 | _impl_.name_.Clear(); |
18683 | 0 | } |
18684 | | inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) |
18685 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18686 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) |
18687 | 0 | return _internal_mutable_name()->Mutable(index); |
18688 | 0 | } |
18689 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* UninterpretedOption::mutable_name() |
18690 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18691 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) |
18692 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18693 | 0 | return _internal_mutable_name(); |
18694 | 0 | } |
18695 | | inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const |
18696 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18697 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) |
18698 | 0 | return _internal_name().Get(index); |
18699 | 0 | } |
18700 | 0 | inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18701 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18702 | 0 | ::google::protobuf::UninterpretedOption_NamePart* _add = _internal_mutable_name()->Add(); |
18703 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) |
18704 | 0 | return _add; |
18705 | 0 | } |
18706 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& UninterpretedOption::name() const |
18707 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18708 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) |
18709 | 0 | return _internal_name(); |
18710 | 0 | } |
18711 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& |
18712 | 0 | UninterpretedOption::_internal_name() const { |
18713 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18714 | 0 | return _impl_.name_; |
18715 | 0 | } |
18716 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* |
18717 | 0 | UninterpretedOption::_internal_mutable_name() { |
18718 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18719 | 0 | return &_impl_.name_; |
18720 | 0 | } |
18721 | | |
18722 | | // optional string identifier_value = 3; |
18723 | 0 | inline bool UninterpretedOption::has_identifier_value() const { |
18724 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18725 | 0 | return value; |
18726 | 0 | } |
18727 | 0 | inline void UninterpretedOption::clear_identifier_value() { |
18728 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18729 | 0 | _impl_.identifier_value_.ClearToEmpty(); |
18730 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18731 | 0 | } |
18732 | | inline const std::string& UninterpretedOption::identifier_value() const |
18733 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18734 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) |
18735 | 0 | return _internal_identifier_value(); |
18736 | 0 | } |
18737 | | template <typename Arg_, typename... Args_> |
18738 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_identifier_value(Arg_&& arg, |
18739 | | Args_... args) { |
18740 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
18741 | | _impl_._has_bits_[0] |= 0x00000001u; |
18742 | | _impl_.identifier_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
18743 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) |
18744 | | } |
18745 | 0 | inline std::string* UninterpretedOption::mutable_identifier_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18746 | 0 | std::string* _s = _internal_mutable_identifier_value(); |
18747 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) |
18748 | 0 | return _s; |
18749 | 0 | } |
18750 | 0 | inline const std::string& UninterpretedOption::_internal_identifier_value() const { |
18751 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18752 | 0 | return _impl_.identifier_value_.Get(); |
18753 | 0 | } |
18754 | 0 | inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) { |
18755 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18756 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18757 | 0 | _impl_.identifier_value_.Set(value, GetArena()); |
18758 | 0 | } |
18759 | 0 | inline std::string* UninterpretedOption::_internal_mutable_identifier_value() { |
18760 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18761 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18762 | 0 | return _impl_.identifier_value_.Mutable( GetArena()); |
18763 | 0 | } |
18764 | 0 | inline std::string* UninterpretedOption::release_identifier_value() { |
18765 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18766 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
18767 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
18768 | 0 | return nullptr; |
18769 | 0 | } |
18770 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18771 | 0 | auto* released = _impl_.identifier_value_.Release(); |
18772 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18773 | 0 | _impl_.identifier_value_.Set("", GetArena()); |
18774 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18775 | 0 | return released; |
18776 | 0 | } |
18777 | 0 | inline void UninterpretedOption::set_allocated_identifier_value(std::string* value) { |
18778 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18779 | 0 | if (value != nullptr) { |
18780 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18781 | 0 | } else { |
18782 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18783 | 0 | } |
18784 | 0 | _impl_.identifier_value_.SetAllocated(value, GetArena()); |
18785 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18786 | 0 | if (_impl_.identifier_value_.IsDefault()) { |
18787 | 0 | _impl_.identifier_value_.Set("", GetArena()); |
18788 | 0 | } |
18789 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18790 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
18791 | 0 | } |
18792 | | |
18793 | | // optional uint64 positive_int_value = 4; |
18794 | 0 | inline bool UninterpretedOption::has_positive_int_value() const { |
18795 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
18796 | 0 | return value; |
18797 | 0 | } |
18798 | 0 | inline void UninterpretedOption::clear_positive_int_value() { |
18799 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18800 | 0 | _impl_.positive_int_value_ = ::uint64_t{0u}; |
18801 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
18802 | 0 | } |
18803 | 0 | inline ::uint64_t UninterpretedOption::positive_int_value() const { |
18804 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) |
18805 | 0 | return _internal_positive_int_value(); |
18806 | 0 | } |
18807 | 0 | inline void UninterpretedOption::set_positive_int_value(::uint64_t value) { |
18808 | 0 | _internal_set_positive_int_value(value); |
18809 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
18810 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) |
18811 | 0 | } |
18812 | 0 | inline ::uint64_t UninterpretedOption::_internal_positive_int_value() const { |
18813 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18814 | 0 | return _impl_.positive_int_value_; |
18815 | 0 | } |
18816 | 0 | inline void UninterpretedOption::_internal_set_positive_int_value(::uint64_t value) { |
18817 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18818 | 0 | _impl_.positive_int_value_ = value; |
18819 | 0 | } |
18820 | | |
18821 | | // optional int64 negative_int_value = 5; |
18822 | 0 | inline bool UninterpretedOption::has_negative_int_value() const { |
18823 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
18824 | 0 | return value; |
18825 | 0 | } |
18826 | 0 | inline void UninterpretedOption::clear_negative_int_value() { |
18827 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18828 | 0 | _impl_.negative_int_value_ = ::int64_t{0}; |
18829 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
18830 | 0 | } |
18831 | 0 | inline ::int64_t UninterpretedOption::negative_int_value() const { |
18832 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) |
18833 | 0 | return _internal_negative_int_value(); |
18834 | 0 | } |
18835 | 0 | inline void UninterpretedOption::set_negative_int_value(::int64_t value) { |
18836 | 0 | _internal_set_negative_int_value(value); |
18837 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
18838 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) |
18839 | 0 | } |
18840 | 0 | inline ::int64_t UninterpretedOption::_internal_negative_int_value() const { |
18841 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18842 | 0 | return _impl_.negative_int_value_; |
18843 | 0 | } |
18844 | 0 | inline void UninterpretedOption::_internal_set_negative_int_value(::int64_t value) { |
18845 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18846 | 0 | _impl_.negative_int_value_ = value; |
18847 | 0 | } |
18848 | | |
18849 | | // optional double double_value = 6; |
18850 | 0 | inline bool UninterpretedOption::has_double_value() const { |
18851 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
18852 | 0 | return value; |
18853 | 0 | } |
18854 | 0 | inline void UninterpretedOption::clear_double_value() { |
18855 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18856 | 0 | _impl_.double_value_ = 0; |
18857 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
18858 | 0 | } |
18859 | 0 | inline double UninterpretedOption::double_value() const { |
18860 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) |
18861 | 0 | return _internal_double_value(); |
18862 | 0 | } |
18863 | 0 | inline void UninterpretedOption::set_double_value(double value) { |
18864 | 0 | _internal_set_double_value(value); |
18865 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
18866 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) |
18867 | 0 | } |
18868 | 0 | inline double UninterpretedOption::_internal_double_value() const { |
18869 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18870 | 0 | return _impl_.double_value_; |
18871 | 0 | } |
18872 | 0 | inline void UninterpretedOption::_internal_set_double_value(double value) { |
18873 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18874 | 0 | _impl_.double_value_ = value; |
18875 | 0 | } |
18876 | | |
18877 | | // optional bytes string_value = 7; |
18878 | 0 | inline bool UninterpretedOption::has_string_value() const { |
18879 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18880 | 0 | return value; |
18881 | 0 | } |
18882 | 0 | inline void UninterpretedOption::clear_string_value() { |
18883 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18884 | 0 | _impl_.string_value_.ClearToEmpty(); |
18885 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18886 | 0 | } |
18887 | | inline const std::string& UninterpretedOption::string_value() const |
18888 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18889 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) |
18890 | 0 | return _internal_string_value(); |
18891 | 0 | } |
18892 | | template <typename Arg_, typename... Args_> |
18893 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_string_value(Arg_&& arg, |
18894 | | Args_... args) { |
18895 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
18896 | | _impl_._has_bits_[0] |= 0x00000002u; |
18897 | | _impl_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
18898 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) |
18899 | | } |
18900 | 0 | inline std::string* UninterpretedOption::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18901 | 0 | std::string* _s = _internal_mutable_string_value(); |
18902 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) |
18903 | 0 | return _s; |
18904 | 0 | } |
18905 | 0 | inline const std::string& UninterpretedOption::_internal_string_value() const { |
18906 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18907 | 0 | return _impl_.string_value_.Get(); |
18908 | 0 | } |
18909 | 0 | inline void UninterpretedOption::_internal_set_string_value(const std::string& value) { |
18910 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18911 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18912 | 0 | _impl_.string_value_.Set(value, GetArena()); |
18913 | 0 | } |
18914 | 0 | inline std::string* UninterpretedOption::_internal_mutable_string_value() { |
18915 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18916 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18917 | 0 | return _impl_.string_value_.Mutable( GetArena()); |
18918 | 0 | } |
18919 | 0 | inline std::string* UninterpretedOption::release_string_value() { |
18920 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18921 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
18922 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
18923 | 0 | return nullptr; |
18924 | 0 | } |
18925 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18926 | 0 | auto* released = _impl_.string_value_.Release(); |
18927 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18928 | 0 | _impl_.string_value_.Set("", GetArena()); |
18929 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18930 | 0 | return released; |
18931 | 0 | } |
18932 | 0 | inline void UninterpretedOption::set_allocated_string_value(std::string* value) { |
18933 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18934 | 0 | if (value != nullptr) { |
18935 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18936 | 0 | } else { |
18937 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18938 | 0 | } |
18939 | 0 | _impl_.string_value_.SetAllocated(value, GetArena()); |
18940 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18941 | 0 | if (_impl_.string_value_.IsDefault()) { |
18942 | 0 | _impl_.string_value_.Set("", GetArena()); |
18943 | 0 | } |
18944 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18945 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) |
18946 | 0 | } |
18947 | | |
18948 | | // optional string aggregate_value = 8; |
18949 | 0 | inline bool UninterpretedOption::has_aggregate_value() const { |
18950 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
18951 | 0 | return value; |
18952 | 0 | } |
18953 | 0 | inline void UninterpretedOption::clear_aggregate_value() { |
18954 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18955 | 0 | _impl_.aggregate_value_.ClearToEmpty(); |
18956 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
18957 | 0 | } |
18958 | | inline const std::string& UninterpretedOption::aggregate_value() const |
18959 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18960 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) |
18961 | 0 | return _internal_aggregate_value(); |
18962 | 0 | } |
18963 | | template <typename Arg_, typename... Args_> |
18964 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_aggregate_value(Arg_&& arg, |
18965 | | Args_... args) { |
18966 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
18967 | | _impl_._has_bits_[0] |= 0x00000004u; |
18968 | | _impl_.aggregate_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
18969 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) |
18970 | | } |
18971 | 0 | inline std::string* UninterpretedOption::mutable_aggregate_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18972 | 0 | std::string* _s = _internal_mutable_aggregate_value(); |
18973 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) |
18974 | 0 | return _s; |
18975 | 0 | } |
18976 | 0 | inline const std::string& UninterpretedOption::_internal_aggregate_value() const { |
18977 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18978 | 0 | return _impl_.aggregate_value_.Get(); |
18979 | 0 | } |
18980 | 0 | inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) { |
18981 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18982 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
18983 | 0 | _impl_.aggregate_value_.Set(value, GetArena()); |
18984 | 0 | } |
18985 | 0 | inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() { |
18986 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18987 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
18988 | 0 | return _impl_.aggregate_value_.Mutable( GetArena()); |
18989 | 0 | } |
18990 | 0 | inline std::string* UninterpretedOption::release_aggregate_value() { |
18991 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18992 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
18993 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
18994 | 0 | return nullptr; |
18995 | 0 | } |
18996 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
18997 | 0 | auto* released = _impl_.aggregate_value_.Release(); |
18998 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
18999 | 0 | _impl_.aggregate_value_.Set("", GetArena()); |
19000 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19001 | 0 | return released; |
19002 | 0 | } |
19003 | 0 | inline void UninterpretedOption::set_allocated_aggregate_value(std::string* value) { |
19004 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19005 | 0 | if (value != nullptr) { |
19006 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19007 | 0 | } else { |
19008 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19009 | 0 | } |
19010 | 0 | _impl_.aggregate_value_.SetAllocated(value, GetArena()); |
19011 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19012 | 0 | if (_impl_.aggregate_value_.IsDefault()) { |
19013 | 0 | _impl_.aggregate_value_.Set("", GetArena()); |
19014 | 0 | } |
19015 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19016 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
19017 | 0 | } |
19018 | | |
19019 | | // ------------------------------------------------------------------- |
19020 | | |
19021 | | // FeatureSet |
19022 | | |
19023 | | // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19024 | 0 | inline bool FeatureSet::has_field_presence() const { |
19025 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19026 | 0 | return value; |
19027 | 0 | } |
19028 | 0 | inline void FeatureSet::clear_field_presence() { |
19029 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19030 | 0 | _impl_.field_presence_ = 0; |
19031 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19032 | 0 | } |
19033 | 0 | inline ::google::protobuf::FeatureSet_FieldPresence FeatureSet::field_presence() const { |
19034 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.field_presence) |
19035 | 0 | return _internal_field_presence(); |
19036 | 0 | } |
19037 | 0 | inline void FeatureSet::set_field_presence(::google::protobuf::FeatureSet_FieldPresence value) { |
19038 | 0 | _internal_set_field_presence(value); |
19039 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19040 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.field_presence) |
19041 | 0 | } |
19042 | 0 | inline ::google::protobuf::FeatureSet_FieldPresence FeatureSet::_internal_field_presence() const { |
19043 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19044 | 0 | return static_cast<::google::protobuf::FeatureSet_FieldPresence>(_impl_.field_presence_); |
19045 | 0 | } |
19046 | 0 | inline void FeatureSet::_internal_set_field_presence(::google::protobuf::FeatureSet_FieldPresence value) { |
19047 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19048 | 0 | assert(::google::protobuf::FeatureSet_FieldPresence_IsValid(value)); |
19049 | 0 | _impl_.field_presence_ = value; |
19050 | 0 | } |
19051 | | |
19052 | | // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { |
19053 | 0 | inline bool FeatureSet::has_enum_type() const { |
19054 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19055 | 0 | return value; |
19056 | 0 | } |
19057 | 0 | inline void FeatureSet::clear_enum_type() { |
19058 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19059 | 0 | _impl_.enum_type_ = 0; |
19060 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19061 | 0 | } |
19062 | 0 | inline ::google::protobuf::FeatureSet_EnumType FeatureSet::enum_type() const { |
19063 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.enum_type) |
19064 | 0 | return _internal_enum_type(); |
19065 | 0 | } |
19066 | 0 | inline void FeatureSet::set_enum_type(::google::protobuf::FeatureSet_EnumType value) { |
19067 | 0 | _internal_set_enum_type(value); |
19068 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19069 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.enum_type) |
19070 | 0 | } |
19071 | 0 | inline ::google::protobuf::FeatureSet_EnumType FeatureSet::_internal_enum_type() const { |
19072 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19073 | 0 | return static_cast<::google::protobuf::FeatureSet_EnumType>(_impl_.enum_type_); |
19074 | 0 | } |
19075 | 0 | inline void FeatureSet::_internal_set_enum_type(::google::protobuf::FeatureSet_EnumType value) { |
19076 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19077 | 0 | assert(::google::protobuf::FeatureSet_EnumType_IsValid(value)); |
19078 | 0 | _impl_.enum_type_ = value; |
19079 | 0 | } |
19080 | | |
19081 | | // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19082 | 0 | inline bool FeatureSet::has_repeated_field_encoding() const { |
19083 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
19084 | 0 | return value; |
19085 | 0 | } |
19086 | 0 | inline void FeatureSet::clear_repeated_field_encoding() { |
19087 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19088 | 0 | _impl_.repeated_field_encoding_ = 0; |
19089 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19090 | 0 | } |
19091 | 0 | inline ::google::protobuf::FeatureSet_RepeatedFieldEncoding FeatureSet::repeated_field_encoding() const { |
19092 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.repeated_field_encoding) |
19093 | 0 | return _internal_repeated_field_encoding(); |
19094 | 0 | } |
19095 | 0 | inline void FeatureSet::set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value) { |
19096 | 0 | _internal_set_repeated_field_encoding(value); |
19097 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19098 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.repeated_field_encoding) |
19099 | 0 | } |
19100 | 0 | inline ::google::protobuf::FeatureSet_RepeatedFieldEncoding FeatureSet::_internal_repeated_field_encoding() const { |
19101 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19102 | 0 | return static_cast<::google::protobuf::FeatureSet_RepeatedFieldEncoding>(_impl_.repeated_field_encoding_); |
19103 | 0 | } |
19104 | 0 | inline void FeatureSet::_internal_set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value) { |
19105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19106 | 0 | assert(::google::protobuf::FeatureSet_RepeatedFieldEncoding_IsValid(value)); |
19107 | 0 | _impl_.repeated_field_encoding_ = value; |
19108 | 0 | } |
19109 | | |
19110 | | // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19111 | 0 | inline bool FeatureSet::has_utf8_validation() const { |
19112 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
19113 | 0 | return value; |
19114 | 0 | } |
19115 | 0 | inline void FeatureSet::clear_utf8_validation() { |
19116 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19117 | 0 | _impl_.utf8_validation_ = 0; |
19118 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
19119 | 0 | } |
19120 | 0 | inline ::google::protobuf::FeatureSet_Utf8Validation FeatureSet::utf8_validation() const { |
19121 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.utf8_validation) |
19122 | 0 | return _internal_utf8_validation(); |
19123 | 0 | } |
19124 | 0 | inline void FeatureSet::set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value) { |
19125 | 0 | _internal_set_utf8_validation(value); |
19126 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
19127 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.utf8_validation) |
19128 | 0 | } |
19129 | 0 | inline ::google::protobuf::FeatureSet_Utf8Validation FeatureSet::_internal_utf8_validation() const { |
19130 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19131 | 0 | return static_cast<::google::protobuf::FeatureSet_Utf8Validation>(_impl_.utf8_validation_); |
19132 | 0 | } |
19133 | 0 | inline void FeatureSet::_internal_set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value) { |
19134 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19135 | 0 | assert(::google::protobuf::FeatureSet_Utf8Validation_IsValid(value)); |
19136 | 0 | _impl_.utf8_validation_ = value; |
19137 | 0 | } |
19138 | | |
19139 | | // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19140 | 0 | inline bool FeatureSet::has_message_encoding() const { |
19141 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
19142 | 0 | return value; |
19143 | 0 | } |
19144 | 0 | inline void FeatureSet::clear_message_encoding() { |
19145 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19146 | 0 | _impl_.message_encoding_ = 0; |
19147 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
19148 | 0 | } |
19149 | 0 | inline ::google::protobuf::FeatureSet_MessageEncoding FeatureSet::message_encoding() const { |
19150 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.message_encoding) |
19151 | 0 | return _internal_message_encoding(); |
19152 | 0 | } |
19153 | 0 | inline void FeatureSet::set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value) { |
19154 | 0 | _internal_set_message_encoding(value); |
19155 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
19156 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.message_encoding) |
19157 | 0 | } |
19158 | 0 | inline ::google::protobuf::FeatureSet_MessageEncoding FeatureSet::_internal_message_encoding() const { |
19159 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19160 | 0 | return static_cast<::google::protobuf::FeatureSet_MessageEncoding>(_impl_.message_encoding_); |
19161 | 0 | } |
19162 | 0 | inline void FeatureSet::_internal_set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value) { |
19163 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19164 | 0 | assert(::google::protobuf::FeatureSet_MessageEncoding_IsValid(value)); |
19165 | 0 | _impl_.message_encoding_ = value; |
19166 | 0 | } |
19167 | | |
19168 | | // 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 = { |
19169 | 0 | inline bool FeatureSet::has_json_format() const { |
19170 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
19171 | 0 | return value; |
19172 | 0 | } |
19173 | 0 | inline void FeatureSet::clear_json_format() { |
19174 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19175 | 0 | _impl_.json_format_ = 0; |
19176 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
19177 | 0 | } |
19178 | 0 | inline ::google::protobuf::FeatureSet_JsonFormat FeatureSet::json_format() const { |
19179 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.json_format) |
19180 | 0 | return _internal_json_format(); |
19181 | 0 | } |
19182 | 0 | inline void FeatureSet::set_json_format(::google::protobuf::FeatureSet_JsonFormat value) { |
19183 | 0 | _internal_set_json_format(value); |
19184 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
19185 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.json_format) |
19186 | 0 | } |
19187 | 0 | inline ::google::protobuf::FeatureSet_JsonFormat FeatureSet::_internal_json_format() const { |
19188 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19189 | 0 | return static_cast<::google::protobuf::FeatureSet_JsonFormat>(_impl_.json_format_); |
19190 | 0 | } |
19191 | 0 | inline void FeatureSet::_internal_set_json_format(::google::protobuf::FeatureSet_JsonFormat value) { |
19192 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19193 | 0 | assert(::google::protobuf::FeatureSet_JsonFormat_IsValid(value)); |
19194 | 0 | _impl_.json_format_ = value; |
19195 | 0 | } |
19196 | | |
19197 | | // ------------------------------------------------------------------- |
19198 | | |
19199 | | // FeatureSetDefaults_FeatureSetEditionDefault |
19200 | | |
19201 | | // optional .google.protobuf.Edition edition = 3; |
19202 | 0 | inline bool FeatureSetDefaults_FeatureSetEditionDefault::has_edition() const { |
19203 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
19204 | 0 | return value; |
19205 | 0 | } |
19206 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_edition() { |
19207 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19208 | 0 | _impl_.edition_ = 0; |
19209 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19210 | 0 | } |
19211 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults_FeatureSetEditionDefault::edition() const { |
19212 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) |
19213 | 0 | return _internal_edition(); |
19214 | 0 | } |
19215 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::set_edition(::google::protobuf::Edition value) { |
19216 | 0 | _internal_set_edition(value); |
19217 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19218 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) |
19219 | 0 | } |
19220 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults_FeatureSetEditionDefault::_internal_edition() const { |
19221 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19222 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_); |
19223 | 0 | } |
19224 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::_internal_set_edition(::google::protobuf::Edition value) { |
19225 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19226 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
19227 | 0 | _impl_.edition_ = value; |
19228 | 0 | } |
19229 | | |
19230 | | // optional .google.protobuf.FeatureSet overridable_features = 4; |
19231 | 0 | inline bool FeatureSetDefaults_FeatureSetEditionDefault::has_overridable_features() const { |
19232 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19233 | 0 | PROTOBUF_ASSUME(!value || _impl_.overridable_features_ != nullptr); |
19234 | 0 | return value; |
19235 | 0 | } |
19236 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_overridable_features() { |
19237 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19238 | 0 | if (_impl_.overridable_features_ != nullptr) _impl_.overridable_features_->Clear(); |
19239 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19240 | 0 | } |
19241 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::_internal_overridable_features() const { |
19242 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19243 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.overridable_features_; |
19244 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
19245 | 0 | } |
19246 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::overridable_features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19247 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
19248 | 0 | return _internal_overridable_features(); |
19249 | 0 | } |
19250 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_set_allocated_overridable_features(::google::protobuf::FeatureSet* value) { |
19251 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19252 | 0 | if (GetArena() == nullptr) { |
19253 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.overridable_features_); |
19254 | 0 | } |
19255 | 0 | _impl_.overridable_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19256 | 0 | if (value != nullptr) { |
19257 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19258 | 0 | } else { |
19259 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19260 | 0 | } |
19261 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
19262 | 0 | } |
19263 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::release_overridable_features() { |
19264 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19265 | 0 |
|
19266 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19267 | 0 | ::google::protobuf::FeatureSet* released = _impl_.overridable_features_; |
19268 | 0 | _impl_.overridable_features_ = nullptr; |
19269 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
19270 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
19271 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19272 | 0 | if (GetArena() == nullptr) { |
19273 | 0 | delete old; |
19274 | 0 | } |
19275 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
19276 | 0 | if (GetArena() != nullptr) { |
19277 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19278 | 0 | } |
19279 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
19280 | 0 | return released; |
19281 | 0 | } |
19282 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_release_overridable_features() { |
19283 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19284 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
19285 | 0 |
|
19286 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19287 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.overridable_features_; |
19288 | 0 | _impl_.overridable_features_ = nullptr; |
19289 | 0 | return temp; |
19290 | 0 | } |
19291 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::_internal_mutable_overridable_features() { |
19292 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19293 | 0 | if (_impl_.overridable_features_ == nullptr) { |
19294 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
19295 | 0 | _impl_.overridable_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
19296 | 0 | } |
19297 | 0 | return _impl_.overridable_features_; |
19298 | 0 | } |
19299 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::mutable_overridable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19300 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19301 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_overridable_features(); |
19302 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
19303 | 0 | return _msg; |
19304 | 0 | } |
19305 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::set_allocated_overridable_features(::google::protobuf::FeatureSet* value) { |
19306 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
19307 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19308 | 0 | if (message_arena == nullptr) { |
19309 | 0 | delete (_impl_.overridable_features_); |
19310 | 0 | } |
19311 | 0 |
|
19312 | 0 | if (value != nullptr) { |
19313 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
19314 | 0 | if (message_arena != submessage_arena) { |
19315 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
19316 | 0 | } |
19317 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19318 | 0 | } else { |
19319 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19320 | 0 | } |
19321 | 0 |
|
19322 | 0 | _impl_.overridable_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19323 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
19324 | 0 | } |
19325 | | |
19326 | | // optional .google.protobuf.FeatureSet fixed_features = 5; |
19327 | 0 | inline bool FeatureSetDefaults_FeatureSetEditionDefault::has_fixed_features() const { |
19328 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19329 | 0 | PROTOBUF_ASSUME(!value || _impl_.fixed_features_ != nullptr); |
19330 | 0 | return value; |
19331 | 0 | } |
19332 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_fixed_features() { |
19333 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19334 | 0 | if (_impl_.fixed_features_ != nullptr) _impl_.fixed_features_->Clear(); |
19335 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19336 | 0 | } |
19337 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::_internal_fixed_features() const { |
19338 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19339 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.fixed_features_; |
19340 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
19341 | 0 | } |
19342 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::fixed_features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19343 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
19344 | 0 | return _internal_fixed_features(); |
19345 | 0 | } |
19346 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_set_allocated_fixed_features(::google::protobuf::FeatureSet* value) { |
19347 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19348 | 0 | if (GetArena() == nullptr) { |
19349 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fixed_features_); |
19350 | 0 | } |
19351 | 0 | _impl_.fixed_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19352 | 0 | if (value != nullptr) { |
19353 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19354 | 0 | } else { |
19355 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19356 | 0 | } |
19357 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
19358 | 0 | } |
19359 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::release_fixed_features() { |
19360 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19361 | 0 |
|
19362 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19363 | 0 | ::google::protobuf::FeatureSet* released = _impl_.fixed_features_; |
19364 | 0 | _impl_.fixed_features_ = nullptr; |
19365 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
19366 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
19367 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19368 | 0 | if (GetArena() == nullptr) { |
19369 | 0 | delete old; |
19370 | 0 | } |
19371 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
19372 | 0 | if (GetArena() != nullptr) { |
19373 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19374 | 0 | } |
19375 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
19376 | 0 | return released; |
19377 | 0 | } |
19378 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_release_fixed_features() { |
19379 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19380 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
19381 | 0 |
|
19382 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19383 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.fixed_features_; |
19384 | 0 | _impl_.fixed_features_ = nullptr; |
19385 | 0 | return temp; |
19386 | 0 | } |
19387 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::_internal_mutable_fixed_features() { |
19388 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19389 | 0 | if (_impl_.fixed_features_ == nullptr) { |
19390 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
19391 | 0 | _impl_.fixed_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
19392 | 0 | } |
19393 | 0 | return _impl_.fixed_features_; |
19394 | 0 | } |
19395 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::mutable_fixed_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19396 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19397 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_fixed_features(); |
19398 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
19399 | 0 | return _msg; |
19400 | 0 | } |
19401 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::set_allocated_fixed_features(::google::protobuf::FeatureSet* value) { |
19402 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
19403 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19404 | 0 | if (message_arena == nullptr) { |
19405 | 0 | delete (_impl_.fixed_features_); |
19406 | 0 | } |
19407 | 0 |
|
19408 | 0 | if (value != nullptr) { |
19409 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
19410 | 0 | if (message_arena != submessage_arena) { |
19411 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
19412 | 0 | } |
19413 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19414 | 0 | } else { |
19415 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19416 | 0 | } |
19417 | 0 |
|
19418 | 0 | _impl_.fixed_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19419 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
19420 | 0 | } |
19421 | | |
19422 | | // ------------------------------------------------------------------- |
19423 | | |
19424 | | // FeatureSetDefaults |
19425 | | |
19426 | | // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; |
19427 | 0 | inline int FeatureSetDefaults::_internal_defaults_size() const { |
19428 | 0 | return _internal_defaults().size(); |
19429 | 0 | } |
19430 | 0 | inline int FeatureSetDefaults::defaults_size() const { |
19431 | 0 | return _internal_defaults_size(); |
19432 | 0 | } |
19433 | 0 | inline void FeatureSetDefaults::clear_defaults() { |
19434 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19435 | 0 | _impl_.defaults_.Clear(); |
19436 | 0 | } |
19437 | | inline ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* FeatureSetDefaults::mutable_defaults(int index) |
19438 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19439 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.defaults) |
19440 | 0 | return _internal_mutable_defaults()->Mutable(index); |
19441 | 0 | } |
19442 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* FeatureSetDefaults::mutable_defaults() |
19443 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19444 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FeatureSetDefaults.defaults) |
19445 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19446 | 0 | return _internal_mutable_defaults(); |
19447 | 0 | } |
19448 | | inline const ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault& FeatureSetDefaults::defaults(int index) const |
19449 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19450 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.defaults) |
19451 | 0 | return _internal_defaults().Get(index); |
19452 | 0 | } |
19453 | 0 | inline ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* FeatureSetDefaults::add_defaults() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19454 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19455 | 0 | ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* _add = _internal_mutable_defaults()->Add(); |
19456 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FeatureSetDefaults.defaults) |
19457 | 0 | return _add; |
19458 | 0 | } |
19459 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& FeatureSetDefaults::defaults() const |
19460 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19461 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FeatureSetDefaults.defaults) |
19462 | 0 | return _internal_defaults(); |
19463 | 0 | } |
19464 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& |
19465 | 0 | FeatureSetDefaults::_internal_defaults() const { |
19466 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19467 | 0 | return _impl_.defaults_; |
19468 | 0 | } |
19469 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* |
19470 | 0 | FeatureSetDefaults::_internal_mutable_defaults() { |
19471 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19472 | 0 | return &_impl_.defaults_; |
19473 | 0 | } |
19474 | | |
19475 | | // optional .google.protobuf.Edition minimum_edition = 4; |
19476 | 0 | inline bool FeatureSetDefaults::has_minimum_edition() const { |
19477 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19478 | 0 | return value; |
19479 | 0 | } |
19480 | 0 | inline void FeatureSetDefaults::clear_minimum_edition() { |
19481 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19482 | 0 | _impl_.minimum_edition_ = 0; |
19483 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19484 | 0 | } |
19485 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::minimum_edition() const { |
19486 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.minimum_edition) |
19487 | 0 | return _internal_minimum_edition(); |
19488 | 0 | } |
19489 | 0 | inline void FeatureSetDefaults::set_minimum_edition(::google::protobuf::Edition value) { |
19490 | 0 | _internal_set_minimum_edition(value); |
19491 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19492 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.minimum_edition) |
19493 | 0 | } |
19494 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::_internal_minimum_edition() const { |
19495 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19496 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.minimum_edition_); |
19497 | 0 | } |
19498 | 0 | inline void FeatureSetDefaults::_internal_set_minimum_edition(::google::protobuf::Edition value) { |
19499 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19500 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
19501 | 0 | _impl_.minimum_edition_ = value; |
19502 | 0 | } |
19503 | | |
19504 | | // optional .google.protobuf.Edition maximum_edition = 5; |
19505 | 0 | inline bool FeatureSetDefaults::has_maximum_edition() const { |
19506 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19507 | 0 | return value; |
19508 | 0 | } |
19509 | 0 | inline void FeatureSetDefaults::clear_maximum_edition() { |
19510 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19511 | 0 | _impl_.maximum_edition_ = 0; |
19512 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19513 | 0 | } |
19514 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::maximum_edition() const { |
19515 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.maximum_edition) |
19516 | 0 | return _internal_maximum_edition(); |
19517 | 0 | } |
19518 | 0 | inline void FeatureSetDefaults::set_maximum_edition(::google::protobuf::Edition value) { |
19519 | 0 | _internal_set_maximum_edition(value); |
19520 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19521 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.maximum_edition) |
19522 | 0 | } |
19523 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::_internal_maximum_edition() const { |
19524 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19525 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.maximum_edition_); |
19526 | 0 | } |
19527 | 0 | inline void FeatureSetDefaults::_internal_set_maximum_edition(::google::protobuf::Edition value) { |
19528 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19529 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
19530 | 0 | _impl_.maximum_edition_ = value; |
19531 | 0 | } |
19532 | | |
19533 | | // ------------------------------------------------------------------- |
19534 | | |
19535 | | // SourceCodeInfo_Location |
19536 | | |
19537 | | // repeated int32 path = 1 [packed = true]; |
19538 | 0 | inline int SourceCodeInfo_Location::_internal_path_size() const { |
19539 | 0 | return _internal_path().size(); |
19540 | 0 | } |
19541 | 0 | inline int SourceCodeInfo_Location::path_size() const { |
19542 | 0 | return _internal_path_size(); |
19543 | 0 | } |
19544 | 0 | inline void SourceCodeInfo_Location::clear_path() { |
19545 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19546 | 0 | _impl_.path_.Clear(); |
19547 | 0 | } |
19548 | 0 | inline ::int32_t SourceCodeInfo_Location::path(int index) const { |
19549 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) |
19550 | 0 | return _internal_path().Get(index); |
19551 | 0 | } |
19552 | 0 | inline void SourceCodeInfo_Location::set_path(int index, ::int32_t value) { |
19553 | 0 | _internal_mutable_path()->Set(index, value); |
19554 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) |
19555 | 0 | } |
19556 | 0 | inline void SourceCodeInfo_Location::add_path(::int32_t value) { |
19557 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19558 | 0 | _internal_mutable_path()->Add(value); |
19559 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) |
19560 | 0 | } |
19561 | | inline const ::google::protobuf::RepeatedField<::int32_t>& SourceCodeInfo_Location::path() const |
19562 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19563 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) |
19564 | 0 | return _internal_path(); |
19565 | 0 | } |
19566 | | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::mutable_path() |
19567 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19568 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) |
19569 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19570 | 0 | return _internal_mutable_path(); |
19571 | 0 | } |
19572 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
19573 | 0 | SourceCodeInfo_Location::_internal_path() const { |
19574 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19575 | 0 | return _impl_.path_; |
19576 | 0 | } |
19577 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::_internal_mutable_path() { |
19578 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19579 | 0 | return &_impl_.path_; |
19580 | 0 | } |
19581 | | |
19582 | | // repeated int32 span = 2 [packed = true]; |
19583 | 0 | inline int SourceCodeInfo_Location::_internal_span_size() const { |
19584 | 0 | return _internal_span().size(); |
19585 | 0 | } |
19586 | 0 | inline int SourceCodeInfo_Location::span_size() const { |
19587 | 0 | return _internal_span_size(); |
19588 | 0 | } |
19589 | 0 | inline void SourceCodeInfo_Location::clear_span() { |
19590 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19591 | 0 | _impl_.span_.Clear(); |
19592 | 0 | } |
19593 | 0 | inline ::int32_t SourceCodeInfo_Location::span(int index) const { |
19594 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) |
19595 | 0 | return _internal_span().Get(index); |
19596 | 0 | } |
19597 | 0 | inline void SourceCodeInfo_Location::set_span(int index, ::int32_t value) { |
19598 | 0 | _internal_mutable_span()->Set(index, value); |
19599 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) |
19600 | 0 | } |
19601 | 0 | inline void SourceCodeInfo_Location::add_span(::int32_t value) { |
19602 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19603 | 0 | _internal_mutable_span()->Add(value); |
19604 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) |
19605 | 0 | } |
19606 | | inline const ::google::protobuf::RepeatedField<::int32_t>& SourceCodeInfo_Location::span() const |
19607 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19608 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) |
19609 | 0 | return _internal_span(); |
19610 | 0 | } |
19611 | | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::mutable_span() |
19612 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19613 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) |
19614 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19615 | 0 | return _internal_mutable_span(); |
19616 | 0 | } |
19617 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
19618 | 0 | SourceCodeInfo_Location::_internal_span() const { |
19619 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19620 | 0 | return _impl_.span_; |
19621 | 0 | } |
19622 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::_internal_mutable_span() { |
19623 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19624 | 0 | return &_impl_.span_; |
19625 | 0 | } |
19626 | | |
19627 | | // optional string leading_comments = 3; |
19628 | 0 | inline bool SourceCodeInfo_Location::has_leading_comments() const { |
19629 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19630 | 0 | return value; |
19631 | 0 | } |
19632 | 0 | inline void SourceCodeInfo_Location::clear_leading_comments() { |
19633 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19634 | 0 | _impl_.leading_comments_.ClearToEmpty(); |
19635 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19636 | 0 | } |
19637 | | inline const std::string& SourceCodeInfo_Location::leading_comments() const |
19638 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19639 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) |
19640 | 0 | return _internal_leading_comments(); |
19641 | 0 | } |
19642 | | template <typename Arg_, typename... Args_> |
19643 | | inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_leading_comments(Arg_&& arg, |
19644 | | Args_... args) { |
19645 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19646 | | _impl_._has_bits_[0] |= 0x00000001u; |
19647 | | _impl_.leading_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
19648 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) |
19649 | | } |
19650 | 0 | inline std::string* SourceCodeInfo_Location::mutable_leading_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19651 | 0 | std::string* _s = _internal_mutable_leading_comments(); |
19652 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) |
19653 | 0 | return _s; |
19654 | 0 | } |
19655 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const { |
19656 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19657 | 0 | return _impl_.leading_comments_.Get(); |
19658 | 0 | } |
19659 | 0 | inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) { |
19660 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19661 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19662 | 0 | _impl_.leading_comments_.Set(value, GetArena()); |
19663 | 0 | } |
19664 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() { |
19665 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19666 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19667 | 0 | return _impl_.leading_comments_.Mutable( GetArena()); |
19668 | 0 | } |
19669 | 0 | inline std::string* SourceCodeInfo_Location::release_leading_comments() { |
19670 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19671 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
19672 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
19673 | 0 | return nullptr; |
19674 | 0 | } |
19675 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19676 | 0 | auto* released = _impl_.leading_comments_.Release(); |
19677 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19678 | 0 | _impl_.leading_comments_.Set("", GetArena()); |
19679 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19680 | 0 | return released; |
19681 | 0 | } |
19682 | 0 | inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* value) { |
19683 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19684 | 0 | if (value != nullptr) { |
19685 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19686 | 0 | } else { |
19687 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19688 | 0 | } |
19689 | 0 | _impl_.leading_comments_.SetAllocated(value, GetArena()); |
19690 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19691 | 0 | if (_impl_.leading_comments_.IsDefault()) { |
19692 | 0 | _impl_.leading_comments_.Set("", GetArena()); |
19693 | 0 | } |
19694 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19695 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
19696 | 0 | } |
19697 | | |
19698 | | // optional string trailing_comments = 4; |
19699 | 0 | inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
19700 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19701 | 0 | return value; |
19702 | 0 | } |
19703 | 0 | inline void SourceCodeInfo_Location::clear_trailing_comments() { |
19704 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19705 | 0 | _impl_.trailing_comments_.ClearToEmpty(); |
19706 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19707 | 0 | } |
19708 | | inline const std::string& SourceCodeInfo_Location::trailing_comments() const |
19709 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19710 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
19711 | 0 | return _internal_trailing_comments(); |
19712 | 0 | } |
19713 | | template <typename Arg_, typename... Args_> |
19714 | | inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_trailing_comments(Arg_&& arg, |
19715 | | Args_... args) { |
19716 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19717 | | _impl_._has_bits_[0] |= 0x00000002u; |
19718 | | _impl_.trailing_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
19719 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
19720 | | } |
19721 | 0 | inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19722 | 0 | std::string* _s = _internal_mutable_trailing_comments(); |
19723 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
19724 | 0 | return _s; |
19725 | 0 | } |
19726 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const { |
19727 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19728 | 0 | return _impl_.trailing_comments_.Get(); |
19729 | 0 | } |
19730 | 0 | inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) { |
19731 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19732 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19733 | 0 | _impl_.trailing_comments_.Set(value, GetArena()); |
19734 | 0 | } |
19735 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() { |
19736 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19737 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19738 | 0 | return _impl_.trailing_comments_.Mutable( GetArena()); |
19739 | 0 | } |
19740 | 0 | inline std::string* SourceCodeInfo_Location::release_trailing_comments() { |
19741 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19742 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
19743 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
19744 | 0 | return nullptr; |
19745 | 0 | } |
19746 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19747 | 0 | auto* released = _impl_.trailing_comments_.Release(); |
19748 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19749 | 0 | _impl_.trailing_comments_.Set("", GetArena()); |
19750 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19751 | 0 | return released; |
19752 | 0 | } |
19753 | 0 | inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* value) { |
19754 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19755 | 0 | if (value != nullptr) { |
19756 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19757 | 0 | } else { |
19758 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19759 | 0 | } |
19760 | 0 | _impl_.trailing_comments_.SetAllocated(value, GetArena()); |
19761 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19762 | 0 | if (_impl_.trailing_comments_.IsDefault()) { |
19763 | 0 | _impl_.trailing_comments_.Set("", GetArena()); |
19764 | 0 | } |
19765 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
19766 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
19767 | 0 | } |
19768 | | |
19769 | | // repeated string leading_detached_comments = 6; |
19770 | 0 | inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const { |
19771 | 0 | return _internal_leading_detached_comments().size(); |
19772 | 0 | } |
19773 | 0 | inline int SourceCodeInfo_Location::leading_detached_comments_size() const { |
19774 | 0 | return _internal_leading_detached_comments_size(); |
19775 | 0 | } |
19776 | 0 | inline void SourceCodeInfo_Location::clear_leading_detached_comments() { |
19777 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19778 | 0 | _impl_.leading_detached_comments_.Clear(); |
19779 | 0 | } |
19780 | | inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() |
19781 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19782 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19783 | 0 | std::string* _s = _internal_mutable_leading_detached_comments()->Add(); |
19784 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19785 | 0 | return _s; |
19786 | 0 | } |
19787 | | inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const |
19788 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19789 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19790 | 0 | return _internal_leading_detached_comments().Get(index); |
19791 | 0 | } |
19792 | | inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) |
19793 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19794 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19795 | 0 | return _internal_mutable_leading_detached_comments()->Mutable(index); |
19796 | 0 | } |
19797 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) { |
19798 | 0 | _internal_mutable_leading_detached_comments()->Mutable(index)->assign(value); |
19799 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19800 | 0 | } |
19801 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) { |
19802 | 0 | _internal_mutable_leading_detached_comments()->Mutable(index)->assign(std::move(value)); |
19803 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19804 | 0 | } |
19805 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) { |
19806 | 0 | ABSL_DCHECK(value != nullptr); |
19807 | 0 | _internal_mutable_leading_detached_comments()->Mutable(index)->assign(value); |
19808 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19809 | 0 | } |
19810 | | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, |
19811 | 0 | std::size_t size) { |
19812 | 0 | _internal_mutable_leading_detached_comments()->Mutable(index)->assign( |
19813 | 0 | reinterpret_cast<const char*>(value), size); |
19814 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19815 | 0 | } |
19816 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, absl::string_view value) { |
19817 | 0 | _internal_mutable_leading_detached_comments()->Mutable(index)->assign( |
19818 | 0 | value.data(), value.size()); |
19819 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19820 | 0 | } |
19821 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) { |
19822 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19823 | 0 | _internal_mutable_leading_detached_comments()->Add()->assign(value); |
19824 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19825 | 0 | } |
19826 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) { |
19827 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19828 | 0 | _internal_mutable_leading_detached_comments()->Add(std::move(value)); |
19829 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19830 | 0 | } |
19831 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) { |
19832 | 0 | ABSL_DCHECK(value != nullptr); |
19833 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19834 | 0 | _internal_mutable_leading_detached_comments()->Add()->assign(value); |
19835 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19836 | 0 | } |
19837 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, std::size_t size) { |
19838 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19839 | 0 | _internal_mutable_leading_detached_comments()->Add()->assign( |
19840 | 0 | reinterpret_cast<const char*>(value), size); |
19841 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19842 | 0 | } |
19843 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(absl::string_view value) { |
19844 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19845 | 0 | _internal_mutable_leading_detached_comments()->Add()->assign(value.data(), |
19846 | 0 | value.size()); |
19847 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19848 | 0 | } |
19849 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
19850 | 0 | SourceCodeInfo_Location::leading_detached_comments() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19851 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19852 | 0 | return _internal_leading_detached_comments(); |
19853 | 0 | } |
19854 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
19855 | 0 | SourceCodeInfo_Location::mutable_leading_detached_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19856 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
19857 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19858 | 0 | return _internal_mutable_leading_detached_comments(); |
19859 | 0 | } |
19860 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
19861 | 0 | SourceCodeInfo_Location::_internal_leading_detached_comments() const { |
19862 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19863 | 0 | return _impl_.leading_detached_comments_; |
19864 | 0 | } |
19865 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
19866 | 0 | SourceCodeInfo_Location::_internal_mutable_leading_detached_comments() { |
19867 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19868 | 0 | return &_impl_.leading_detached_comments_; |
19869 | 0 | } |
19870 | | |
19871 | | // ------------------------------------------------------------------- |
19872 | | |
19873 | | // SourceCodeInfo |
19874 | | |
19875 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
19876 | 0 | inline int SourceCodeInfo::_internal_location_size() const { |
19877 | 0 | return _internal_location().size(); |
19878 | 0 | } |
19879 | 0 | inline int SourceCodeInfo::location_size() const { |
19880 | 0 | return _internal_location_size(); |
19881 | 0 | } |
19882 | 0 | inline void SourceCodeInfo::clear_location() { |
19883 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19884 | 0 | _impl_.location_.Clear(); |
19885 | 0 | } |
19886 | | inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) |
19887 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19888 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) |
19889 | 0 | return _internal_mutable_location()->Mutable(index); |
19890 | 0 | } |
19891 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* SourceCodeInfo::mutable_location() |
19892 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19893 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) |
19894 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19895 | 0 | return _internal_mutable_location(); |
19896 | 0 | } |
19897 | | inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const |
19898 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19899 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) |
19900 | 0 | return _internal_location().Get(index); |
19901 | 0 | } |
19902 | 0 | inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19903 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19904 | 0 | ::google::protobuf::SourceCodeInfo_Location* _add = _internal_mutable_location()->Add(); |
19905 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) |
19906 | 0 | return _add; |
19907 | 0 | } |
19908 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& SourceCodeInfo::location() const |
19909 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19910 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) |
19911 | 0 | return _internal_location(); |
19912 | 0 | } |
19913 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& |
19914 | 0 | SourceCodeInfo::_internal_location() const { |
19915 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19916 | 0 | return _impl_.location_; |
19917 | 0 | } |
19918 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* |
19919 | 0 | SourceCodeInfo::_internal_mutable_location() { |
19920 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19921 | 0 | return &_impl_.location_; |
19922 | 0 | } |
19923 | | |
19924 | | // ------------------------------------------------------------------- |
19925 | | |
19926 | | // GeneratedCodeInfo_Annotation |
19927 | | |
19928 | | // repeated int32 path = 1 [packed = true]; |
19929 | 0 | inline int GeneratedCodeInfo_Annotation::_internal_path_size() const { |
19930 | 0 | return _internal_path().size(); |
19931 | 0 | } |
19932 | 0 | inline int GeneratedCodeInfo_Annotation::path_size() const { |
19933 | 0 | return _internal_path_size(); |
19934 | 0 | } |
19935 | 0 | inline void GeneratedCodeInfo_Annotation::clear_path() { |
19936 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19937 | 0 | _impl_.path_.Clear(); |
19938 | 0 | } |
19939 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::path(int index) const { |
19940 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
19941 | 0 | return _internal_path().Get(index); |
19942 | 0 | } |
19943 | 0 | inline void GeneratedCodeInfo_Annotation::set_path(int index, ::int32_t value) { |
19944 | 0 | _internal_mutable_path()->Set(index, value); |
19945 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
19946 | 0 | } |
19947 | 0 | inline void GeneratedCodeInfo_Annotation::add_path(::int32_t value) { |
19948 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19949 | 0 | _internal_mutable_path()->Add(value); |
19950 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
19951 | 0 | } |
19952 | | inline const ::google::protobuf::RepeatedField<::int32_t>& GeneratedCodeInfo_Annotation::path() const |
19953 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19954 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
19955 | 0 | return _internal_path(); |
19956 | 0 | } |
19957 | | inline ::google::protobuf::RepeatedField<::int32_t>* GeneratedCodeInfo_Annotation::mutable_path() |
19958 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19959 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
19960 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19961 | 0 | return _internal_mutable_path(); |
19962 | 0 | } |
19963 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
19964 | 0 | GeneratedCodeInfo_Annotation::_internal_path() const { |
19965 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19966 | 0 | return _impl_.path_; |
19967 | 0 | } |
19968 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* GeneratedCodeInfo_Annotation::_internal_mutable_path() { |
19969 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19970 | 0 | return &_impl_.path_; |
19971 | 0 | } |
19972 | | |
19973 | | // optional string source_file = 2; |
19974 | 0 | inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
19975 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19976 | 0 | return value; |
19977 | 0 | } |
19978 | 0 | inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
19979 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19980 | 0 | _impl_.source_file_.ClearToEmpty(); |
19981 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19982 | 0 | } |
19983 | | inline const std::string& GeneratedCodeInfo_Annotation::source_file() const |
19984 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19985 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
19986 | 0 | return _internal_source_file(); |
19987 | 0 | } |
19988 | | template <typename Arg_, typename... Args_> |
19989 | | inline PROTOBUF_ALWAYS_INLINE void GeneratedCodeInfo_Annotation::set_source_file(Arg_&& arg, |
19990 | | Args_... args) { |
19991 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19992 | | _impl_._has_bits_[0] |= 0x00000001u; |
19993 | | _impl_.source_file_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
19994 | | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
19995 | | } |
19996 | 0 | inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19997 | 0 | std::string* _s = _internal_mutable_source_file(); |
19998 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
19999 | 0 | return _s; |
20000 | 0 | } |
20001 | 0 | inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const { |
20002 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20003 | 0 | return _impl_.source_file_.Get(); |
20004 | 0 | } |
20005 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) { |
20006 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20007 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20008 | 0 | _impl_.source_file_.Set(value, GetArena()); |
20009 | 0 | } |
20010 | 0 | inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() { |
20011 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20012 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20013 | 0 | return _impl_.source_file_.Mutable( GetArena()); |
20014 | 0 | } |
20015 | 0 | inline std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
20016 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20017 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20018 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
20019 | 0 | return nullptr; |
20020 | 0 | } |
20021 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20022 | 0 | auto* released = _impl_.source_file_.Release(); |
20023 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
20024 | 0 | _impl_.source_file_.Set("", GetArena()); |
20025 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
20026 | 0 | return released; |
20027 | 0 | } |
20028 | 0 | inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* value) { |
20029 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20030 | 0 | if (value != nullptr) { |
20031 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20032 | 0 | } else { |
20033 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20034 | 0 | } |
20035 | 0 | _impl_.source_file_.SetAllocated(value, GetArena()); |
20036 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
20037 | 0 | if (_impl_.source_file_.IsDefault()) { |
20038 | 0 | _impl_.source_file_.Set("", GetArena()); |
20039 | 0 | } |
20040 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
20041 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20042 | 0 | } |
20043 | | |
20044 | | // optional int32 begin = 3; |
20045 | 0 | inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
20046 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
20047 | 0 | return value; |
20048 | 0 | } |
20049 | 0 | inline void GeneratedCodeInfo_Annotation::clear_begin() { |
20050 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20051 | 0 | _impl_.begin_ = 0; |
20052 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20053 | 0 | } |
20054 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::begin() const { |
20055 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
20056 | 0 | return _internal_begin(); |
20057 | 0 | } |
20058 | 0 | inline void GeneratedCodeInfo_Annotation::set_begin(::int32_t value) { |
20059 | 0 | _internal_set_begin(value); |
20060 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20061 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
20062 | 0 | } |
20063 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_begin() const { |
20064 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20065 | 0 | return _impl_.begin_; |
20066 | 0 | } |
20067 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_begin(::int32_t value) { |
20068 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20069 | 0 | _impl_.begin_ = value; |
20070 | 0 | } |
20071 | | |
20072 | | // optional int32 end = 4; |
20073 | 0 | inline bool GeneratedCodeInfo_Annotation::has_end() const { |
20074 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
20075 | 0 | return value; |
20076 | 0 | } |
20077 | 0 | inline void GeneratedCodeInfo_Annotation::clear_end() { |
20078 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20079 | 0 | _impl_.end_ = 0; |
20080 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
20081 | 0 | } |
20082 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::end() const { |
20083 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
20084 | 0 | return _internal_end(); |
20085 | 0 | } |
20086 | 0 | inline void GeneratedCodeInfo_Annotation::set_end(::int32_t value) { |
20087 | 0 | _internal_set_end(value); |
20088 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
20089 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
20090 | 0 | } |
20091 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_end() const { |
20092 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20093 | 0 | return _impl_.end_; |
20094 | 0 | } |
20095 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_end(::int32_t value) { |
20096 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20097 | 0 | _impl_.end_ = value; |
20098 | 0 | } |
20099 | | |
20100 | | // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; |
20101 | 0 | inline bool GeneratedCodeInfo_Annotation::has_semantic() const { |
20102 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
20103 | 0 | return value; |
20104 | 0 | } |
20105 | 0 | inline void GeneratedCodeInfo_Annotation::clear_semantic() { |
20106 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20107 | 0 | _impl_.semantic_ = 0; |
20108 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
20109 | 0 | } |
20110 | 0 | inline ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::semantic() const { |
20111 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.semantic) |
20112 | 0 | return _internal_semantic(); |
20113 | 0 | } |
20114 | 0 | inline void GeneratedCodeInfo_Annotation::set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value) { |
20115 | 0 | _internal_set_semantic(value); |
20116 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
20117 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.semantic) |
20118 | 0 | } |
20119 | 0 | inline ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::_internal_semantic() const { |
20120 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20121 | 0 | return static_cast<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic>(_impl_.semantic_); |
20122 | 0 | } |
20123 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value) { |
20124 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20125 | 0 | assert(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic_IsValid(value)); |
20126 | 0 | _impl_.semantic_ = value; |
20127 | 0 | } |
20128 | | |
20129 | | // ------------------------------------------------------------------- |
20130 | | |
20131 | | // GeneratedCodeInfo |
20132 | | |
20133 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
20134 | 0 | inline int GeneratedCodeInfo::_internal_annotation_size() const { |
20135 | 0 | return _internal_annotation().size(); |
20136 | 0 | } |
20137 | 0 | inline int GeneratedCodeInfo::annotation_size() const { |
20138 | 0 | return _internal_annotation_size(); |
20139 | 0 | } |
20140 | 0 | inline void GeneratedCodeInfo::clear_annotation() { |
20141 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20142 | 0 | _impl_.annotation_.Clear(); |
20143 | 0 | } |
20144 | | inline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) |
20145 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20146 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
20147 | 0 | return _internal_mutable_annotation()->Mutable(index); |
20148 | 0 | } |
20149 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* GeneratedCodeInfo::mutable_annotation() |
20150 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20151 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
20152 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20153 | 0 | return _internal_mutable_annotation(); |
20154 | 0 | } |
20155 | | inline const ::google::protobuf::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const |
20156 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20157 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
20158 | 0 | return _internal_annotation().Get(index); |
20159 | 0 | } |
20160 | 0 | inline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20161 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20162 | 0 | ::google::protobuf::GeneratedCodeInfo_Annotation* _add = _internal_mutable_annotation()->Add(); |
20163 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
20164 | 0 | return _add; |
20165 | 0 | } |
20166 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& GeneratedCodeInfo::annotation() const |
20167 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20168 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
20169 | 0 | return _internal_annotation(); |
20170 | 0 | } |
20171 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& |
20172 | 0 | GeneratedCodeInfo::_internal_annotation() const { |
20173 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20174 | 0 | return _impl_.annotation_; |
20175 | 0 | } |
20176 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* |
20177 | 0 | GeneratedCodeInfo::_internal_mutable_annotation() { |
20178 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20179 | 0 | return &_impl_.annotation_; |
20180 | 0 | } |
20181 | | |
20182 | | #ifdef __GNUC__ |
20183 | | #pragma GCC diagnostic pop |
20184 | | #endif // __GNUC__ |
20185 | | |
20186 | | // @@protoc_insertion_point(namespace_scope) |
20187 | | } // namespace protobuf |
20188 | | } // namespace google |
20189 | | |
20190 | | |
20191 | | namespace google { |
20192 | | namespace protobuf { |
20193 | | |
20194 | | template <> |
20195 | | struct is_proto_enum<::google::protobuf::ExtensionRangeOptions_VerificationState> : std::true_type {}; |
20196 | | template <> |
20197 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::ExtensionRangeOptions_VerificationState>() { |
20198 | 0 | return ::google::protobuf::ExtensionRangeOptions_VerificationState_descriptor(); |
20199 | 0 | } |
20200 | | template <> |
20201 | | struct is_proto_enum<::google::protobuf::FieldDescriptorProto_Type> : std::true_type {}; |
20202 | | template <> |
20203 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldDescriptorProto_Type>() { |
20204 | 0 | return ::google::protobuf::FieldDescriptorProto_Type_descriptor(); |
20205 | 0 | } |
20206 | | template <> |
20207 | | struct is_proto_enum<::google::protobuf::FieldDescriptorProto_Label> : std::true_type {}; |
20208 | | template <> |
20209 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldDescriptorProto_Label>() { |
20210 | 0 | return ::google::protobuf::FieldDescriptorProto_Label_descriptor(); |
20211 | 0 | } |
20212 | | template <> |
20213 | | struct is_proto_enum<::google::protobuf::FileOptions_OptimizeMode> : std::true_type {}; |
20214 | | template <> |
20215 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FileOptions_OptimizeMode>() { |
20216 | 0 | return ::google::protobuf::FileOptions_OptimizeMode_descriptor(); |
20217 | 0 | } |
20218 | | template <> |
20219 | | struct is_proto_enum<::google::protobuf::FieldOptions_CType> : std::true_type {}; |
20220 | | template <> |
20221 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_CType>() { |
20222 | 0 | return ::google::protobuf::FieldOptions_CType_descriptor(); |
20223 | 0 | } |
20224 | | template <> |
20225 | | struct is_proto_enum<::google::protobuf::FieldOptions_JSType> : std::true_type {}; |
20226 | | template <> |
20227 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_JSType>() { |
20228 | 0 | return ::google::protobuf::FieldOptions_JSType_descriptor(); |
20229 | 0 | } |
20230 | | template <> |
20231 | | struct is_proto_enum<::google::protobuf::FieldOptions_OptionRetention> : std::true_type {}; |
20232 | | template <> |
20233 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_OptionRetention>() { |
20234 | 0 | return ::google::protobuf::FieldOptions_OptionRetention_descriptor(); |
20235 | 0 | } |
20236 | | template <> |
20237 | | struct is_proto_enum<::google::protobuf::FieldOptions_OptionTargetType> : std::true_type {}; |
20238 | | template <> |
20239 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_OptionTargetType>() { |
20240 | 0 | return ::google::protobuf::FieldOptions_OptionTargetType_descriptor(); |
20241 | 0 | } |
20242 | | template <> |
20243 | | struct is_proto_enum<::google::protobuf::MethodOptions_IdempotencyLevel> : std::true_type {}; |
20244 | | template <> |
20245 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::MethodOptions_IdempotencyLevel>() { |
20246 | 0 | return ::google::protobuf::MethodOptions_IdempotencyLevel_descriptor(); |
20247 | 0 | } |
20248 | | template <> |
20249 | | struct is_proto_enum<::google::protobuf::FeatureSet_FieldPresence> : std::true_type {}; |
20250 | | template <> |
20251 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_FieldPresence>() { |
20252 | 0 | return ::google::protobuf::FeatureSet_FieldPresence_descriptor(); |
20253 | 0 | } |
20254 | | template <> |
20255 | | struct is_proto_enum<::google::protobuf::FeatureSet_EnumType> : std::true_type {}; |
20256 | | template <> |
20257 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_EnumType>() { |
20258 | 0 | return ::google::protobuf::FeatureSet_EnumType_descriptor(); |
20259 | 0 | } |
20260 | | template <> |
20261 | | struct is_proto_enum<::google::protobuf::FeatureSet_RepeatedFieldEncoding> : std::true_type {}; |
20262 | | template <> |
20263 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_RepeatedFieldEncoding>() { |
20264 | 0 | return ::google::protobuf::FeatureSet_RepeatedFieldEncoding_descriptor(); |
20265 | 0 | } |
20266 | | template <> |
20267 | | struct is_proto_enum<::google::protobuf::FeatureSet_Utf8Validation> : std::true_type {}; |
20268 | | template <> |
20269 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_Utf8Validation>() { |
20270 | 0 | return ::google::protobuf::FeatureSet_Utf8Validation_descriptor(); |
20271 | 0 | } |
20272 | | template <> |
20273 | | struct is_proto_enum<::google::protobuf::FeatureSet_MessageEncoding> : std::true_type {}; |
20274 | | template <> |
20275 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_MessageEncoding>() { |
20276 | 0 | return ::google::protobuf::FeatureSet_MessageEncoding_descriptor(); |
20277 | 0 | } |
20278 | | template <> |
20279 | | struct is_proto_enum<::google::protobuf::FeatureSet_JsonFormat> : std::true_type {}; |
20280 | | template <> |
20281 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_JsonFormat>() { |
20282 | 0 | return ::google::protobuf::FeatureSet_JsonFormat_descriptor(); |
20283 | 0 | } |
20284 | | template <> |
20285 | | struct is_proto_enum<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic> : std::true_type {}; |
20286 | | template <> |
20287 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic>() { |
20288 | 0 | return ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
20289 | 0 | } |
20290 | | template <> |
20291 | | struct is_proto_enum<::google::protobuf::Edition> : std::true_type {}; |
20292 | | template <> |
20293 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::Edition>() { |
20294 | 0 | return ::google::protobuf::Edition_descriptor(); |
20295 | 0 | } |
20296 | | |
20297 | | } // namespace protobuf |
20298 | | } // namespace google |
20299 | | |
20300 | | // @@protoc_insertion_point(global_scope) |
20301 | | |
20302 | | #include "google/protobuf/port_undef.inc" |
20303 | | |
20304 | | #endif // GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |