/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 | | // source: google/protobuf/descriptor.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | #include <type_traits> |
10 | | |
11 | | #include "google/protobuf/port_def.inc" |
12 | | #if PROTOBUF_VERSION < 4022000 |
13 | | #error "This file was generated by a newer version of protoc which is" |
14 | | #error "incompatible with your Protocol Buffer headers. Please update" |
15 | | #error "your headers." |
16 | | #endif // PROTOBUF_VERSION |
17 | | |
18 | | #if 4022003 < PROTOBUF_MIN_PROTOC_VERSION |
19 | | #error "This file was generated by an older version of protoc which is" |
20 | | #error "incompatible with your Protocol Buffer headers. Please" |
21 | | #error "regenerate this file with a newer version of protoc." |
22 | | #endif // PROTOBUF_MIN_PROTOC_VERSION |
23 | | #include "google/protobuf/port_undef.inc" |
24 | | #include "google/protobuf/io/coded_stream.h" |
25 | | #include "google/protobuf/arena.h" |
26 | | #include "google/protobuf/arenastring.h" |
27 | | #include "google/protobuf/generated_message_util.h" |
28 | | #include "google/protobuf/metadata_lite.h" |
29 | | #include "google/protobuf/generated_message_reflection.h" |
30 | | #include "google/protobuf/message.h" |
31 | | #include "google/protobuf/repeated_field.h" // IWYU pragma: export |
32 | | #include "google/protobuf/extension_set.h" // IWYU pragma: export |
33 | | #include "google/protobuf/generated_enum_reflection.h" |
34 | | #include "google/protobuf/unknown_field_set.h" |
35 | | // @@protoc_insertion_point(includes) |
36 | | |
37 | | // Must be included last. |
38 | | #include "google/protobuf/port_def.inc" |
39 | | |
40 | | #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT |
41 | | |
42 | | PROTOBUF_NAMESPACE_OPEN |
43 | | namespace internal { |
44 | | class AnyMetadata; |
45 | | } // namespace internal |
46 | | PROTOBUF_NAMESPACE_CLOSE |
47 | | |
48 | | // Internal implementation detail -- do not use these members. |
49 | | struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { |
50 | | static const ::uint32_t offsets[]; |
51 | | }; |
52 | | PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable |
53 | | descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
54 | | PROTOBUF_NAMESPACE_OPEN |
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 FieldDescriptorProto; |
83 | | struct FieldDescriptorProtoDefaultTypeInternal; |
84 | | PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; |
85 | | class FieldOptions; |
86 | | struct FieldOptionsDefaultTypeInternal; |
87 | | PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; |
88 | | class FileDescriptorProto; |
89 | | struct FileDescriptorProtoDefaultTypeInternal; |
90 | | PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; |
91 | | class FileDescriptorSet; |
92 | | struct FileDescriptorSetDefaultTypeInternal; |
93 | | PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; |
94 | | class FileOptions; |
95 | | struct FileOptionsDefaultTypeInternal; |
96 | | PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; |
97 | | class GeneratedCodeInfo; |
98 | | struct GeneratedCodeInfoDefaultTypeInternal; |
99 | | PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; |
100 | | class GeneratedCodeInfo_Annotation; |
101 | | struct GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
102 | | PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; |
103 | | class MessageOptions; |
104 | | struct MessageOptionsDefaultTypeInternal; |
105 | | PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; |
106 | | class MethodDescriptorProto; |
107 | | struct MethodDescriptorProtoDefaultTypeInternal; |
108 | | PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; |
109 | | class MethodOptions; |
110 | | struct MethodOptionsDefaultTypeInternal; |
111 | | PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; |
112 | | class OneofDescriptorProto; |
113 | | struct OneofDescriptorProtoDefaultTypeInternal; |
114 | | PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; |
115 | | class OneofOptions; |
116 | | struct OneofOptionsDefaultTypeInternal; |
117 | | PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; |
118 | | class ServiceDescriptorProto; |
119 | | struct ServiceDescriptorProtoDefaultTypeInternal; |
120 | | PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; |
121 | | class ServiceOptions; |
122 | | struct ServiceOptionsDefaultTypeInternal; |
123 | | PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; |
124 | | class SourceCodeInfo; |
125 | | struct SourceCodeInfoDefaultTypeInternal; |
126 | | PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; |
127 | | class SourceCodeInfo_Location; |
128 | | struct SourceCodeInfo_LocationDefaultTypeInternal; |
129 | | PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; |
130 | | class UninterpretedOption; |
131 | | struct UninterpretedOptionDefaultTypeInternal; |
132 | | PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; |
133 | | class UninterpretedOption_NamePart; |
134 | | struct UninterpretedOption_NamePartDefaultTypeInternal; |
135 | | PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; |
136 | | template <> |
137 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*); |
138 | | template <> |
139 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*); |
140 | | template <> |
141 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*); |
142 | | template <> |
143 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*); |
144 | | template <> |
145 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*); |
146 | | template <> |
147 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*); |
148 | | template <> |
149 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*); |
150 | | template <> |
151 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*); |
152 | | template <> |
153 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*); |
154 | | template <> |
155 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*); |
156 | | template <> |
157 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*); |
158 | | template <> |
159 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*); |
160 | | template <> |
161 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*); |
162 | | template <> |
163 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*); |
164 | | template <> |
165 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*); |
166 | | template <> |
167 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*); |
168 | | template <> |
169 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*); |
170 | | template <> |
171 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*); |
172 | | template <> |
173 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*); |
174 | | template <> |
175 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*); |
176 | | template <> |
177 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*); |
178 | | template <> |
179 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*); |
180 | | template <> |
181 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*); |
182 | | template <> |
183 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*); |
184 | | template <> |
185 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*); |
186 | | template <> |
187 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*); |
188 | | template <> |
189 | | PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*); |
190 | | PROTOBUF_NAMESPACE_CLOSE |
191 | | |
192 | | PROTOBUF_NAMESPACE_OPEN |
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 | | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = static_cast<FieldDescriptorProto_Type>(1); |
216 | | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = static_cast<FieldDescriptorProto_Type>(18); |
217 | | constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = 18 + 1; |
218 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
219 | | FieldDescriptorProto_Type_descriptor(); |
220 | | template <typename T> |
221 | | const std::string& FieldDescriptorProto_Type_Name(T value) { |
222 | | static_assert(std::is_same<T, FieldDescriptorProto_Type>::value || |
223 | | std::is_integral<T>::value, |
224 | | "Incorrect type passed to Type_Name()."); |
225 | | return FieldDescriptorProto_Type_Name(static_cast<FieldDescriptorProto_Type>(value)); |
226 | | } |
227 | | template <> |
228 | 0 | inline const std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) { |
229 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FieldDescriptorProto_Type_descriptor, |
230 | 0 | 1, 18>( |
231 | 0 | static_cast<int>(value)); |
232 | 0 | } |
233 | 0 | inline bool FieldDescriptorProto_Type_Parse(absl::string_view name, FieldDescriptorProto_Type* value) { |
234 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
235 | 0 | FieldDescriptorProto_Type_descriptor(), name, value); |
236 | 0 | } |
237 | | enum FieldDescriptorProto_Label : int { |
238 | | FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
239 | | FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
240 | | FieldDescriptorProto_Label_LABEL_REPEATED = 3, |
241 | | }; |
242 | | |
243 | | PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
244 | | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = static_cast<FieldDescriptorProto_Label>(1); |
245 | | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = static_cast<FieldDescriptorProto_Label>(3); |
246 | | constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = 3 + 1; |
247 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
248 | | FieldDescriptorProto_Label_descriptor(); |
249 | | template <typename T> |
250 | | const std::string& FieldDescriptorProto_Label_Name(T value) { |
251 | | static_assert(std::is_same<T, FieldDescriptorProto_Label>::value || |
252 | | std::is_integral<T>::value, |
253 | | "Incorrect type passed to Label_Name()."); |
254 | | return FieldDescriptorProto_Label_Name(static_cast<FieldDescriptorProto_Label>(value)); |
255 | | } |
256 | | template <> |
257 | 0 | inline const std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) { |
258 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FieldDescriptorProto_Label_descriptor, |
259 | 0 | 1, 3>( |
260 | 0 | static_cast<int>(value)); |
261 | 0 | } |
262 | 0 | inline bool FieldDescriptorProto_Label_Parse(absl::string_view name, FieldDescriptorProto_Label* value) { |
263 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
264 | 0 | FieldDescriptorProto_Label_descriptor(), name, value); |
265 | 0 | } |
266 | | enum FileOptions_OptimizeMode : int { |
267 | | FileOptions_OptimizeMode_SPEED = 1, |
268 | | FileOptions_OptimizeMode_CODE_SIZE = 2, |
269 | | FileOptions_OptimizeMode_LITE_RUNTIME = 3, |
270 | | }; |
271 | | |
272 | | PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
273 | | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = static_cast<FileOptions_OptimizeMode>(1); |
274 | | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = static_cast<FileOptions_OptimizeMode>(3); |
275 | | constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = 3 + 1; |
276 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
277 | | FileOptions_OptimizeMode_descriptor(); |
278 | | template <typename T> |
279 | | const std::string& FileOptions_OptimizeMode_Name(T value) { |
280 | | static_assert(std::is_same<T, FileOptions_OptimizeMode>::value || |
281 | | std::is_integral<T>::value, |
282 | | "Incorrect type passed to OptimizeMode_Name()."); |
283 | | return FileOptions_OptimizeMode_Name(static_cast<FileOptions_OptimizeMode>(value)); |
284 | | } |
285 | | template <> |
286 | 0 | inline const std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) { |
287 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FileOptions_OptimizeMode_descriptor, |
288 | 0 | 1, 3>( |
289 | 0 | static_cast<int>(value)); |
290 | 0 | } |
291 | 0 | inline bool FileOptions_OptimizeMode_Parse(absl::string_view name, FileOptions_OptimizeMode* value) { |
292 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
293 | 0 | FileOptions_OptimizeMode_descriptor(), name, value); |
294 | 0 | } |
295 | | enum FieldOptions_CType : int { |
296 | | FieldOptions_CType_STRING = 0, |
297 | | FieldOptions_CType_CORD = 1, |
298 | | FieldOptions_CType_STRING_PIECE = 2, |
299 | | }; |
300 | | |
301 | | PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
302 | | constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = static_cast<FieldOptions_CType>(0); |
303 | | constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = static_cast<FieldOptions_CType>(2); |
304 | | constexpr int FieldOptions_CType_CType_ARRAYSIZE = 2 + 1; |
305 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
306 | | FieldOptions_CType_descriptor(); |
307 | | template <typename T> |
308 | | const std::string& FieldOptions_CType_Name(T value) { |
309 | | static_assert(std::is_same<T, FieldOptions_CType>::value || |
310 | | std::is_integral<T>::value, |
311 | | "Incorrect type passed to CType_Name()."); |
312 | | return FieldOptions_CType_Name(static_cast<FieldOptions_CType>(value)); |
313 | | } |
314 | | template <> |
315 | 0 | inline const std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
316 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FieldOptions_CType_descriptor, |
317 | 0 | 0, 2>( |
318 | 0 | static_cast<int>(value)); |
319 | 0 | } |
320 | 0 | inline bool FieldOptions_CType_Parse(absl::string_view name, FieldOptions_CType* value) { |
321 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>( |
322 | 0 | FieldOptions_CType_descriptor(), name, value); |
323 | 0 | } |
324 | | enum FieldOptions_JSType : int { |
325 | | FieldOptions_JSType_JS_NORMAL = 0, |
326 | | FieldOptions_JSType_JS_STRING = 1, |
327 | | FieldOptions_JSType_JS_NUMBER = 2, |
328 | | }; |
329 | | |
330 | | PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); |
331 | | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = static_cast<FieldOptions_JSType>(0); |
332 | | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = static_cast<FieldOptions_JSType>(2); |
333 | | constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = 2 + 1; |
334 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
335 | | FieldOptions_JSType_descriptor(); |
336 | | template <typename T> |
337 | | const std::string& FieldOptions_JSType_Name(T value) { |
338 | | static_assert(std::is_same<T, FieldOptions_JSType>::value || |
339 | | std::is_integral<T>::value, |
340 | | "Incorrect type passed to JSType_Name()."); |
341 | | return FieldOptions_JSType_Name(static_cast<FieldOptions_JSType>(value)); |
342 | | } |
343 | | template <> |
344 | 0 | inline const std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { |
345 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FieldOptions_JSType_descriptor, |
346 | 0 | 0, 2>( |
347 | 0 | static_cast<int>(value)); |
348 | 0 | } |
349 | 0 | inline bool FieldOptions_JSType_Parse(absl::string_view name, FieldOptions_JSType* value) { |
350 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>( |
351 | 0 | FieldOptions_JSType_descriptor(), name, value); |
352 | 0 | } |
353 | | enum FieldOptions_OptionRetention : int { |
354 | | FieldOptions_OptionRetention_RETENTION_UNKNOWN = 0, |
355 | | FieldOptions_OptionRetention_RETENTION_RUNTIME = 1, |
356 | | FieldOptions_OptionRetention_RETENTION_SOURCE = 2, |
357 | | }; |
358 | | |
359 | | PROTOBUF_EXPORT bool FieldOptions_OptionRetention_IsValid(int value); |
360 | | constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MIN = static_cast<FieldOptions_OptionRetention>(0); |
361 | | constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MAX = static_cast<FieldOptions_OptionRetention>(2); |
362 | | constexpr int FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE = 2 + 1; |
363 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
364 | | FieldOptions_OptionRetention_descriptor(); |
365 | | template <typename T> |
366 | | const std::string& FieldOptions_OptionRetention_Name(T value) { |
367 | | static_assert(std::is_same<T, FieldOptions_OptionRetention>::value || |
368 | | std::is_integral<T>::value, |
369 | | "Incorrect type passed to OptionRetention_Name()."); |
370 | | return FieldOptions_OptionRetention_Name(static_cast<FieldOptions_OptionRetention>(value)); |
371 | | } |
372 | | template <> |
373 | 0 | inline const std::string& FieldOptions_OptionRetention_Name(FieldOptions_OptionRetention value) { |
374 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FieldOptions_OptionRetention_descriptor, |
375 | 0 | 0, 2>( |
376 | 0 | static_cast<int>(value)); |
377 | 0 | } |
378 | 0 | inline bool FieldOptions_OptionRetention_Parse(absl::string_view name, FieldOptions_OptionRetention* value) { |
379 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_OptionRetention>( |
380 | 0 | FieldOptions_OptionRetention_descriptor(), name, value); |
381 | 0 | } |
382 | | enum FieldOptions_OptionTargetType : int { |
383 | | FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN = 0, |
384 | | FieldOptions_OptionTargetType_TARGET_TYPE_FILE = 1, |
385 | | FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE = 2, |
386 | | FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE = 3, |
387 | | FieldOptions_OptionTargetType_TARGET_TYPE_FIELD = 4, |
388 | | FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF = 5, |
389 | | FieldOptions_OptionTargetType_TARGET_TYPE_ENUM = 6, |
390 | | FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY = 7, |
391 | | FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE = 8, |
392 | | FieldOptions_OptionTargetType_TARGET_TYPE_METHOD = 9, |
393 | | }; |
394 | | |
395 | | PROTOBUF_EXPORT bool FieldOptions_OptionTargetType_IsValid(int value); |
396 | | constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MIN = static_cast<FieldOptions_OptionTargetType>(0); |
397 | | constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MAX = static_cast<FieldOptions_OptionTargetType>(9); |
398 | | constexpr int FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE = 9 + 1; |
399 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
400 | | FieldOptions_OptionTargetType_descriptor(); |
401 | | template <typename T> |
402 | | const std::string& FieldOptions_OptionTargetType_Name(T value) { |
403 | | static_assert(std::is_same<T, FieldOptions_OptionTargetType>::value || |
404 | | std::is_integral<T>::value, |
405 | | "Incorrect type passed to OptionTargetType_Name()."); |
406 | | return FieldOptions_OptionTargetType_Name(static_cast<FieldOptions_OptionTargetType>(value)); |
407 | | } |
408 | | template <> |
409 | 0 | inline const std::string& FieldOptions_OptionTargetType_Name(FieldOptions_OptionTargetType value) { |
410 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<FieldOptions_OptionTargetType_descriptor, |
411 | 0 | 0, 9>( |
412 | 0 | static_cast<int>(value)); |
413 | 0 | } |
414 | 0 | inline bool FieldOptions_OptionTargetType_Parse(absl::string_view name, FieldOptions_OptionTargetType* value) { |
415 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_OptionTargetType>( |
416 | 0 | FieldOptions_OptionTargetType_descriptor(), name, value); |
417 | 0 | } |
418 | | enum MethodOptions_IdempotencyLevel : int { |
419 | | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
420 | | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
421 | | MethodOptions_IdempotencyLevel_IDEMPOTENT = 2, |
422 | | }; |
423 | | |
424 | | PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
425 | | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = static_cast<MethodOptions_IdempotencyLevel>(0); |
426 | | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = static_cast<MethodOptions_IdempotencyLevel>(2); |
427 | | constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = 2 + 1; |
428 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
429 | | MethodOptions_IdempotencyLevel_descriptor(); |
430 | | template <typename T> |
431 | | const std::string& MethodOptions_IdempotencyLevel_Name(T value) { |
432 | | static_assert(std::is_same<T, MethodOptions_IdempotencyLevel>::value || |
433 | | std::is_integral<T>::value, |
434 | | "Incorrect type passed to IdempotencyLevel_Name()."); |
435 | | return MethodOptions_IdempotencyLevel_Name(static_cast<MethodOptions_IdempotencyLevel>(value)); |
436 | | } |
437 | | template <> |
438 | 0 | inline const std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value) { |
439 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<MethodOptions_IdempotencyLevel_descriptor, |
440 | 0 | 0, 2>( |
441 | 0 | static_cast<int>(value)); |
442 | 0 | } |
443 | 0 | inline bool MethodOptions_IdempotencyLevel_Parse(absl::string_view name, MethodOptions_IdempotencyLevel* value) { |
444 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
445 | 0 | MethodOptions_IdempotencyLevel_descriptor(), name, value); |
446 | 0 | } |
447 | | enum GeneratedCodeInfo_Annotation_Semantic : int { |
448 | | GeneratedCodeInfo_Annotation_Semantic_NONE = 0, |
449 | | GeneratedCodeInfo_Annotation_Semantic_SET = 1, |
450 | | GeneratedCodeInfo_Annotation_Semantic_ALIAS = 2, |
451 | | }; |
452 | | |
453 | | PROTOBUF_EXPORT bool GeneratedCodeInfo_Annotation_Semantic_IsValid(int value); |
454 | | constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN = static_cast<GeneratedCodeInfo_Annotation_Semantic>(0); |
455 | | constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX = static_cast<GeneratedCodeInfo_Annotation_Semantic>(2); |
456 | | constexpr int GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE = 2 + 1; |
457 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
458 | | GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
459 | | template <typename T> |
460 | | const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(T value) { |
461 | | static_assert(std::is_same<T, GeneratedCodeInfo_Annotation_Semantic>::value || |
462 | | std::is_integral<T>::value, |
463 | | "Incorrect type passed to Semantic_Name()."); |
464 | | return GeneratedCodeInfo_Annotation_Semantic_Name(static_cast<GeneratedCodeInfo_Annotation_Semantic>(value)); |
465 | | } |
466 | | template <> |
467 | 0 | inline const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(GeneratedCodeInfo_Annotation_Semantic value) { |
468 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<GeneratedCodeInfo_Annotation_Semantic_descriptor, |
469 | 0 | 0, 2>( |
470 | 0 | static_cast<int>(value)); |
471 | 0 | } |
472 | 0 | inline bool GeneratedCodeInfo_Annotation_Semantic_Parse(absl::string_view name, GeneratedCodeInfo_Annotation_Semantic* value) { |
473 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GeneratedCodeInfo_Annotation_Semantic>( |
474 | 0 | GeneratedCodeInfo_Annotation_Semantic_descriptor(), name, value); |
475 | 0 | } |
476 | | |
477 | | // =================================================================== |
478 | | |
479 | | |
480 | | // ------------------------------------------------------------------- |
481 | | |
482 | | class PROTOBUF_EXPORT FileDescriptorSet final : |
483 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { |
484 | | public: |
485 | 0 | inline FileDescriptorSet() : FileDescriptorSet(nullptr) {} |
486 | | ~FileDescriptorSet() override; |
487 | | explicit PROTOBUF_CONSTEXPR FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
488 | | |
489 | | FileDescriptorSet(const FileDescriptorSet& from); |
490 | | FileDescriptorSet(FileDescriptorSet&& from) noexcept |
491 | 0 | : FileDescriptorSet() { |
492 | 0 | *this = ::std::move(from); |
493 | 0 | } |
494 | | |
495 | 0 | inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
496 | 0 | CopyFrom(from); |
497 | 0 | return *this; |
498 | 0 | } |
499 | 0 | inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
500 | 0 | if (this == &from) return *this; |
501 | 0 | if (GetOwningArena() == from.GetOwningArena() |
502 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
503 | 0 | && GetOwningArena() != nullptr |
504 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
505 | 0 | ) { |
506 | 0 | InternalSwap(&from); |
507 | 0 | } else { |
508 | 0 | CopyFrom(from); |
509 | 0 | } |
510 | 0 | return *this; |
511 | 0 | } |
512 | | |
513 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
514 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
515 | 0 | } |
516 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
517 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
518 | 0 | } |
519 | | |
520 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
521 | 0 | return GetDescriptor(); |
522 | 0 | } |
523 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
524 | 0 | return default_instance().GetMetadata().descriptor; |
525 | 0 | } |
526 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
527 | 0 | return default_instance().GetMetadata().reflection; |
528 | 0 | } |
529 | 0 | static const FileDescriptorSet& default_instance() { |
530 | 0 | return *internal_default_instance(); |
531 | 0 | } |
532 | 0 | static inline const FileDescriptorSet* internal_default_instance() { |
533 | 0 | return reinterpret_cast<const FileDescriptorSet*>( |
534 | 0 | &_FileDescriptorSet_default_instance_); |
535 | 0 | } |
536 | | static constexpr int kIndexInFileMessages = |
537 | | 0; |
538 | | |
539 | 0 | friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { |
540 | 0 | a.Swap(&b); |
541 | 0 | } |
542 | 0 | inline void Swap(FileDescriptorSet* other) { |
543 | 0 | if (other == this) return; |
544 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
545 | 0 | if (GetOwningArena() != nullptr && |
546 | 0 | GetOwningArena() == other->GetOwningArena()) { |
547 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
548 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
549 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
550 | 0 | InternalSwap(other); |
551 | 0 | } else { |
552 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
553 | 0 | } |
554 | 0 | } |
555 | 0 | void UnsafeArenaSwap(FileDescriptorSet* other) { |
556 | 0 | if (other == this) return; |
557 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
558 | 0 | InternalSwap(other); |
559 | 0 | } |
560 | | |
561 | | // implements Message ---------------------------------------------- |
562 | | |
563 | 0 | FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
564 | 0 | return CreateMaybeMessage<FileDescriptorSet>(arena); |
565 | 0 | } |
566 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
567 | | void CopyFrom(const FileDescriptorSet& from); |
568 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
569 | 0 | void MergeFrom( const FileDescriptorSet& from) { |
570 | 0 | FileDescriptorSet::MergeImpl(*this, from); |
571 | 0 | } |
572 | | private: |
573 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
574 | | public: |
575 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
576 | | bool IsInitialized() const final; |
577 | | |
578 | | ::size_t ByteSizeLong() const final; |
579 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
580 | | ::uint8_t* _InternalSerialize( |
581 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
582 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
583 | | |
584 | | private: |
585 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
586 | | void SharedDtor(); |
587 | | void SetCachedSize(int size) const final; |
588 | | void InternalSwap(FileDescriptorSet* other); |
589 | | |
590 | | private: |
591 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
592 | 0 | static ::absl::string_view FullMessageName() { |
593 | 0 | return "google.protobuf.FileDescriptorSet"; |
594 | 0 | } |
595 | | protected: |
596 | | explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
597 | | public: |
598 | | |
599 | | static const ClassData _class_data_; |
600 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
601 | | |
602 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
603 | | |
604 | | // nested types ---------------------------------------------------- |
605 | | |
606 | | // accessors ------------------------------------------------------- |
607 | | |
608 | | enum : int { |
609 | | kFileFieldNumber = 1, |
610 | | }; |
611 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
612 | | int file_size() const; |
613 | | private: |
614 | | int _internal_file_size() const; |
615 | | |
616 | | public: |
617 | | void clear_file() ; |
618 | | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index); |
619 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* |
620 | | mutable_file(); |
621 | | private: |
622 | | const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file(int index) const; |
623 | | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file(); |
624 | | public: |
625 | | const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const; |
626 | | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file(); |
627 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& |
628 | | file() const; |
629 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
630 | | private: |
631 | | class _Internal; |
632 | | |
633 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
634 | | typedef void InternalArenaConstructable_; |
635 | | typedef void DestructorSkippable_; |
636 | | struct Impl_ { |
637 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_; |
638 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
639 | | }; |
640 | | union { Impl_ _impl_; }; |
641 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
642 | | };// ------------------------------------------------------------------- |
643 | | |
644 | | class PROTOBUF_EXPORT FileDescriptorProto final : |
645 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { |
646 | | public: |
647 | 0 | inline FileDescriptorProto() : FileDescriptorProto(nullptr) {} |
648 | | ~FileDescriptorProto() override; |
649 | | explicit PROTOBUF_CONSTEXPR FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
650 | | |
651 | | FileDescriptorProto(const FileDescriptorProto& from); |
652 | | FileDescriptorProto(FileDescriptorProto&& from) noexcept |
653 | 0 | : FileDescriptorProto() { |
654 | 0 | *this = ::std::move(from); |
655 | 0 | } |
656 | | |
657 | 0 | inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
658 | 0 | CopyFrom(from); |
659 | 0 | return *this; |
660 | 0 | } |
661 | 0 | inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
662 | 0 | if (this == &from) return *this; |
663 | 0 | if (GetOwningArena() == from.GetOwningArena() |
664 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
665 | 0 | && GetOwningArena() != nullptr |
666 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
667 | 0 | ) { |
668 | 0 | InternalSwap(&from); |
669 | 0 | } else { |
670 | 0 | CopyFrom(from); |
671 | 0 | } |
672 | 0 | return *this; |
673 | 0 | } |
674 | | |
675 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
676 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
677 | 0 | } |
678 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
679 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
680 | 0 | } |
681 | | |
682 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
683 | 0 | return GetDescriptor(); |
684 | 0 | } |
685 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
686 | 0 | return default_instance().GetMetadata().descriptor; |
687 | 0 | } |
688 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
689 | 0 | return default_instance().GetMetadata().reflection; |
690 | 0 | } |
691 | 0 | static const FileDescriptorProto& default_instance() { |
692 | 0 | return *internal_default_instance(); |
693 | 0 | } |
694 | 0 | static inline const FileDescriptorProto* internal_default_instance() { |
695 | 0 | return reinterpret_cast<const FileDescriptorProto*>( |
696 | 0 | &_FileDescriptorProto_default_instance_); |
697 | 0 | } |
698 | | static constexpr int kIndexInFileMessages = |
699 | | 1; |
700 | | |
701 | 0 | friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { |
702 | 0 | a.Swap(&b); |
703 | 0 | } |
704 | 0 | inline void Swap(FileDescriptorProto* other) { |
705 | 0 | if (other == this) return; |
706 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
707 | 0 | if (GetOwningArena() != nullptr && |
708 | 0 | GetOwningArena() == other->GetOwningArena()) { |
709 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
710 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
711 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
712 | 0 | InternalSwap(other); |
713 | 0 | } else { |
714 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
715 | 0 | } |
716 | 0 | } |
717 | 0 | void UnsafeArenaSwap(FileDescriptorProto* other) { |
718 | 0 | if (other == this) return; |
719 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
720 | 0 | InternalSwap(other); |
721 | 0 | } |
722 | | |
723 | | // implements Message ---------------------------------------------- |
724 | | |
725 | 0 | FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
726 | 0 | return CreateMaybeMessage<FileDescriptorProto>(arena); |
727 | 0 | } |
728 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
729 | | void CopyFrom(const FileDescriptorProto& from); |
730 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
731 | 0 | void MergeFrom( const FileDescriptorProto& from) { |
732 | 0 | FileDescriptorProto::MergeImpl(*this, from); |
733 | 0 | } |
734 | | private: |
735 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
736 | | public: |
737 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
738 | | bool IsInitialized() const final; |
739 | | |
740 | | ::size_t ByteSizeLong() const final; |
741 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
742 | | ::uint8_t* _InternalSerialize( |
743 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
744 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
745 | | |
746 | | private: |
747 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
748 | | void SharedDtor(); |
749 | | void SetCachedSize(int size) const final; |
750 | | void InternalSwap(FileDescriptorProto* other); |
751 | | |
752 | | private: |
753 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
754 | 0 | static ::absl::string_view FullMessageName() { |
755 | 0 | return "google.protobuf.FileDescriptorProto"; |
756 | 0 | } |
757 | | protected: |
758 | | explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
759 | | public: |
760 | | |
761 | | static const ClassData _class_data_; |
762 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
763 | | |
764 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
765 | | |
766 | | // nested types ---------------------------------------------------- |
767 | | |
768 | | // accessors ------------------------------------------------------- |
769 | | |
770 | | enum : int { |
771 | | kDependencyFieldNumber = 3, |
772 | | kMessageTypeFieldNumber = 4, |
773 | | kEnumTypeFieldNumber = 5, |
774 | | kServiceFieldNumber = 6, |
775 | | kExtensionFieldNumber = 7, |
776 | | kPublicDependencyFieldNumber = 10, |
777 | | kWeakDependencyFieldNumber = 11, |
778 | | kNameFieldNumber = 1, |
779 | | kPackageFieldNumber = 2, |
780 | | kSyntaxFieldNumber = 12, |
781 | | kEditionFieldNumber = 13, |
782 | | kOptionsFieldNumber = 8, |
783 | | kSourceCodeInfoFieldNumber = 9, |
784 | | }; |
785 | | // repeated string dependency = 3; |
786 | | int dependency_size() const; |
787 | | private: |
788 | | int _internal_dependency_size() const; |
789 | | |
790 | | public: |
791 | | void clear_dependency() ; |
792 | | const std::string& dependency(int index) const; |
793 | | std::string* mutable_dependency(int index); |
794 | | void set_dependency(int index, const std::string& value); |
795 | | void set_dependency(int index, std::string&& value); |
796 | | void set_dependency(int index, const char* value); |
797 | | void set_dependency(int index, const char* value, std::size_t size); |
798 | | void set_dependency(int index, absl::string_view value); |
799 | | std::string* add_dependency(); |
800 | | void add_dependency(const std::string& value); |
801 | | void add_dependency(std::string&& value); |
802 | | void add_dependency(const char* value); |
803 | | void add_dependency(const char* value, std::size_t size); |
804 | | void add_dependency(absl::string_view value); |
805 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const; |
806 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency(); |
807 | | |
808 | | private: |
809 | | const std::string& _internal_dependency(int index) const; |
810 | | std::string* _internal_add_dependency(); |
811 | | |
812 | | public: |
813 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
814 | | int message_type_size() const; |
815 | | private: |
816 | | int _internal_message_type_size() const; |
817 | | |
818 | | public: |
819 | | void clear_message_type() ; |
820 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index); |
821 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
822 | | mutable_message_type(); |
823 | | private: |
824 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const; |
825 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type(); |
826 | | public: |
827 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const; |
828 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type(); |
829 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
830 | | message_type() const; |
831 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
832 | | int enum_type_size() const; |
833 | | private: |
834 | | int _internal_enum_type_size() const; |
835 | | |
836 | | public: |
837 | | void clear_enum_type() ; |
838 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); |
839 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
840 | | mutable_enum_type(); |
841 | | private: |
842 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; |
843 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); |
844 | | public: |
845 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; |
846 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); |
847 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
848 | | enum_type() const; |
849 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
850 | | int service_size() const; |
851 | | private: |
852 | | int _internal_service_size() const; |
853 | | |
854 | | public: |
855 | | void clear_service() ; |
856 | | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index); |
857 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* |
858 | | mutable_service(); |
859 | | private: |
860 | | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const; |
861 | | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service(); |
862 | | public: |
863 | | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const; |
864 | | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service(); |
865 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& |
866 | | service() const; |
867 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
868 | | int extension_size() const; |
869 | | private: |
870 | | int _internal_extension_size() const; |
871 | | |
872 | | public: |
873 | | void clear_extension() ; |
874 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); |
875 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
876 | | mutable_extension(); |
877 | | private: |
878 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; |
879 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); |
880 | | public: |
881 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; |
882 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); |
883 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
884 | | extension() const; |
885 | | // repeated int32 public_dependency = 10; |
886 | | int public_dependency_size() const; |
887 | | private: |
888 | | int _internal_public_dependency_size() const; |
889 | | |
890 | | public: |
891 | | void clear_public_dependency() ; |
892 | | ::int32_t public_dependency(int index) const; |
893 | | void set_public_dependency(int index, ::int32_t value); |
894 | | void add_public_dependency(::int32_t value); |
895 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& public_dependency() const; |
896 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_public_dependency(); |
897 | | |
898 | | private: |
899 | | ::int32_t _internal_public_dependency(int index) const; |
900 | | void _internal_add_public_dependency(::int32_t value); |
901 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_public_dependency() const; |
902 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_public_dependency(); |
903 | | |
904 | | public: |
905 | | // repeated int32 weak_dependency = 11; |
906 | | int weak_dependency_size() const; |
907 | | private: |
908 | | int _internal_weak_dependency_size() const; |
909 | | |
910 | | public: |
911 | | void clear_weak_dependency() ; |
912 | | ::int32_t weak_dependency(int index) const; |
913 | | void set_weak_dependency(int index, ::int32_t value); |
914 | | void add_weak_dependency(::int32_t value); |
915 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& weak_dependency() const; |
916 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_weak_dependency(); |
917 | | |
918 | | private: |
919 | | ::int32_t _internal_weak_dependency(int index) const; |
920 | | void _internal_add_weak_dependency(::int32_t value); |
921 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_weak_dependency() const; |
922 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_weak_dependency(); |
923 | | |
924 | | public: |
925 | | // optional string name = 1; |
926 | | bool has_name() const; |
927 | | void clear_name() ; |
928 | | const std::string& name() const; |
929 | | |
930 | | |
931 | | |
932 | | |
933 | | template <typename Arg_ = const std::string&, typename... Args_> |
934 | | void set_name(Arg_&& arg, Args_... args); |
935 | | std::string* mutable_name(); |
936 | | PROTOBUF_NODISCARD std::string* release_name(); |
937 | | void set_allocated_name(std::string* ptr); |
938 | | |
939 | | private: |
940 | | const std::string& _internal_name() const; |
941 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
942 | | const std::string& value); |
943 | | std::string* _internal_mutable_name(); |
944 | | |
945 | | public: |
946 | | // optional string package = 2; |
947 | | bool has_package() const; |
948 | | void clear_package() ; |
949 | | const std::string& package() const; |
950 | | |
951 | | |
952 | | |
953 | | |
954 | | template <typename Arg_ = const std::string&, typename... Args_> |
955 | | void set_package(Arg_&& arg, Args_... args); |
956 | | std::string* mutable_package(); |
957 | | PROTOBUF_NODISCARD std::string* release_package(); |
958 | | void set_allocated_package(std::string* ptr); |
959 | | |
960 | | private: |
961 | | const std::string& _internal_package() const; |
962 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_package( |
963 | | const std::string& value); |
964 | | std::string* _internal_mutable_package(); |
965 | | |
966 | | public: |
967 | | // optional string syntax = 12; |
968 | | bool has_syntax() const; |
969 | | void clear_syntax() ; |
970 | | const std::string& syntax() const; |
971 | | |
972 | | |
973 | | |
974 | | |
975 | | template <typename Arg_ = const std::string&, typename... Args_> |
976 | | void set_syntax(Arg_&& arg, Args_... args); |
977 | | std::string* mutable_syntax(); |
978 | | PROTOBUF_NODISCARD std::string* release_syntax(); |
979 | | void set_allocated_syntax(std::string* ptr); |
980 | | |
981 | | private: |
982 | | const std::string& _internal_syntax() const; |
983 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax( |
984 | | const std::string& value); |
985 | | std::string* _internal_mutable_syntax(); |
986 | | |
987 | | public: |
988 | | // optional string edition = 13; |
989 | | bool has_edition() const; |
990 | | void clear_edition() ; |
991 | | const std::string& edition() const; |
992 | | |
993 | | |
994 | | |
995 | | |
996 | | template <typename Arg_ = const std::string&, typename... Args_> |
997 | | void set_edition(Arg_&& arg, Args_... args); |
998 | | std::string* mutable_edition(); |
999 | | PROTOBUF_NODISCARD std::string* release_edition(); |
1000 | | void set_allocated_edition(std::string* ptr); |
1001 | | |
1002 | | private: |
1003 | | const std::string& _internal_edition() const; |
1004 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_edition( |
1005 | | const std::string& value); |
1006 | | std::string* _internal_mutable_edition(); |
1007 | | |
1008 | | public: |
1009 | | // optional .google.protobuf.FileOptions options = 8; |
1010 | | bool has_options() const; |
1011 | | void clear_options() ; |
1012 | | const ::PROTOBUF_NAMESPACE_ID::FileOptions& options() const; |
1013 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FileOptions* release_options(); |
1014 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options(); |
1015 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options); |
1016 | | private: |
1017 | | const ::PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const; |
1018 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options(); |
1019 | | public: |
1020 | | void unsafe_arena_set_allocated_options( |
1021 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* options); |
1022 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options(); |
1023 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
1024 | | bool has_source_code_info() const; |
1025 | | void clear_source_code_info() ; |
1026 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const; |
1027 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info(); |
1028 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info(); |
1029 | | void set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); |
1030 | | private: |
1031 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const; |
1032 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info(); |
1033 | | public: |
1034 | | void unsafe_arena_set_allocated_source_code_info( |
1035 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); |
1036 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info(); |
1037 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
1038 | | private: |
1039 | | class _Internal; |
1040 | | |
1041 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1042 | | typedef void InternalArenaConstructable_; |
1043 | | typedef void DestructorSkippable_; |
1044 | | struct Impl_ { |
1045 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1046 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1047 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_; |
1048 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_; |
1049 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; |
1050 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_; |
1051 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; |
1052 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> public_dependency_; |
1053 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> weak_dependency_; |
1054 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
1055 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_; |
1056 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_; |
1057 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr edition_; |
1058 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* options_; |
1059 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_; |
1060 | | }; |
1061 | | union { Impl_ _impl_; }; |
1062 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1063 | | };// ------------------------------------------------------------------- |
1064 | | |
1065 | | class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : |
1066 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { |
1067 | | public: |
1068 | 0 | inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {} |
1069 | | ~DescriptorProto_ExtensionRange() override; |
1070 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1071 | | |
1072 | | DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
1073 | | DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept |
1074 | 0 | : DescriptorProto_ExtensionRange() { |
1075 | 0 | *this = ::std::move(from); |
1076 | 0 | } |
1077 | | |
1078 | 0 | inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
1079 | 0 | CopyFrom(from); |
1080 | 0 | return *this; |
1081 | 0 | } |
1082 | 0 | inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
1083 | 0 | if (this == &from) return *this; |
1084 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1085 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1086 | 0 | && GetOwningArena() != nullptr |
1087 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1088 | 0 | ) { |
1089 | 0 | InternalSwap(&from); |
1090 | 0 | } else { |
1091 | 0 | CopyFrom(from); |
1092 | 0 | } |
1093 | 0 | return *this; |
1094 | 0 | } |
1095 | | |
1096 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1097 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1098 | 0 | } |
1099 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1100 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1101 | 0 | } |
1102 | | |
1103 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1104 | 0 | return GetDescriptor(); |
1105 | 0 | } |
1106 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1107 | 0 | return default_instance().GetMetadata().descriptor; |
1108 | 0 | } |
1109 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1110 | 0 | return default_instance().GetMetadata().reflection; |
1111 | 0 | } |
1112 | 0 | static const DescriptorProto_ExtensionRange& default_instance() { |
1113 | 0 | return *internal_default_instance(); |
1114 | 0 | } |
1115 | 0 | static inline const DescriptorProto_ExtensionRange* internal_default_instance() { |
1116 | 0 | return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
1117 | 0 | &_DescriptorProto_ExtensionRange_default_instance_); |
1118 | 0 | } |
1119 | | static constexpr int kIndexInFileMessages = |
1120 | | 2; |
1121 | | |
1122 | 0 | friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { |
1123 | 0 | a.Swap(&b); |
1124 | 0 | } |
1125 | 0 | inline void Swap(DescriptorProto_ExtensionRange* other) { |
1126 | 0 | if (other == this) return; |
1127 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1128 | 0 | if (GetOwningArena() != nullptr && |
1129 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1130 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1131 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1132 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1133 | 0 | InternalSwap(other); |
1134 | 0 | } else { |
1135 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1136 | 0 | } |
1137 | 0 | } |
1138 | 0 | void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) { |
1139 | 0 | if (other == this) return; |
1140 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1141 | 0 | InternalSwap(other); |
1142 | 0 | } |
1143 | | |
1144 | | // implements Message ---------------------------------------------- |
1145 | | |
1146 | 0 | DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1147 | 0 | return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena); |
1148 | 0 | } |
1149 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1150 | | void CopyFrom(const DescriptorProto_ExtensionRange& from); |
1151 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1152 | 0 | void MergeFrom( const DescriptorProto_ExtensionRange& from) { |
1153 | 0 | DescriptorProto_ExtensionRange::MergeImpl(*this, from); |
1154 | 0 | } |
1155 | | private: |
1156 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1157 | | public: |
1158 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1159 | | bool IsInitialized() const final; |
1160 | | |
1161 | | ::size_t ByteSizeLong() const final; |
1162 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1163 | | ::uint8_t* _InternalSerialize( |
1164 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1165 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1166 | | |
1167 | | private: |
1168 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1169 | | void SharedDtor(); |
1170 | | void SetCachedSize(int size) const final; |
1171 | | void InternalSwap(DescriptorProto_ExtensionRange* other); |
1172 | | |
1173 | | private: |
1174 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1175 | 0 | static ::absl::string_view FullMessageName() { |
1176 | 0 | return "google.protobuf.DescriptorProto.ExtensionRange"; |
1177 | 0 | } |
1178 | | protected: |
1179 | | explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1180 | | public: |
1181 | | |
1182 | | static const ClassData _class_data_; |
1183 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1184 | | |
1185 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1186 | | |
1187 | | // nested types ---------------------------------------------------- |
1188 | | |
1189 | | // accessors ------------------------------------------------------- |
1190 | | |
1191 | | enum : int { |
1192 | | kOptionsFieldNumber = 3, |
1193 | | kStartFieldNumber = 1, |
1194 | | kEndFieldNumber = 2, |
1195 | | }; |
1196 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
1197 | | bool has_options() const; |
1198 | | void clear_options() ; |
1199 | | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const; |
1200 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options(); |
1201 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options(); |
1202 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); |
1203 | | private: |
1204 | | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const; |
1205 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options(); |
1206 | | public: |
1207 | | void unsafe_arena_set_allocated_options( |
1208 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); |
1209 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options(); |
1210 | | // optional int32 start = 1; |
1211 | | bool has_start() const; |
1212 | | void clear_start() ; |
1213 | | ::int32_t start() const; |
1214 | | void set_start(::int32_t value); |
1215 | | |
1216 | | private: |
1217 | | ::int32_t _internal_start() const; |
1218 | | void _internal_set_start(::int32_t value); |
1219 | | |
1220 | | public: |
1221 | | // optional int32 end = 2; |
1222 | | bool has_end() const; |
1223 | | void clear_end() ; |
1224 | | ::int32_t end() const; |
1225 | | void set_end(::int32_t value); |
1226 | | |
1227 | | private: |
1228 | | ::int32_t _internal_end() const; |
1229 | | void _internal_set_end(::int32_t value); |
1230 | | |
1231 | | public: |
1232 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
1233 | | private: |
1234 | | class _Internal; |
1235 | | |
1236 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1237 | | typedef void InternalArenaConstructable_; |
1238 | | typedef void DestructorSkippable_; |
1239 | | struct Impl_ { |
1240 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1241 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1242 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_; |
1243 | | ::int32_t start_; |
1244 | | ::int32_t end_; |
1245 | | }; |
1246 | | union { Impl_ _impl_; }; |
1247 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1248 | | };// ------------------------------------------------------------------- |
1249 | | |
1250 | | class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : |
1251 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ { |
1252 | | public: |
1253 | 0 | inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {} |
1254 | | ~DescriptorProto_ReservedRange() override; |
1255 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1256 | | |
1257 | | DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); |
1258 | | DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept |
1259 | 0 | : DescriptorProto_ReservedRange() { |
1260 | 0 | *this = ::std::move(from); |
1261 | 0 | } |
1262 | | |
1263 | 0 | inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { |
1264 | 0 | CopyFrom(from); |
1265 | 0 | return *this; |
1266 | 0 | } |
1267 | 0 | inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
1268 | 0 | if (this == &from) return *this; |
1269 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1270 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1271 | 0 | && GetOwningArena() != nullptr |
1272 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1273 | 0 | ) { |
1274 | 0 | InternalSwap(&from); |
1275 | 0 | } else { |
1276 | 0 | CopyFrom(from); |
1277 | 0 | } |
1278 | 0 | return *this; |
1279 | 0 | } |
1280 | | |
1281 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1282 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1283 | 0 | } |
1284 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1285 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1286 | 0 | } |
1287 | | |
1288 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1289 | 0 | return GetDescriptor(); |
1290 | 0 | } |
1291 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1292 | 0 | return default_instance().GetMetadata().descriptor; |
1293 | 0 | } |
1294 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1295 | 0 | return default_instance().GetMetadata().reflection; |
1296 | 0 | } |
1297 | 0 | static const DescriptorProto_ReservedRange& default_instance() { |
1298 | 0 | return *internal_default_instance(); |
1299 | 0 | } |
1300 | 0 | static inline const DescriptorProto_ReservedRange* internal_default_instance() { |
1301 | 0 | return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
1302 | 0 | &_DescriptorProto_ReservedRange_default_instance_); |
1303 | 0 | } |
1304 | | static constexpr int kIndexInFileMessages = |
1305 | | 3; |
1306 | | |
1307 | 0 | friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { |
1308 | 0 | a.Swap(&b); |
1309 | 0 | } |
1310 | 0 | inline void Swap(DescriptorProto_ReservedRange* other) { |
1311 | 0 | if (other == this) return; |
1312 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1313 | 0 | if (GetOwningArena() != nullptr && |
1314 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1315 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1316 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1317 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1318 | 0 | InternalSwap(other); |
1319 | 0 | } else { |
1320 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1321 | 0 | } |
1322 | 0 | } |
1323 | 0 | void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) { |
1324 | 0 | if (other == this) return; |
1325 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1326 | 0 | InternalSwap(other); |
1327 | 0 | } |
1328 | | |
1329 | | // implements Message ---------------------------------------------- |
1330 | | |
1331 | 0 | DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1332 | 0 | return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena); |
1333 | 0 | } |
1334 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1335 | | void CopyFrom(const DescriptorProto_ReservedRange& from); |
1336 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1337 | 0 | void MergeFrom( const DescriptorProto_ReservedRange& from) { |
1338 | 0 | DescriptorProto_ReservedRange::MergeImpl(*this, from); |
1339 | 0 | } |
1340 | | private: |
1341 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1342 | | public: |
1343 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1344 | | bool IsInitialized() const final; |
1345 | | |
1346 | | ::size_t ByteSizeLong() const final; |
1347 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1348 | | ::uint8_t* _InternalSerialize( |
1349 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1350 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1351 | | |
1352 | | private: |
1353 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1354 | | void SharedDtor(); |
1355 | | void SetCachedSize(int size) const final; |
1356 | | void InternalSwap(DescriptorProto_ReservedRange* other); |
1357 | | |
1358 | | private: |
1359 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1360 | 0 | static ::absl::string_view FullMessageName() { |
1361 | 0 | return "google.protobuf.DescriptorProto.ReservedRange"; |
1362 | 0 | } |
1363 | | protected: |
1364 | | explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1365 | | public: |
1366 | | |
1367 | | static const ClassData _class_data_; |
1368 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1369 | | |
1370 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1371 | | |
1372 | | // nested types ---------------------------------------------------- |
1373 | | |
1374 | | // accessors ------------------------------------------------------- |
1375 | | |
1376 | | enum : int { |
1377 | | kStartFieldNumber = 1, |
1378 | | kEndFieldNumber = 2, |
1379 | | }; |
1380 | | // optional int32 start = 1; |
1381 | | bool has_start() const; |
1382 | | void clear_start() ; |
1383 | | ::int32_t start() const; |
1384 | | void set_start(::int32_t value); |
1385 | | |
1386 | | private: |
1387 | | ::int32_t _internal_start() const; |
1388 | | void _internal_set_start(::int32_t value); |
1389 | | |
1390 | | public: |
1391 | | // optional int32 end = 2; |
1392 | | bool has_end() const; |
1393 | | void clear_end() ; |
1394 | | ::int32_t end() const; |
1395 | | void set_end(::int32_t value); |
1396 | | |
1397 | | private: |
1398 | | ::int32_t _internal_end() const; |
1399 | | void _internal_set_end(::int32_t value); |
1400 | | |
1401 | | public: |
1402 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) |
1403 | | private: |
1404 | | class _Internal; |
1405 | | |
1406 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1407 | | typedef void InternalArenaConstructable_; |
1408 | | typedef void DestructorSkippable_; |
1409 | | struct Impl_ { |
1410 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1411 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1412 | | ::int32_t start_; |
1413 | | ::int32_t end_; |
1414 | | }; |
1415 | | union { Impl_ _impl_; }; |
1416 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1417 | | };// ------------------------------------------------------------------- |
1418 | | |
1419 | | class PROTOBUF_EXPORT DescriptorProto final : |
1420 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
1421 | | public: |
1422 | 0 | inline DescriptorProto() : DescriptorProto(nullptr) {} |
1423 | | ~DescriptorProto() override; |
1424 | | explicit PROTOBUF_CONSTEXPR DescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1425 | | |
1426 | | DescriptorProto(const DescriptorProto& from); |
1427 | | DescriptorProto(DescriptorProto&& from) noexcept |
1428 | 0 | : DescriptorProto() { |
1429 | 0 | *this = ::std::move(from); |
1430 | 0 | } |
1431 | | |
1432 | 0 | inline DescriptorProto& operator=(const DescriptorProto& from) { |
1433 | 0 | CopyFrom(from); |
1434 | 0 | return *this; |
1435 | 0 | } |
1436 | 0 | inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
1437 | 0 | if (this == &from) return *this; |
1438 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1439 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1440 | 0 | && GetOwningArena() != nullptr |
1441 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1442 | 0 | ) { |
1443 | 0 | InternalSwap(&from); |
1444 | 0 | } else { |
1445 | 0 | CopyFrom(from); |
1446 | 0 | } |
1447 | 0 | return *this; |
1448 | 0 | } |
1449 | | |
1450 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1451 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1452 | 0 | } |
1453 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1454 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1455 | 0 | } |
1456 | | |
1457 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1458 | 0 | return GetDescriptor(); |
1459 | 0 | } |
1460 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1461 | 0 | return default_instance().GetMetadata().descriptor; |
1462 | 0 | } |
1463 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1464 | 0 | return default_instance().GetMetadata().reflection; |
1465 | 0 | } |
1466 | 0 | static const DescriptorProto& default_instance() { |
1467 | 0 | return *internal_default_instance(); |
1468 | 0 | } |
1469 | 0 | static inline const DescriptorProto* internal_default_instance() { |
1470 | 0 | return reinterpret_cast<const DescriptorProto*>( |
1471 | 0 | &_DescriptorProto_default_instance_); |
1472 | 0 | } |
1473 | | static constexpr int kIndexInFileMessages = |
1474 | | 4; |
1475 | | |
1476 | 0 | friend void swap(DescriptorProto& a, DescriptorProto& b) { |
1477 | 0 | a.Swap(&b); |
1478 | 0 | } |
1479 | 0 | inline void Swap(DescriptorProto* other) { |
1480 | 0 | if (other == this) return; |
1481 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1482 | 0 | if (GetOwningArena() != nullptr && |
1483 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1484 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1485 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1486 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1487 | 0 | InternalSwap(other); |
1488 | 0 | } else { |
1489 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1490 | 0 | } |
1491 | 0 | } |
1492 | 0 | void UnsafeArenaSwap(DescriptorProto* other) { |
1493 | 0 | if (other == this) return; |
1494 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1495 | 0 | InternalSwap(other); |
1496 | 0 | } |
1497 | | |
1498 | | // implements Message ---------------------------------------------- |
1499 | | |
1500 | 0 | DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1501 | 0 | return CreateMaybeMessage<DescriptorProto>(arena); |
1502 | 0 | } |
1503 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1504 | | void CopyFrom(const DescriptorProto& from); |
1505 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1506 | 0 | void MergeFrom( const DescriptorProto& from) { |
1507 | 0 | DescriptorProto::MergeImpl(*this, from); |
1508 | 0 | } |
1509 | | private: |
1510 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1511 | | public: |
1512 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1513 | | bool IsInitialized() const final; |
1514 | | |
1515 | | ::size_t ByteSizeLong() const final; |
1516 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1517 | | ::uint8_t* _InternalSerialize( |
1518 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1519 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1520 | | |
1521 | | private: |
1522 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1523 | | void SharedDtor(); |
1524 | | void SetCachedSize(int size) const final; |
1525 | | void InternalSwap(DescriptorProto* other); |
1526 | | |
1527 | | private: |
1528 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1529 | 0 | static ::absl::string_view FullMessageName() { |
1530 | 0 | return "google.protobuf.DescriptorProto"; |
1531 | 0 | } |
1532 | | protected: |
1533 | | explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1534 | | public: |
1535 | | |
1536 | | static const ClassData _class_data_; |
1537 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1538 | | |
1539 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1540 | | |
1541 | | // nested types ---------------------------------------------------- |
1542 | | |
1543 | | typedef DescriptorProto_ExtensionRange ExtensionRange; |
1544 | | typedef DescriptorProto_ReservedRange ReservedRange; |
1545 | | |
1546 | | // accessors ------------------------------------------------------- |
1547 | | |
1548 | | enum : int { |
1549 | | kFieldFieldNumber = 2, |
1550 | | kNestedTypeFieldNumber = 3, |
1551 | | kEnumTypeFieldNumber = 4, |
1552 | | kExtensionRangeFieldNumber = 5, |
1553 | | kExtensionFieldNumber = 6, |
1554 | | kOneofDeclFieldNumber = 8, |
1555 | | kReservedRangeFieldNumber = 9, |
1556 | | kReservedNameFieldNumber = 10, |
1557 | | kNameFieldNumber = 1, |
1558 | | kOptionsFieldNumber = 7, |
1559 | | }; |
1560 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
1561 | | int field_size() const; |
1562 | | private: |
1563 | | int _internal_field_size() const; |
1564 | | |
1565 | | public: |
1566 | | void clear_field() ; |
1567 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index); |
1568 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
1569 | | mutable_field(); |
1570 | | private: |
1571 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const; |
1572 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field(); |
1573 | | public: |
1574 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const; |
1575 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field(); |
1576 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
1577 | | field() const; |
1578 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
1579 | | int nested_type_size() const; |
1580 | | private: |
1581 | | int _internal_nested_type_size() const; |
1582 | | |
1583 | | public: |
1584 | | void clear_nested_type() ; |
1585 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index); |
1586 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
1587 | | mutable_nested_type(); |
1588 | | private: |
1589 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const; |
1590 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type(); |
1591 | | public: |
1592 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const; |
1593 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type(); |
1594 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
1595 | | nested_type() const; |
1596 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
1597 | | int enum_type_size() const; |
1598 | | private: |
1599 | | int _internal_enum_type_size() const; |
1600 | | |
1601 | | public: |
1602 | | void clear_enum_type() ; |
1603 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); |
1604 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
1605 | | mutable_enum_type(); |
1606 | | private: |
1607 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; |
1608 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); |
1609 | | public: |
1610 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; |
1611 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); |
1612 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
1613 | | enum_type() const; |
1614 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
1615 | | int extension_range_size() const; |
1616 | | private: |
1617 | | int _internal_extension_range_size() const; |
1618 | | |
1619 | | public: |
1620 | | void clear_extension_range() ; |
1621 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
1622 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* |
1623 | | mutable_extension_range(); |
1624 | | private: |
1625 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const; |
1626 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range(); |
1627 | | public: |
1628 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const; |
1629 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range(); |
1630 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& |
1631 | | extension_range() const; |
1632 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
1633 | | int extension_size() const; |
1634 | | private: |
1635 | | int _internal_extension_size() const; |
1636 | | |
1637 | | public: |
1638 | | void clear_extension() ; |
1639 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); |
1640 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
1641 | | mutable_extension(); |
1642 | | private: |
1643 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; |
1644 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); |
1645 | | public: |
1646 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; |
1647 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); |
1648 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
1649 | | extension() const; |
1650 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
1651 | | int oneof_decl_size() const; |
1652 | | private: |
1653 | | int _internal_oneof_decl_size() const; |
1654 | | |
1655 | | public: |
1656 | | void clear_oneof_decl() ; |
1657 | | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index); |
1658 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* |
1659 | | mutable_oneof_decl(); |
1660 | | private: |
1661 | | const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const; |
1662 | | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl(); |
1663 | | public: |
1664 | | const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const; |
1665 | | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl(); |
1666 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& |
1667 | | oneof_decl() const; |
1668 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
1669 | | int reserved_range_size() const; |
1670 | | private: |
1671 | | int _internal_reserved_range_size() const; |
1672 | | |
1673 | | public: |
1674 | | void clear_reserved_range() ; |
1675 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index); |
1676 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* |
1677 | | mutable_reserved_range(); |
1678 | | private: |
1679 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const; |
1680 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range(); |
1681 | | public: |
1682 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const; |
1683 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range(); |
1684 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& |
1685 | | reserved_range() const; |
1686 | | // repeated string reserved_name = 10; |
1687 | | int reserved_name_size() const; |
1688 | | private: |
1689 | | int _internal_reserved_name_size() const; |
1690 | | |
1691 | | public: |
1692 | | void clear_reserved_name() ; |
1693 | | const std::string& reserved_name(int index) const; |
1694 | | std::string* mutable_reserved_name(int index); |
1695 | | void set_reserved_name(int index, const std::string& value); |
1696 | | void set_reserved_name(int index, std::string&& value); |
1697 | | void set_reserved_name(int index, const char* value); |
1698 | | void set_reserved_name(int index, const char* value, std::size_t size); |
1699 | | void set_reserved_name(int index, absl::string_view value); |
1700 | | std::string* add_reserved_name(); |
1701 | | void add_reserved_name(const std::string& value); |
1702 | | void add_reserved_name(std::string&& value); |
1703 | | void add_reserved_name(const char* value); |
1704 | | void add_reserved_name(const char* value, std::size_t size); |
1705 | | void add_reserved_name(absl::string_view value); |
1706 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; |
1707 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); |
1708 | | |
1709 | | private: |
1710 | | const std::string& _internal_reserved_name(int index) const; |
1711 | | std::string* _internal_add_reserved_name(); |
1712 | | |
1713 | | public: |
1714 | | // optional string name = 1; |
1715 | | bool has_name() const; |
1716 | | void clear_name() ; |
1717 | | const std::string& name() const; |
1718 | | |
1719 | | |
1720 | | |
1721 | | |
1722 | | template <typename Arg_ = const std::string&, typename... Args_> |
1723 | | void set_name(Arg_&& arg, Args_... args); |
1724 | | std::string* mutable_name(); |
1725 | | PROTOBUF_NODISCARD std::string* release_name(); |
1726 | | void set_allocated_name(std::string* ptr); |
1727 | | |
1728 | | private: |
1729 | | const std::string& _internal_name() const; |
1730 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
1731 | | const std::string& value); |
1732 | | std::string* _internal_mutable_name(); |
1733 | | |
1734 | | public: |
1735 | | // optional .google.protobuf.MessageOptions options = 7; |
1736 | | bool has_options() const; |
1737 | | void clear_options() ; |
1738 | | const ::PROTOBUF_NAMESPACE_ID::MessageOptions& options() const; |
1739 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MessageOptions* release_options(); |
1740 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options(); |
1741 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options); |
1742 | | private: |
1743 | | const ::PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const; |
1744 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options(); |
1745 | | public: |
1746 | | void unsafe_arena_set_allocated_options( |
1747 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options); |
1748 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options(); |
1749 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
1750 | | private: |
1751 | | class _Internal; |
1752 | | |
1753 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1754 | | typedef void InternalArenaConstructable_; |
1755 | | typedef void DestructorSkippable_; |
1756 | | struct Impl_ { |
1757 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1758 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1759 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_; |
1760 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_; |
1761 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; |
1762 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_; |
1763 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; |
1764 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_; |
1765 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_; |
1766 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; |
1767 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
1768 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options_; |
1769 | | }; |
1770 | | union { Impl_ _impl_; }; |
1771 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1772 | | };// ------------------------------------------------------------------- |
1773 | | |
1774 | | class PROTOBUF_EXPORT ExtensionRangeOptions final : |
1775 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ { |
1776 | | public: |
1777 | 0 | inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {} |
1778 | | ~ExtensionRangeOptions() override; |
1779 | | explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1780 | | |
1781 | | ExtensionRangeOptions(const ExtensionRangeOptions& from); |
1782 | | ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept |
1783 | 0 | : ExtensionRangeOptions() { |
1784 | 0 | *this = ::std::move(from); |
1785 | 0 | } |
1786 | | |
1787 | 0 | inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { |
1788 | 0 | CopyFrom(from); |
1789 | 0 | return *this; |
1790 | 0 | } |
1791 | 0 | inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
1792 | 0 | if (this == &from) return *this; |
1793 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1794 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1795 | 0 | && GetOwningArena() != nullptr |
1796 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1797 | 0 | ) { |
1798 | 0 | InternalSwap(&from); |
1799 | 0 | } else { |
1800 | 0 | CopyFrom(from); |
1801 | 0 | } |
1802 | 0 | return *this; |
1803 | 0 | } |
1804 | | |
1805 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1806 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1807 | 0 | } |
1808 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1809 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1810 | 0 | } |
1811 | | |
1812 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1813 | 0 | return GetDescriptor(); |
1814 | 0 | } |
1815 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1816 | 0 | return default_instance().GetMetadata().descriptor; |
1817 | 0 | } |
1818 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1819 | 0 | return default_instance().GetMetadata().reflection; |
1820 | 0 | } |
1821 | 0 | static const ExtensionRangeOptions& default_instance() { |
1822 | 0 | return *internal_default_instance(); |
1823 | 0 | } |
1824 | 0 | static inline const ExtensionRangeOptions* internal_default_instance() { |
1825 | 0 | return reinterpret_cast<const ExtensionRangeOptions*>( |
1826 | 0 | &_ExtensionRangeOptions_default_instance_); |
1827 | 0 | } |
1828 | | static constexpr int kIndexInFileMessages = |
1829 | | 5; |
1830 | | |
1831 | 0 | friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { |
1832 | 0 | a.Swap(&b); |
1833 | 0 | } |
1834 | 0 | inline void Swap(ExtensionRangeOptions* other) { |
1835 | 0 | if (other == this) return; |
1836 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1837 | 0 | if (GetOwningArena() != nullptr && |
1838 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1839 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1840 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1841 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1842 | 0 | InternalSwap(other); |
1843 | 0 | } else { |
1844 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1845 | 0 | } |
1846 | 0 | } |
1847 | 0 | void UnsafeArenaSwap(ExtensionRangeOptions* other) { |
1848 | 0 | if (other == this) return; |
1849 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1850 | 0 | InternalSwap(other); |
1851 | 0 | } |
1852 | | |
1853 | | // implements Message ---------------------------------------------- |
1854 | | |
1855 | 0 | ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1856 | 0 | return CreateMaybeMessage<ExtensionRangeOptions>(arena); |
1857 | 0 | } |
1858 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1859 | | void CopyFrom(const ExtensionRangeOptions& from); |
1860 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1861 | 0 | void MergeFrom( const ExtensionRangeOptions& from) { |
1862 | 0 | ExtensionRangeOptions::MergeImpl(*this, from); |
1863 | 0 | } |
1864 | | private: |
1865 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1866 | | public: |
1867 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1868 | | bool IsInitialized() const final; |
1869 | | |
1870 | | ::size_t ByteSizeLong() const final; |
1871 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1872 | | ::uint8_t* _InternalSerialize( |
1873 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1874 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1875 | | |
1876 | | private: |
1877 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1878 | | void SharedDtor(); |
1879 | | void SetCachedSize(int size) const final; |
1880 | | void InternalSwap(ExtensionRangeOptions* other); |
1881 | | |
1882 | | private: |
1883 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1884 | 0 | static ::absl::string_view FullMessageName() { |
1885 | 0 | return "google.protobuf.ExtensionRangeOptions"; |
1886 | 0 | } |
1887 | | protected: |
1888 | | explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1889 | | public: |
1890 | | |
1891 | | static const ClassData _class_data_; |
1892 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1893 | | |
1894 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1895 | | |
1896 | | // nested types ---------------------------------------------------- |
1897 | | |
1898 | | // accessors ------------------------------------------------------- |
1899 | | |
1900 | | enum : int { |
1901 | | kUninterpretedOptionFieldNumber = 999, |
1902 | | }; |
1903 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
1904 | | int uninterpreted_option_size() const; |
1905 | | private: |
1906 | | int _internal_uninterpreted_option_size() const; |
1907 | | |
1908 | | public: |
1909 | | void clear_uninterpreted_option() ; |
1910 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
1911 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
1912 | | mutable_uninterpreted_option(); |
1913 | | private: |
1914 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
1915 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
1916 | | public: |
1917 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
1918 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
1919 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
1920 | | uninterpreted_option() const; |
1921 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1922 | | bool _is_packed> |
1923 | | inline bool HasExtension( |
1924 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1925 | | _field_type, _is_packed>& id) const { |
1926 | | return _impl_._extensions_.Has(id.number()); |
1927 | | } |
1928 | | |
1929 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1930 | | bool _is_packed> |
1931 | | inline void ClearExtension( |
1932 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1933 | | _field_type, _is_packed>& id) { |
1934 | | _impl_._extensions_.ClearExtension(id.number()); |
1935 | | } |
1936 | | |
1937 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1938 | | bool _is_packed> |
1939 | | inline int ExtensionSize( |
1940 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1941 | | _field_type, _is_packed>& id) const { |
1942 | | return _impl_._extensions_.ExtensionSize(id.number()); |
1943 | | } |
1944 | | |
1945 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1946 | | bool _is_packed> |
1947 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
1948 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1949 | | _field_type, _is_packed>& id) const { |
1950 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
1951 | | } |
1952 | | |
1953 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1954 | | bool _is_packed> |
1955 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
1956 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1957 | | _field_type, _is_packed>& id) { |
1958 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
1959 | | } |
1960 | | |
1961 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1962 | | bool _is_packed> |
1963 | | inline void SetExtension( |
1964 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1965 | | _field_type, _is_packed>& id, |
1966 | | typename _proto_TypeTraits::Singular::ConstType value) { |
1967 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
1968 | | } |
1969 | | |
1970 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1971 | | bool _is_packed> |
1972 | | inline void SetAllocatedExtension( |
1973 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1974 | | _field_type, _is_packed>& id, |
1975 | | typename _proto_TypeTraits::Singular::MutableType value) { |
1976 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
1977 | | &_impl_._extensions_); |
1978 | | } |
1979 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1980 | | bool _is_packed> |
1981 | | inline void UnsafeArenaSetAllocatedExtension( |
1982 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1983 | | _field_type, _is_packed>& id, |
1984 | | typename _proto_TypeTraits::Singular::MutableType value) { |
1985 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
1986 | | value, &_impl_._extensions_); |
1987 | | } |
1988 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1989 | | bool _is_packed> |
1990 | | PROTOBUF_NODISCARD inline |
1991 | | typename _proto_TypeTraits::Singular::MutableType |
1992 | | ReleaseExtension( |
1993 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
1994 | | _field_type, _is_packed>& id) { |
1995 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
1996 | | } |
1997 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1998 | | bool _is_packed> |
1999 | | inline typename _proto_TypeTraits::Singular::MutableType |
2000 | | UnsafeArenaReleaseExtension( |
2001 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2002 | | _field_type, _is_packed>& id) { |
2003 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
2004 | | &_impl_._extensions_); |
2005 | | } |
2006 | | |
2007 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2008 | | bool _is_packed> |
2009 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
2010 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2011 | | _field_type, _is_packed>& id, |
2012 | | int index) const { |
2013 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
2014 | | } |
2015 | | |
2016 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2017 | | bool _is_packed> |
2018 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
2019 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2020 | | _field_type, _is_packed>& id, |
2021 | | int index) { |
2022 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
2023 | | } |
2024 | | |
2025 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2026 | | bool _is_packed> |
2027 | | inline void SetExtension( |
2028 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2029 | | _field_type, _is_packed>& id, |
2030 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
2031 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
2032 | | } |
2033 | | |
2034 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2035 | | bool _is_packed> |
2036 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
2037 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2038 | | _field_type, _is_packed>& id) { |
2039 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
2040 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
2041 | | return to_add; |
2042 | | } |
2043 | | |
2044 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2045 | | bool _is_packed> |
2046 | | inline void AddExtension( |
2047 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2048 | | _field_type, _is_packed>& id, |
2049 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
2050 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
2051 | | &_impl_._extensions_); |
2052 | | } |
2053 | | |
2054 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2055 | | bool _is_packed> |
2056 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
2057 | | GetRepeatedExtension( |
2058 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2059 | | _field_type, _is_packed>& id) const { |
2060 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
2061 | | } |
2062 | | |
2063 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
2064 | | bool _is_packed> |
2065 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
2066 | | MutableRepeatedExtension( |
2067 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits, |
2068 | | _field_type, _is_packed>& id) { |
2069 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
2070 | | _is_packed, &_impl_._extensions_); |
2071 | | } |
2072 | | // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) |
2073 | | private: |
2074 | | class _Internal; |
2075 | | |
2076 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2077 | | typedef void InternalArenaConstructable_; |
2078 | | typedef void DestructorSkippable_; |
2079 | | struct Impl_ { |
2080 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
2081 | | |
2082 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
2083 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2084 | | }; |
2085 | | union { Impl_ _impl_; }; |
2086 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2087 | | };// ------------------------------------------------------------------- |
2088 | | |
2089 | | class PROTOBUF_EXPORT FieldDescriptorProto final : |
2090 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { |
2091 | | public: |
2092 | 0 | inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {} |
2093 | | ~FieldDescriptorProto() override; |
2094 | | explicit PROTOBUF_CONSTEXPR FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2095 | | |
2096 | | FieldDescriptorProto(const FieldDescriptorProto& from); |
2097 | | FieldDescriptorProto(FieldDescriptorProto&& from) noexcept |
2098 | 0 | : FieldDescriptorProto() { |
2099 | 0 | *this = ::std::move(from); |
2100 | 0 | } |
2101 | | |
2102 | 0 | inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
2103 | 0 | CopyFrom(from); |
2104 | 0 | return *this; |
2105 | 0 | } |
2106 | 0 | inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
2107 | 0 | if (this == &from) return *this; |
2108 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2109 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2110 | 0 | && GetOwningArena() != nullptr |
2111 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2112 | 0 | ) { |
2113 | 0 | InternalSwap(&from); |
2114 | 0 | } else { |
2115 | 0 | CopyFrom(from); |
2116 | 0 | } |
2117 | 0 | return *this; |
2118 | 0 | } |
2119 | | |
2120 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2121 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2122 | 0 | } |
2123 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2124 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2125 | 0 | } |
2126 | | |
2127 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2128 | 0 | return GetDescriptor(); |
2129 | 0 | } |
2130 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2131 | 0 | return default_instance().GetMetadata().descriptor; |
2132 | 0 | } |
2133 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2134 | 0 | return default_instance().GetMetadata().reflection; |
2135 | 0 | } |
2136 | 0 | static const FieldDescriptorProto& default_instance() { |
2137 | 0 | return *internal_default_instance(); |
2138 | 0 | } |
2139 | 0 | static inline const FieldDescriptorProto* internal_default_instance() { |
2140 | 0 | return reinterpret_cast<const FieldDescriptorProto*>( |
2141 | 0 | &_FieldDescriptorProto_default_instance_); |
2142 | 0 | } |
2143 | | static constexpr int kIndexInFileMessages = |
2144 | | 6; |
2145 | | |
2146 | 0 | friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { |
2147 | 0 | a.Swap(&b); |
2148 | 0 | } |
2149 | 0 | inline void Swap(FieldDescriptorProto* other) { |
2150 | 0 | if (other == this) return; |
2151 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2152 | 0 | if (GetOwningArena() != nullptr && |
2153 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2154 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2155 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2156 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2157 | 0 | InternalSwap(other); |
2158 | 0 | } else { |
2159 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2160 | 0 | } |
2161 | 0 | } |
2162 | 0 | void UnsafeArenaSwap(FieldDescriptorProto* other) { |
2163 | 0 | if (other == this) return; |
2164 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2165 | 0 | InternalSwap(other); |
2166 | 0 | } |
2167 | | |
2168 | | // implements Message ---------------------------------------------- |
2169 | | |
2170 | 0 | FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2171 | 0 | return CreateMaybeMessage<FieldDescriptorProto>(arena); |
2172 | 0 | } |
2173 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2174 | | void CopyFrom(const FieldDescriptorProto& from); |
2175 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2176 | 0 | void MergeFrom( const FieldDescriptorProto& from) { |
2177 | 0 | FieldDescriptorProto::MergeImpl(*this, from); |
2178 | 0 | } |
2179 | | private: |
2180 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2181 | | public: |
2182 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2183 | | bool IsInitialized() const final; |
2184 | | |
2185 | | ::size_t ByteSizeLong() const final; |
2186 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2187 | | ::uint8_t* _InternalSerialize( |
2188 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2189 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2190 | | |
2191 | | private: |
2192 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2193 | | void SharedDtor(); |
2194 | | void SetCachedSize(int size) const final; |
2195 | | void InternalSwap(FieldDescriptorProto* other); |
2196 | | |
2197 | | private: |
2198 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2199 | 0 | static ::absl::string_view FullMessageName() { |
2200 | 0 | return "google.protobuf.FieldDescriptorProto"; |
2201 | 0 | } |
2202 | | protected: |
2203 | | explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2204 | | public: |
2205 | | |
2206 | | static const ClassData _class_data_; |
2207 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2208 | | |
2209 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2210 | | |
2211 | | // nested types ---------------------------------------------------- |
2212 | | |
2213 | | using Type = FieldDescriptorProto_Type; |
2214 | | static constexpr Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE; |
2215 | | static constexpr Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT; |
2216 | | static constexpr Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64; |
2217 | | static constexpr Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64; |
2218 | | static constexpr Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32; |
2219 | | static constexpr Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64; |
2220 | | static constexpr Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32; |
2221 | | static constexpr Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL; |
2222 | | static constexpr Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING; |
2223 | | static constexpr Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP; |
2224 | | static constexpr Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE; |
2225 | | static constexpr Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES; |
2226 | | static constexpr Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32; |
2227 | | static constexpr Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM; |
2228 | | static constexpr Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32; |
2229 | | static constexpr Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64; |
2230 | | static constexpr Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32; |
2231 | | static constexpr Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64; |
2232 | 0 | static inline bool Type_IsValid(int value) { |
2233 | 0 | return FieldDescriptorProto_Type_IsValid(value); |
2234 | 0 | } |
2235 | | static constexpr Type Type_MIN = FieldDescriptorProto_Type_Type_MIN; |
2236 | | static constexpr Type Type_MAX = FieldDescriptorProto_Type_Type_MAX; |
2237 | | static constexpr int Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_ARRAYSIZE; |
2238 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Type_descriptor() { |
2239 | 0 | return FieldDescriptorProto_Type_descriptor(); |
2240 | 0 | } |
2241 | | template <typename T> |
2242 | | static inline const std::string& Type_Name(T value) { |
2243 | | return FieldDescriptorProto_Type_Name(value); |
2244 | | } |
2245 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
2246 | 0 | return FieldDescriptorProto_Type_Parse(name, value); |
2247 | 0 | } |
2248 | | |
2249 | | using Label = FieldDescriptorProto_Label; |
2250 | | static constexpr Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
2251 | | static constexpr Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED; |
2252 | | static constexpr Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED; |
2253 | 0 | static inline bool Label_IsValid(int value) { |
2254 | 0 | return FieldDescriptorProto_Label_IsValid(value); |
2255 | 0 | } |
2256 | | static constexpr Label Label_MIN = FieldDescriptorProto_Label_Label_MIN; |
2257 | | static constexpr Label Label_MAX = FieldDescriptorProto_Label_Label_MAX; |
2258 | | static constexpr int Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_ARRAYSIZE; |
2259 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Label_descriptor() { |
2260 | 0 | return FieldDescriptorProto_Label_descriptor(); |
2261 | 0 | } |
2262 | | template <typename T> |
2263 | | static inline const std::string& Label_Name(T value) { |
2264 | | return FieldDescriptorProto_Label_Name(value); |
2265 | | } |
2266 | 0 | static inline bool Label_Parse(absl::string_view name, Label* value) { |
2267 | 0 | return FieldDescriptorProto_Label_Parse(name, value); |
2268 | 0 | } |
2269 | | |
2270 | | // accessors ------------------------------------------------------- |
2271 | | |
2272 | | enum : int { |
2273 | | kNameFieldNumber = 1, |
2274 | | kExtendeeFieldNumber = 2, |
2275 | | kTypeNameFieldNumber = 6, |
2276 | | kDefaultValueFieldNumber = 7, |
2277 | | kJsonNameFieldNumber = 10, |
2278 | | kOptionsFieldNumber = 8, |
2279 | | kNumberFieldNumber = 3, |
2280 | | kOneofIndexFieldNumber = 9, |
2281 | | kProto3OptionalFieldNumber = 17, |
2282 | | kLabelFieldNumber = 4, |
2283 | | kTypeFieldNumber = 5, |
2284 | | }; |
2285 | | // optional string name = 1; |
2286 | | bool has_name() const; |
2287 | | void clear_name() ; |
2288 | | const std::string& name() const; |
2289 | | |
2290 | | |
2291 | | |
2292 | | |
2293 | | template <typename Arg_ = const std::string&, typename... Args_> |
2294 | | void set_name(Arg_&& arg, Args_... args); |
2295 | | std::string* mutable_name(); |
2296 | | PROTOBUF_NODISCARD std::string* release_name(); |
2297 | | void set_allocated_name(std::string* ptr); |
2298 | | |
2299 | | private: |
2300 | | const std::string& _internal_name() const; |
2301 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
2302 | | const std::string& value); |
2303 | | std::string* _internal_mutable_name(); |
2304 | | |
2305 | | public: |
2306 | | // optional string extendee = 2; |
2307 | | bool has_extendee() const; |
2308 | | void clear_extendee() ; |
2309 | | const std::string& extendee() const; |
2310 | | |
2311 | | |
2312 | | |
2313 | | |
2314 | | template <typename Arg_ = const std::string&, typename... Args_> |
2315 | | void set_extendee(Arg_&& arg, Args_... args); |
2316 | | std::string* mutable_extendee(); |
2317 | | PROTOBUF_NODISCARD std::string* release_extendee(); |
2318 | | void set_allocated_extendee(std::string* ptr); |
2319 | | |
2320 | | private: |
2321 | | const std::string& _internal_extendee() const; |
2322 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee( |
2323 | | const std::string& value); |
2324 | | std::string* _internal_mutable_extendee(); |
2325 | | |
2326 | | public: |
2327 | | // optional string type_name = 6; |
2328 | | bool has_type_name() const; |
2329 | | void clear_type_name() ; |
2330 | | const std::string& type_name() const; |
2331 | | |
2332 | | |
2333 | | |
2334 | | |
2335 | | template <typename Arg_ = const std::string&, typename... Args_> |
2336 | | void set_type_name(Arg_&& arg, Args_... args); |
2337 | | std::string* mutable_type_name(); |
2338 | | PROTOBUF_NODISCARD std::string* release_type_name(); |
2339 | | void set_allocated_type_name(std::string* ptr); |
2340 | | |
2341 | | private: |
2342 | | const std::string& _internal_type_name() const; |
2343 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name( |
2344 | | const std::string& value); |
2345 | | std::string* _internal_mutable_type_name(); |
2346 | | |
2347 | | public: |
2348 | | // optional string default_value = 7; |
2349 | | bool has_default_value() const; |
2350 | | void clear_default_value() ; |
2351 | | const std::string& default_value() const; |
2352 | | |
2353 | | |
2354 | | |
2355 | | |
2356 | | template <typename Arg_ = const std::string&, typename... Args_> |
2357 | | void set_default_value(Arg_&& arg, Args_... args); |
2358 | | std::string* mutable_default_value(); |
2359 | | PROTOBUF_NODISCARD std::string* release_default_value(); |
2360 | | void set_allocated_default_value(std::string* ptr); |
2361 | | |
2362 | | private: |
2363 | | const std::string& _internal_default_value() const; |
2364 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value( |
2365 | | const std::string& value); |
2366 | | std::string* _internal_mutable_default_value(); |
2367 | | |
2368 | | public: |
2369 | | // optional string json_name = 10; |
2370 | | bool has_json_name() const; |
2371 | | void clear_json_name() ; |
2372 | | const std::string& json_name() const; |
2373 | | |
2374 | | |
2375 | | |
2376 | | |
2377 | | template <typename Arg_ = const std::string&, typename... Args_> |
2378 | | void set_json_name(Arg_&& arg, Args_... args); |
2379 | | std::string* mutable_json_name(); |
2380 | | PROTOBUF_NODISCARD std::string* release_json_name(); |
2381 | | void set_allocated_json_name(std::string* ptr); |
2382 | | |
2383 | | private: |
2384 | | const std::string& _internal_json_name() const; |
2385 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name( |
2386 | | const std::string& value); |
2387 | | std::string* _internal_mutable_json_name(); |
2388 | | |
2389 | | public: |
2390 | | // optional .google.protobuf.FieldOptions options = 8; |
2391 | | bool has_options() const; |
2392 | | void clear_options() ; |
2393 | | const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const; |
2394 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options(); |
2395 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options(); |
2396 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options); |
2397 | | private: |
2398 | | const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const; |
2399 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options(); |
2400 | | public: |
2401 | | void unsafe_arena_set_allocated_options( |
2402 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options); |
2403 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options(); |
2404 | | // optional int32 number = 3; |
2405 | | bool has_number() const; |
2406 | | void clear_number() ; |
2407 | | ::int32_t number() const; |
2408 | | void set_number(::int32_t value); |
2409 | | |
2410 | | private: |
2411 | | ::int32_t _internal_number() const; |
2412 | | void _internal_set_number(::int32_t value); |
2413 | | |
2414 | | public: |
2415 | | // optional int32 oneof_index = 9; |
2416 | | bool has_oneof_index() const; |
2417 | | void clear_oneof_index() ; |
2418 | | ::int32_t oneof_index() const; |
2419 | | void set_oneof_index(::int32_t value); |
2420 | | |
2421 | | private: |
2422 | | ::int32_t _internal_oneof_index() const; |
2423 | | void _internal_set_oneof_index(::int32_t value); |
2424 | | |
2425 | | public: |
2426 | | // optional bool proto3_optional = 17; |
2427 | | bool has_proto3_optional() const; |
2428 | | void clear_proto3_optional() ; |
2429 | | bool proto3_optional() const; |
2430 | | void set_proto3_optional(bool value); |
2431 | | |
2432 | | private: |
2433 | | bool _internal_proto3_optional() const; |
2434 | | void _internal_set_proto3_optional(bool value); |
2435 | | |
2436 | | public: |
2437 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
2438 | | bool has_label() const; |
2439 | | void clear_label() ; |
2440 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const; |
2441 | | void set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); |
2442 | | |
2443 | | private: |
2444 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const; |
2445 | | void _internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); |
2446 | | |
2447 | | public: |
2448 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
2449 | | bool has_type() const; |
2450 | | void clear_type() ; |
2451 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const; |
2452 | | void set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); |
2453 | | |
2454 | | private: |
2455 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const; |
2456 | | void _internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); |
2457 | | |
2458 | | public: |
2459 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
2460 | | private: |
2461 | | class _Internal; |
2462 | | |
2463 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2464 | | typedef void InternalArenaConstructable_; |
2465 | | typedef void DestructorSkippable_; |
2466 | | struct Impl_ { |
2467 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2468 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2469 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
2470 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_; |
2471 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_; |
2472 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_; |
2473 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_; |
2474 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options_; |
2475 | | ::int32_t number_; |
2476 | | ::int32_t oneof_index_; |
2477 | | bool proto3_optional_; |
2478 | | int label_; |
2479 | | int type_; |
2480 | | }; |
2481 | | union { Impl_ _impl_; }; |
2482 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2483 | | };// ------------------------------------------------------------------- |
2484 | | |
2485 | | class PROTOBUF_EXPORT OneofDescriptorProto final : |
2486 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ { |
2487 | | public: |
2488 | 0 | inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {} |
2489 | | ~OneofDescriptorProto() override; |
2490 | | explicit PROTOBUF_CONSTEXPR OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2491 | | |
2492 | | OneofDescriptorProto(const OneofDescriptorProto& from); |
2493 | | OneofDescriptorProto(OneofDescriptorProto&& from) noexcept |
2494 | 0 | : OneofDescriptorProto() { |
2495 | 0 | *this = ::std::move(from); |
2496 | 0 | } |
2497 | | |
2498 | 0 | inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
2499 | 0 | CopyFrom(from); |
2500 | 0 | return *this; |
2501 | 0 | } |
2502 | 0 | inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
2503 | 0 | if (this == &from) return *this; |
2504 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2505 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2506 | 0 | && GetOwningArena() != nullptr |
2507 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2508 | 0 | ) { |
2509 | 0 | InternalSwap(&from); |
2510 | 0 | } else { |
2511 | 0 | CopyFrom(from); |
2512 | 0 | } |
2513 | 0 | return *this; |
2514 | 0 | } |
2515 | | |
2516 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2517 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2518 | 0 | } |
2519 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2520 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2521 | 0 | } |
2522 | | |
2523 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2524 | 0 | return GetDescriptor(); |
2525 | 0 | } |
2526 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2527 | 0 | return default_instance().GetMetadata().descriptor; |
2528 | 0 | } |
2529 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2530 | 0 | return default_instance().GetMetadata().reflection; |
2531 | 0 | } |
2532 | 0 | static const OneofDescriptorProto& default_instance() { |
2533 | 0 | return *internal_default_instance(); |
2534 | 0 | } |
2535 | 0 | static inline const OneofDescriptorProto* internal_default_instance() { |
2536 | 0 | return reinterpret_cast<const OneofDescriptorProto*>( |
2537 | 0 | &_OneofDescriptorProto_default_instance_); |
2538 | 0 | } |
2539 | | static constexpr int kIndexInFileMessages = |
2540 | | 7; |
2541 | | |
2542 | 0 | friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { |
2543 | 0 | a.Swap(&b); |
2544 | 0 | } |
2545 | 0 | inline void Swap(OneofDescriptorProto* other) { |
2546 | 0 | if (other == this) return; |
2547 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2548 | 0 | if (GetOwningArena() != nullptr && |
2549 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2550 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2551 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2552 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2553 | 0 | InternalSwap(other); |
2554 | 0 | } else { |
2555 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2556 | 0 | } |
2557 | 0 | } |
2558 | 0 | void UnsafeArenaSwap(OneofDescriptorProto* other) { |
2559 | 0 | if (other == this) return; |
2560 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2561 | 0 | InternalSwap(other); |
2562 | 0 | } |
2563 | | |
2564 | | // implements Message ---------------------------------------------- |
2565 | | |
2566 | 0 | OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2567 | 0 | return CreateMaybeMessage<OneofDescriptorProto>(arena); |
2568 | 0 | } |
2569 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2570 | | void CopyFrom(const OneofDescriptorProto& from); |
2571 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2572 | 0 | void MergeFrom( const OneofDescriptorProto& from) { |
2573 | 0 | OneofDescriptorProto::MergeImpl(*this, from); |
2574 | 0 | } |
2575 | | private: |
2576 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2577 | | public: |
2578 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2579 | | bool IsInitialized() const final; |
2580 | | |
2581 | | ::size_t ByteSizeLong() const final; |
2582 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2583 | | ::uint8_t* _InternalSerialize( |
2584 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2585 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2586 | | |
2587 | | private: |
2588 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2589 | | void SharedDtor(); |
2590 | | void SetCachedSize(int size) const final; |
2591 | | void InternalSwap(OneofDescriptorProto* other); |
2592 | | |
2593 | | private: |
2594 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2595 | 0 | static ::absl::string_view FullMessageName() { |
2596 | 0 | return "google.protobuf.OneofDescriptorProto"; |
2597 | 0 | } |
2598 | | protected: |
2599 | | explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2600 | | public: |
2601 | | |
2602 | | static const ClassData _class_data_; |
2603 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2604 | | |
2605 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2606 | | |
2607 | | // nested types ---------------------------------------------------- |
2608 | | |
2609 | | // accessors ------------------------------------------------------- |
2610 | | |
2611 | | enum : int { |
2612 | | kNameFieldNumber = 1, |
2613 | | kOptionsFieldNumber = 2, |
2614 | | }; |
2615 | | // optional string name = 1; |
2616 | | bool has_name() const; |
2617 | | void clear_name() ; |
2618 | | const std::string& name() const; |
2619 | | |
2620 | | |
2621 | | |
2622 | | |
2623 | | template <typename Arg_ = const std::string&, typename... Args_> |
2624 | | void set_name(Arg_&& arg, Args_... args); |
2625 | | std::string* mutable_name(); |
2626 | | PROTOBUF_NODISCARD std::string* release_name(); |
2627 | | void set_allocated_name(std::string* ptr); |
2628 | | |
2629 | | private: |
2630 | | const std::string& _internal_name() const; |
2631 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
2632 | | const std::string& value); |
2633 | | std::string* _internal_mutable_name(); |
2634 | | |
2635 | | public: |
2636 | | // optional .google.protobuf.OneofOptions options = 2; |
2637 | | bool has_options() const; |
2638 | | void clear_options() ; |
2639 | | const ::PROTOBUF_NAMESPACE_ID::OneofOptions& options() const; |
2640 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::OneofOptions* release_options(); |
2641 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options(); |
2642 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options); |
2643 | | private: |
2644 | | const ::PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const; |
2645 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options(); |
2646 | | public: |
2647 | | void unsafe_arena_set_allocated_options( |
2648 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options); |
2649 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options(); |
2650 | | // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
2651 | | private: |
2652 | | class _Internal; |
2653 | | |
2654 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2655 | | typedef void InternalArenaConstructable_; |
2656 | | typedef void DestructorSkippable_; |
2657 | | struct Impl_ { |
2658 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2659 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2660 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
2661 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options_; |
2662 | | }; |
2663 | | union { Impl_ _impl_; }; |
2664 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2665 | | };// ------------------------------------------------------------------- |
2666 | | |
2667 | | class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : |
2668 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ { |
2669 | | public: |
2670 | 0 | inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {} |
2671 | | ~EnumDescriptorProto_EnumReservedRange() override; |
2672 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2673 | | |
2674 | | EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from); |
2675 | | EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept |
2676 | 0 | : EnumDescriptorProto_EnumReservedRange() { |
2677 | 0 | *this = ::std::move(from); |
2678 | 0 | } |
2679 | | |
2680 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { |
2681 | 0 | CopyFrom(from); |
2682 | 0 | return *this; |
2683 | 0 | } |
2684 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
2685 | 0 | if (this == &from) return *this; |
2686 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2687 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2688 | 0 | && GetOwningArena() != nullptr |
2689 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2690 | 0 | ) { |
2691 | 0 | InternalSwap(&from); |
2692 | 0 | } else { |
2693 | 0 | CopyFrom(from); |
2694 | 0 | } |
2695 | 0 | return *this; |
2696 | 0 | } |
2697 | | |
2698 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2699 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2700 | 0 | } |
2701 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2702 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2703 | 0 | } |
2704 | | |
2705 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2706 | 0 | return GetDescriptor(); |
2707 | 0 | } |
2708 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2709 | 0 | return default_instance().GetMetadata().descriptor; |
2710 | 0 | } |
2711 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2712 | 0 | return default_instance().GetMetadata().reflection; |
2713 | 0 | } |
2714 | 0 | static const EnumDescriptorProto_EnumReservedRange& default_instance() { |
2715 | 0 | return *internal_default_instance(); |
2716 | 0 | } |
2717 | 0 | static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { |
2718 | 0 | return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( |
2719 | 0 | &_EnumDescriptorProto_EnumReservedRange_default_instance_); |
2720 | 0 | } |
2721 | | static constexpr int kIndexInFileMessages = |
2722 | | 8; |
2723 | | |
2724 | 0 | friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { |
2725 | 0 | a.Swap(&b); |
2726 | 0 | } |
2727 | 0 | inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { |
2728 | 0 | if (other == this) return; |
2729 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2730 | 0 | if (GetOwningArena() != nullptr && |
2731 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2732 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2733 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2734 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2735 | 0 | InternalSwap(other); |
2736 | 0 | } else { |
2737 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2738 | 0 | } |
2739 | 0 | } |
2740 | 0 | void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) { |
2741 | 0 | if (other == this) return; |
2742 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2743 | 0 | InternalSwap(other); |
2744 | 0 | } |
2745 | | |
2746 | | // implements Message ---------------------------------------------- |
2747 | | |
2748 | 0 | EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2749 | 0 | return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena); |
2750 | 0 | } |
2751 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2752 | | void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); |
2753 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2754 | 0 | void MergeFrom( const EnumDescriptorProto_EnumReservedRange& from) { |
2755 | 0 | EnumDescriptorProto_EnumReservedRange::MergeImpl(*this, from); |
2756 | 0 | } |
2757 | | private: |
2758 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2759 | | public: |
2760 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2761 | | bool IsInitialized() const final; |
2762 | | |
2763 | | ::size_t ByteSizeLong() const final; |
2764 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2765 | | ::uint8_t* _InternalSerialize( |
2766 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2767 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2768 | | |
2769 | | private: |
2770 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2771 | | void SharedDtor(); |
2772 | | void SetCachedSize(int size) const final; |
2773 | | void InternalSwap(EnumDescriptorProto_EnumReservedRange* other); |
2774 | | |
2775 | | private: |
2776 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2777 | 0 | static ::absl::string_view FullMessageName() { |
2778 | 0 | return "google.protobuf.EnumDescriptorProto.EnumReservedRange"; |
2779 | 0 | } |
2780 | | protected: |
2781 | | explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2782 | | public: |
2783 | | |
2784 | | static const ClassData _class_data_; |
2785 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2786 | | |
2787 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2788 | | |
2789 | | // nested types ---------------------------------------------------- |
2790 | | |
2791 | | // accessors ------------------------------------------------------- |
2792 | | |
2793 | | enum : int { |
2794 | | kStartFieldNumber = 1, |
2795 | | kEndFieldNumber = 2, |
2796 | | }; |
2797 | | // optional int32 start = 1; |
2798 | | bool has_start() const; |
2799 | | void clear_start() ; |
2800 | | ::int32_t start() const; |
2801 | | void set_start(::int32_t value); |
2802 | | |
2803 | | private: |
2804 | | ::int32_t _internal_start() const; |
2805 | | void _internal_set_start(::int32_t value); |
2806 | | |
2807 | | public: |
2808 | | // optional int32 end = 2; |
2809 | | bool has_end() const; |
2810 | | void clear_end() ; |
2811 | | ::int32_t end() const; |
2812 | | void set_end(::int32_t value); |
2813 | | |
2814 | | private: |
2815 | | ::int32_t _internal_end() const; |
2816 | | void _internal_set_end(::int32_t value); |
2817 | | |
2818 | | public: |
2819 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange) |
2820 | | private: |
2821 | | class _Internal; |
2822 | | |
2823 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2824 | | typedef void InternalArenaConstructable_; |
2825 | | typedef void DestructorSkippable_; |
2826 | | struct Impl_ { |
2827 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2828 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2829 | | ::int32_t start_; |
2830 | | ::int32_t end_; |
2831 | | }; |
2832 | | union { Impl_ _impl_; }; |
2833 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2834 | | };// ------------------------------------------------------------------- |
2835 | | |
2836 | | class PROTOBUF_EXPORT EnumDescriptorProto final : |
2837 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { |
2838 | | public: |
2839 | 0 | inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} |
2840 | | ~EnumDescriptorProto() override; |
2841 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2842 | | |
2843 | | EnumDescriptorProto(const EnumDescriptorProto& from); |
2844 | | EnumDescriptorProto(EnumDescriptorProto&& from) noexcept |
2845 | 0 | : EnumDescriptorProto() { |
2846 | 0 | *this = ::std::move(from); |
2847 | 0 | } |
2848 | | |
2849 | 0 | inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
2850 | 0 | CopyFrom(from); |
2851 | 0 | return *this; |
2852 | 0 | } |
2853 | 0 | inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
2854 | 0 | if (this == &from) return *this; |
2855 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2856 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2857 | 0 | && GetOwningArena() != nullptr |
2858 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2859 | 0 | ) { |
2860 | 0 | InternalSwap(&from); |
2861 | 0 | } else { |
2862 | 0 | CopyFrom(from); |
2863 | 0 | } |
2864 | 0 | return *this; |
2865 | 0 | } |
2866 | | |
2867 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2868 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2869 | 0 | } |
2870 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2871 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2872 | 0 | } |
2873 | | |
2874 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2875 | 0 | return GetDescriptor(); |
2876 | 0 | } |
2877 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2878 | 0 | return default_instance().GetMetadata().descriptor; |
2879 | 0 | } |
2880 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2881 | 0 | return default_instance().GetMetadata().reflection; |
2882 | 0 | } |
2883 | 0 | static const EnumDescriptorProto& default_instance() { |
2884 | 0 | return *internal_default_instance(); |
2885 | 0 | } |
2886 | 0 | static inline const EnumDescriptorProto* internal_default_instance() { |
2887 | 0 | return reinterpret_cast<const EnumDescriptorProto*>( |
2888 | 0 | &_EnumDescriptorProto_default_instance_); |
2889 | 0 | } |
2890 | | static constexpr int kIndexInFileMessages = |
2891 | | 9; |
2892 | | |
2893 | 0 | friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { |
2894 | 0 | a.Swap(&b); |
2895 | 0 | } |
2896 | 0 | inline void Swap(EnumDescriptorProto* other) { |
2897 | 0 | if (other == this) return; |
2898 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2899 | 0 | if (GetOwningArena() != nullptr && |
2900 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2901 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2902 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2903 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2904 | 0 | InternalSwap(other); |
2905 | 0 | } else { |
2906 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2907 | 0 | } |
2908 | 0 | } |
2909 | 0 | void UnsafeArenaSwap(EnumDescriptorProto* other) { |
2910 | 0 | if (other == this) return; |
2911 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2912 | 0 | InternalSwap(other); |
2913 | 0 | } |
2914 | | |
2915 | | // implements Message ---------------------------------------------- |
2916 | | |
2917 | 0 | EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2918 | 0 | return CreateMaybeMessage<EnumDescriptorProto>(arena); |
2919 | 0 | } |
2920 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2921 | | void CopyFrom(const EnumDescriptorProto& from); |
2922 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2923 | 0 | void MergeFrom( const EnumDescriptorProto& from) { |
2924 | 0 | EnumDescriptorProto::MergeImpl(*this, from); |
2925 | 0 | } |
2926 | | private: |
2927 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2928 | | public: |
2929 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2930 | | bool IsInitialized() const final; |
2931 | | |
2932 | | ::size_t ByteSizeLong() const final; |
2933 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2934 | | ::uint8_t* _InternalSerialize( |
2935 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2936 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2937 | | |
2938 | | private: |
2939 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2940 | | void SharedDtor(); |
2941 | | void SetCachedSize(int size) const final; |
2942 | | void InternalSwap(EnumDescriptorProto* other); |
2943 | | |
2944 | | private: |
2945 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2946 | 0 | static ::absl::string_view FullMessageName() { |
2947 | 0 | return "google.protobuf.EnumDescriptorProto"; |
2948 | 0 | } |
2949 | | protected: |
2950 | | explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2951 | | public: |
2952 | | |
2953 | | static const ClassData _class_data_; |
2954 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2955 | | |
2956 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2957 | | |
2958 | | // nested types ---------------------------------------------------- |
2959 | | |
2960 | | typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange; |
2961 | | |
2962 | | // accessors ------------------------------------------------------- |
2963 | | |
2964 | | enum : int { |
2965 | | kValueFieldNumber = 2, |
2966 | | kReservedRangeFieldNumber = 4, |
2967 | | kReservedNameFieldNumber = 5, |
2968 | | kNameFieldNumber = 1, |
2969 | | kOptionsFieldNumber = 3, |
2970 | | }; |
2971 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
2972 | | int value_size() const; |
2973 | | private: |
2974 | | int _internal_value_size() const; |
2975 | | |
2976 | | public: |
2977 | | void clear_value() ; |
2978 | | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index); |
2979 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* |
2980 | | mutable_value(); |
2981 | | private: |
2982 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const; |
2983 | | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value(); |
2984 | | public: |
2985 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const; |
2986 | | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value(); |
2987 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& |
2988 | | value() const; |
2989 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
2990 | | int reserved_range_size() const; |
2991 | | private: |
2992 | | int _internal_reserved_range_size() const; |
2993 | | |
2994 | | public: |
2995 | | void clear_reserved_range() ; |
2996 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); |
2997 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* |
2998 | | mutable_reserved_range(); |
2999 | | private: |
3000 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const; |
3001 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range(); |
3002 | | public: |
3003 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; |
3004 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); |
3005 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& |
3006 | | reserved_range() const; |
3007 | | // repeated string reserved_name = 5; |
3008 | | int reserved_name_size() const; |
3009 | | private: |
3010 | | int _internal_reserved_name_size() const; |
3011 | | |
3012 | | public: |
3013 | | void clear_reserved_name() ; |
3014 | | const std::string& reserved_name(int index) const; |
3015 | | std::string* mutable_reserved_name(int index); |
3016 | | void set_reserved_name(int index, const std::string& value); |
3017 | | void set_reserved_name(int index, std::string&& value); |
3018 | | void set_reserved_name(int index, const char* value); |
3019 | | void set_reserved_name(int index, const char* value, std::size_t size); |
3020 | | void set_reserved_name(int index, absl::string_view value); |
3021 | | std::string* add_reserved_name(); |
3022 | | void add_reserved_name(const std::string& value); |
3023 | | void add_reserved_name(std::string&& value); |
3024 | | void add_reserved_name(const char* value); |
3025 | | void add_reserved_name(const char* value, std::size_t size); |
3026 | | void add_reserved_name(absl::string_view value); |
3027 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; |
3028 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); |
3029 | | |
3030 | | private: |
3031 | | const std::string& _internal_reserved_name(int index) const; |
3032 | | std::string* _internal_add_reserved_name(); |
3033 | | |
3034 | | public: |
3035 | | // optional string name = 1; |
3036 | | bool has_name() const; |
3037 | | void clear_name() ; |
3038 | | const std::string& name() const; |
3039 | | |
3040 | | |
3041 | | |
3042 | | |
3043 | | template <typename Arg_ = const std::string&, typename... Args_> |
3044 | | void set_name(Arg_&& arg, Args_... args); |
3045 | | std::string* mutable_name(); |
3046 | | PROTOBUF_NODISCARD std::string* release_name(); |
3047 | | void set_allocated_name(std::string* ptr); |
3048 | | |
3049 | | private: |
3050 | | const std::string& _internal_name() const; |
3051 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
3052 | | const std::string& value); |
3053 | | std::string* _internal_mutable_name(); |
3054 | | |
3055 | | public: |
3056 | | // optional .google.protobuf.EnumOptions options = 3; |
3057 | | bool has_options() const; |
3058 | | void clear_options() ; |
3059 | | const ::PROTOBUF_NAMESPACE_ID::EnumOptions& options() const; |
3060 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumOptions* release_options(); |
3061 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options(); |
3062 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options); |
3063 | | private: |
3064 | | const ::PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const; |
3065 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options(); |
3066 | | public: |
3067 | | void unsafe_arena_set_allocated_options( |
3068 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options); |
3069 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options(); |
3070 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
3071 | | private: |
3072 | | class _Internal; |
3073 | | |
3074 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3075 | | typedef void InternalArenaConstructable_; |
3076 | | typedef void DestructorSkippable_; |
3077 | | struct Impl_ { |
3078 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3079 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3080 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_; |
3081 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_; |
3082 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; |
3083 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3084 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options_; |
3085 | | }; |
3086 | | union { Impl_ _impl_; }; |
3087 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3088 | | };// ------------------------------------------------------------------- |
3089 | | |
3090 | | class PROTOBUF_EXPORT EnumValueDescriptorProto final : |
3091 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { |
3092 | | public: |
3093 | 0 | inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {} |
3094 | | ~EnumValueDescriptorProto() override; |
3095 | | explicit PROTOBUF_CONSTEXPR EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3096 | | |
3097 | | EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
3098 | | EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept |
3099 | 0 | : EnumValueDescriptorProto() { |
3100 | 0 | *this = ::std::move(from); |
3101 | 0 | } |
3102 | | |
3103 | 0 | inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
3104 | 0 | CopyFrom(from); |
3105 | 0 | return *this; |
3106 | 0 | } |
3107 | 0 | inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
3108 | 0 | if (this == &from) return *this; |
3109 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3110 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3111 | 0 | && GetOwningArena() != nullptr |
3112 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3113 | 0 | ) { |
3114 | 0 | InternalSwap(&from); |
3115 | 0 | } else { |
3116 | 0 | CopyFrom(from); |
3117 | 0 | } |
3118 | 0 | return *this; |
3119 | 0 | } |
3120 | | |
3121 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3122 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3123 | 0 | } |
3124 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3125 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3126 | 0 | } |
3127 | | |
3128 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3129 | 0 | return GetDescriptor(); |
3130 | 0 | } |
3131 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3132 | 0 | return default_instance().GetMetadata().descriptor; |
3133 | 0 | } |
3134 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3135 | 0 | return default_instance().GetMetadata().reflection; |
3136 | 0 | } |
3137 | 0 | static const EnumValueDescriptorProto& default_instance() { |
3138 | 0 | return *internal_default_instance(); |
3139 | 0 | } |
3140 | 0 | static inline const EnumValueDescriptorProto* internal_default_instance() { |
3141 | 0 | return reinterpret_cast<const EnumValueDescriptorProto*>( |
3142 | 0 | &_EnumValueDescriptorProto_default_instance_); |
3143 | 0 | } |
3144 | | static constexpr int kIndexInFileMessages = |
3145 | | 10; |
3146 | | |
3147 | 0 | friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { |
3148 | 0 | a.Swap(&b); |
3149 | 0 | } |
3150 | 0 | inline void Swap(EnumValueDescriptorProto* other) { |
3151 | 0 | if (other == this) return; |
3152 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3153 | 0 | if (GetOwningArena() != nullptr && |
3154 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3155 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3156 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3157 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3158 | 0 | InternalSwap(other); |
3159 | 0 | } else { |
3160 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3161 | 0 | } |
3162 | 0 | } |
3163 | 0 | void UnsafeArenaSwap(EnumValueDescriptorProto* other) { |
3164 | 0 | if (other == this) return; |
3165 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3166 | 0 | InternalSwap(other); |
3167 | 0 | } |
3168 | | |
3169 | | // implements Message ---------------------------------------------- |
3170 | | |
3171 | 0 | EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3172 | 0 | return CreateMaybeMessage<EnumValueDescriptorProto>(arena); |
3173 | 0 | } |
3174 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3175 | | void CopyFrom(const EnumValueDescriptorProto& from); |
3176 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3177 | 0 | void MergeFrom( const EnumValueDescriptorProto& from) { |
3178 | 0 | EnumValueDescriptorProto::MergeImpl(*this, from); |
3179 | 0 | } |
3180 | | private: |
3181 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3182 | | public: |
3183 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3184 | | bool IsInitialized() const final; |
3185 | | |
3186 | | ::size_t ByteSizeLong() const final; |
3187 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3188 | | ::uint8_t* _InternalSerialize( |
3189 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3190 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3191 | | |
3192 | | private: |
3193 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3194 | | void SharedDtor(); |
3195 | | void SetCachedSize(int size) const final; |
3196 | | void InternalSwap(EnumValueDescriptorProto* other); |
3197 | | |
3198 | | private: |
3199 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3200 | 0 | static ::absl::string_view FullMessageName() { |
3201 | 0 | return "google.protobuf.EnumValueDescriptorProto"; |
3202 | 0 | } |
3203 | | protected: |
3204 | | explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3205 | | public: |
3206 | | |
3207 | | static const ClassData _class_data_; |
3208 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3209 | | |
3210 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3211 | | |
3212 | | // nested types ---------------------------------------------------- |
3213 | | |
3214 | | // accessors ------------------------------------------------------- |
3215 | | |
3216 | | enum : int { |
3217 | | kNameFieldNumber = 1, |
3218 | | kOptionsFieldNumber = 3, |
3219 | | kNumberFieldNumber = 2, |
3220 | | }; |
3221 | | // optional string name = 1; |
3222 | | bool has_name() const; |
3223 | | void clear_name() ; |
3224 | | const std::string& name() const; |
3225 | | |
3226 | | |
3227 | | |
3228 | | |
3229 | | template <typename Arg_ = const std::string&, typename... Args_> |
3230 | | void set_name(Arg_&& arg, Args_... args); |
3231 | | std::string* mutable_name(); |
3232 | | PROTOBUF_NODISCARD std::string* release_name(); |
3233 | | void set_allocated_name(std::string* ptr); |
3234 | | |
3235 | | private: |
3236 | | const std::string& _internal_name() const; |
3237 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
3238 | | const std::string& value); |
3239 | | std::string* _internal_mutable_name(); |
3240 | | |
3241 | | public: |
3242 | | // optional .google.protobuf.EnumValueOptions options = 3; |
3243 | | bool has_options() const; |
3244 | | void clear_options() ; |
3245 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const; |
3246 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options(); |
3247 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options(); |
3248 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); |
3249 | | private: |
3250 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const; |
3251 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options(); |
3252 | | public: |
3253 | | void unsafe_arena_set_allocated_options( |
3254 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); |
3255 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options(); |
3256 | | // optional int32 number = 2; |
3257 | | bool has_number() const; |
3258 | | void clear_number() ; |
3259 | | ::int32_t number() const; |
3260 | | void set_number(::int32_t value); |
3261 | | |
3262 | | private: |
3263 | | ::int32_t _internal_number() const; |
3264 | | void _internal_set_number(::int32_t value); |
3265 | | |
3266 | | public: |
3267 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
3268 | | private: |
3269 | | class _Internal; |
3270 | | |
3271 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3272 | | typedef void InternalArenaConstructable_; |
3273 | | typedef void DestructorSkippable_; |
3274 | | struct Impl_ { |
3275 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3276 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3277 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3278 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_; |
3279 | | ::int32_t number_; |
3280 | | }; |
3281 | | union { Impl_ _impl_; }; |
3282 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3283 | | };// ------------------------------------------------------------------- |
3284 | | |
3285 | | class PROTOBUF_EXPORT ServiceDescriptorProto final : |
3286 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { |
3287 | | public: |
3288 | 0 | inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {} |
3289 | | ~ServiceDescriptorProto() override; |
3290 | | explicit PROTOBUF_CONSTEXPR ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3291 | | |
3292 | | ServiceDescriptorProto(const ServiceDescriptorProto& from); |
3293 | | ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept |
3294 | 0 | : ServiceDescriptorProto() { |
3295 | 0 | *this = ::std::move(from); |
3296 | 0 | } |
3297 | | |
3298 | 0 | inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
3299 | 0 | CopyFrom(from); |
3300 | 0 | return *this; |
3301 | 0 | } |
3302 | 0 | inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
3303 | 0 | if (this == &from) return *this; |
3304 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3305 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3306 | 0 | && GetOwningArena() != nullptr |
3307 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3308 | 0 | ) { |
3309 | 0 | InternalSwap(&from); |
3310 | 0 | } else { |
3311 | 0 | CopyFrom(from); |
3312 | 0 | } |
3313 | 0 | return *this; |
3314 | 0 | } |
3315 | | |
3316 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3317 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3318 | 0 | } |
3319 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3320 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3321 | 0 | } |
3322 | | |
3323 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3324 | 0 | return GetDescriptor(); |
3325 | 0 | } |
3326 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3327 | 0 | return default_instance().GetMetadata().descriptor; |
3328 | 0 | } |
3329 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3330 | 0 | return default_instance().GetMetadata().reflection; |
3331 | 0 | } |
3332 | 0 | static const ServiceDescriptorProto& default_instance() { |
3333 | 0 | return *internal_default_instance(); |
3334 | 0 | } |
3335 | 0 | static inline const ServiceDescriptorProto* internal_default_instance() { |
3336 | 0 | return reinterpret_cast<const ServiceDescriptorProto*>( |
3337 | 0 | &_ServiceDescriptorProto_default_instance_); |
3338 | 0 | } |
3339 | | static constexpr int kIndexInFileMessages = |
3340 | | 11; |
3341 | | |
3342 | 0 | friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { |
3343 | 0 | a.Swap(&b); |
3344 | 0 | } |
3345 | 0 | inline void Swap(ServiceDescriptorProto* other) { |
3346 | 0 | if (other == this) return; |
3347 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3348 | 0 | if (GetOwningArena() != nullptr && |
3349 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3350 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3351 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3352 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3353 | 0 | InternalSwap(other); |
3354 | 0 | } else { |
3355 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3356 | 0 | } |
3357 | 0 | } |
3358 | 0 | void UnsafeArenaSwap(ServiceDescriptorProto* other) { |
3359 | 0 | if (other == this) return; |
3360 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3361 | 0 | InternalSwap(other); |
3362 | 0 | } |
3363 | | |
3364 | | // implements Message ---------------------------------------------- |
3365 | | |
3366 | 0 | ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3367 | 0 | return CreateMaybeMessage<ServiceDescriptorProto>(arena); |
3368 | 0 | } |
3369 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3370 | | void CopyFrom(const ServiceDescriptorProto& from); |
3371 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3372 | 0 | void MergeFrom( const ServiceDescriptorProto& from) { |
3373 | 0 | ServiceDescriptorProto::MergeImpl(*this, from); |
3374 | 0 | } |
3375 | | private: |
3376 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3377 | | public: |
3378 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3379 | | bool IsInitialized() const final; |
3380 | | |
3381 | | ::size_t ByteSizeLong() const final; |
3382 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3383 | | ::uint8_t* _InternalSerialize( |
3384 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3385 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3386 | | |
3387 | | private: |
3388 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3389 | | void SharedDtor(); |
3390 | | void SetCachedSize(int size) const final; |
3391 | | void InternalSwap(ServiceDescriptorProto* other); |
3392 | | |
3393 | | private: |
3394 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3395 | 0 | static ::absl::string_view FullMessageName() { |
3396 | 0 | return "google.protobuf.ServiceDescriptorProto"; |
3397 | 0 | } |
3398 | | protected: |
3399 | | explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3400 | | public: |
3401 | | |
3402 | | static const ClassData _class_data_; |
3403 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3404 | | |
3405 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3406 | | |
3407 | | // nested types ---------------------------------------------------- |
3408 | | |
3409 | | // accessors ------------------------------------------------------- |
3410 | | |
3411 | | enum : int { |
3412 | | kMethodFieldNumber = 2, |
3413 | | kNameFieldNumber = 1, |
3414 | | kOptionsFieldNumber = 3, |
3415 | | }; |
3416 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
3417 | | int method_size() const; |
3418 | | private: |
3419 | | int _internal_method_size() const; |
3420 | | |
3421 | | public: |
3422 | | void clear_method() ; |
3423 | | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index); |
3424 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* |
3425 | | mutable_method(); |
3426 | | private: |
3427 | | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const; |
3428 | | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method(); |
3429 | | public: |
3430 | | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const; |
3431 | | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method(); |
3432 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& |
3433 | | method() const; |
3434 | | // optional string name = 1; |
3435 | | bool has_name() const; |
3436 | | void clear_name() ; |
3437 | | const std::string& name() const; |
3438 | | |
3439 | | |
3440 | | |
3441 | | |
3442 | | template <typename Arg_ = const std::string&, typename... Args_> |
3443 | | void set_name(Arg_&& arg, Args_... args); |
3444 | | std::string* mutable_name(); |
3445 | | PROTOBUF_NODISCARD std::string* release_name(); |
3446 | | void set_allocated_name(std::string* ptr); |
3447 | | |
3448 | | private: |
3449 | | const std::string& _internal_name() const; |
3450 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
3451 | | const std::string& value); |
3452 | | std::string* _internal_mutable_name(); |
3453 | | |
3454 | | public: |
3455 | | // optional .google.protobuf.ServiceOptions options = 3; |
3456 | | bool has_options() const; |
3457 | | void clear_options() ; |
3458 | | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const; |
3459 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options(); |
3460 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options(); |
3461 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options); |
3462 | | private: |
3463 | | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const; |
3464 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options(); |
3465 | | public: |
3466 | | void unsafe_arena_set_allocated_options( |
3467 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options); |
3468 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options(); |
3469 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
3470 | | private: |
3471 | | class _Internal; |
3472 | | |
3473 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3474 | | typedef void InternalArenaConstructable_; |
3475 | | typedef void DestructorSkippable_; |
3476 | | struct Impl_ { |
3477 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3478 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3479 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_; |
3480 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3481 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options_; |
3482 | | }; |
3483 | | union { Impl_ _impl_; }; |
3484 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3485 | | };// ------------------------------------------------------------------- |
3486 | | |
3487 | | class PROTOBUF_EXPORT MethodDescriptorProto final : |
3488 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ { |
3489 | | public: |
3490 | 0 | inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {} |
3491 | | ~MethodDescriptorProto() override; |
3492 | | explicit PROTOBUF_CONSTEXPR MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3493 | | |
3494 | | MethodDescriptorProto(const MethodDescriptorProto& from); |
3495 | | MethodDescriptorProto(MethodDescriptorProto&& from) noexcept |
3496 | 0 | : MethodDescriptorProto() { |
3497 | 0 | *this = ::std::move(from); |
3498 | 0 | } |
3499 | | |
3500 | 0 | inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
3501 | 0 | CopyFrom(from); |
3502 | 0 | return *this; |
3503 | 0 | } |
3504 | 0 | inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
3505 | 0 | if (this == &from) return *this; |
3506 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3507 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3508 | 0 | && GetOwningArena() != nullptr |
3509 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3510 | 0 | ) { |
3511 | 0 | InternalSwap(&from); |
3512 | 0 | } else { |
3513 | 0 | CopyFrom(from); |
3514 | 0 | } |
3515 | 0 | return *this; |
3516 | 0 | } |
3517 | | |
3518 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3519 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3520 | 0 | } |
3521 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3522 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3523 | 0 | } |
3524 | | |
3525 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3526 | 0 | return GetDescriptor(); |
3527 | 0 | } |
3528 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3529 | 0 | return default_instance().GetMetadata().descriptor; |
3530 | 0 | } |
3531 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3532 | 0 | return default_instance().GetMetadata().reflection; |
3533 | 0 | } |
3534 | 0 | static const MethodDescriptorProto& default_instance() { |
3535 | 0 | return *internal_default_instance(); |
3536 | 0 | } |
3537 | 0 | static inline const MethodDescriptorProto* internal_default_instance() { |
3538 | 0 | return reinterpret_cast<const MethodDescriptorProto*>( |
3539 | 0 | &_MethodDescriptorProto_default_instance_); |
3540 | 0 | } |
3541 | | static constexpr int kIndexInFileMessages = |
3542 | | 12; |
3543 | | |
3544 | 0 | friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { |
3545 | 0 | a.Swap(&b); |
3546 | 0 | } |
3547 | 0 | inline void Swap(MethodDescriptorProto* other) { |
3548 | 0 | if (other == this) return; |
3549 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3550 | 0 | if (GetOwningArena() != nullptr && |
3551 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3552 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3553 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3554 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3555 | 0 | InternalSwap(other); |
3556 | 0 | } else { |
3557 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3558 | 0 | } |
3559 | 0 | } |
3560 | 0 | void UnsafeArenaSwap(MethodDescriptorProto* other) { |
3561 | 0 | if (other == this) return; |
3562 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3563 | 0 | InternalSwap(other); |
3564 | 0 | } |
3565 | | |
3566 | | // implements Message ---------------------------------------------- |
3567 | | |
3568 | 0 | MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3569 | 0 | return CreateMaybeMessage<MethodDescriptorProto>(arena); |
3570 | 0 | } |
3571 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3572 | | void CopyFrom(const MethodDescriptorProto& from); |
3573 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3574 | 0 | void MergeFrom( const MethodDescriptorProto& from) { |
3575 | 0 | MethodDescriptorProto::MergeImpl(*this, from); |
3576 | 0 | } |
3577 | | private: |
3578 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3579 | | public: |
3580 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3581 | | bool IsInitialized() const final; |
3582 | | |
3583 | | ::size_t ByteSizeLong() const final; |
3584 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3585 | | ::uint8_t* _InternalSerialize( |
3586 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3587 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3588 | | |
3589 | | private: |
3590 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3591 | | void SharedDtor(); |
3592 | | void SetCachedSize(int size) const final; |
3593 | | void InternalSwap(MethodDescriptorProto* other); |
3594 | | |
3595 | | private: |
3596 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3597 | 0 | static ::absl::string_view FullMessageName() { |
3598 | 0 | return "google.protobuf.MethodDescriptorProto"; |
3599 | 0 | } |
3600 | | protected: |
3601 | | explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3602 | | public: |
3603 | | |
3604 | | static const ClassData _class_data_; |
3605 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3606 | | |
3607 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3608 | | |
3609 | | // nested types ---------------------------------------------------- |
3610 | | |
3611 | | // accessors ------------------------------------------------------- |
3612 | | |
3613 | | enum : int { |
3614 | | kNameFieldNumber = 1, |
3615 | | kInputTypeFieldNumber = 2, |
3616 | | kOutputTypeFieldNumber = 3, |
3617 | | kOptionsFieldNumber = 4, |
3618 | | kClientStreamingFieldNumber = 5, |
3619 | | kServerStreamingFieldNumber = 6, |
3620 | | }; |
3621 | | // optional string name = 1; |
3622 | | bool has_name() const; |
3623 | | void clear_name() ; |
3624 | | const std::string& name() const; |
3625 | | |
3626 | | |
3627 | | |
3628 | | |
3629 | | template <typename Arg_ = const std::string&, typename... Args_> |
3630 | | void set_name(Arg_&& arg, Args_... args); |
3631 | | std::string* mutable_name(); |
3632 | | PROTOBUF_NODISCARD std::string* release_name(); |
3633 | | void set_allocated_name(std::string* ptr); |
3634 | | |
3635 | | private: |
3636 | | const std::string& _internal_name() const; |
3637 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
3638 | | const std::string& value); |
3639 | | std::string* _internal_mutable_name(); |
3640 | | |
3641 | | public: |
3642 | | // optional string input_type = 2; |
3643 | | bool has_input_type() const; |
3644 | | void clear_input_type() ; |
3645 | | const std::string& input_type() const; |
3646 | | |
3647 | | |
3648 | | |
3649 | | |
3650 | | template <typename Arg_ = const std::string&, typename... Args_> |
3651 | | void set_input_type(Arg_&& arg, Args_... args); |
3652 | | std::string* mutable_input_type(); |
3653 | | PROTOBUF_NODISCARD std::string* release_input_type(); |
3654 | | void set_allocated_input_type(std::string* ptr); |
3655 | | |
3656 | | private: |
3657 | | const std::string& _internal_input_type() const; |
3658 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type( |
3659 | | const std::string& value); |
3660 | | std::string* _internal_mutable_input_type(); |
3661 | | |
3662 | | public: |
3663 | | // optional string output_type = 3; |
3664 | | bool has_output_type() const; |
3665 | | void clear_output_type() ; |
3666 | | const std::string& output_type() const; |
3667 | | |
3668 | | |
3669 | | |
3670 | | |
3671 | | template <typename Arg_ = const std::string&, typename... Args_> |
3672 | | void set_output_type(Arg_&& arg, Args_... args); |
3673 | | std::string* mutable_output_type(); |
3674 | | PROTOBUF_NODISCARD std::string* release_output_type(); |
3675 | | void set_allocated_output_type(std::string* ptr); |
3676 | | |
3677 | | private: |
3678 | | const std::string& _internal_output_type() const; |
3679 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type( |
3680 | | const std::string& value); |
3681 | | std::string* _internal_mutable_output_type(); |
3682 | | |
3683 | | public: |
3684 | | // optional .google.protobuf.MethodOptions options = 4; |
3685 | | bool has_options() const; |
3686 | | void clear_options() ; |
3687 | | const ::PROTOBUF_NAMESPACE_ID::MethodOptions& options() const; |
3688 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MethodOptions* release_options(); |
3689 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options(); |
3690 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options); |
3691 | | private: |
3692 | | const ::PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const; |
3693 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options(); |
3694 | | public: |
3695 | | void unsafe_arena_set_allocated_options( |
3696 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options); |
3697 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options(); |
3698 | | // optional bool client_streaming = 5 [default = false]; |
3699 | | bool has_client_streaming() const; |
3700 | | void clear_client_streaming() ; |
3701 | | bool client_streaming() const; |
3702 | | void set_client_streaming(bool value); |
3703 | | |
3704 | | private: |
3705 | | bool _internal_client_streaming() const; |
3706 | | void _internal_set_client_streaming(bool value); |
3707 | | |
3708 | | public: |
3709 | | // optional bool server_streaming = 6 [default = false]; |
3710 | | bool has_server_streaming() const; |
3711 | | void clear_server_streaming() ; |
3712 | | bool server_streaming() const; |
3713 | | void set_server_streaming(bool value); |
3714 | | |
3715 | | private: |
3716 | | bool _internal_server_streaming() const; |
3717 | | void _internal_set_server_streaming(bool value); |
3718 | | |
3719 | | public: |
3720 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
3721 | | private: |
3722 | | class _Internal; |
3723 | | |
3724 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3725 | | typedef void InternalArenaConstructable_; |
3726 | | typedef void DestructorSkippable_; |
3727 | | struct Impl_ { |
3728 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3729 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3730 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3731 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_; |
3732 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_; |
3733 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options_; |
3734 | | bool client_streaming_; |
3735 | | bool server_streaming_; |
3736 | | }; |
3737 | | union { Impl_ _impl_; }; |
3738 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3739 | | };// ------------------------------------------------------------------- |
3740 | | |
3741 | | class PROTOBUF_EXPORT FileOptions final : |
3742 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { |
3743 | | public: |
3744 | 0 | inline FileOptions() : FileOptions(nullptr) {} |
3745 | | ~FileOptions() override; |
3746 | | explicit PROTOBUF_CONSTEXPR FileOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3747 | | |
3748 | | FileOptions(const FileOptions& from); |
3749 | | FileOptions(FileOptions&& from) noexcept |
3750 | 0 | : FileOptions() { |
3751 | 0 | *this = ::std::move(from); |
3752 | 0 | } |
3753 | | |
3754 | 0 | inline FileOptions& operator=(const FileOptions& from) { |
3755 | 0 | CopyFrom(from); |
3756 | 0 | return *this; |
3757 | 0 | } |
3758 | 0 | inline FileOptions& operator=(FileOptions&& from) noexcept { |
3759 | 0 | if (this == &from) return *this; |
3760 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3761 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3762 | 0 | && GetOwningArena() != nullptr |
3763 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3764 | 0 | ) { |
3765 | 0 | InternalSwap(&from); |
3766 | 0 | } else { |
3767 | 0 | CopyFrom(from); |
3768 | 0 | } |
3769 | 0 | return *this; |
3770 | 0 | } |
3771 | | |
3772 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3773 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3774 | 0 | } |
3775 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3776 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3777 | 0 | } |
3778 | | |
3779 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3780 | 0 | return GetDescriptor(); |
3781 | 0 | } |
3782 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3783 | 0 | return default_instance().GetMetadata().descriptor; |
3784 | 0 | } |
3785 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3786 | 0 | return default_instance().GetMetadata().reflection; |
3787 | 0 | } |
3788 | 0 | static const FileOptions& default_instance() { |
3789 | 0 | return *internal_default_instance(); |
3790 | 0 | } |
3791 | 0 | static inline const FileOptions* internal_default_instance() { |
3792 | 0 | return reinterpret_cast<const FileOptions*>( |
3793 | 0 | &_FileOptions_default_instance_); |
3794 | 0 | } |
3795 | | static constexpr int kIndexInFileMessages = |
3796 | | 13; |
3797 | | |
3798 | 0 | friend void swap(FileOptions& a, FileOptions& b) { |
3799 | 0 | a.Swap(&b); |
3800 | 0 | } |
3801 | 0 | inline void Swap(FileOptions* other) { |
3802 | 0 | if (other == this) return; |
3803 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3804 | 0 | if (GetOwningArena() != nullptr && |
3805 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3806 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3807 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3808 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3809 | 0 | InternalSwap(other); |
3810 | 0 | } else { |
3811 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3812 | 0 | } |
3813 | 0 | } |
3814 | 0 | void UnsafeArenaSwap(FileOptions* other) { |
3815 | 0 | if (other == this) return; |
3816 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3817 | 0 | InternalSwap(other); |
3818 | 0 | } |
3819 | | |
3820 | | // implements Message ---------------------------------------------- |
3821 | | |
3822 | 0 | FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3823 | 0 | return CreateMaybeMessage<FileOptions>(arena); |
3824 | 0 | } |
3825 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3826 | | void CopyFrom(const FileOptions& from); |
3827 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3828 | 0 | void MergeFrom( const FileOptions& from) { |
3829 | 0 | FileOptions::MergeImpl(*this, from); |
3830 | 0 | } |
3831 | | private: |
3832 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3833 | | public: |
3834 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3835 | | bool IsInitialized() const final; |
3836 | | |
3837 | | ::size_t ByteSizeLong() const final; |
3838 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3839 | | ::uint8_t* _InternalSerialize( |
3840 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3841 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3842 | | |
3843 | | private: |
3844 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3845 | | void SharedDtor(); |
3846 | | void SetCachedSize(int size) const final; |
3847 | | void InternalSwap(FileOptions* other); |
3848 | | |
3849 | | private: |
3850 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3851 | 0 | static ::absl::string_view FullMessageName() { |
3852 | 0 | return "google.protobuf.FileOptions"; |
3853 | 0 | } |
3854 | | protected: |
3855 | | explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3856 | | public: |
3857 | | |
3858 | | static const ClassData _class_data_; |
3859 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3860 | | |
3861 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3862 | | |
3863 | | // nested types ---------------------------------------------------- |
3864 | | |
3865 | | using OptimizeMode = FileOptions_OptimizeMode; |
3866 | | static constexpr OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED; |
3867 | | static constexpr OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE; |
3868 | | static constexpr OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME; |
3869 | 0 | static inline bool OptimizeMode_IsValid(int value) { |
3870 | 0 | return FileOptions_OptimizeMode_IsValid(value); |
3871 | 0 | } |
3872 | | static constexpr OptimizeMode OptimizeMode_MIN = FileOptions_OptimizeMode_OptimizeMode_MIN; |
3873 | | static constexpr OptimizeMode OptimizeMode_MAX = FileOptions_OptimizeMode_OptimizeMode_MAX; |
3874 | | static constexpr int OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; |
3875 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OptimizeMode_descriptor() { |
3876 | 0 | return FileOptions_OptimizeMode_descriptor(); |
3877 | 0 | } |
3878 | | template <typename T> |
3879 | | static inline const std::string& OptimizeMode_Name(T value) { |
3880 | | return FileOptions_OptimizeMode_Name(value); |
3881 | | } |
3882 | 0 | static inline bool OptimizeMode_Parse(absl::string_view name, OptimizeMode* value) { |
3883 | 0 | return FileOptions_OptimizeMode_Parse(name, value); |
3884 | 0 | } |
3885 | | |
3886 | | // accessors ------------------------------------------------------- |
3887 | | |
3888 | | enum : int { |
3889 | | kUninterpretedOptionFieldNumber = 999, |
3890 | | kJavaPackageFieldNumber = 1, |
3891 | | kJavaOuterClassnameFieldNumber = 8, |
3892 | | kGoPackageFieldNumber = 11, |
3893 | | kObjcClassPrefixFieldNumber = 36, |
3894 | | kCsharpNamespaceFieldNumber = 37, |
3895 | | kSwiftPrefixFieldNumber = 39, |
3896 | | kPhpClassPrefixFieldNumber = 40, |
3897 | | kPhpNamespaceFieldNumber = 41, |
3898 | | kPhpMetadataNamespaceFieldNumber = 44, |
3899 | | kRubyPackageFieldNumber = 45, |
3900 | | kJavaMultipleFilesFieldNumber = 10, |
3901 | | kJavaGenerateEqualsAndHashFieldNumber = 20, |
3902 | | kJavaStringCheckUtf8FieldNumber = 27, |
3903 | | kCcGenericServicesFieldNumber = 16, |
3904 | | kJavaGenericServicesFieldNumber = 17, |
3905 | | kPyGenericServicesFieldNumber = 18, |
3906 | | kPhpGenericServicesFieldNumber = 42, |
3907 | | kDeprecatedFieldNumber = 23, |
3908 | | kOptimizeForFieldNumber = 9, |
3909 | | kCcEnableArenasFieldNumber = 31, |
3910 | | }; |
3911 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
3912 | | int uninterpreted_option_size() const; |
3913 | | private: |
3914 | | int _internal_uninterpreted_option_size() const; |
3915 | | |
3916 | | public: |
3917 | | void clear_uninterpreted_option() ; |
3918 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
3919 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
3920 | | mutable_uninterpreted_option(); |
3921 | | private: |
3922 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
3923 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
3924 | | public: |
3925 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
3926 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
3927 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
3928 | | uninterpreted_option() const; |
3929 | | // optional string java_package = 1; |
3930 | | bool has_java_package() const; |
3931 | | void clear_java_package() ; |
3932 | | const std::string& java_package() const; |
3933 | | |
3934 | | |
3935 | | |
3936 | | |
3937 | | template <typename Arg_ = const std::string&, typename... Args_> |
3938 | | void set_java_package(Arg_&& arg, Args_... args); |
3939 | | std::string* mutable_java_package(); |
3940 | | PROTOBUF_NODISCARD std::string* release_java_package(); |
3941 | | void set_allocated_java_package(std::string* ptr); |
3942 | | |
3943 | | private: |
3944 | | const std::string& _internal_java_package() const; |
3945 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package( |
3946 | | const std::string& value); |
3947 | | std::string* _internal_mutable_java_package(); |
3948 | | |
3949 | | public: |
3950 | | // optional string java_outer_classname = 8; |
3951 | | bool has_java_outer_classname() const; |
3952 | | void clear_java_outer_classname() ; |
3953 | | const std::string& java_outer_classname() const; |
3954 | | |
3955 | | |
3956 | | |
3957 | | |
3958 | | template <typename Arg_ = const std::string&, typename... Args_> |
3959 | | void set_java_outer_classname(Arg_&& arg, Args_... args); |
3960 | | std::string* mutable_java_outer_classname(); |
3961 | | PROTOBUF_NODISCARD std::string* release_java_outer_classname(); |
3962 | | void set_allocated_java_outer_classname(std::string* ptr); |
3963 | | |
3964 | | private: |
3965 | | const std::string& _internal_java_outer_classname() const; |
3966 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname( |
3967 | | const std::string& value); |
3968 | | std::string* _internal_mutable_java_outer_classname(); |
3969 | | |
3970 | | public: |
3971 | | // optional string go_package = 11; |
3972 | | bool has_go_package() const; |
3973 | | void clear_go_package() ; |
3974 | | const std::string& go_package() const; |
3975 | | |
3976 | | |
3977 | | |
3978 | | |
3979 | | template <typename Arg_ = const std::string&, typename... Args_> |
3980 | | void set_go_package(Arg_&& arg, Args_... args); |
3981 | | std::string* mutable_go_package(); |
3982 | | PROTOBUF_NODISCARD std::string* release_go_package(); |
3983 | | void set_allocated_go_package(std::string* ptr); |
3984 | | |
3985 | | private: |
3986 | | const std::string& _internal_go_package() const; |
3987 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package( |
3988 | | const std::string& value); |
3989 | | std::string* _internal_mutable_go_package(); |
3990 | | |
3991 | | public: |
3992 | | // optional string objc_class_prefix = 36; |
3993 | | bool has_objc_class_prefix() const; |
3994 | | void clear_objc_class_prefix() ; |
3995 | | const std::string& objc_class_prefix() const; |
3996 | | |
3997 | | |
3998 | | |
3999 | | |
4000 | | template <typename Arg_ = const std::string&, typename... Args_> |
4001 | | void set_objc_class_prefix(Arg_&& arg, Args_... args); |
4002 | | std::string* mutable_objc_class_prefix(); |
4003 | | PROTOBUF_NODISCARD std::string* release_objc_class_prefix(); |
4004 | | void set_allocated_objc_class_prefix(std::string* ptr); |
4005 | | |
4006 | | private: |
4007 | | const std::string& _internal_objc_class_prefix() const; |
4008 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix( |
4009 | | const std::string& value); |
4010 | | std::string* _internal_mutable_objc_class_prefix(); |
4011 | | |
4012 | | public: |
4013 | | // optional string csharp_namespace = 37; |
4014 | | bool has_csharp_namespace() const; |
4015 | | void clear_csharp_namespace() ; |
4016 | | const std::string& csharp_namespace() const; |
4017 | | |
4018 | | |
4019 | | |
4020 | | |
4021 | | template <typename Arg_ = const std::string&, typename... Args_> |
4022 | | void set_csharp_namespace(Arg_&& arg, Args_... args); |
4023 | | std::string* mutable_csharp_namespace(); |
4024 | | PROTOBUF_NODISCARD std::string* release_csharp_namespace(); |
4025 | | void set_allocated_csharp_namespace(std::string* ptr); |
4026 | | |
4027 | | private: |
4028 | | const std::string& _internal_csharp_namespace() const; |
4029 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace( |
4030 | | const std::string& value); |
4031 | | std::string* _internal_mutable_csharp_namespace(); |
4032 | | |
4033 | | public: |
4034 | | // optional string swift_prefix = 39; |
4035 | | bool has_swift_prefix() const; |
4036 | | void clear_swift_prefix() ; |
4037 | | const std::string& swift_prefix() const; |
4038 | | |
4039 | | |
4040 | | |
4041 | | |
4042 | | template <typename Arg_ = const std::string&, typename... Args_> |
4043 | | void set_swift_prefix(Arg_&& arg, Args_... args); |
4044 | | std::string* mutable_swift_prefix(); |
4045 | | PROTOBUF_NODISCARD std::string* release_swift_prefix(); |
4046 | | void set_allocated_swift_prefix(std::string* ptr); |
4047 | | |
4048 | | private: |
4049 | | const std::string& _internal_swift_prefix() const; |
4050 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix( |
4051 | | const std::string& value); |
4052 | | std::string* _internal_mutable_swift_prefix(); |
4053 | | |
4054 | | public: |
4055 | | // optional string php_class_prefix = 40; |
4056 | | bool has_php_class_prefix() const; |
4057 | | void clear_php_class_prefix() ; |
4058 | | const std::string& php_class_prefix() const; |
4059 | | |
4060 | | |
4061 | | |
4062 | | |
4063 | | template <typename Arg_ = const std::string&, typename... Args_> |
4064 | | void set_php_class_prefix(Arg_&& arg, Args_... args); |
4065 | | std::string* mutable_php_class_prefix(); |
4066 | | PROTOBUF_NODISCARD std::string* release_php_class_prefix(); |
4067 | | void set_allocated_php_class_prefix(std::string* ptr); |
4068 | | |
4069 | | private: |
4070 | | const std::string& _internal_php_class_prefix() const; |
4071 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix( |
4072 | | const std::string& value); |
4073 | | std::string* _internal_mutable_php_class_prefix(); |
4074 | | |
4075 | | public: |
4076 | | // optional string php_namespace = 41; |
4077 | | bool has_php_namespace() const; |
4078 | | void clear_php_namespace() ; |
4079 | | const std::string& php_namespace() const; |
4080 | | |
4081 | | |
4082 | | |
4083 | | |
4084 | | template <typename Arg_ = const std::string&, typename... Args_> |
4085 | | void set_php_namespace(Arg_&& arg, Args_... args); |
4086 | | std::string* mutable_php_namespace(); |
4087 | | PROTOBUF_NODISCARD std::string* release_php_namespace(); |
4088 | | void set_allocated_php_namespace(std::string* ptr); |
4089 | | |
4090 | | private: |
4091 | | const std::string& _internal_php_namespace() const; |
4092 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace( |
4093 | | const std::string& value); |
4094 | | std::string* _internal_mutable_php_namespace(); |
4095 | | |
4096 | | public: |
4097 | | // optional string php_metadata_namespace = 44; |
4098 | | bool has_php_metadata_namespace() const; |
4099 | | void clear_php_metadata_namespace() ; |
4100 | | const std::string& php_metadata_namespace() const; |
4101 | | |
4102 | | |
4103 | | |
4104 | | |
4105 | | template <typename Arg_ = const std::string&, typename... Args_> |
4106 | | void set_php_metadata_namespace(Arg_&& arg, Args_... args); |
4107 | | std::string* mutable_php_metadata_namespace(); |
4108 | | PROTOBUF_NODISCARD std::string* release_php_metadata_namespace(); |
4109 | | void set_allocated_php_metadata_namespace(std::string* ptr); |
4110 | | |
4111 | | private: |
4112 | | const std::string& _internal_php_metadata_namespace() const; |
4113 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace( |
4114 | | const std::string& value); |
4115 | | std::string* _internal_mutable_php_metadata_namespace(); |
4116 | | |
4117 | | public: |
4118 | | // optional string ruby_package = 45; |
4119 | | bool has_ruby_package() const; |
4120 | | void clear_ruby_package() ; |
4121 | | const std::string& ruby_package() const; |
4122 | | |
4123 | | |
4124 | | |
4125 | | |
4126 | | template <typename Arg_ = const std::string&, typename... Args_> |
4127 | | void set_ruby_package(Arg_&& arg, Args_... args); |
4128 | | std::string* mutable_ruby_package(); |
4129 | | PROTOBUF_NODISCARD std::string* release_ruby_package(); |
4130 | | void set_allocated_ruby_package(std::string* ptr); |
4131 | | |
4132 | | private: |
4133 | | const std::string& _internal_ruby_package() const; |
4134 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package( |
4135 | | const std::string& value); |
4136 | | std::string* _internal_mutable_ruby_package(); |
4137 | | |
4138 | | public: |
4139 | | // optional bool java_multiple_files = 10 [default = false]; |
4140 | | bool has_java_multiple_files() const; |
4141 | | void clear_java_multiple_files() ; |
4142 | | bool java_multiple_files() const; |
4143 | | void set_java_multiple_files(bool value); |
4144 | | |
4145 | | private: |
4146 | | bool _internal_java_multiple_files() const; |
4147 | | void _internal_set_java_multiple_files(bool value); |
4148 | | |
4149 | | public: |
4150 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
4151 | | PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const; |
4152 | | PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash() ; |
4153 | | PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const; |
4154 | | PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value); |
4155 | | |
4156 | | private: |
4157 | | bool _internal_java_generate_equals_and_hash() const; |
4158 | | void _internal_set_java_generate_equals_and_hash(bool value); |
4159 | | |
4160 | | public: |
4161 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
4162 | | bool has_java_string_check_utf8() const; |
4163 | | void clear_java_string_check_utf8() ; |
4164 | | bool java_string_check_utf8() const; |
4165 | | void set_java_string_check_utf8(bool value); |
4166 | | |
4167 | | private: |
4168 | | bool _internal_java_string_check_utf8() const; |
4169 | | void _internal_set_java_string_check_utf8(bool value); |
4170 | | |
4171 | | public: |
4172 | | // optional bool cc_generic_services = 16 [default = false]; |
4173 | | bool has_cc_generic_services() const; |
4174 | | void clear_cc_generic_services() ; |
4175 | | bool cc_generic_services() const; |
4176 | | void set_cc_generic_services(bool value); |
4177 | | |
4178 | | private: |
4179 | | bool _internal_cc_generic_services() const; |
4180 | | void _internal_set_cc_generic_services(bool value); |
4181 | | |
4182 | | public: |
4183 | | // optional bool java_generic_services = 17 [default = false]; |
4184 | | bool has_java_generic_services() const; |
4185 | | void clear_java_generic_services() ; |
4186 | | bool java_generic_services() const; |
4187 | | void set_java_generic_services(bool value); |
4188 | | |
4189 | | private: |
4190 | | bool _internal_java_generic_services() const; |
4191 | | void _internal_set_java_generic_services(bool value); |
4192 | | |
4193 | | public: |
4194 | | // optional bool py_generic_services = 18 [default = false]; |
4195 | | bool has_py_generic_services() const; |
4196 | | void clear_py_generic_services() ; |
4197 | | bool py_generic_services() const; |
4198 | | void set_py_generic_services(bool value); |
4199 | | |
4200 | | private: |
4201 | | bool _internal_py_generic_services() const; |
4202 | | void _internal_set_py_generic_services(bool value); |
4203 | | |
4204 | | public: |
4205 | | // optional bool php_generic_services = 42 [default = false]; |
4206 | | bool has_php_generic_services() const; |
4207 | | void clear_php_generic_services() ; |
4208 | | bool php_generic_services() const; |
4209 | | void set_php_generic_services(bool value); |
4210 | | |
4211 | | private: |
4212 | | bool _internal_php_generic_services() const; |
4213 | | void _internal_set_php_generic_services(bool value); |
4214 | | |
4215 | | public: |
4216 | | // optional bool deprecated = 23 [default = false]; |
4217 | | bool has_deprecated() const; |
4218 | | void clear_deprecated() ; |
4219 | | bool deprecated() const; |
4220 | | void set_deprecated(bool value); |
4221 | | |
4222 | | private: |
4223 | | bool _internal_deprecated() const; |
4224 | | void _internal_set_deprecated(bool value); |
4225 | | |
4226 | | public: |
4227 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
4228 | | bool has_optimize_for() const; |
4229 | | void clear_optimize_for() ; |
4230 | | ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const; |
4231 | | void set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); |
4232 | | |
4233 | | private: |
4234 | | ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const; |
4235 | | void _internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); |
4236 | | |
4237 | | public: |
4238 | | // optional bool cc_enable_arenas = 31 [default = true]; |
4239 | | bool has_cc_enable_arenas() const; |
4240 | | void clear_cc_enable_arenas() ; |
4241 | | bool cc_enable_arenas() const; |
4242 | | void set_cc_enable_arenas(bool value); |
4243 | | |
4244 | | private: |
4245 | | bool _internal_cc_enable_arenas() const; |
4246 | | void _internal_set_cc_enable_arenas(bool value); |
4247 | | |
4248 | | public: |
4249 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4250 | | bool _is_packed> |
4251 | | inline bool HasExtension( |
4252 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4253 | | _field_type, _is_packed>& id) const { |
4254 | | return _impl_._extensions_.Has(id.number()); |
4255 | | } |
4256 | | |
4257 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4258 | | bool _is_packed> |
4259 | | inline void ClearExtension( |
4260 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4261 | | _field_type, _is_packed>& id) { |
4262 | | _impl_._extensions_.ClearExtension(id.number()); |
4263 | | } |
4264 | | |
4265 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4266 | | bool _is_packed> |
4267 | | inline int ExtensionSize( |
4268 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4269 | | _field_type, _is_packed>& id) const { |
4270 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4271 | | } |
4272 | | |
4273 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4274 | | bool _is_packed> |
4275 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4276 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4277 | | _field_type, _is_packed>& id) const { |
4278 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4279 | | } |
4280 | | |
4281 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4282 | | bool _is_packed> |
4283 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4284 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4285 | | _field_type, _is_packed>& id) { |
4286 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
4287 | | } |
4288 | | |
4289 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4290 | | bool _is_packed> |
4291 | | inline void SetExtension( |
4292 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4293 | | _field_type, _is_packed>& id, |
4294 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4295 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4296 | | } |
4297 | | |
4298 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4299 | | bool _is_packed> |
4300 | | inline void SetAllocatedExtension( |
4301 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4302 | | _field_type, _is_packed>& id, |
4303 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4304 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4305 | | &_impl_._extensions_); |
4306 | | } |
4307 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4308 | | bool _is_packed> |
4309 | | inline void UnsafeArenaSetAllocatedExtension( |
4310 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4311 | | _field_type, _is_packed>& id, |
4312 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4313 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4314 | | value, &_impl_._extensions_); |
4315 | | } |
4316 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4317 | | bool _is_packed> |
4318 | | PROTOBUF_NODISCARD inline |
4319 | | typename _proto_TypeTraits::Singular::MutableType |
4320 | | ReleaseExtension( |
4321 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4322 | | _field_type, _is_packed>& id) { |
4323 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
4324 | | } |
4325 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4326 | | bool _is_packed> |
4327 | | inline typename _proto_TypeTraits::Singular::MutableType |
4328 | | UnsafeArenaReleaseExtension( |
4329 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4330 | | _field_type, _is_packed>& id) { |
4331 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4332 | | &_impl_._extensions_); |
4333 | | } |
4334 | | |
4335 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4336 | | bool _is_packed> |
4337 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4338 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4339 | | _field_type, _is_packed>& id, |
4340 | | int index) const { |
4341 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4342 | | } |
4343 | | |
4344 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4345 | | bool _is_packed> |
4346 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4347 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4348 | | _field_type, _is_packed>& id, |
4349 | | int index) { |
4350 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4351 | | } |
4352 | | |
4353 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4354 | | bool _is_packed> |
4355 | | inline void SetExtension( |
4356 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4357 | | _field_type, _is_packed>& id, |
4358 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4359 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4360 | | } |
4361 | | |
4362 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4363 | | bool _is_packed> |
4364 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4365 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4366 | | _field_type, _is_packed>& id) { |
4367 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4368 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4369 | | return to_add; |
4370 | | } |
4371 | | |
4372 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4373 | | bool _is_packed> |
4374 | | inline void AddExtension( |
4375 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4376 | | _field_type, _is_packed>& id, |
4377 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4378 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4379 | | &_impl_._extensions_); |
4380 | | } |
4381 | | |
4382 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4383 | | bool _is_packed> |
4384 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4385 | | GetRepeatedExtension( |
4386 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4387 | | _field_type, _is_packed>& id) const { |
4388 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4389 | | } |
4390 | | |
4391 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4392 | | bool _is_packed> |
4393 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4394 | | MutableRepeatedExtension( |
4395 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits, |
4396 | | _field_type, _is_packed>& id) { |
4397 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
4398 | | _is_packed, &_impl_._extensions_); |
4399 | | } |
4400 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
4401 | | private: |
4402 | | class _Internal; |
4403 | | |
4404 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4405 | | typedef void InternalArenaConstructable_; |
4406 | | typedef void DestructorSkippable_; |
4407 | | struct Impl_ { |
4408 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
4409 | | |
4410 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
4411 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4412 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
4413 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_; |
4414 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_; |
4415 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_; |
4416 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_; |
4417 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_; |
4418 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_; |
4419 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_; |
4420 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_; |
4421 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_; |
4422 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_; |
4423 | | bool java_multiple_files_; |
4424 | | bool java_generate_equals_and_hash_; |
4425 | | bool java_string_check_utf8_; |
4426 | | bool cc_generic_services_; |
4427 | | bool java_generic_services_; |
4428 | | bool py_generic_services_; |
4429 | | bool php_generic_services_; |
4430 | | bool deprecated_; |
4431 | | int optimize_for_; |
4432 | | bool cc_enable_arenas_; |
4433 | | }; |
4434 | | union { Impl_ _impl_; }; |
4435 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
4436 | | };// ------------------------------------------------------------------- |
4437 | | |
4438 | | class PROTOBUF_EXPORT MessageOptions final : |
4439 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { |
4440 | | public: |
4441 | 0 | inline MessageOptions() : MessageOptions(nullptr) {} |
4442 | | ~MessageOptions() override; |
4443 | | explicit PROTOBUF_CONSTEXPR MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4444 | | |
4445 | | MessageOptions(const MessageOptions& from); |
4446 | | MessageOptions(MessageOptions&& from) noexcept |
4447 | 0 | : MessageOptions() { |
4448 | 0 | *this = ::std::move(from); |
4449 | 0 | } |
4450 | | |
4451 | 0 | inline MessageOptions& operator=(const MessageOptions& from) { |
4452 | 0 | CopyFrom(from); |
4453 | 0 | return *this; |
4454 | 0 | } |
4455 | 0 | inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
4456 | 0 | if (this == &from) return *this; |
4457 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4458 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4459 | 0 | && GetOwningArena() != nullptr |
4460 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4461 | 0 | ) { |
4462 | 0 | InternalSwap(&from); |
4463 | 0 | } else { |
4464 | 0 | CopyFrom(from); |
4465 | 0 | } |
4466 | 0 | return *this; |
4467 | 0 | } |
4468 | | |
4469 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
4470 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
4471 | 0 | } |
4472 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
4473 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4474 | 0 | } |
4475 | | |
4476 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4477 | 0 | return GetDescriptor(); |
4478 | 0 | } |
4479 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4480 | 0 | return default_instance().GetMetadata().descriptor; |
4481 | 0 | } |
4482 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4483 | 0 | return default_instance().GetMetadata().reflection; |
4484 | 0 | } |
4485 | 0 | static const MessageOptions& default_instance() { |
4486 | 0 | return *internal_default_instance(); |
4487 | 0 | } |
4488 | 0 | static inline const MessageOptions* internal_default_instance() { |
4489 | 0 | return reinterpret_cast<const MessageOptions*>( |
4490 | 0 | &_MessageOptions_default_instance_); |
4491 | 0 | } |
4492 | | static constexpr int kIndexInFileMessages = |
4493 | | 14; |
4494 | | |
4495 | 0 | friend void swap(MessageOptions& a, MessageOptions& b) { |
4496 | 0 | a.Swap(&b); |
4497 | 0 | } |
4498 | 0 | inline void Swap(MessageOptions* other) { |
4499 | 0 | if (other == this) return; |
4500 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4501 | 0 | if (GetOwningArena() != nullptr && |
4502 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4503 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4504 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4505 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4506 | 0 | InternalSwap(other); |
4507 | 0 | } else { |
4508 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4509 | 0 | } |
4510 | 0 | } |
4511 | 0 | void UnsafeArenaSwap(MessageOptions* other) { |
4512 | 0 | if (other == this) return; |
4513 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4514 | 0 | InternalSwap(other); |
4515 | 0 | } |
4516 | | |
4517 | | // implements Message ---------------------------------------------- |
4518 | | |
4519 | 0 | MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4520 | 0 | return CreateMaybeMessage<MessageOptions>(arena); |
4521 | 0 | } |
4522 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4523 | | void CopyFrom(const MessageOptions& from); |
4524 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4525 | 0 | void MergeFrom( const MessageOptions& from) { |
4526 | 0 | MessageOptions::MergeImpl(*this, from); |
4527 | 0 | } |
4528 | | private: |
4529 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4530 | | public: |
4531 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4532 | | bool IsInitialized() const final; |
4533 | | |
4534 | | ::size_t ByteSizeLong() const final; |
4535 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4536 | | ::uint8_t* _InternalSerialize( |
4537 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4538 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4539 | | |
4540 | | private: |
4541 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
4542 | | void SharedDtor(); |
4543 | | void SetCachedSize(int size) const final; |
4544 | | void InternalSwap(MessageOptions* other); |
4545 | | |
4546 | | private: |
4547 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4548 | 0 | static ::absl::string_view FullMessageName() { |
4549 | 0 | return "google.protobuf.MessageOptions"; |
4550 | 0 | } |
4551 | | protected: |
4552 | | explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
4553 | | public: |
4554 | | |
4555 | | static const ClassData _class_data_; |
4556 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4557 | | |
4558 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4559 | | |
4560 | | // nested types ---------------------------------------------------- |
4561 | | |
4562 | | // accessors ------------------------------------------------------- |
4563 | | |
4564 | | enum : int { |
4565 | | kUninterpretedOptionFieldNumber = 999, |
4566 | | kMessageSetWireFormatFieldNumber = 1, |
4567 | | kNoStandardDescriptorAccessorFieldNumber = 2, |
4568 | | kDeprecatedFieldNumber = 3, |
4569 | | kMapEntryFieldNumber = 7, |
4570 | | kDeprecatedLegacyJsonFieldConflictsFieldNumber = 11, |
4571 | | }; |
4572 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
4573 | | int uninterpreted_option_size() const; |
4574 | | private: |
4575 | | int _internal_uninterpreted_option_size() const; |
4576 | | |
4577 | | public: |
4578 | | void clear_uninterpreted_option() ; |
4579 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
4580 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
4581 | | mutable_uninterpreted_option(); |
4582 | | private: |
4583 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
4584 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
4585 | | public: |
4586 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
4587 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
4588 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
4589 | | uninterpreted_option() const; |
4590 | | // optional bool message_set_wire_format = 1 [default = false]; |
4591 | | bool has_message_set_wire_format() const; |
4592 | | void clear_message_set_wire_format() ; |
4593 | | bool message_set_wire_format() const; |
4594 | | void set_message_set_wire_format(bool value); |
4595 | | |
4596 | | private: |
4597 | | bool _internal_message_set_wire_format() const; |
4598 | | void _internal_set_message_set_wire_format(bool value); |
4599 | | |
4600 | | public: |
4601 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
4602 | | bool has_no_standard_descriptor_accessor() const; |
4603 | | void clear_no_standard_descriptor_accessor() ; |
4604 | | bool no_standard_descriptor_accessor() const; |
4605 | | void set_no_standard_descriptor_accessor(bool value); |
4606 | | |
4607 | | private: |
4608 | | bool _internal_no_standard_descriptor_accessor() const; |
4609 | | void _internal_set_no_standard_descriptor_accessor(bool value); |
4610 | | |
4611 | | public: |
4612 | | // optional bool deprecated = 3 [default = false]; |
4613 | | bool has_deprecated() const; |
4614 | | void clear_deprecated() ; |
4615 | | bool deprecated() const; |
4616 | | void set_deprecated(bool value); |
4617 | | |
4618 | | private: |
4619 | | bool _internal_deprecated() const; |
4620 | | void _internal_set_deprecated(bool value); |
4621 | | |
4622 | | public: |
4623 | | // optional bool map_entry = 7; |
4624 | | bool has_map_entry() const; |
4625 | | void clear_map_entry() ; |
4626 | | bool map_entry() const; |
4627 | | void set_map_entry(bool value); |
4628 | | |
4629 | | private: |
4630 | | bool _internal_map_entry() const; |
4631 | | void _internal_set_map_entry(bool value); |
4632 | | |
4633 | | public: |
4634 | | // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; |
4635 | | PROTOBUF_DEPRECATED bool has_deprecated_legacy_json_field_conflicts() const; |
4636 | | PROTOBUF_DEPRECATED void clear_deprecated_legacy_json_field_conflicts() ; |
4637 | | PROTOBUF_DEPRECATED bool deprecated_legacy_json_field_conflicts() const; |
4638 | | PROTOBUF_DEPRECATED void set_deprecated_legacy_json_field_conflicts(bool value); |
4639 | | |
4640 | | private: |
4641 | | bool _internal_deprecated_legacy_json_field_conflicts() const; |
4642 | | void _internal_set_deprecated_legacy_json_field_conflicts(bool value); |
4643 | | |
4644 | | public: |
4645 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4646 | | bool _is_packed> |
4647 | | inline bool HasExtension( |
4648 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4649 | | _field_type, _is_packed>& id) const { |
4650 | | return _impl_._extensions_.Has(id.number()); |
4651 | | } |
4652 | | |
4653 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4654 | | bool _is_packed> |
4655 | | inline void ClearExtension( |
4656 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4657 | | _field_type, _is_packed>& id) { |
4658 | | _impl_._extensions_.ClearExtension(id.number()); |
4659 | | } |
4660 | | |
4661 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4662 | | bool _is_packed> |
4663 | | inline int ExtensionSize( |
4664 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4665 | | _field_type, _is_packed>& id) const { |
4666 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4667 | | } |
4668 | | |
4669 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4670 | | bool _is_packed> |
4671 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4672 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4673 | | _field_type, _is_packed>& id) const { |
4674 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
4675 | | } |
4676 | | |
4677 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4678 | | bool _is_packed> |
4679 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4680 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4681 | | _field_type, _is_packed>& id) { |
4682 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
4683 | | } |
4684 | | |
4685 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4686 | | bool _is_packed> |
4687 | | inline void SetExtension( |
4688 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4689 | | _field_type, _is_packed>& id, |
4690 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4691 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4692 | | } |
4693 | | |
4694 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4695 | | bool _is_packed> |
4696 | | inline void SetAllocatedExtension( |
4697 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4698 | | _field_type, _is_packed>& id, |
4699 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4700 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4701 | | &_impl_._extensions_); |
4702 | | } |
4703 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4704 | | bool _is_packed> |
4705 | | inline void UnsafeArenaSetAllocatedExtension( |
4706 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4707 | | _field_type, _is_packed>& id, |
4708 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4709 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4710 | | value, &_impl_._extensions_); |
4711 | | } |
4712 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4713 | | bool _is_packed> |
4714 | | PROTOBUF_NODISCARD inline |
4715 | | typename _proto_TypeTraits::Singular::MutableType |
4716 | | ReleaseExtension( |
4717 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4718 | | _field_type, _is_packed>& id) { |
4719 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
4720 | | } |
4721 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4722 | | bool _is_packed> |
4723 | | inline typename _proto_TypeTraits::Singular::MutableType |
4724 | | UnsafeArenaReleaseExtension( |
4725 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4726 | | _field_type, _is_packed>& id) { |
4727 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4728 | | &_impl_._extensions_); |
4729 | | } |
4730 | | |
4731 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4732 | | bool _is_packed> |
4733 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4734 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4735 | | _field_type, _is_packed>& id, |
4736 | | int index) const { |
4737 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4738 | | } |
4739 | | |
4740 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4741 | | bool _is_packed> |
4742 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4743 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4744 | | _field_type, _is_packed>& id, |
4745 | | int index) { |
4746 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4747 | | } |
4748 | | |
4749 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4750 | | bool _is_packed> |
4751 | | inline void SetExtension( |
4752 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4753 | | _field_type, _is_packed>& id, |
4754 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4755 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4756 | | } |
4757 | | |
4758 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4759 | | bool _is_packed> |
4760 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4761 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4762 | | _field_type, _is_packed>& id) { |
4763 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4764 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4765 | | return to_add; |
4766 | | } |
4767 | | |
4768 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4769 | | bool _is_packed> |
4770 | | inline void AddExtension( |
4771 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4772 | | _field_type, _is_packed>& id, |
4773 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4774 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4775 | | &_impl_._extensions_); |
4776 | | } |
4777 | | |
4778 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4779 | | bool _is_packed> |
4780 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4781 | | GetRepeatedExtension( |
4782 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4783 | | _field_type, _is_packed>& id) const { |
4784 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4785 | | } |
4786 | | |
4787 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4788 | | bool _is_packed> |
4789 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4790 | | MutableRepeatedExtension( |
4791 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits, |
4792 | | _field_type, _is_packed>& id) { |
4793 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
4794 | | _is_packed, &_impl_._extensions_); |
4795 | | } |
4796 | | // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
4797 | | private: |
4798 | | class _Internal; |
4799 | | |
4800 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4801 | | typedef void InternalArenaConstructable_; |
4802 | | typedef void DestructorSkippable_; |
4803 | | struct Impl_ { |
4804 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
4805 | | |
4806 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
4807 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4808 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
4809 | | bool message_set_wire_format_; |
4810 | | bool no_standard_descriptor_accessor_; |
4811 | | bool deprecated_; |
4812 | | bool map_entry_; |
4813 | | bool deprecated_legacy_json_field_conflicts_; |
4814 | | }; |
4815 | | union { Impl_ _impl_; }; |
4816 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
4817 | | };// ------------------------------------------------------------------- |
4818 | | |
4819 | | class PROTOBUF_EXPORT FieldOptions final : |
4820 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { |
4821 | | public: |
4822 | 0 | inline FieldOptions() : FieldOptions(nullptr) {} |
4823 | | ~FieldOptions() override; |
4824 | | explicit PROTOBUF_CONSTEXPR FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4825 | | |
4826 | | FieldOptions(const FieldOptions& from); |
4827 | | FieldOptions(FieldOptions&& from) noexcept |
4828 | 0 | : FieldOptions() { |
4829 | 0 | *this = ::std::move(from); |
4830 | 0 | } |
4831 | | |
4832 | 0 | inline FieldOptions& operator=(const FieldOptions& from) { |
4833 | 0 | CopyFrom(from); |
4834 | 0 | return *this; |
4835 | 0 | } |
4836 | 0 | inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
4837 | 0 | if (this == &from) return *this; |
4838 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4839 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4840 | 0 | && GetOwningArena() != nullptr |
4841 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4842 | 0 | ) { |
4843 | 0 | InternalSwap(&from); |
4844 | 0 | } else { |
4845 | 0 | CopyFrom(from); |
4846 | 0 | } |
4847 | 0 | return *this; |
4848 | 0 | } |
4849 | | |
4850 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
4851 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
4852 | 0 | } |
4853 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
4854 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4855 | 0 | } |
4856 | | |
4857 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4858 | 0 | return GetDescriptor(); |
4859 | 0 | } |
4860 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4861 | 0 | return default_instance().GetMetadata().descriptor; |
4862 | 0 | } |
4863 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4864 | 0 | return default_instance().GetMetadata().reflection; |
4865 | 0 | } |
4866 | 0 | static const FieldOptions& default_instance() { |
4867 | 0 | return *internal_default_instance(); |
4868 | 0 | } |
4869 | 0 | static inline const FieldOptions* internal_default_instance() { |
4870 | 0 | return reinterpret_cast<const FieldOptions*>( |
4871 | 0 | &_FieldOptions_default_instance_); |
4872 | 0 | } |
4873 | | static constexpr int kIndexInFileMessages = |
4874 | | 15; |
4875 | | |
4876 | 0 | friend void swap(FieldOptions& a, FieldOptions& b) { |
4877 | 0 | a.Swap(&b); |
4878 | 0 | } |
4879 | 0 | inline void Swap(FieldOptions* other) { |
4880 | 0 | if (other == this) return; |
4881 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4882 | 0 | if (GetOwningArena() != nullptr && |
4883 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4884 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4885 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4886 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4887 | 0 | InternalSwap(other); |
4888 | 0 | } else { |
4889 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4890 | 0 | } |
4891 | 0 | } |
4892 | 0 | void UnsafeArenaSwap(FieldOptions* other) { |
4893 | 0 | if (other == this) return; |
4894 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4895 | 0 | InternalSwap(other); |
4896 | 0 | } |
4897 | | |
4898 | | // implements Message ---------------------------------------------- |
4899 | | |
4900 | 0 | FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4901 | 0 | return CreateMaybeMessage<FieldOptions>(arena); |
4902 | 0 | } |
4903 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4904 | | void CopyFrom(const FieldOptions& from); |
4905 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4906 | 0 | void MergeFrom( const FieldOptions& from) { |
4907 | 0 | FieldOptions::MergeImpl(*this, from); |
4908 | 0 | } |
4909 | | private: |
4910 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4911 | | public: |
4912 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4913 | | bool IsInitialized() const final; |
4914 | | |
4915 | | ::size_t ByteSizeLong() const final; |
4916 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4917 | | ::uint8_t* _InternalSerialize( |
4918 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4919 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4920 | | |
4921 | | private: |
4922 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
4923 | | void SharedDtor(); |
4924 | | void SetCachedSize(int size) const final; |
4925 | | void InternalSwap(FieldOptions* other); |
4926 | | |
4927 | | private: |
4928 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4929 | 0 | static ::absl::string_view FullMessageName() { |
4930 | 0 | return "google.protobuf.FieldOptions"; |
4931 | 0 | } |
4932 | | protected: |
4933 | | explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
4934 | | public: |
4935 | | |
4936 | | static const ClassData _class_data_; |
4937 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4938 | | |
4939 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4940 | | |
4941 | | // nested types ---------------------------------------------------- |
4942 | | |
4943 | | using CType = FieldOptions_CType; |
4944 | | static constexpr CType STRING = FieldOptions_CType_STRING; |
4945 | | static constexpr CType CORD = FieldOptions_CType_CORD; |
4946 | | static constexpr CType STRING_PIECE = FieldOptions_CType_STRING_PIECE; |
4947 | 0 | static inline bool CType_IsValid(int value) { |
4948 | 0 | return FieldOptions_CType_IsValid(value); |
4949 | 0 | } |
4950 | | static constexpr CType CType_MIN = FieldOptions_CType_CType_MIN; |
4951 | | static constexpr CType CType_MAX = FieldOptions_CType_CType_MAX; |
4952 | | static constexpr int CType_ARRAYSIZE = FieldOptions_CType_CType_ARRAYSIZE; |
4953 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CType_descriptor() { |
4954 | 0 | return FieldOptions_CType_descriptor(); |
4955 | 0 | } |
4956 | | template <typename T> |
4957 | | static inline const std::string& CType_Name(T value) { |
4958 | | return FieldOptions_CType_Name(value); |
4959 | | } |
4960 | 0 | static inline bool CType_Parse(absl::string_view name, CType* value) { |
4961 | 0 | return FieldOptions_CType_Parse(name, value); |
4962 | 0 | } |
4963 | | |
4964 | | using JSType = FieldOptions_JSType; |
4965 | | static constexpr JSType JS_NORMAL = FieldOptions_JSType_JS_NORMAL; |
4966 | | static constexpr JSType JS_STRING = FieldOptions_JSType_JS_STRING; |
4967 | | static constexpr JSType JS_NUMBER = FieldOptions_JSType_JS_NUMBER; |
4968 | 0 | static inline bool JSType_IsValid(int value) { |
4969 | 0 | return FieldOptions_JSType_IsValid(value); |
4970 | 0 | } |
4971 | | static constexpr JSType JSType_MIN = FieldOptions_JSType_JSType_MIN; |
4972 | | static constexpr JSType JSType_MAX = FieldOptions_JSType_JSType_MAX; |
4973 | | static constexpr int JSType_ARRAYSIZE = FieldOptions_JSType_JSType_ARRAYSIZE; |
4974 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* JSType_descriptor() { |
4975 | 0 | return FieldOptions_JSType_descriptor(); |
4976 | 0 | } |
4977 | | template <typename T> |
4978 | | static inline const std::string& JSType_Name(T value) { |
4979 | | return FieldOptions_JSType_Name(value); |
4980 | | } |
4981 | 0 | static inline bool JSType_Parse(absl::string_view name, JSType* value) { |
4982 | 0 | return FieldOptions_JSType_Parse(name, value); |
4983 | 0 | } |
4984 | | |
4985 | | using OptionRetention = FieldOptions_OptionRetention; |
4986 | | static constexpr OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention_RETENTION_UNKNOWN; |
4987 | | static constexpr OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention_RETENTION_RUNTIME; |
4988 | | static constexpr OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention_RETENTION_SOURCE; |
4989 | 0 | static inline bool OptionRetention_IsValid(int value) { |
4990 | 0 | return FieldOptions_OptionRetention_IsValid(value); |
4991 | 0 | } |
4992 | | static constexpr OptionRetention OptionRetention_MIN = FieldOptions_OptionRetention_OptionRetention_MIN; |
4993 | | static constexpr OptionRetention OptionRetention_MAX = FieldOptions_OptionRetention_OptionRetention_MAX; |
4994 | | static constexpr int OptionRetention_ARRAYSIZE = FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE; |
4995 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OptionRetention_descriptor() { |
4996 | 0 | return FieldOptions_OptionRetention_descriptor(); |
4997 | 0 | } |
4998 | | template <typename T> |
4999 | | static inline const std::string& OptionRetention_Name(T value) { |
5000 | | return FieldOptions_OptionRetention_Name(value); |
5001 | | } |
5002 | 0 | static inline bool OptionRetention_Parse(absl::string_view name, OptionRetention* value) { |
5003 | 0 | return FieldOptions_OptionRetention_Parse(name, value); |
5004 | 0 | } |
5005 | | |
5006 | | using OptionTargetType = FieldOptions_OptionTargetType; |
5007 | | static constexpr OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN; |
5008 | | static constexpr OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType_TARGET_TYPE_FILE; |
5009 | | static constexpr OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE; |
5010 | | static constexpr OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE; |
5011 | | static constexpr OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType_TARGET_TYPE_FIELD; |
5012 | | static constexpr OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF; |
5013 | | static constexpr OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM; |
5014 | | static constexpr OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY; |
5015 | | static constexpr OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE; |
5016 | | static constexpr OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType_TARGET_TYPE_METHOD; |
5017 | 0 | static inline bool OptionTargetType_IsValid(int value) { |
5018 | 0 | return FieldOptions_OptionTargetType_IsValid(value); |
5019 | 0 | } |
5020 | | static constexpr OptionTargetType OptionTargetType_MIN = FieldOptions_OptionTargetType_OptionTargetType_MIN; |
5021 | | static constexpr OptionTargetType OptionTargetType_MAX = FieldOptions_OptionTargetType_OptionTargetType_MAX; |
5022 | | static constexpr int OptionTargetType_ARRAYSIZE = FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE; |
5023 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OptionTargetType_descriptor() { |
5024 | 0 | return FieldOptions_OptionTargetType_descriptor(); |
5025 | 0 | } |
5026 | | template <typename T> |
5027 | | static inline const std::string& OptionTargetType_Name(T value) { |
5028 | | return FieldOptions_OptionTargetType_Name(value); |
5029 | | } |
5030 | 0 | static inline bool OptionTargetType_Parse(absl::string_view name, OptionTargetType* value) { |
5031 | 0 | return FieldOptions_OptionTargetType_Parse(name, value); |
5032 | 0 | } |
5033 | | |
5034 | | // accessors ------------------------------------------------------- |
5035 | | |
5036 | | enum : int { |
5037 | | kUninterpretedOptionFieldNumber = 999, |
5038 | | kCtypeFieldNumber = 1, |
5039 | | kJstypeFieldNumber = 6, |
5040 | | kPackedFieldNumber = 2, |
5041 | | kLazyFieldNumber = 5, |
5042 | | kUnverifiedLazyFieldNumber = 15, |
5043 | | kDeprecatedFieldNumber = 3, |
5044 | | kWeakFieldNumber = 10, |
5045 | | kDebugRedactFieldNumber = 16, |
5046 | | kRetentionFieldNumber = 17, |
5047 | | kTargetFieldNumber = 18, |
5048 | | }; |
5049 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5050 | | int uninterpreted_option_size() const; |
5051 | | private: |
5052 | | int _internal_uninterpreted_option_size() const; |
5053 | | |
5054 | | public: |
5055 | | void clear_uninterpreted_option() ; |
5056 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
5057 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
5058 | | mutable_uninterpreted_option(); |
5059 | | private: |
5060 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
5061 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
5062 | | public: |
5063 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
5064 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
5065 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
5066 | | uninterpreted_option() const; |
5067 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
5068 | | bool has_ctype() const; |
5069 | | void clear_ctype() ; |
5070 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const; |
5071 | | void set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); |
5072 | | |
5073 | | private: |
5074 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const; |
5075 | | void _internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); |
5076 | | |
5077 | | public: |
5078 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
5079 | | bool has_jstype() const; |
5080 | | void clear_jstype() ; |
5081 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const; |
5082 | | void set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); |
5083 | | |
5084 | | private: |
5085 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const; |
5086 | | void _internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); |
5087 | | |
5088 | | public: |
5089 | | // optional bool packed = 2; |
5090 | | bool has_packed() const; |
5091 | | void clear_packed() ; |
5092 | | bool packed() const; |
5093 | | void set_packed(bool value); |
5094 | | |
5095 | | private: |
5096 | | bool _internal_packed() const; |
5097 | | void _internal_set_packed(bool value); |
5098 | | |
5099 | | public: |
5100 | | // optional bool lazy = 5 [default = false]; |
5101 | | bool has_lazy() const; |
5102 | | void clear_lazy() ; |
5103 | | bool lazy() const; |
5104 | | void set_lazy(bool value); |
5105 | | |
5106 | | private: |
5107 | | bool _internal_lazy() const; |
5108 | | void _internal_set_lazy(bool value); |
5109 | | |
5110 | | public: |
5111 | | // optional bool unverified_lazy = 15 [default = false]; |
5112 | | bool has_unverified_lazy() const; |
5113 | | void clear_unverified_lazy() ; |
5114 | | bool unverified_lazy() const; |
5115 | | void set_unverified_lazy(bool value); |
5116 | | |
5117 | | private: |
5118 | | bool _internal_unverified_lazy() const; |
5119 | | void _internal_set_unverified_lazy(bool value); |
5120 | | |
5121 | | public: |
5122 | | // optional bool deprecated = 3 [default = false]; |
5123 | | bool has_deprecated() const; |
5124 | | void clear_deprecated() ; |
5125 | | bool deprecated() const; |
5126 | | void set_deprecated(bool value); |
5127 | | |
5128 | | private: |
5129 | | bool _internal_deprecated() const; |
5130 | | void _internal_set_deprecated(bool value); |
5131 | | |
5132 | | public: |
5133 | | // optional bool weak = 10 [default = false]; |
5134 | | bool has_weak() const; |
5135 | | void clear_weak() ; |
5136 | | bool weak() const; |
5137 | | void set_weak(bool value); |
5138 | | |
5139 | | private: |
5140 | | bool _internal_weak() const; |
5141 | | void _internal_set_weak(bool value); |
5142 | | |
5143 | | public: |
5144 | | // optional bool debug_redact = 16 [default = false]; |
5145 | | bool has_debug_redact() const; |
5146 | | void clear_debug_redact() ; |
5147 | | bool debug_redact() const; |
5148 | | void set_debug_redact(bool value); |
5149 | | |
5150 | | private: |
5151 | | bool _internal_debug_redact() const; |
5152 | | void _internal_set_debug_redact(bool value); |
5153 | | |
5154 | | public: |
5155 | | // optional .google.protobuf.FieldOptions.OptionRetention retention = 17; |
5156 | | bool has_retention() const; |
5157 | | void clear_retention() ; |
5158 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention retention() const; |
5159 | | void set_retention(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention value); |
5160 | | |
5161 | | private: |
5162 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention _internal_retention() const; |
5163 | | void _internal_set_retention(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention value); |
5164 | | |
5165 | | public: |
5166 | | // optional .google.protobuf.FieldOptions.OptionTargetType target = 18; |
5167 | | bool has_target() const; |
5168 | | void clear_target() ; |
5169 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType target() const; |
5170 | | void set_target(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType value); |
5171 | | |
5172 | | private: |
5173 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType _internal_target() const; |
5174 | | void _internal_set_target(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType value); |
5175 | | |
5176 | | public: |
5177 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5178 | | bool _is_packed> |
5179 | | inline bool HasExtension( |
5180 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5181 | | _field_type, _is_packed>& id) const { |
5182 | | return _impl_._extensions_.Has(id.number()); |
5183 | | } |
5184 | | |
5185 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5186 | | bool _is_packed> |
5187 | | inline void ClearExtension( |
5188 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5189 | | _field_type, _is_packed>& id) { |
5190 | | _impl_._extensions_.ClearExtension(id.number()); |
5191 | | } |
5192 | | |
5193 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5194 | | bool _is_packed> |
5195 | | inline int ExtensionSize( |
5196 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5197 | | _field_type, _is_packed>& id) const { |
5198 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5199 | | } |
5200 | | |
5201 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5202 | | bool _is_packed> |
5203 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5204 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5205 | | _field_type, _is_packed>& id) const { |
5206 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
5207 | | } |
5208 | | |
5209 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5210 | | bool _is_packed> |
5211 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5212 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5213 | | _field_type, _is_packed>& id) { |
5214 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
5215 | | } |
5216 | | |
5217 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5218 | | bool _is_packed> |
5219 | | inline void SetExtension( |
5220 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5221 | | _field_type, _is_packed>& id, |
5222 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5223 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5224 | | } |
5225 | | |
5226 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5227 | | bool _is_packed> |
5228 | | inline void SetAllocatedExtension( |
5229 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5230 | | _field_type, _is_packed>& id, |
5231 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5232 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5233 | | &_impl_._extensions_); |
5234 | | } |
5235 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5236 | | bool _is_packed> |
5237 | | inline void UnsafeArenaSetAllocatedExtension( |
5238 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5239 | | _field_type, _is_packed>& id, |
5240 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5241 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5242 | | value, &_impl_._extensions_); |
5243 | | } |
5244 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5245 | | bool _is_packed> |
5246 | | PROTOBUF_NODISCARD inline |
5247 | | typename _proto_TypeTraits::Singular::MutableType |
5248 | | ReleaseExtension( |
5249 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5250 | | _field_type, _is_packed>& id) { |
5251 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
5252 | | } |
5253 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5254 | | bool _is_packed> |
5255 | | inline typename _proto_TypeTraits::Singular::MutableType |
5256 | | UnsafeArenaReleaseExtension( |
5257 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5258 | | _field_type, _is_packed>& id) { |
5259 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5260 | | &_impl_._extensions_); |
5261 | | } |
5262 | | |
5263 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5264 | | bool _is_packed> |
5265 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5266 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5267 | | _field_type, _is_packed>& id, |
5268 | | int index) const { |
5269 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5270 | | } |
5271 | | |
5272 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5273 | | bool _is_packed> |
5274 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
5275 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5276 | | _field_type, _is_packed>& id, |
5277 | | int index) { |
5278 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
5279 | | } |
5280 | | |
5281 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5282 | | bool _is_packed> |
5283 | | inline void SetExtension( |
5284 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5285 | | _field_type, _is_packed>& id, |
5286 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
5287 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
5288 | | } |
5289 | | |
5290 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5291 | | bool _is_packed> |
5292 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
5293 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5294 | | _field_type, _is_packed>& id) { |
5295 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
5296 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
5297 | | return to_add; |
5298 | | } |
5299 | | |
5300 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5301 | | bool _is_packed> |
5302 | | inline void AddExtension( |
5303 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5304 | | _field_type, _is_packed>& id, |
5305 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
5306 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
5307 | | &_impl_._extensions_); |
5308 | | } |
5309 | | |
5310 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5311 | | bool _is_packed> |
5312 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
5313 | | GetRepeatedExtension( |
5314 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5315 | | _field_type, _is_packed>& id) const { |
5316 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
5317 | | } |
5318 | | |
5319 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5320 | | bool _is_packed> |
5321 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
5322 | | MutableRepeatedExtension( |
5323 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits, |
5324 | | _field_type, _is_packed>& id) { |
5325 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
5326 | | _is_packed, &_impl_._extensions_); |
5327 | | } |
5328 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
5329 | | private: |
5330 | | class _Internal; |
5331 | | |
5332 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5333 | | typedef void InternalArenaConstructable_; |
5334 | | typedef void DestructorSkippable_; |
5335 | | struct Impl_ { |
5336 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
5337 | | |
5338 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
5339 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5340 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
5341 | | int ctype_; |
5342 | | int jstype_; |
5343 | | bool packed_; |
5344 | | bool lazy_; |
5345 | | bool unverified_lazy_; |
5346 | | bool deprecated_; |
5347 | | bool weak_; |
5348 | | bool debug_redact_; |
5349 | | int retention_; |
5350 | | int target_; |
5351 | | }; |
5352 | | union { Impl_ _impl_; }; |
5353 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
5354 | | };// ------------------------------------------------------------------- |
5355 | | |
5356 | | class PROTOBUF_EXPORT OneofOptions final : |
5357 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { |
5358 | | public: |
5359 | 0 | inline OneofOptions() : OneofOptions(nullptr) {} |
5360 | | ~OneofOptions() override; |
5361 | | explicit PROTOBUF_CONSTEXPR OneofOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5362 | | |
5363 | | OneofOptions(const OneofOptions& from); |
5364 | | OneofOptions(OneofOptions&& from) noexcept |
5365 | 0 | : OneofOptions() { |
5366 | 0 | *this = ::std::move(from); |
5367 | 0 | } |
5368 | | |
5369 | 0 | inline OneofOptions& operator=(const OneofOptions& from) { |
5370 | 0 | CopyFrom(from); |
5371 | 0 | return *this; |
5372 | 0 | } |
5373 | 0 | inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
5374 | 0 | if (this == &from) return *this; |
5375 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5376 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5377 | 0 | && GetOwningArena() != nullptr |
5378 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5379 | 0 | ) { |
5380 | 0 | InternalSwap(&from); |
5381 | 0 | } else { |
5382 | 0 | CopyFrom(from); |
5383 | 0 | } |
5384 | 0 | return *this; |
5385 | 0 | } |
5386 | | |
5387 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
5388 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
5389 | 0 | } |
5390 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
5391 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5392 | 0 | } |
5393 | | |
5394 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5395 | 0 | return GetDescriptor(); |
5396 | 0 | } |
5397 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5398 | 0 | return default_instance().GetMetadata().descriptor; |
5399 | 0 | } |
5400 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5401 | 0 | return default_instance().GetMetadata().reflection; |
5402 | 0 | } |
5403 | 0 | static const OneofOptions& default_instance() { |
5404 | 0 | return *internal_default_instance(); |
5405 | 0 | } |
5406 | 0 | static inline const OneofOptions* internal_default_instance() { |
5407 | 0 | return reinterpret_cast<const OneofOptions*>( |
5408 | 0 | &_OneofOptions_default_instance_); |
5409 | 0 | } |
5410 | | static constexpr int kIndexInFileMessages = |
5411 | | 16; |
5412 | | |
5413 | 0 | friend void swap(OneofOptions& a, OneofOptions& b) { |
5414 | 0 | a.Swap(&b); |
5415 | 0 | } |
5416 | 0 | inline void Swap(OneofOptions* other) { |
5417 | 0 | if (other == this) return; |
5418 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5419 | 0 | if (GetOwningArena() != nullptr && |
5420 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5421 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5422 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5423 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5424 | 0 | InternalSwap(other); |
5425 | 0 | } else { |
5426 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5427 | 0 | } |
5428 | 0 | } |
5429 | 0 | void UnsafeArenaSwap(OneofOptions* other) { |
5430 | 0 | if (other == this) return; |
5431 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5432 | 0 | InternalSwap(other); |
5433 | 0 | } |
5434 | | |
5435 | | // implements Message ---------------------------------------------- |
5436 | | |
5437 | 0 | OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5438 | 0 | return CreateMaybeMessage<OneofOptions>(arena); |
5439 | 0 | } |
5440 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5441 | | void CopyFrom(const OneofOptions& from); |
5442 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5443 | 0 | void MergeFrom( const OneofOptions& from) { |
5444 | 0 | OneofOptions::MergeImpl(*this, from); |
5445 | 0 | } |
5446 | | private: |
5447 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5448 | | public: |
5449 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5450 | | bool IsInitialized() const final; |
5451 | | |
5452 | | ::size_t ByteSizeLong() const final; |
5453 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5454 | | ::uint8_t* _InternalSerialize( |
5455 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5456 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5457 | | |
5458 | | private: |
5459 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
5460 | | void SharedDtor(); |
5461 | | void SetCachedSize(int size) const final; |
5462 | | void InternalSwap(OneofOptions* other); |
5463 | | |
5464 | | private: |
5465 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5466 | 0 | static ::absl::string_view FullMessageName() { |
5467 | 0 | return "google.protobuf.OneofOptions"; |
5468 | 0 | } |
5469 | | protected: |
5470 | | explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
5471 | | public: |
5472 | | |
5473 | | static const ClassData _class_data_; |
5474 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5475 | | |
5476 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5477 | | |
5478 | | // nested types ---------------------------------------------------- |
5479 | | |
5480 | | // accessors ------------------------------------------------------- |
5481 | | |
5482 | | enum : int { |
5483 | | kUninterpretedOptionFieldNumber = 999, |
5484 | | }; |
5485 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5486 | | int uninterpreted_option_size() const; |
5487 | | private: |
5488 | | int _internal_uninterpreted_option_size() const; |
5489 | | |
5490 | | public: |
5491 | | void clear_uninterpreted_option() ; |
5492 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
5493 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
5494 | | mutable_uninterpreted_option(); |
5495 | | private: |
5496 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
5497 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
5498 | | public: |
5499 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
5500 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
5501 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
5502 | | uninterpreted_option() const; |
5503 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5504 | | bool _is_packed> |
5505 | | inline bool HasExtension( |
5506 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5507 | | _field_type, _is_packed>& id) const { |
5508 | | return _impl_._extensions_.Has(id.number()); |
5509 | | } |
5510 | | |
5511 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5512 | | bool _is_packed> |
5513 | | inline void ClearExtension( |
5514 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5515 | | _field_type, _is_packed>& id) { |
5516 | | _impl_._extensions_.ClearExtension(id.number()); |
5517 | | } |
5518 | | |
5519 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5520 | | bool _is_packed> |
5521 | | inline int ExtensionSize( |
5522 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5523 | | _field_type, _is_packed>& id) const { |
5524 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5525 | | } |
5526 | | |
5527 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5528 | | bool _is_packed> |
5529 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5530 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5531 | | _field_type, _is_packed>& id) const { |
5532 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
5533 | | } |
5534 | | |
5535 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5536 | | bool _is_packed> |
5537 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5538 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5539 | | _field_type, _is_packed>& id) { |
5540 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
5541 | | } |
5542 | | |
5543 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5544 | | bool _is_packed> |
5545 | | inline void SetExtension( |
5546 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5547 | | _field_type, _is_packed>& id, |
5548 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5549 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5550 | | } |
5551 | | |
5552 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5553 | | bool _is_packed> |
5554 | | inline void SetAllocatedExtension( |
5555 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5556 | | _field_type, _is_packed>& id, |
5557 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5558 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5559 | | &_impl_._extensions_); |
5560 | | } |
5561 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5562 | | bool _is_packed> |
5563 | | inline void UnsafeArenaSetAllocatedExtension( |
5564 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5565 | | _field_type, _is_packed>& id, |
5566 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5567 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5568 | | value, &_impl_._extensions_); |
5569 | | } |
5570 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5571 | | bool _is_packed> |
5572 | | PROTOBUF_NODISCARD inline |
5573 | | typename _proto_TypeTraits::Singular::MutableType |
5574 | | ReleaseExtension( |
5575 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5576 | | _field_type, _is_packed>& id) { |
5577 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
5578 | | } |
5579 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5580 | | bool _is_packed> |
5581 | | inline typename _proto_TypeTraits::Singular::MutableType |
5582 | | UnsafeArenaReleaseExtension( |
5583 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5584 | | _field_type, _is_packed>& id) { |
5585 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5586 | | &_impl_._extensions_); |
5587 | | } |
5588 | | |
5589 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5590 | | bool _is_packed> |
5591 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5592 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5593 | | _field_type, _is_packed>& id, |
5594 | | int index) const { |
5595 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5596 | | } |
5597 | | |
5598 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5599 | | bool _is_packed> |
5600 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
5601 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5602 | | _field_type, _is_packed>& id, |
5603 | | int index) { |
5604 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
5605 | | } |
5606 | | |
5607 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5608 | | bool _is_packed> |
5609 | | inline void SetExtension( |
5610 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5611 | | _field_type, _is_packed>& id, |
5612 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
5613 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
5614 | | } |
5615 | | |
5616 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5617 | | bool _is_packed> |
5618 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
5619 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5620 | | _field_type, _is_packed>& id) { |
5621 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
5622 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
5623 | | return to_add; |
5624 | | } |
5625 | | |
5626 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5627 | | bool _is_packed> |
5628 | | inline void AddExtension( |
5629 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5630 | | _field_type, _is_packed>& id, |
5631 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
5632 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
5633 | | &_impl_._extensions_); |
5634 | | } |
5635 | | |
5636 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5637 | | bool _is_packed> |
5638 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
5639 | | GetRepeatedExtension( |
5640 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5641 | | _field_type, _is_packed>& id) const { |
5642 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
5643 | | } |
5644 | | |
5645 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5646 | | bool _is_packed> |
5647 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
5648 | | MutableRepeatedExtension( |
5649 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits, |
5650 | | _field_type, _is_packed>& id) { |
5651 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
5652 | | _is_packed, &_impl_._extensions_); |
5653 | | } |
5654 | | // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) |
5655 | | private: |
5656 | | class _Internal; |
5657 | | |
5658 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5659 | | typedef void InternalArenaConstructable_; |
5660 | | typedef void DestructorSkippable_; |
5661 | | struct Impl_ { |
5662 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
5663 | | |
5664 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
5665 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5666 | | }; |
5667 | | union { Impl_ _impl_; }; |
5668 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
5669 | | };// ------------------------------------------------------------------- |
5670 | | |
5671 | | class PROTOBUF_EXPORT EnumOptions final : |
5672 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { |
5673 | | public: |
5674 | 0 | inline EnumOptions() : EnumOptions(nullptr) {} |
5675 | | ~EnumOptions() override; |
5676 | | explicit PROTOBUF_CONSTEXPR EnumOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5677 | | |
5678 | | EnumOptions(const EnumOptions& from); |
5679 | | EnumOptions(EnumOptions&& from) noexcept |
5680 | 0 | : EnumOptions() { |
5681 | 0 | *this = ::std::move(from); |
5682 | 0 | } |
5683 | | |
5684 | 0 | inline EnumOptions& operator=(const EnumOptions& from) { |
5685 | 0 | CopyFrom(from); |
5686 | 0 | return *this; |
5687 | 0 | } |
5688 | 0 | inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
5689 | 0 | if (this == &from) return *this; |
5690 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5691 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5692 | 0 | && GetOwningArena() != nullptr |
5693 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5694 | 0 | ) { |
5695 | 0 | InternalSwap(&from); |
5696 | 0 | } else { |
5697 | 0 | CopyFrom(from); |
5698 | 0 | } |
5699 | 0 | return *this; |
5700 | 0 | } |
5701 | | |
5702 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
5703 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
5704 | 0 | } |
5705 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
5706 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5707 | 0 | } |
5708 | | |
5709 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5710 | 0 | return GetDescriptor(); |
5711 | 0 | } |
5712 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5713 | 0 | return default_instance().GetMetadata().descriptor; |
5714 | 0 | } |
5715 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5716 | 0 | return default_instance().GetMetadata().reflection; |
5717 | 0 | } |
5718 | 0 | static const EnumOptions& default_instance() { |
5719 | 0 | return *internal_default_instance(); |
5720 | 0 | } |
5721 | 0 | static inline const EnumOptions* internal_default_instance() { |
5722 | 0 | return reinterpret_cast<const EnumOptions*>( |
5723 | 0 | &_EnumOptions_default_instance_); |
5724 | 0 | } |
5725 | | static constexpr int kIndexInFileMessages = |
5726 | | 17; |
5727 | | |
5728 | 0 | friend void swap(EnumOptions& a, EnumOptions& b) { |
5729 | 0 | a.Swap(&b); |
5730 | 0 | } |
5731 | 0 | inline void Swap(EnumOptions* other) { |
5732 | 0 | if (other == this) return; |
5733 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5734 | 0 | if (GetOwningArena() != nullptr && |
5735 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5736 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5737 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5738 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5739 | 0 | InternalSwap(other); |
5740 | 0 | } else { |
5741 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5742 | 0 | } |
5743 | 0 | } |
5744 | 0 | void UnsafeArenaSwap(EnumOptions* other) { |
5745 | 0 | if (other == this) return; |
5746 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5747 | 0 | InternalSwap(other); |
5748 | 0 | } |
5749 | | |
5750 | | // implements Message ---------------------------------------------- |
5751 | | |
5752 | 0 | EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5753 | 0 | return CreateMaybeMessage<EnumOptions>(arena); |
5754 | 0 | } |
5755 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5756 | | void CopyFrom(const EnumOptions& from); |
5757 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5758 | 0 | void MergeFrom( const EnumOptions& from) { |
5759 | 0 | EnumOptions::MergeImpl(*this, from); |
5760 | 0 | } |
5761 | | private: |
5762 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5763 | | public: |
5764 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5765 | | bool IsInitialized() const final; |
5766 | | |
5767 | | ::size_t ByteSizeLong() const final; |
5768 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5769 | | ::uint8_t* _InternalSerialize( |
5770 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5771 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5772 | | |
5773 | | private: |
5774 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
5775 | | void SharedDtor(); |
5776 | | void SetCachedSize(int size) const final; |
5777 | | void InternalSwap(EnumOptions* other); |
5778 | | |
5779 | | private: |
5780 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5781 | 0 | static ::absl::string_view FullMessageName() { |
5782 | 0 | return "google.protobuf.EnumOptions"; |
5783 | 0 | } |
5784 | | protected: |
5785 | | explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
5786 | | public: |
5787 | | |
5788 | | static const ClassData _class_data_; |
5789 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5790 | | |
5791 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5792 | | |
5793 | | // nested types ---------------------------------------------------- |
5794 | | |
5795 | | // accessors ------------------------------------------------------- |
5796 | | |
5797 | | enum : int { |
5798 | | kUninterpretedOptionFieldNumber = 999, |
5799 | | kAllowAliasFieldNumber = 2, |
5800 | | kDeprecatedFieldNumber = 3, |
5801 | | kDeprecatedLegacyJsonFieldConflictsFieldNumber = 6, |
5802 | | }; |
5803 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5804 | | int uninterpreted_option_size() const; |
5805 | | private: |
5806 | | int _internal_uninterpreted_option_size() const; |
5807 | | |
5808 | | public: |
5809 | | void clear_uninterpreted_option() ; |
5810 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
5811 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
5812 | | mutable_uninterpreted_option(); |
5813 | | private: |
5814 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
5815 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
5816 | | public: |
5817 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
5818 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
5819 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
5820 | | uninterpreted_option() const; |
5821 | | // optional bool allow_alias = 2; |
5822 | | bool has_allow_alias() const; |
5823 | | void clear_allow_alias() ; |
5824 | | bool allow_alias() const; |
5825 | | void set_allow_alias(bool value); |
5826 | | |
5827 | | private: |
5828 | | bool _internal_allow_alias() const; |
5829 | | void _internal_set_allow_alias(bool value); |
5830 | | |
5831 | | public: |
5832 | | // optional bool deprecated = 3 [default = false]; |
5833 | | bool has_deprecated() const; |
5834 | | void clear_deprecated() ; |
5835 | | bool deprecated() const; |
5836 | | void set_deprecated(bool value); |
5837 | | |
5838 | | private: |
5839 | | bool _internal_deprecated() const; |
5840 | | void _internal_set_deprecated(bool value); |
5841 | | |
5842 | | public: |
5843 | | // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; |
5844 | | PROTOBUF_DEPRECATED bool has_deprecated_legacy_json_field_conflicts() const; |
5845 | | PROTOBUF_DEPRECATED void clear_deprecated_legacy_json_field_conflicts() ; |
5846 | | PROTOBUF_DEPRECATED bool deprecated_legacy_json_field_conflicts() const; |
5847 | | PROTOBUF_DEPRECATED void set_deprecated_legacy_json_field_conflicts(bool value); |
5848 | | |
5849 | | private: |
5850 | | bool _internal_deprecated_legacy_json_field_conflicts() const; |
5851 | | void _internal_set_deprecated_legacy_json_field_conflicts(bool value); |
5852 | | |
5853 | | public: |
5854 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5855 | | bool _is_packed> |
5856 | | inline bool HasExtension( |
5857 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5858 | | _field_type, _is_packed>& id) const { |
5859 | | return _impl_._extensions_.Has(id.number()); |
5860 | | } |
5861 | | |
5862 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5863 | | bool _is_packed> |
5864 | | inline void ClearExtension( |
5865 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5866 | | _field_type, _is_packed>& id) { |
5867 | | _impl_._extensions_.ClearExtension(id.number()); |
5868 | | } |
5869 | | |
5870 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5871 | | bool _is_packed> |
5872 | | inline int ExtensionSize( |
5873 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5874 | | _field_type, _is_packed>& id) const { |
5875 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5876 | | } |
5877 | | |
5878 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5879 | | bool _is_packed> |
5880 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5881 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5882 | | _field_type, _is_packed>& id) const { |
5883 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
5884 | | } |
5885 | | |
5886 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5887 | | bool _is_packed> |
5888 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5889 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5890 | | _field_type, _is_packed>& id) { |
5891 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
5892 | | } |
5893 | | |
5894 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5895 | | bool _is_packed> |
5896 | | inline void SetExtension( |
5897 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5898 | | _field_type, _is_packed>& id, |
5899 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5900 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5901 | | } |
5902 | | |
5903 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5904 | | bool _is_packed> |
5905 | | inline void SetAllocatedExtension( |
5906 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5907 | | _field_type, _is_packed>& id, |
5908 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5909 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5910 | | &_impl_._extensions_); |
5911 | | } |
5912 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5913 | | bool _is_packed> |
5914 | | inline void UnsafeArenaSetAllocatedExtension( |
5915 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5916 | | _field_type, _is_packed>& id, |
5917 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5918 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5919 | | value, &_impl_._extensions_); |
5920 | | } |
5921 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5922 | | bool _is_packed> |
5923 | | PROTOBUF_NODISCARD inline |
5924 | | typename _proto_TypeTraits::Singular::MutableType |
5925 | | ReleaseExtension( |
5926 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5927 | | _field_type, _is_packed>& id) { |
5928 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
5929 | | } |
5930 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5931 | | bool _is_packed> |
5932 | | inline typename _proto_TypeTraits::Singular::MutableType |
5933 | | UnsafeArenaReleaseExtension( |
5934 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5935 | | _field_type, _is_packed>& id) { |
5936 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5937 | | &_impl_._extensions_); |
5938 | | } |
5939 | | |
5940 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5941 | | bool _is_packed> |
5942 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5943 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5944 | | _field_type, _is_packed>& id, |
5945 | | int index) const { |
5946 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5947 | | } |
5948 | | |
5949 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5950 | | bool _is_packed> |
5951 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
5952 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5953 | | _field_type, _is_packed>& id, |
5954 | | int index) { |
5955 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
5956 | | } |
5957 | | |
5958 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5959 | | bool _is_packed> |
5960 | | inline void SetExtension( |
5961 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5962 | | _field_type, _is_packed>& id, |
5963 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
5964 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
5965 | | } |
5966 | | |
5967 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5968 | | bool _is_packed> |
5969 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
5970 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5971 | | _field_type, _is_packed>& id) { |
5972 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
5973 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
5974 | | return to_add; |
5975 | | } |
5976 | | |
5977 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5978 | | bool _is_packed> |
5979 | | inline void AddExtension( |
5980 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5981 | | _field_type, _is_packed>& id, |
5982 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
5983 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
5984 | | &_impl_._extensions_); |
5985 | | } |
5986 | | |
5987 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5988 | | bool _is_packed> |
5989 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
5990 | | GetRepeatedExtension( |
5991 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
5992 | | _field_type, _is_packed>& id) const { |
5993 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
5994 | | } |
5995 | | |
5996 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5997 | | bool _is_packed> |
5998 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
5999 | | MutableRepeatedExtension( |
6000 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits, |
6001 | | _field_type, _is_packed>& id) { |
6002 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6003 | | _is_packed, &_impl_._extensions_); |
6004 | | } |
6005 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
6006 | | private: |
6007 | | class _Internal; |
6008 | | |
6009 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6010 | | typedef void InternalArenaConstructable_; |
6011 | | typedef void DestructorSkippable_; |
6012 | | struct Impl_ { |
6013 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
6014 | | |
6015 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
6016 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6017 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
6018 | | bool allow_alias_; |
6019 | | bool deprecated_; |
6020 | | bool deprecated_legacy_json_field_conflicts_; |
6021 | | }; |
6022 | | union { Impl_ _impl_; }; |
6023 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6024 | | };// ------------------------------------------------------------------- |
6025 | | |
6026 | | class PROTOBUF_EXPORT EnumValueOptions final : |
6027 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { |
6028 | | public: |
6029 | 0 | inline EnumValueOptions() : EnumValueOptions(nullptr) {} |
6030 | | ~EnumValueOptions() override; |
6031 | | explicit PROTOBUF_CONSTEXPR EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6032 | | |
6033 | | EnumValueOptions(const EnumValueOptions& from); |
6034 | | EnumValueOptions(EnumValueOptions&& from) noexcept |
6035 | 0 | : EnumValueOptions() { |
6036 | 0 | *this = ::std::move(from); |
6037 | 0 | } |
6038 | | |
6039 | 0 | inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
6040 | 0 | CopyFrom(from); |
6041 | 0 | return *this; |
6042 | 0 | } |
6043 | 0 | inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
6044 | 0 | if (this == &from) return *this; |
6045 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6046 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6047 | 0 | && GetOwningArena() != nullptr |
6048 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6049 | 0 | ) { |
6050 | 0 | InternalSwap(&from); |
6051 | 0 | } else { |
6052 | 0 | CopyFrom(from); |
6053 | 0 | } |
6054 | 0 | return *this; |
6055 | 0 | } |
6056 | | |
6057 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
6058 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
6059 | 0 | } |
6060 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
6061 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6062 | 0 | } |
6063 | | |
6064 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6065 | 0 | return GetDescriptor(); |
6066 | 0 | } |
6067 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6068 | 0 | return default_instance().GetMetadata().descriptor; |
6069 | 0 | } |
6070 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6071 | 0 | return default_instance().GetMetadata().reflection; |
6072 | 0 | } |
6073 | 0 | static const EnumValueOptions& default_instance() { |
6074 | 0 | return *internal_default_instance(); |
6075 | 0 | } |
6076 | 0 | static inline const EnumValueOptions* internal_default_instance() { |
6077 | 0 | return reinterpret_cast<const EnumValueOptions*>( |
6078 | 0 | &_EnumValueOptions_default_instance_); |
6079 | 0 | } |
6080 | | static constexpr int kIndexInFileMessages = |
6081 | | 18; |
6082 | | |
6083 | 0 | friend void swap(EnumValueOptions& a, EnumValueOptions& b) { |
6084 | 0 | a.Swap(&b); |
6085 | 0 | } |
6086 | 0 | inline void Swap(EnumValueOptions* other) { |
6087 | 0 | if (other == this) return; |
6088 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6089 | 0 | if (GetOwningArena() != nullptr && |
6090 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6091 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6092 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6093 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6094 | 0 | InternalSwap(other); |
6095 | 0 | } else { |
6096 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6097 | 0 | } |
6098 | 0 | } |
6099 | 0 | void UnsafeArenaSwap(EnumValueOptions* other) { |
6100 | 0 | if (other == this) return; |
6101 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6102 | 0 | InternalSwap(other); |
6103 | 0 | } |
6104 | | |
6105 | | // implements Message ---------------------------------------------- |
6106 | | |
6107 | 0 | EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6108 | 0 | return CreateMaybeMessage<EnumValueOptions>(arena); |
6109 | 0 | } |
6110 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6111 | | void CopyFrom(const EnumValueOptions& from); |
6112 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6113 | 0 | void MergeFrom( const EnumValueOptions& from) { |
6114 | 0 | EnumValueOptions::MergeImpl(*this, from); |
6115 | 0 | } |
6116 | | private: |
6117 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6118 | | public: |
6119 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6120 | | bool IsInitialized() const final; |
6121 | | |
6122 | | ::size_t ByteSizeLong() const final; |
6123 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6124 | | ::uint8_t* _InternalSerialize( |
6125 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6126 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6127 | | |
6128 | | private: |
6129 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
6130 | | void SharedDtor(); |
6131 | | void SetCachedSize(int size) const final; |
6132 | | void InternalSwap(EnumValueOptions* other); |
6133 | | |
6134 | | private: |
6135 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6136 | 0 | static ::absl::string_view FullMessageName() { |
6137 | 0 | return "google.protobuf.EnumValueOptions"; |
6138 | 0 | } |
6139 | | protected: |
6140 | | explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
6141 | | public: |
6142 | | |
6143 | | static const ClassData _class_data_; |
6144 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6145 | | |
6146 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6147 | | |
6148 | | // nested types ---------------------------------------------------- |
6149 | | |
6150 | | // accessors ------------------------------------------------------- |
6151 | | |
6152 | | enum : int { |
6153 | | kUninterpretedOptionFieldNumber = 999, |
6154 | | kDeprecatedFieldNumber = 1, |
6155 | | }; |
6156 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6157 | | int uninterpreted_option_size() const; |
6158 | | private: |
6159 | | int _internal_uninterpreted_option_size() const; |
6160 | | |
6161 | | public: |
6162 | | void clear_uninterpreted_option() ; |
6163 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
6164 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
6165 | | mutable_uninterpreted_option(); |
6166 | | private: |
6167 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
6168 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
6169 | | public: |
6170 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
6171 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
6172 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
6173 | | uninterpreted_option() const; |
6174 | | // optional bool deprecated = 1 [default = false]; |
6175 | | bool has_deprecated() const; |
6176 | | void clear_deprecated() ; |
6177 | | bool deprecated() const; |
6178 | | void set_deprecated(bool value); |
6179 | | |
6180 | | private: |
6181 | | bool _internal_deprecated() const; |
6182 | | void _internal_set_deprecated(bool value); |
6183 | | |
6184 | | public: |
6185 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6186 | | bool _is_packed> |
6187 | | inline bool HasExtension( |
6188 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6189 | | _field_type, _is_packed>& id) const { |
6190 | | return _impl_._extensions_.Has(id.number()); |
6191 | | } |
6192 | | |
6193 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6194 | | bool _is_packed> |
6195 | | inline void ClearExtension( |
6196 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6197 | | _field_type, _is_packed>& id) { |
6198 | | _impl_._extensions_.ClearExtension(id.number()); |
6199 | | } |
6200 | | |
6201 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6202 | | bool _is_packed> |
6203 | | inline int ExtensionSize( |
6204 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6205 | | _field_type, _is_packed>& id) const { |
6206 | | return _impl_._extensions_.ExtensionSize(id.number()); |
6207 | | } |
6208 | | |
6209 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6210 | | bool _is_packed> |
6211 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6212 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6213 | | _field_type, _is_packed>& id) const { |
6214 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
6215 | | } |
6216 | | |
6217 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6218 | | bool _is_packed> |
6219 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6220 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6221 | | _field_type, _is_packed>& id) { |
6222 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
6223 | | } |
6224 | | |
6225 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6226 | | bool _is_packed> |
6227 | | inline void SetExtension( |
6228 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6229 | | _field_type, _is_packed>& id, |
6230 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6231 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6232 | | } |
6233 | | |
6234 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6235 | | bool _is_packed> |
6236 | | inline void SetAllocatedExtension( |
6237 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6238 | | _field_type, _is_packed>& id, |
6239 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6240 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6241 | | &_impl_._extensions_); |
6242 | | } |
6243 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6244 | | bool _is_packed> |
6245 | | inline void UnsafeArenaSetAllocatedExtension( |
6246 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6247 | | _field_type, _is_packed>& id, |
6248 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6249 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6250 | | value, &_impl_._extensions_); |
6251 | | } |
6252 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6253 | | bool _is_packed> |
6254 | | PROTOBUF_NODISCARD inline |
6255 | | typename _proto_TypeTraits::Singular::MutableType |
6256 | | ReleaseExtension( |
6257 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6258 | | _field_type, _is_packed>& id) { |
6259 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
6260 | | } |
6261 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6262 | | bool _is_packed> |
6263 | | inline typename _proto_TypeTraits::Singular::MutableType |
6264 | | UnsafeArenaReleaseExtension( |
6265 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6266 | | _field_type, _is_packed>& id) { |
6267 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6268 | | &_impl_._extensions_); |
6269 | | } |
6270 | | |
6271 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6272 | | bool _is_packed> |
6273 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6274 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6275 | | _field_type, _is_packed>& id, |
6276 | | int index) const { |
6277 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6278 | | } |
6279 | | |
6280 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6281 | | bool _is_packed> |
6282 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6283 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6284 | | _field_type, _is_packed>& id, |
6285 | | int index) { |
6286 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6287 | | } |
6288 | | |
6289 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6290 | | bool _is_packed> |
6291 | | inline void SetExtension( |
6292 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6293 | | _field_type, _is_packed>& id, |
6294 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6295 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6296 | | } |
6297 | | |
6298 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6299 | | bool _is_packed> |
6300 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6301 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6302 | | _field_type, _is_packed>& id) { |
6303 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6304 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6305 | | return to_add; |
6306 | | } |
6307 | | |
6308 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6309 | | bool _is_packed> |
6310 | | inline void AddExtension( |
6311 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6312 | | _field_type, _is_packed>& id, |
6313 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6314 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6315 | | &_impl_._extensions_); |
6316 | | } |
6317 | | |
6318 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6319 | | bool _is_packed> |
6320 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6321 | | GetRepeatedExtension( |
6322 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6323 | | _field_type, _is_packed>& id) const { |
6324 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6325 | | } |
6326 | | |
6327 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6328 | | bool _is_packed> |
6329 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6330 | | MutableRepeatedExtension( |
6331 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits, |
6332 | | _field_type, _is_packed>& id) { |
6333 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6334 | | _is_packed, &_impl_._extensions_); |
6335 | | } |
6336 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
6337 | | private: |
6338 | | class _Internal; |
6339 | | |
6340 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6341 | | typedef void InternalArenaConstructable_; |
6342 | | typedef void DestructorSkippable_; |
6343 | | struct Impl_ { |
6344 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
6345 | | |
6346 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
6347 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6348 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
6349 | | bool deprecated_; |
6350 | | }; |
6351 | | union { Impl_ _impl_; }; |
6352 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6353 | | };// ------------------------------------------------------------------- |
6354 | | |
6355 | | class PROTOBUF_EXPORT ServiceOptions final : |
6356 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { |
6357 | | public: |
6358 | 0 | inline ServiceOptions() : ServiceOptions(nullptr) {} |
6359 | | ~ServiceOptions() override; |
6360 | | explicit PROTOBUF_CONSTEXPR ServiceOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6361 | | |
6362 | | ServiceOptions(const ServiceOptions& from); |
6363 | | ServiceOptions(ServiceOptions&& from) noexcept |
6364 | 0 | : ServiceOptions() { |
6365 | 0 | *this = ::std::move(from); |
6366 | 0 | } |
6367 | | |
6368 | 0 | inline ServiceOptions& operator=(const ServiceOptions& from) { |
6369 | 0 | CopyFrom(from); |
6370 | 0 | return *this; |
6371 | 0 | } |
6372 | 0 | inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
6373 | 0 | if (this == &from) return *this; |
6374 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6375 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6376 | 0 | && GetOwningArena() != nullptr |
6377 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6378 | 0 | ) { |
6379 | 0 | InternalSwap(&from); |
6380 | 0 | } else { |
6381 | 0 | CopyFrom(from); |
6382 | 0 | } |
6383 | 0 | return *this; |
6384 | 0 | } |
6385 | | |
6386 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
6387 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
6388 | 0 | } |
6389 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
6390 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6391 | 0 | } |
6392 | | |
6393 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6394 | 0 | return GetDescriptor(); |
6395 | 0 | } |
6396 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6397 | 0 | return default_instance().GetMetadata().descriptor; |
6398 | 0 | } |
6399 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6400 | 0 | return default_instance().GetMetadata().reflection; |
6401 | 0 | } |
6402 | 0 | static const ServiceOptions& default_instance() { |
6403 | 0 | return *internal_default_instance(); |
6404 | 0 | } |
6405 | 0 | static inline const ServiceOptions* internal_default_instance() { |
6406 | 0 | return reinterpret_cast<const ServiceOptions*>( |
6407 | 0 | &_ServiceOptions_default_instance_); |
6408 | 0 | } |
6409 | | static constexpr int kIndexInFileMessages = |
6410 | | 19; |
6411 | | |
6412 | 0 | friend void swap(ServiceOptions& a, ServiceOptions& b) { |
6413 | 0 | a.Swap(&b); |
6414 | 0 | } |
6415 | 0 | inline void Swap(ServiceOptions* other) { |
6416 | 0 | if (other == this) return; |
6417 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6418 | 0 | if (GetOwningArena() != nullptr && |
6419 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6420 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6421 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6422 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6423 | 0 | InternalSwap(other); |
6424 | 0 | } else { |
6425 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6426 | 0 | } |
6427 | 0 | } |
6428 | 0 | void UnsafeArenaSwap(ServiceOptions* other) { |
6429 | 0 | if (other == this) return; |
6430 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6431 | 0 | InternalSwap(other); |
6432 | 0 | } |
6433 | | |
6434 | | // implements Message ---------------------------------------------- |
6435 | | |
6436 | 0 | ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6437 | 0 | return CreateMaybeMessage<ServiceOptions>(arena); |
6438 | 0 | } |
6439 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6440 | | void CopyFrom(const ServiceOptions& from); |
6441 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6442 | 0 | void MergeFrom( const ServiceOptions& from) { |
6443 | 0 | ServiceOptions::MergeImpl(*this, from); |
6444 | 0 | } |
6445 | | private: |
6446 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6447 | | public: |
6448 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6449 | | bool IsInitialized() const final; |
6450 | | |
6451 | | ::size_t ByteSizeLong() const final; |
6452 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6453 | | ::uint8_t* _InternalSerialize( |
6454 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6455 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6456 | | |
6457 | | private: |
6458 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
6459 | | void SharedDtor(); |
6460 | | void SetCachedSize(int size) const final; |
6461 | | void InternalSwap(ServiceOptions* other); |
6462 | | |
6463 | | private: |
6464 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6465 | 0 | static ::absl::string_view FullMessageName() { |
6466 | 0 | return "google.protobuf.ServiceOptions"; |
6467 | 0 | } |
6468 | | protected: |
6469 | | explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
6470 | | public: |
6471 | | |
6472 | | static const ClassData _class_data_; |
6473 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6474 | | |
6475 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6476 | | |
6477 | | // nested types ---------------------------------------------------- |
6478 | | |
6479 | | // accessors ------------------------------------------------------- |
6480 | | |
6481 | | enum : int { |
6482 | | kUninterpretedOptionFieldNumber = 999, |
6483 | | kDeprecatedFieldNumber = 33, |
6484 | | }; |
6485 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6486 | | int uninterpreted_option_size() const; |
6487 | | private: |
6488 | | int _internal_uninterpreted_option_size() const; |
6489 | | |
6490 | | public: |
6491 | | void clear_uninterpreted_option() ; |
6492 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
6493 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
6494 | | mutable_uninterpreted_option(); |
6495 | | private: |
6496 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
6497 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
6498 | | public: |
6499 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
6500 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
6501 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
6502 | | uninterpreted_option() const; |
6503 | | // optional bool deprecated = 33 [default = false]; |
6504 | | bool has_deprecated() const; |
6505 | | void clear_deprecated() ; |
6506 | | bool deprecated() const; |
6507 | | void set_deprecated(bool value); |
6508 | | |
6509 | | private: |
6510 | | bool _internal_deprecated() const; |
6511 | | void _internal_set_deprecated(bool value); |
6512 | | |
6513 | | public: |
6514 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6515 | | bool _is_packed> |
6516 | | inline bool HasExtension( |
6517 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6518 | | _field_type, _is_packed>& id) const { |
6519 | | return _impl_._extensions_.Has(id.number()); |
6520 | | } |
6521 | | |
6522 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6523 | | bool _is_packed> |
6524 | | inline void ClearExtension( |
6525 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6526 | | _field_type, _is_packed>& id) { |
6527 | | _impl_._extensions_.ClearExtension(id.number()); |
6528 | | } |
6529 | | |
6530 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6531 | | bool _is_packed> |
6532 | | inline int ExtensionSize( |
6533 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6534 | | _field_type, _is_packed>& id) const { |
6535 | | return _impl_._extensions_.ExtensionSize(id.number()); |
6536 | | } |
6537 | | |
6538 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6539 | | bool _is_packed> |
6540 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6541 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6542 | | _field_type, _is_packed>& id) const { |
6543 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
6544 | | } |
6545 | | |
6546 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6547 | | bool _is_packed> |
6548 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6549 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6550 | | _field_type, _is_packed>& id) { |
6551 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
6552 | | } |
6553 | | |
6554 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6555 | | bool _is_packed> |
6556 | | inline void SetExtension( |
6557 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6558 | | _field_type, _is_packed>& id, |
6559 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6560 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6561 | | } |
6562 | | |
6563 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6564 | | bool _is_packed> |
6565 | | inline void SetAllocatedExtension( |
6566 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6567 | | _field_type, _is_packed>& id, |
6568 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6569 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6570 | | &_impl_._extensions_); |
6571 | | } |
6572 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6573 | | bool _is_packed> |
6574 | | inline void UnsafeArenaSetAllocatedExtension( |
6575 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6576 | | _field_type, _is_packed>& id, |
6577 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6578 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6579 | | value, &_impl_._extensions_); |
6580 | | } |
6581 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6582 | | bool _is_packed> |
6583 | | PROTOBUF_NODISCARD inline |
6584 | | typename _proto_TypeTraits::Singular::MutableType |
6585 | | ReleaseExtension( |
6586 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6587 | | _field_type, _is_packed>& id) { |
6588 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
6589 | | } |
6590 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6591 | | bool _is_packed> |
6592 | | inline typename _proto_TypeTraits::Singular::MutableType |
6593 | | UnsafeArenaReleaseExtension( |
6594 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6595 | | _field_type, _is_packed>& id) { |
6596 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6597 | | &_impl_._extensions_); |
6598 | | } |
6599 | | |
6600 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6601 | | bool _is_packed> |
6602 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6603 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6604 | | _field_type, _is_packed>& id, |
6605 | | int index) const { |
6606 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6607 | | } |
6608 | | |
6609 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6610 | | bool _is_packed> |
6611 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6612 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6613 | | _field_type, _is_packed>& id, |
6614 | | int index) { |
6615 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6616 | | } |
6617 | | |
6618 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6619 | | bool _is_packed> |
6620 | | inline void SetExtension( |
6621 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6622 | | _field_type, _is_packed>& id, |
6623 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6624 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6625 | | } |
6626 | | |
6627 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6628 | | bool _is_packed> |
6629 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6630 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6631 | | _field_type, _is_packed>& id) { |
6632 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6633 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6634 | | return to_add; |
6635 | | } |
6636 | | |
6637 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6638 | | bool _is_packed> |
6639 | | inline void AddExtension( |
6640 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6641 | | _field_type, _is_packed>& id, |
6642 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6643 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6644 | | &_impl_._extensions_); |
6645 | | } |
6646 | | |
6647 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6648 | | bool _is_packed> |
6649 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6650 | | GetRepeatedExtension( |
6651 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6652 | | _field_type, _is_packed>& id) const { |
6653 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6654 | | } |
6655 | | |
6656 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6657 | | bool _is_packed> |
6658 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6659 | | MutableRepeatedExtension( |
6660 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits, |
6661 | | _field_type, _is_packed>& id) { |
6662 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6663 | | _is_packed, &_impl_._extensions_); |
6664 | | } |
6665 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
6666 | | private: |
6667 | | class _Internal; |
6668 | | |
6669 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6670 | | typedef void InternalArenaConstructable_; |
6671 | | typedef void DestructorSkippable_; |
6672 | | struct Impl_ { |
6673 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
6674 | | |
6675 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
6676 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6677 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
6678 | | bool deprecated_; |
6679 | | }; |
6680 | | union { Impl_ _impl_; }; |
6681 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6682 | | };// ------------------------------------------------------------------- |
6683 | | |
6684 | | class PROTOBUF_EXPORT MethodOptions final : |
6685 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { |
6686 | | public: |
6687 | 0 | inline MethodOptions() : MethodOptions(nullptr) {} |
6688 | | ~MethodOptions() override; |
6689 | | explicit PROTOBUF_CONSTEXPR MethodOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6690 | | |
6691 | | MethodOptions(const MethodOptions& from); |
6692 | | MethodOptions(MethodOptions&& from) noexcept |
6693 | 0 | : MethodOptions() { |
6694 | 0 | *this = ::std::move(from); |
6695 | 0 | } |
6696 | | |
6697 | 0 | inline MethodOptions& operator=(const MethodOptions& from) { |
6698 | 0 | CopyFrom(from); |
6699 | 0 | return *this; |
6700 | 0 | } |
6701 | 0 | inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
6702 | 0 | if (this == &from) return *this; |
6703 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6704 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6705 | 0 | && GetOwningArena() != nullptr |
6706 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6707 | 0 | ) { |
6708 | 0 | InternalSwap(&from); |
6709 | 0 | } else { |
6710 | 0 | CopyFrom(from); |
6711 | 0 | } |
6712 | 0 | return *this; |
6713 | 0 | } |
6714 | | |
6715 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
6716 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
6717 | 0 | } |
6718 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
6719 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6720 | 0 | } |
6721 | | |
6722 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6723 | 0 | return GetDescriptor(); |
6724 | 0 | } |
6725 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6726 | 0 | return default_instance().GetMetadata().descriptor; |
6727 | 0 | } |
6728 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6729 | 0 | return default_instance().GetMetadata().reflection; |
6730 | 0 | } |
6731 | 0 | static const MethodOptions& default_instance() { |
6732 | 0 | return *internal_default_instance(); |
6733 | 0 | } |
6734 | 0 | static inline const MethodOptions* internal_default_instance() { |
6735 | 0 | return reinterpret_cast<const MethodOptions*>( |
6736 | 0 | &_MethodOptions_default_instance_); |
6737 | 0 | } |
6738 | | static constexpr int kIndexInFileMessages = |
6739 | | 20; |
6740 | | |
6741 | 0 | friend void swap(MethodOptions& a, MethodOptions& b) { |
6742 | 0 | a.Swap(&b); |
6743 | 0 | } |
6744 | 0 | inline void Swap(MethodOptions* other) { |
6745 | 0 | if (other == this) return; |
6746 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6747 | 0 | if (GetOwningArena() != nullptr && |
6748 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6749 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6750 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6751 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6752 | 0 | InternalSwap(other); |
6753 | 0 | } else { |
6754 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6755 | 0 | } |
6756 | 0 | } |
6757 | 0 | void UnsafeArenaSwap(MethodOptions* other) { |
6758 | 0 | if (other == this) return; |
6759 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6760 | 0 | InternalSwap(other); |
6761 | 0 | } |
6762 | | |
6763 | | // implements Message ---------------------------------------------- |
6764 | | |
6765 | 0 | MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6766 | 0 | return CreateMaybeMessage<MethodOptions>(arena); |
6767 | 0 | } |
6768 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6769 | | void CopyFrom(const MethodOptions& from); |
6770 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6771 | 0 | void MergeFrom( const MethodOptions& from) { |
6772 | 0 | MethodOptions::MergeImpl(*this, from); |
6773 | 0 | } |
6774 | | private: |
6775 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6776 | | public: |
6777 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6778 | | bool IsInitialized() const final; |
6779 | | |
6780 | | ::size_t ByteSizeLong() const final; |
6781 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6782 | | ::uint8_t* _InternalSerialize( |
6783 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6784 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6785 | | |
6786 | | private: |
6787 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
6788 | | void SharedDtor(); |
6789 | | void SetCachedSize(int size) const final; |
6790 | | void InternalSwap(MethodOptions* other); |
6791 | | |
6792 | | private: |
6793 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6794 | 0 | static ::absl::string_view FullMessageName() { |
6795 | 0 | return "google.protobuf.MethodOptions"; |
6796 | 0 | } |
6797 | | protected: |
6798 | | explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
6799 | | public: |
6800 | | |
6801 | | static const ClassData _class_data_; |
6802 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6803 | | |
6804 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6805 | | |
6806 | | // nested types ---------------------------------------------------- |
6807 | | |
6808 | | using IdempotencyLevel = MethodOptions_IdempotencyLevel; |
6809 | | static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
6810 | | static constexpr IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; |
6811 | | static constexpr IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel_IDEMPOTENT; |
6812 | 0 | static inline bool IdempotencyLevel_IsValid(int value) { |
6813 | 0 | return MethodOptions_IdempotencyLevel_IsValid(value); |
6814 | 0 | } |
6815 | | static constexpr IdempotencyLevel IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; |
6816 | | static constexpr IdempotencyLevel IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; |
6817 | | static constexpr int IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; |
6818 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IdempotencyLevel_descriptor() { |
6819 | 0 | return MethodOptions_IdempotencyLevel_descriptor(); |
6820 | 0 | } |
6821 | | template <typename T> |
6822 | | static inline const std::string& IdempotencyLevel_Name(T value) { |
6823 | | return MethodOptions_IdempotencyLevel_Name(value); |
6824 | | } |
6825 | 0 | static inline bool IdempotencyLevel_Parse(absl::string_view name, IdempotencyLevel* value) { |
6826 | 0 | return MethodOptions_IdempotencyLevel_Parse(name, value); |
6827 | 0 | } |
6828 | | |
6829 | | // accessors ------------------------------------------------------- |
6830 | | |
6831 | | enum : int { |
6832 | | kUninterpretedOptionFieldNumber = 999, |
6833 | | kDeprecatedFieldNumber = 33, |
6834 | | kIdempotencyLevelFieldNumber = 34, |
6835 | | }; |
6836 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6837 | | int uninterpreted_option_size() const; |
6838 | | private: |
6839 | | int _internal_uninterpreted_option_size() const; |
6840 | | |
6841 | | public: |
6842 | | void clear_uninterpreted_option() ; |
6843 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
6844 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
6845 | | mutable_uninterpreted_option(); |
6846 | | private: |
6847 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
6848 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
6849 | | public: |
6850 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
6851 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
6852 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
6853 | | uninterpreted_option() const; |
6854 | | // optional bool deprecated = 33 [default = false]; |
6855 | | bool has_deprecated() const; |
6856 | | void clear_deprecated() ; |
6857 | | bool deprecated() const; |
6858 | | void set_deprecated(bool value); |
6859 | | |
6860 | | private: |
6861 | | bool _internal_deprecated() const; |
6862 | | void _internal_set_deprecated(bool value); |
6863 | | |
6864 | | public: |
6865 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
6866 | | bool has_idempotency_level() const; |
6867 | | void clear_idempotency_level() ; |
6868 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const; |
6869 | | void set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); |
6870 | | |
6871 | | private: |
6872 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const; |
6873 | | void _internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); |
6874 | | |
6875 | | public: |
6876 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6877 | | bool _is_packed> |
6878 | | inline bool HasExtension( |
6879 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6880 | | _field_type, _is_packed>& id) const { |
6881 | | return _impl_._extensions_.Has(id.number()); |
6882 | | } |
6883 | | |
6884 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6885 | | bool _is_packed> |
6886 | | inline void ClearExtension( |
6887 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6888 | | _field_type, _is_packed>& id) { |
6889 | | _impl_._extensions_.ClearExtension(id.number()); |
6890 | | } |
6891 | | |
6892 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6893 | | bool _is_packed> |
6894 | | inline int ExtensionSize( |
6895 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6896 | | _field_type, _is_packed>& id) const { |
6897 | | return _impl_._extensions_.ExtensionSize(id.number()); |
6898 | | } |
6899 | | |
6900 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6901 | | bool _is_packed> |
6902 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6903 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6904 | | _field_type, _is_packed>& id) const { |
6905 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
6906 | | } |
6907 | | |
6908 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6909 | | bool _is_packed> |
6910 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6911 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6912 | | _field_type, _is_packed>& id) { |
6913 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
6914 | | } |
6915 | | |
6916 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6917 | | bool _is_packed> |
6918 | | inline void SetExtension( |
6919 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6920 | | _field_type, _is_packed>& id, |
6921 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6922 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6923 | | } |
6924 | | |
6925 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6926 | | bool _is_packed> |
6927 | | inline void SetAllocatedExtension( |
6928 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6929 | | _field_type, _is_packed>& id, |
6930 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6931 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6932 | | &_impl_._extensions_); |
6933 | | } |
6934 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6935 | | bool _is_packed> |
6936 | | inline void UnsafeArenaSetAllocatedExtension( |
6937 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6938 | | _field_type, _is_packed>& id, |
6939 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6940 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6941 | | value, &_impl_._extensions_); |
6942 | | } |
6943 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6944 | | bool _is_packed> |
6945 | | PROTOBUF_NODISCARD inline |
6946 | | typename _proto_TypeTraits::Singular::MutableType |
6947 | | ReleaseExtension( |
6948 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6949 | | _field_type, _is_packed>& id) { |
6950 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
6951 | | } |
6952 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6953 | | bool _is_packed> |
6954 | | inline typename _proto_TypeTraits::Singular::MutableType |
6955 | | UnsafeArenaReleaseExtension( |
6956 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6957 | | _field_type, _is_packed>& id) { |
6958 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6959 | | &_impl_._extensions_); |
6960 | | } |
6961 | | |
6962 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6963 | | bool _is_packed> |
6964 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6965 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6966 | | _field_type, _is_packed>& id, |
6967 | | int index) const { |
6968 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6969 | | } |
6970 | | |
6971 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6972 | | bool _is_packed> |
6973 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6974 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6975 | | _field_type, _is_packed>& id, |
6976 | | int index) { |
6977 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6978 | | } |
6979 | | |
6980 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6981 | | bool _is_packed> |
6982 | | inline void SetExtension( |
6983 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6984 | | _field_type, _is_packed>& id, |
6985 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6986 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6987 | | } |
6988 | | |
6989 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6990 | | bool _is_packed> |
6991 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6992 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
6993 | | _field_type, _is_packed>& id) { |
6994 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6995 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6996 | | return to_add; |
6997 | | } |
6998 | | |
6999 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7000 | | bool _is_packed> |
7001 | | inline void AddExtension( |
7002 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
7003 | | _field_type, _is_packed>& id, |
7004 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
7005 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
7006 | | &_impl_._extensions_); |
7007 | | } |
7008 | | |
7009 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7010 | | bool _is_packed> |
7011 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
7012 | | GetRepeatedExtension( |
7013 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
7014 | | _field_type, _is_packed>& id) const { |
7015 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
7016 | | } |
7017 | | |
7018 | | template <typename _proto_TypeTraits, ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7019 | | bool _is_packed> |
7020 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
7021 | | MutableRepeatedExtension( |
7022 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits, |
7023 | | _field_type, _is_packed>& id) { |
7024 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
7025 | | _is_packed, &_impl_._extensions_); |
7026 | | } |
7027 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
7028 | | private: |
7029 | | class _Internal; |
7030 | | |
7031 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7032 | | typedef void InternalArenaConstructable_; |
7033 | | typedef void DestructorSkippable_; |
7034 | | struct Impl_ { |
7035 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
7036 | | |
7037 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7038 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7039 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
7040 | | bool deprecated_; |
7041 | | int idempotency_level_; |
7042 | | }; |
7043 | | union { Impl_ _impl_; }; |
7044 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7045 | | };// ------------------------------------------------------------------- |
7046 | | |
7047 | | class PROTOBUF_EXPORT UninterpretedOption_NamePart final : |
7048 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { |
7049 | | public: |
7050 | 0 | inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} |
7051 | | ~UninterpretedOption_NamePart() override; |
7052 | | explicit PROTOBUF_CONSTEXPR UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7053 | | |
7054 | | UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
7055 | | UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
7056 | 0 | : UninterpretedOption_NamePart() { |
7057 | 0 | *this = ::std::move(from); |
7058 | 0 | } |
7059 | | |
7060 | 0 | inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
7061 | 0 | CopyFrom(from); |
7062 | 0 | return *this; |
7063 | 0 | } |
7064 | 0 | inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
7065 | 0 | if (this == &from) return *this; |
7066 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7067 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7068 | 0 | && GetOwningArena() != nullptr |
7069 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7070 | 0 | ) { |
7071 | 0 | InternalSwap(&from); |
7072 | 0 | } else { |
7073 | 0 | CopyFrom(from); |
7074 | 0 | } |
7075 | 0 | return *this; |
7076 | 0 | } |
7077 | | |
7078 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7079 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7080 | 0 | } |
7081 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7082 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7083 | 0 | } |
7084 | | |
7085 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7086 | 0 | return GetDescriptor(); |
7087 | 0 | } |
7088 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7089 | 0 | return default_instance().GetMetadata().descriptor; |
7090 | 0 | } |
7091 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7092 | 0 | return default_instance().GetMetadata().reflection; |
7093 | 0 | } |
7094 | 0 | static const UninterpretedOption_NamePart& default_instance() { |
7095 | 0 | return *internal_default_instance(); |
7096 | 0 | } |
7097 | 0 | static inline const UninterpretedOption_NamePart* internal_default_instance() { |
7098 | 0 | return reinterpret_cast<const UninterpretedOption_NamePart*>( |
7099 | 0 | &_UninterpretedOption_NamePart_default_instance_); |
7100 | 0 | } |
7101 | | static constexpr int kIndexInFileMessages = |
7102 | | 21; |
7103 | | |
7104 | 0 | friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { |
7105 | 0 | a.Swap(&b); |
7106 | 0 | } |
7107 | 0 | inline void Swap(UninterpretedOption_NamePart* other) { |
7108 | 0 | if (other == this) return; |
7109 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7110 | 0 | if (GetOwningArena() != nullptr && |
7111 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7112 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7113 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7114 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7115 | 0 | InternalSwap(other); |
7116 | 0 | } else { |
7117 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7118 | 0 | } |
7119 | 0 | } |
7120 | 0 | void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { |
7121 | 0 | if (other == this) return; |
7122 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7123 | 0 | InternalSwap(other); |
7124 | 0 | } |
7125 | | |
7126 | | // implements Message ---------------------------------------------- |
7127 | | |
7128 | 0 | UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7129 | 0 | return CreateMaybeMessage<UninterpretedOption_NamePart>(arena); |
7130 | 0 | } |
7131 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7132 | | void CopyFrom(const UninterpretedOption_NamePart& from); |
7133 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7134 | 0 | void MergeFrom( const UninterpretedOption_NamePart& from) { |
7135 | 0 | UninterpretedOption_NamePart::MergeImpl(*this, from); |
7136 | 0 | } |
7137 | | private: |
7138 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7139 | | public: |
7140 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7141 | | bool IsInitialized() const final; |
7142 | | |
7143 | | ::size_t ByteSizeLong() const final; |
7144 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7145 | | ::uint8_t* _InternalSerialize( |
7146 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7147 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7148 | | |
7149 | | private: |
7150 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7151 | | void SharedDtor(); |
7152 | | void SetCachedSize(int size) const final; |
7153 | | void InternalSwap(UninterpretedOption_NamePart* other); |
7154 | | |
7155 | | private: |
7156 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7157 | 0 | static ::absl::string_view FullMessageName() { |
7158 | 0 | return "google.protobuf.UninterpretedOption.NamePart"; |
7159 | 0 | } |
7160 | | protected: |
7161 | | explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7162 | | public: |
7163 | | |
7164 | | static const ClassData _class_data_; |
7165 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7166 | | |
7167 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7168 | | |
7169 | | // nested types ---------------------------------------------------- |
7170 | | |
7171 | | // accessors ------------------------------------------------------- |
7172 | | |
7173 | | enum : int { |
7174 | | kNamePartFieldNumber = 1, |
7175 | | kIsExtensionFieldNumber = 2, |
7176 | | }; |
7177 | | // required string name_part = 1; |
7178 | | bool has_name_part() const; |
7179 | | void clear_name_part() ; |
7180 | | const std::string& name_part() const; |
7181 | | |
7182 | | |
7183 | | |
7184 | | |
7185 | | template <typename Arg_ = const std::string&, typename... Args_> |
7186 | | void set_name_part(Arg_&& arg, Args_... args); |
7187 | | std::string* mutable_name_part(); |
7188 | | PROTOBUF_NODISCARD std::string* release_name_part(); |
7189 | | void set_allocated_name_part(std::string* ptr); |
7190 | | |
7191 | | private: |
7192 | | const std::string& _internal_name_part() const; |
7193 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part( |
7194 | | const std::string& value); |
7195 | | std::string* _internal_mutable_name_part(); |
7196 | | |
7197 | | public: |
7198 | | // required bool is_extension = 2; |
7199 | | bool has_is_extension() const; |
7200 | | void clear_is_extension() ; |
7201 | | bool is_extension() const; |
7202 | | void set_is_extension(bool value); |
7203 | | |
7204 | | private: |
7205 | | bool _internal_is_extension() const; |
7206 | | void _internal_set_is_extension(bool value); |
7207 | | |
7208 | | public: |
7209 | | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
7210 | | private: |
7211 | | class _Internal; |
7212 | | |
7213 | | // helper for ByteSizeLong() |
7214 | | ::size_t RequiredFieldsByteSizeFallback() const; |
7215 | | |
7216 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7217 | | typedef void InternalArenaConstructable_; |
7218 | | typedef void DestructorSkippable_; |
7219 | | struct Impl_ { |
7220 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7221 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7222 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_; |
7223 | | bool is_extension_; |
7224 | | }; |
7225 | | union { Impl_ _impl_; }; |
7226 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7227 | | };// ------------------------------------------------------------------- |
7228 | | |
7229 | | class PROTOBUF_EXPORT UninterpretedOption final : |
7230 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ { |
7231 | | public: |
7232 | 0 | inline UninterpretedOption() : UninterpretedOption(nullptr) {} |
7233 | | ~UninterpretedOption() override; |
7234 | | explicit PROTOBUF_CONSTEXPR UninterpretedOption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7235 | | |
7236 | | UninterpretedOption(const UninterpretedOption& from); |
7237 | | UninterpretedOption(UninterpretedOption&& from) noexcept |
7238 | 0 | : UninterpretedOption() { |
7239 | 0 | *this = ::std::move(from); |
7240 | 0 | } |
7241 | | |
7242 | 0 | inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
7243 | 0 | CopyFrom(from); |
7244 | 0 | return *this; |
7245 | 0 | } |
7246 | 0 | inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
7247 | 0 | if (this == &from) return *this; |
7248 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7249 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7250 | 0 | && GetOwningArena() != nullptr |
7251 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7252 | 0 | ) { |
7253 | 0 | InternalSwap(&from); |
7254 | 0 | } else { |
7255 | 0 | CopyFrom(from); |
7256 | 0 | } |
7257 | 0 | return *this; |
7258 | 0 | } |
7259 | | |
7260 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7261 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7262 | 0 | } |
7263 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7264 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7265 | 0 | } |
7266 | | |
7267 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7268 | 0 | return GetDescriptor(); |
7269 | 0 | } |
7270 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7271 | 0 | return default_instance().GetMetadata().descriptor; |
7272 | 0 | } |
7273 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7274 | 0 | return default_instance().GetMetadata().reflection; |
7275 | 0 | } |
7276 | 0 | static const UninterpretedOption& default_instance() { |
7277 | 0 | return *internal_default_instance(); |
7278 | 0 | } |
7279 | 0 | static inline const UninterpretedOption* internal_default_instance() { |
7280 | 0 | return reinterpret_cast<const UninterpretedOption*>( |
7281 | 0 | &_UninterpretedOption_default_instance_); |
7282 | 0 | } |
7283 | | static constexpr int kIndexInFileMessages = |
7284 | | 22; |
7285 | | |
7286 | 0 | friend void swap(UninterpretedOption& a, UninterpretedOption& b) { |
7287 | 0 | a.Swap(&b); |
7288 | 0 | } |
7289 | 0 | inline void Swap(UninterpretedOption* other) { |
7290 | 0 | if (other == this) return; |
7291 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7292 | 0 | if (GetOwningArena() != nullptr && |
7293 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7294 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7295 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7296 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7297 | 0 | InternalSwap(other); |
7298 | 0 | } else { |
7299 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7300 | 0 | } |
7301 | 0 | } |
7302 | 0 | void UnsafeArenaSwap(UninterpretedOption* other) { |
7303 | 0 | if (other == this) return; |
7304 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7305 | 0 | InternalSwap(other); |
7306 | 0 | } |
7307 | | |
7308 | | // implements Message ---------------------------------------------- |
7309 | | |
7310 | 0 | UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7311 | 0 | return CreateMaybeMessage<UninterpretedOption>(arena); |
7312 | 0 | } |
7313 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7314 | | void CopyFrom(const UninterpretedOption& from); |
7315 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7316 | 0 | void MergeFrom( const UninterpretedOption& from) { |
7317 | 0 | UninterpretedOption::MergeImpl(*this, from); |
7318 | 0 | } |
7319 | | private: |
7320 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7321 | | public: |
7322 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7323 | | bool IsInitialized() const final; |
7324 | | |
7325 | | ::size_t ByteSizeLong() const final; |
7326 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7327 | | ::uint8_t* _InternalSerialize( |
7328 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7329 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7330 | | |
7331 | | private: |
7332 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7333 | | void SharedDtor(); |
7334 | | void SetCachedSize(int size) const final; |
7335 | | void InternalSwap(UninterpretedOption* other); |
7336 | | |
7337 | | private: |
7338 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7339 | 0 | static ::absl::string_view FullMessageName() { |
7340 | 0 | return "google.protobuf.UninterpretedOption"; |
7341 | 0 | } |
7342 | | protected: |
7343 | | explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7344 | | public: |
7345 | | |
7346 | | static const ClassData _class_data_; |
7347 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7348 | | |
7349 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7350 | | |
7351 | | // nested types ---------------------------------------------------- |
7352 | | |
7353 | | typedef UninterpretedOption_NamePart NamePart; |
7354 | | |
7355 | | // accessors ------------------------------------------------------- |
7356 | | |
7357 | | enum : int { |
7358 | | kNameFieldNumber = 2, |
7359 | | kIdentifierValueFieldNumber = 3, |
7360 | | kStringValueFieldNumber = 7, |
7361 | | kAggregateValueFieldNumber = 8, |
7362 | | kPositiveIntValueFieldNumber = 4, |
7363 | | kNegativeIntValueFieldNumber = 5, |
7364 | | kDoubleValueFieldNumber = 6, |
7365 | | }; |
7366 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
7367 | | int name_size() const; |
7368 | | private: |
7369 | | int _internal_name_size() const; |
7370 | | |
7371 | | public: |
7372 | | void clear_name() ; |
7373 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index); |
7374 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* |
7375 | | mutable_name(); |
7376 | | private: |
7377 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const; |
7378 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name(); |
7379 | | public: |
7380 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const; |
7381 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name(); |
7382 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& |
7383 | | name() const; |
7384 | | // optional string identifier_value = 3; |
7385 | | bool has_identifier_value() const; |
7386 | | void clear_identifier_value() ; |
7387 | | const std::string& identifier_value() const; |
7388 | | |
7389 | | |
7390 | | |
7391 | | |
7392 | | template <typename Arg_ = const std::string&, typename... Args_> |
7393 | | void set_identifier_value(Arg_&& arg, Args_... args); |
7394 | | std::string* mutable_identifier_value(); |
7395 | | PROTOBUF_NODISCARD std::string* release_identifier_value(); |
7396 | | void set_allocated_identifier_value(std::string* ptr); |
7397 | | |
7398 | | private: |
7399 | | const std::string& _internal_identifier_value() const; |
7400 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value( |
7401 | | const std::string& value); |
7402 | | std::string* _internal_mutable_identifier_value(); |
7403 | | |
7404 | | public: |
7405 | | // optional bytes string_value = 7; |
7406 | | bool has_string_value() const; |
7407 | | void clear_string_value() ; |
7408 | | const std::string& string_value() const; |
7409 | | |
7410 | | |
7411 | | |
7412 | | |
7413 | | template <typename Arg_ = const std::string&, typename... Args_> |
7414 | | void set_string_value(Arg_&& arg, Args_... args); |
7415 | | std::string* mutable_string_value(); |
7416 | | PROTOBUF_NODISCARD std::string* release_string_value(); |
7417 | | void set_allocated_string_value(std::string* ptr); |
7418 | | |
7419 | | private: |
7420 | | const std::string& _internal_string_value() const; |
7421 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value( |
7422 | | const std::string& value); |
7423 | | std::string* _internal_mutable_string_value(); |
7424 | | |
7425 | | public: |
7426 | | // optional string aggregate_value = 8; |
7427 | | bool has_aggregate_value() const; |
7428 | | void clear_aggregate_value() ; |
7429 | | const std::string& aggregate_value() const; |
7430 | | |
7431 | | |
7432 | | |
7433 | | |
7434 | | template <typename Arg_ = const std::string&, typename... Args_> |
7435 | | void set_aggregate_value(Arg_&& arg, Args_... args); |
7436 | | std::string* mutable_aggregate_value(); |
7437 | | PROTOBUF_NODISCARD std::string* release_aggregate_value(); |
7438 | | void set_allocated_aggregate_value(std::string* ptr); |
7439 | | |
7440 | | private: |
7441 | | const std::string& _internal_aggregate_value() const; |
7442 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value( |
7443 | | const std::string& value); |
7444 | | std::string* _internal_mutable_aggregate_value(); |
7445 | | |
7446 | | public: |
7447 | | // optional uint64 positive_int_value = 4; |
7448 | | bool has_positive_int_value() const; |
7449 | | void clear_positive_int_value() ; |
7450 | | ::uint64_t positive_int_value() const; |
7451 | | void set_positive_int_value(::uint64_t value); |
7452 | | |
7453 | | private: |
7454 | | ::uint64_t _internal_positive_int_value() const; |
7455 | | void _internal_set_positive_int_value(::uint64_t value); |
7456 | | |
7457 | | public: |
7458 | | // optional int64 negative_int_value = 5; |
7459 | | bool has_negative_int_value() const; |
7460 | | void clear_negative_int_value() ; |
7461 | | ::int64_t negative_int_value() const; |
7462 | | void set_negative_int_value(::int64_t value); |
7463 | | |
7464 | | private: |
7465 | | ::int64_t _internal_negative_int_value() const; |
7466 | | void _internal_set_negative_int_value(::int64_t value); |
7467 | | |
7468 | | public: |
7469 | | // optional double double_value = 6; |
7470 | | bool has_double_value() const; |
7471 | | void clear_double_value() ; |
7472 | | double double_value() const; |
7473 | | void set_double_value(double value); |
7474 | | |
7475 | | private: |
7476 | | double _internal_double_value() const; |
7477 | | void _internal_set_double_value(double value); |
7478 | | |
7479 | | public: |
7480 | | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
7481 | | private: |
7482 | | class _Internal; |
7483 | | |
7484 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7485 | | typedef void InternalArenaConstructable_; |
7486 | | typedef void DestructorSkippable_; |
7487 | | struct Impl_ { |
7488 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7489 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7490 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_; |
7491 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_; |
7492 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; |
7493 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_; |
7494 | | ::uint64_t positive_int_value_; |
7495 | | ::int64_t negative_int_value_; |
7496 | | double double_value_; |
7497 | | }; |
7498 | | union { Impl_ _impl_; }; |
7499 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7500 | | };// ------------------------------------------------------------------- |
7501 | | |
7502 | | class PROTOBUF_EXPORT SourceCodeInfo_Location final : |
7503 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { |
7504 | | public: |
7505 | 0 | inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} |
7506 | | ~SourceCodeInfo_Location() override; |
7507 | | explicit PROTOBUF_CONSTEXPR SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7508 | | |
7509 | | SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
7510 | | SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
7511 | 0 | : SourceCodeInfo_Location() { |
7512 | 0 | *this = ::std::move(from); |
7513 | 0 | } |
7514 | | |
7515 | 0 | inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
7516 | 0 | CopyFrom(from); |
7517 | 0 | return *this; |
7518 | 0 | } |
7519 | 0 | inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
7520 | 0 | if (this == &from) return *this; |
7521 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7522 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7523 | 0 | && GetOwningArena() != nullptr |
7524 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7525 | 0 | ) { |
7526 | 0 | InternalSwap(&from); |
7527 | 0 | } else { |
7528 | 0 | CopyFrom(from); |
7529 | 0 | } |
7530 | 0 | return *this; |
7531 | 0 | } |
7532 | | |
7533 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7534 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7535 | 0 | } |
7536 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7537 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7538 | 0 | } |
7539 | | |
7540 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7541 | 0 | return GetDescriptor(); |
7542 | 0 | } |
7543 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7544 | 0 | return default_instance().GetMetadata().descriptor; |
7545 | 0 | } |
7546 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7547 | 0 | return default_instance().GetMetadata().reflection; |
7548 | 0 | } |
7549 | 0 | static const SourceCodeInfo_Location& default_instance() { |
7550 | 0 | return *internal_default_instance(); |
7551 | 0 | } |
7552 | 0 | static inline const SourceCodeInfo_Location* internal_default_instance() { |
7553 | 0 | return reinterpret_cast<const SourceCodeInfo_Location*>( |
7554 | 0 | &_SourceCodeInfo_Location_default_instance_); |
7555 | 0 | } |
7556 | | static constexpr int kIndexInFileMessages = |
7557 | | 23; |
7558 | | |
7559 | 0 | friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { |
7560 | 0 | a.Swap(&b); |
7561 | 0 | } |
7562 | 0 | inline void Swap(SourceCodeInfo_Location* other) { |
7563 | 0 | if (other == this) return; |
7564 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7565 | 0 | if (GetOwningArena() != nullptr && |
7566 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7567 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7568 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7569 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7570 | 0 | InternalSwap(other); |
7571 | 0 | } else { |
7572 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7573 | 0 | } |
7574 | 0 | } |
7575 | 0 | void UnsafeArenaSwap(SourceCodeInfo_Location* other) { |
7576 | 0 | if (other == this) return; |
7577 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7578 | 0 | InternalSwap(other); |
7579 | 0 | } |
7580 | | |
7581 | | // implements Message ---------------------------------------------- |
7582 | | |
7583 | 0 | SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7584 | 0 | return CreateMaybeMessage<SourceCodeInfo_Location>(arena); |
7585 | 0 | } |
7586 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7587 | | void CopyFrom(const SourceCodeInfo_Location& from); |
7588 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7589 | 0 | void MergeFrom( const SourceCodeInfo_Location& from) { |
7590 | 0 | SourceCodeInfo_Location::MergeImpl(*this, from); |
7591 | 0 | } |
7592 | | private: |
7593 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7594 | | public: |
7595 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7596 | | bool IsInitialized() const final; |
7597 | | |
7598 | | ::size_t ByteSizeLong() const final; |
7599 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7600 | | ::uint8_t* _InternalSerialize( |
7601 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7602 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7603 | | |
7604 | | private: |
7605 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7606 | | void SharedDtor(); |
7607 | | void SetCachedSize(int size) const final; |
7608 | | void InternalSwap(SourceCodeInfo_Location* other); |
7609 | | |
7610 | | private: |
7611 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7612 | 0 | static ::absl::string_view FullMessageName() { |
7613 | 0 | return "google.protobuf.SourceCodeInfo.Location"; |
7614 | 0 | } |
7615 | | protected: |
7616 | | explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7617 | | public: |
7618 | | |
7619 | | static const ClassData _class_data_; |
7620 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7621 | | |
7622 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7623 | | |
7624 | | // nested types ---------------------------------------------------- |
7625 | | |
7626 | | // accessors ------------------------------------------------------- |
7627 | | |
7628 | | enum : int { |
7629 | | kPathFieldNumber = 1, |
7630 | | kSpanFieldNumber = 2, |
7631 | | kLeadingDetachedCommentsFieldNumber = 6, |
7632 | | kLeadingCommentsFieldNumber = 3, |
7633 | | kTrailingCommentsFieldNumber = 4, |
7634 | | }; |
7635 | | // repeated int32 path = 1 [packed = true]; |
7636 | | int path_size() const; |
7637 | | private: |
7638 | | int _internal_path_size() const; |
7639 | | |
7640 | | public: |
7641 | | void clear_path() ; |
7642 | | ::int32_t path(int index) const; |
7643 | | void set_path(int index, ::int32_t value); |
7644 | | void add_path(::int32_t value); |
7645 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& path() const; |
7646 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_path(); |
7647 | | |
7648 | | private: |
7649 | | ::int32_t _internal_path(int index) const; |
7650 | | void _internal_add_path(::int32_t value); |
7651 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_path() const; |
7652 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_path(); |
7653 | | |
7654 | | public: |
7655 | | // repeated int32 span = 2 [packed = true]; |
7656 | | int span_size() const; |
7657 | | private: |
7658 | | int _internal_span_size() const; |
7659 | | |
7660 | | public: |
7661 | | void clear_span() ; |
7662 | | ::int32_t span(int index) const; |
7663 | | void set_span(int index, ::int32_t value); |
7664 | | void add_span(::int32_t value); |
7665 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& span() const; |
7666 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_span(); |
7667 | | |
7668 | | private: |
7669 | | ::int32_t _internal_span(int index) const; |
7670 | | void _internal_add_span(::int32_t value); |
7671 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_span() const; |
7672 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_span(); |
7673 | | |
7674 | | public: |
7675 | | // repeated string leading_detached_comments = 6; |
7676 | | int leading_detached_comments_size() const; |
7677 | | private: |
7678 | | int _internal_leading_detached_comments_size() const; |
7679 | | |
7680 | | public: |
7681 | | void clear_leading_detached_comments() ; |
7682 | | const std::string& leading_detached_comments(int index) const; |
7683 | | std::string* mutable_leading_detached_comments(int index); |
7684 | | void set_leading_detached_comments(int index, const std::string& value); |
7685 | | void set_leading_detached_comments(int index, std::string&& value); |
7686 | | void set_leading_detached_comments(int index, const char* value); |
7687 | | void set_leading_detached_comments(int index, const char* value, std::size_t size); |
7688 | | void set_leading_detached_comments(int index, absl::string_view value); |
7689 | | std::string* add_leading_detached_comments(); |
7690 | | void add_leading_detached_comments(const std::string& value); |
7691 | | void add_leading_detached_comments(std::string&& value); |
7692 | | void add_leading_detached_comments(const char* value); |
7693 | | void add_leading_detached_comments(const char* value, std::size_t size); |
7694 | | void add_leading_detached_comments(absl::string_view value); |
7695 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const; |
7696 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments(); |
7697 | | |
7698 | | private: |
7699 | | const std::string& _internal_leading_detached_comments(int index) const; |
7700 | | std::string* _internal_add_leading_detached_comments(); |
7701 | | |
7702 | | public: |
7703 | | // optional string leading_comments = 3; |
7704 | | bool has_leading_comments() const; |
7705 | | void clear_leading_comments() ; |
7706 | | const std::string& leading_comments() const; |
7707 | | |
7708 | | |
7709 | | |
7710 | | |
7711 | | template <typename Arg_ = const std::string&, typename... Args_> |
7712 | | void set_leading_comments(Arg_&& arg, Args_... args); |
7713 | | std::string* mutable_leading_comments(); |
7714 | | PROTOBUF_NODISCARD std::string* release_leading_comments(); |
7715 | | void set_allocated_leading_comments(std::string* ptr); |
7716 | | |
7717 | | private: |
7718 | | const std::string& _internal_leading_comments() const; |
7719 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments( |
7720 | | const std::string& value); |
7721 | | std::string* _internal_mutable_leading_comments(); |
7722 | | |
7723 | | public: |
7724 | | // optional string trailing_comments = 4; |
7725 | | bool has_trailing_comments() const; |
7726 | | void clear_trailing_comments() ; |
7727 | | const std::string& trailing_comments() const; |
7728 | | |
7729 | | |
7730 | | |
7731 | | |
7732 | | template <typename Arg_ = const std::string&, typename... Args_> |
7733 | | void set_trailing_comments(Arg_&& arg, Args_... args); |
7734 | | std::string* mutable_trailing_comments(); |
7735 | | PROTOBUF_NODISCARD std::string* release_trailing_comments(); |
7736 | | void set_allocated_trailing_comments(std::string* ptr); |
7737 | | |
7738 | | private: |
7739 | | const std::string& _internal_trailing_comments() const; |
7740 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments( |
7741 | | const std::string& value); |
7742 | | std::string* _internal_mutable_trailing_comments(); |
7743 | | |
7744 | | public: |
7745 | | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) |
7746 | | private: |
7747 | | class _Internal; |
7748 | | |
7749 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7750 | | typedef void InternalArenaConstructable_; |
7751 | | typedef void DestructorSkippable_; |
7752 | | struct Impl_ { |
7753 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7754 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7755 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> path_; |
7756 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _path_cached_byte_size_; |
7757 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> span_; |
7758 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _span_cached_byte_size_; |
7759 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_; |
7760 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_; |
7761 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_; |
7762 | | }; |
7763 | | union { Impl_ _impl_; }; |
7764 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7765 | | };// ------------------------------------------------------------------- |
7766 | | |
7767 | | class PROTOBUF_EXPORT SourceCodeInfo final : |
7768 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { |
7769 | | public: |
7770 | 0 | inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} |
7771 | | ~SourceCodeInfo() override; |
7772 | | explicit PROTOBUF_CONSTEXPR SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7773 | | |
7774 | | SourceCodeInfo(const SourceCodeInfo& from); |
7775 | | SourceCodeInfo(SourceCodeInfo&& from) noexcept |
7776 | 0 | : SourceCodeInfo() { |
7777 | 0 | *this = ::std::move(from); |
7778 | 0 | } |
7779 | | |
7780 | 0 | inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
7781 | 0 | CopyFrom(from); |
7782 | 0 | return *this; |
7783 | 0 | } |
7784 | 0 | inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
7785 | 0 | if (this == &from) return *this; |
7786 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7787 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7788 | 0 | && GetOwningArena() != nullptr |
7789 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7790 | 0 | ) { |
7791 | 0 | InternalSwap(&from); |
7792 | 0 | } else { |
7793 | 0 | CopyFrom(from); |
7794 | 0 | } |
7795 | 0 | return *this; |
7796 | 0 | } |
7797 | | |
7798 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7799 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7800 | 0 | } |
7801 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7802 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7803 | 0 | } |
7804 | | |
7805 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7806 | 0 | return GetDescriptor(); |
7807 | 0 | } |
7808 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7809 | 0 | return default_instance().GetMetadata().descriptor; |
7810 | 0 | } |
7811 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7812 | 0 | return default_instance().GetMetadata().reflection; |
7813 | 0 | } |
7814 | 0 | static const SourceCodeInfo& default_instance() { |
7815 | 0 | return *internal_default_instance(); |
7816 | 0 | } |
7817 | 0 | static inline const SourceCodeInfo* internal_default_instance() { |
7818 | 0 | return reinterpret_cast<const SourceCodeInfo*>( |
7819 | 0 | &_SourceCodeInfo_default_instance_); |
7820 | 0 | } |
7821 | | static constexpr int kIndexInFileMessages = |
7822 | | 24; |
7823 | | |
7824 | 0 | friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { |
7825 | 0 | a.Swap(&b); |
7826 | 0 | } |
7827 | 0 | inline void Swap(SourceCodeInfo* other) { |
7828 | 0 | if (other == this) return; |
7829 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7830 | 0 | if (GetOwningArena() != nullptr && |
7831 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7832 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7833 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7834 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7835 | 0 | InternalSwap(other); |
7836 | 0 | } else { |
7837 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7838 | 0 | } |
7839 | 0 | } |
7840 | 0 | void UnsafeArenaSwap(SourceCodeInfo* other) { |
7841 | 0 | if (other == this) return; |
7842 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7843 | 0 | InternalSwap(other); |
7844 | 0 | } |
7845 | | |
7846 | | // implements Message ---------------------------------------------- |
7847 | | |
7848 | 0 | SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7849 | 0 | return CreateMaybeMessage<SourceCodeInfo>(arena); |
7850 | 0 | } |
7851 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7852 | | void CopyFrom(const SourceCodeInfo& from); |
7853 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7854 | 0 | void MergeFrom( const SourceCodeInfo& from) { |
7855 | 0 | SourceCodeInfo::MergeImpl(*this, from); |
7856 | 0 | } |
7857 | | private: |
7858 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7859 | | public: |
7860 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7861 | | bool IsInitialized() const final; |
7862 | | |
7863 | | ::size_t ByteSizeLong() const final; |
7864 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7865 | | ::uint8_t* _InternalSerialize( |
7866 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7867 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7868 | | |
7869 | | private: |
7870 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7871 | | void SharedDtor(); |
7872 | | void SetCachedSize(int size) const final; |
7873 | | void InternalSwap(SourceCodeInfo* other); |
7874 | | |
7875 | | private: |
7876 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7877 | 0 | static ::absl::string_view FullMessageName() { |
7878 | 0 | return "google.protobuf.SourceCodeInfo"; |
7879 | 0 | } |
7880 | | protected: |
7881 | | explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
7882 | | public: |
7883 | | |
7884 | | static const ClassData _class_data_; |
7885 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7886 | | |
7887 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7888 | | |
7889 | | // nested types ---------------------------------------------------- |
7890 | | |
7891 | | typedef SourceCodeInfo_Location Location; |
7892 | | |
7893 | | // accessors ------------------------------------------------------- |
7894 | | |
7895 | | enum : int { |
7896 | | kLocationFieldNumber = 1, |
7897 | | }; |
7898 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
7899 | | int location_size() const; |
7900 | | private: |
7901 | | int _internal_location_size() const; |
7902 | | |
7903 | | public: |
7904 | | void clear_location() ; |
7905 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index); |
7906 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* |
7907 | | mutable_location(); |
7908 | | private: |
7909 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const; |
7910 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location(); |
7911 | | public: |
7912 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const; |
7913 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location(); |
7914 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& |
7915 | | location() const; |
7916 | | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
7917 | | private: |
7918 | | class _Internal; |
7919 | | |
7920 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7921 | | typedef void InternalArenaConstructable_; |
7922 | | typedef void DestructorSkippable_; |
7923 | | struct Impl_ { |
7924 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_; |
7925 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7926 | | }; |
7927 | | union { Impl_ _impl_; }; |
7928 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7929 | | };// ------------------------------------------------------------------- |
7930 | | |
7931 | | class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : |
7932 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { |
7933 | | public: |
7934 | 0 | inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} |
7935 | | ~GeneratedCodeInfo_Annotation() override; |
7936 | | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7937 | | |
7938 | | GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); |
7939 | | GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
7940 | 0 | : GeneratedCodeInfo_Annotation() { |
7941 | 0 | *this = ::std::move(from); |
7942 | 0 | } |
7943 | | |
7944 | 0 | inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
7945 | 0 | CopyFrom(from); |
7946 | 0 | return *this; |
7947 | 0 | } |
7948 | 0 | inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
7949 | 0 | if (this == &from) return *this; |
7950 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7951 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7952 | 0 | && GetOwningArena() != nullptr |
7953 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7954 | 0 | ) { |
7955 | 0 | InternalSwap(&from); |
7956 | 0 | } else { |
7957 | 0 | CopyFrom(from); |
7958 | 0 | } |
7959 | 0 | return *this; |
7960 | 0 | } |
7961 | | |
7962 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7963 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7964 | 0 | } |
7965 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7966 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7967 | 0 | } |
7968 | | |
7969 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7970 | 0 | return GetDescriptor(); |
7971 | 0 | } |
7972 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7973 | 0 | return default_instance().GetMetadata().descriptor; |
7974 | 0 | } |
7975 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7976 | 0 | return default_instance().GetMetadata().reflection; |
7977 | 0 | } |
7978 | 0 | static const GeneratedCodeInfo_Annotation& default_instance() { |
7979 | 0 | return *internal_default_instance(); |
7980 | 0 | } |
7981 | 0 | static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
7982 | 0 | return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
7983 | 0 | &_GeneratedCodeInfo_Annotation_default_instance_); |
7984 | 0 | } |
7985 | | static constexpr int kIndexInFileMessages = |
7986 | | 25; |
7987 | | |
7988 | 0 | friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { |
7989 | 0 | a.Swap(&b); |
7990 | 0 | } |
7991 | 0 | inline void Swap(GeneratedCodeInfo_Annotation* other) { |
7992 | 0 | if (other == this) return; |
7993 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7994 | 0 | if (GetOwningArena() != nullptr && |
7995 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7996 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7997 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7998 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7999 | 0 | InternalSwap(other); |
8000 | 0 | } else { |
8001 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
8002 | 0 | } |
8003 | 0 | } |
8004 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { |
8005 | 0 | if (other == this) return; |
8006 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
8007 | 0 | InternalSwap(other); |
8008 | 0 | } |
8009 | | |
8010 | | // implements Message ---------------------------------------------- |
8011 | | |
8012 | 0 | GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
8013 | 0 | return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena); |
8014 | 0 | } |
8015 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
8016 | | void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
8017 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
8018 | 0 | void MergeFrom( const GeneratedCodeInfo_Annotation& from) { |
8019 | 0 | GeneratedCodeInfo_Annotation::MergeImpl(*this, from); |
8020 | 0 | } |
8021 | | private: |
8022 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
8023 | | public: |
8024 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
8025 | | bool IsInitialized() const final; |
8026 | | |
8027 | | ::size_t ByteSizeLong() const final; |
8028 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
8029 | | ::uint8_t* _InternalSerialize( |
8030 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
8031 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
8032 | | |
8033 | | private: |
8034 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
8035 | | void SharedDtor(); |
8036 | | void SetCachedSize(int size) const final; |
8037 | | void InternalSwap(GeneratedCodeInfo_Annotation* other); |
8038 | | |
8039 | | private: |
8040 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
8041 | 0 | static ::absl::string_view FullMessageName() { |
8042 | 0 | return "google.protobuf.GeneratedCodeInfo.Annotation"; |
8043 | 0 | } |
8044 | | protected: |
8045 | | explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
8046 | | public: |
8047 | | |
8048 | | static const ClassData _class_data_; |
8049 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
8050 | | |
8051 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
8052 | | |
8053 | | // nested types ---------------------------------------------------- |
8054 | | |
8055 | | using Semantic = GeneratedCodeInfo_Annotation_Semantic; |
8056 | | static constexpr Semantic NONE = GeneratedCodeInfo_Annotation_Semantic_NONE; |
8057 | | static constexpr Semantic SET = GeneratedCodeInfo_Annotation_Semantic_SET; |
8058 | | static constexpr Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic_ALIAS; |
8059 | 0 | static inline bool Semantic_IsValid(int value) { |
8060 | 0 | return GeneratedCodeInfo_Annotation_Semantic_IsValid(value); |
8061 | 0 | } |
8062 | | static constexpr Semantic Semantic_MIN = GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN; |
8063 | | static constexpr Semantic Semantic_MAX = GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX; |
8064 | | static constexpr int Semantic_ARRAYSIZE = GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE; |
8065 | 0 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Semantic_descriptor() { |
8066 | 0 | return GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
8067 | 0 | } |
8068 | | template <typename T> |
8069 | | static inline const std::string& Semantic_Name(T value) { |
8070 | | return GeneratedCodeInfo_Annotation_Semantic_Name(value); |
8071 | | } |
8072 | 0 | static inline bool Semantic_Parse(absl::string_view name, Semantic* value) { |
8073 | 0 | return GeneratedCodeInfo_Annotation_Semantic_Parse(name, value); |
8074 | 0 | } |
8075 | | |
8076 | | // accessors ------------------------------------------------------- |
8077 | | |
8078 | | enum : int { |
8079 | | kPathFieldNumber = 1, |
8080 | | kSourceFileFieldNumber = 2, |
8081 | | kBeginFieldNumber = 3, |
8082 | | kEndFieldNumber = 4, |
8083 | | kSemanticFieldNumber = 5, |
8084 | | }; |
8085 | | // repeated int32 path = 1 [packed = true]; |
8086 | | int path_size() const; |
8087 | | private: |
8088 | | int _internal_path_size() const; |
8089 | | |
8090 | | public: |
8091 | | void clear_path() ; |
8092 | | ::int32_t path(int index) const; |
8093 | | void set_path(int index, ::int32_t value); |
8094 | | void add_path(::int32_t value); |
8095 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& path() const; |
8096 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_path(); |
8097 | | |
8098 | | private: |
8099 | | ::int32_t _internal_path(int index) const; |
8100 | | void _internal_add_path(::int32_t value); |
8101 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_path() const; |
8102 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_path(); |
8103 | | |
8104 | | public: |
8105 | | // optional string source_file = 2; |
8106 | | bool has_source_file() const; |
8107 | | void clear_source_file() ; |
8108 | | const std::string& source_file() const; |
8109 | | |
8110 | | |
8111 | | |
8112 | | |
8113 | | template <typename Arg_ = const std::string&, typename... Args_> |
8114 | | void set_source_file(Arg_&& arg, Args_... args); |
8115 | | std::string* mutable_source_file(); |
8116 | | PROTOBUF_NODISCARD std::string* release_source_file(); |
8117 | | void set_allocated_source_file(std::string* ptr); |
8118 | | |
8119 | | private: |
8120 | | const std::string& _internal_source_file() const; |
8121 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file( |
8122 | | const std::string& value); |
8123 | | std::string* _internal_mutable_source_file(); |
8124 | | |
8125 | | public: |
8126 | | // optional int32 begin = 3; |
8127 | | bool has_begin() const; |
8128 | | void clear_begin() ; |
8129 | | ::int32_t begin() const; |
8130 | | void set_begin(::int32_t value); |
8131 | | |
8132 | | private: |
8133 | | ::int32_t _internal_begin() const; |
8134 | | void _internal_set_begin(::int32_t value); |
8135 | | |
8136 | | public: |
8137 | | // optional int32 end = 4; |
8138 | | bool has_end() const; |
8139 | | void clear_end() ; |
8140 | | ::int32_t end() const; |
8141 | | void set_end(::int32_t value); |
8142 | | |
8143 | | private: |
8144 | | ::int32_t _internal_end() const; |
8145 | | void _internal_set_end(::int32_t value); |
8146 | | |
8147 | | public: |
8148 | | // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; |
8149 | | bool has_semantic() const; |
8150 | | void clear_semantic() ; |
8151 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic semantic() const; |
8152 | | void set_semantic(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic value); |
8153 | | |
8154 | | private: |
8155 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic _internal_semantic() const; |
8156 | | void _internal_set_semantic(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic value); |
8157 | | |
8158 | | public: |
8159 | | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) |
8160 | | private: |
8161 | | class _Internal; |
8162 | | |
8163 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
8164 | | typedef void InternalArenaConstructable_; |
8165 | | typedef void DestructorSkippable_; |
8166 | | struct Impl_ { |
8167 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
8168 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
8169 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> path_; |
8170 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _path_cached_byte_size_; |
8171 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_; |
8172 | | ::int32_t begin_; |
8173 | | ::int32_t end_; |
8174 | | int semantic_; |
8175 | | }; |
8176 | | union { Impl_ _impl_; }; |
8177 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8178 | | };// ------------------------------------------------------------------- |
8179 | | |
8180 | | class PROTOBUF_EXPORT GeneratedCodeInfo final : |
8181 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { |
8182 | | public: |
8183 | 0 | inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {} |
8184 | | ~GeneratedCodeInfo() override; |
8185 | | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
8186 | | |
8187 | | GeneratedCodeInfo(const GeneratedCodeInfo& from); |
8188 | | GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept |
8189 | 0 | : GeneratedCodeInfo() { |
8190 | 0 | *this = ::std::move(from); |
8191 | 0 | } |
8192 | | |
8193 | 0 | inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
8194 | 0 | CopyFrom(from); |
8195 | 0 | return *this; |
8196 | 0 | } |
8197 | 0 | inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
8198 | 0 | if (this == &from) return *this; |
8199 | 0 | if (GetOwningArena() == from.GetOwningArena() |
8200 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
8201 | 0 | && GetOwningArena() != nullptr |
8202 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8203 | 0 | ) { |
8204 | 0 | InternalSwap(&from); |
8205 | 0 | } else { |
8206 | 0 | CopyFrom(from); |
8207 | 0 | } |
8208 | 0 | return *this; |
8209 | 0 | } |
8210 | | |
8211 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
8212 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
8213 | 0 | } |
8214 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
8215 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8216 | 0 | } |
8217 | | |
8218 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
8219 | 0 | return GetDescriptor(); |
8220 | 0 | } |
8221 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
8222 | 0 | return default_instance().GetMetadata().descriptor; |
8223 | 0 | } |
8224 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
8225 | 0 | return default_instance().GetMetadata().reflection; |
8226 | 0 | } |
8227 | 0 | static const GeneratedCodeInfo& default_instance() { |
8228 | 0 | return *internal_default_instance(); |
8229 | 0 | } |
8230 | 0 | static inline const GeneratedCodeInfo* internal_default_instance() { |
8231 | 0 | return reinterpret_cast<const GeneratedCodeInfo*>( |
8232 | 0 | &_GeneratedCodeInfo_default_instance_); |
8233 | 0 | } |
8234 | | static constexpr int kIndexInFileMessages = |
8235 | | 26; |
8236 | | |
8237 | 0 | friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { |
8238 | 0 | a.Swap(&b); |
8239 | 0 | } |
8240 | 0 | inline void Swap(GeneratedCodeInfo* other) { |
8241 | 0 | if (other == this) return; |
8242 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8243 | 0 | if (GetOwningArena() != nullptr && |
8244 | 0 | GetOwningArena() == other->GetOwningArena()) { |
8245 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8246 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
8247 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8248 | 0 | InternalSwap(other); |
8249 | 0 | } else { |
8250 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
8251 | 0 | } |
8252 | 0 | } |
8253 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo* other) { |
8254 | 0 | if (other == this) return; |
8255 | 0 | ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); |
8256 | 0 | InternalSwap(other); |
8257 | 0 | } |
8258 | | |
8259 | | // implements Message ---------------------------------------------- |
8260 | | |
8261 | 0 | GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
8262 | 0 | return CreateMaybeMessage<GeneratedCodeInfo>(arena); |
8263 | 0 | } |
8264 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
8265 | | void CopyFrom(const GeneratedCodeInfo& from); |
8266 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
8267 | 0 | void MergeFrom( const GeneratedCodeInfo& from) { |
8268 | 0 | GeneratedCodeInfo::MergeImpl(*this, from); |
8269 | 0 | } |
8270 | | private: |
8271 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
8272 | | public: |
8273 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
8274 | | bool IsInitialized() const final; |
8275 | | |
8276 | | ::size_t ByteSizeLong() const final; |
8277 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
8278 | | ::uint8_t* _InternalSerialize( |
8279 | | ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
8280 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
8281 | | |
8282 | | private: |
8283 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
8284 | | void SharedDtor(); |
8285 | | void SetCachedSize(int size) const final; |
8286 | | void InternalSwap(GeneratedCodeInfo* other); |
8287 | | |
8288 | | private: |
8289 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
8290 | 0 | static ::absl::string_view FullMessageName() { |
8291 | 0 | return "google.protobuf.GeneratedCodeInfo"; |
8292 | 0 | } |
8293 | | protected: |
8294 | | explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
8295 | | public: |
8296 | | |
8297 | | static const ClassData _class_data_; |
8298 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
8299 | | |
8300 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
8301 | | |
8302 | | // nested types ---------------------------------------------------- |
8303 | | |
8304 | | typedef GeneratedCodeInfo_Annotation Annotation; |
8305 | | |
8306 | | // accessors ------------------------------------------------------- |
8307 | | |
8308 | | enum : int { |
8309 | | kAnnotationFieldNumber = 1, |
8310 | | }; |
8311 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
8312 | | int annotation_size() const; |
8313 | | private: |
8314 | | int _internal_annotation_size() const; |
8315 | | |
8316 | | public: |
8317 | | void clear_annotation() ; |
8318 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index); |
8319 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* |
8320 | | mutable_annotation(); |
8321 | | private: |
8322 | | const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const; |
8323 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation(); |
8324 | | public: |
8325 | | const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const; |
8326 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation(); |
8327 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& |
8328 | | annotation() const; |
8329 | | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
8330 | | private: |
8331 | | class _Internal; |
8332 | | |
8333 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
8334 | | typedef void InternalArenaConstructable_; |
8335 | | typedef void DestructorSkippable_; |
8336 | | struct Impl_ { |
8337 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_; |
8338 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
8339 | | }; |
8340 | | union { Impl_ _impl_; }; |
8341 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8342 | | }; |
8343 | | |
8344 | | // =================================================================== |
8345 | | |
8346 | | |
8347 | | |
8348 | | |
8349 | | // =================================================================== |
8350 | | |
8351 | | |
8352 | | #ifdef __GNUC__ |
8353 | | #pragma GCC diagnostic push |
8354 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
8355 | | #endif // __GNUC__ |
8356 | | // ------------------------------------------------------------------- |
8357 | | |
8358 | | // FileDescriptorSet |
8359 | | |
8360 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
8361 | 0 | inline int FileDescriptorSet::_internal_file_size() const { |
8362 | 0 | return _impl_.file_.size(); |
8363 | 0 | } |
8364 | 0 | inline int FileDescriptorSet::file_size() const { |
8365 | 0 | return _internal_file_size(); |
8366 | 0 | } |
8367 | 0 | inline void FileDescriptorSet::clear_file() { |
8368 | 0 | _impl_.file_.Clear(); |
8369 | 0 | } |
8370 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) { |
8371 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) |
8372 | 0 | return _impl_.file_.Mutable(index); |
8373 | 0 | } |
8374 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* |
8375 | 0 | FileDescriptorSet::mutable_file() { |
8376 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) |
8377 | 0 | return &_impl_.file_; |
8378 | 0 | } |
8379 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const { |
8380 | 0 | return _impl_.file_.Get(index); |
8381 | 0 | } |
8382 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const { |
8383 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) |
8384 | 0 | return _internal_file(index); |
8385 | 0 | } |
8386 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() { |
8387 | 0 | return _impl_.file_.Add(); |
8388 | 0 | } |
8389 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() { |
8390 | 0 | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file(); |
8391 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) |
8392 | 0 | return _add; |
8393 | 0 | } |
8394 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& |
8395 | 0 | FileDescriptorSet::file() const { |
8396 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) |
8397 | 0 | return _impl_.file_; |
8398 | 0 | } |
8399 | | |
8400 | | // ------------------------------------------------------------------- |
8401 | | |
8402 | | // FileDescriptorProto |
8403 | | |
8404 | | // optional string name = 1; |
8405 | 0 | inline bool FileDescriptorProto::has_name() const { |
8406 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
8407 | 0 | return value; |
8408 | 0 | } |
8409 | 0 | inline void FileDescriptorProto::clear_name() { |
8410 | 0 | _impl_.name_.ClearToEmpty(); |
8411 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8412 | 0 | } |
8413 | 0 | inline const std::string& FileDescriptorProto::name() const { |
8414 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) |
8415 | 0 | return _internal_name(); |
8416 | 0 | } |
8417 | | template <typename Arg_, typename... Args_> |
8418 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_name(Arg_&& arg, |
8419 | | Args_... args) { |
8420 | | _impl_._has_bits_[0] |= 0x00000001u; |
8421 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
8422 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) |
8423 | | } |
8424 | 0 | inline std::string* FileDescriptorProto::mutable_name() { |
8425 | 0 | std::string* _s = _internal_mutable_name(); |
8426 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) |
8427 | 0 | return _s; |
8428 | 0 | } |
8429 | 0 | inline const std::string& FileDescriptorProto::_internal_name() const { |
8430 | 0 | return _impl_.name_.Get(); |
8431 | 0 | } |
8432 | 0 | inline void FileDescriptorProto::_internal_set_name(const std::string& value) { |
8433 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8434 | 0 |
|
8435 | 0 |
|
8436 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
8437 | 0 | } |
8438 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_name() { |
8439 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8440 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
8441 | 0 | } |
8442 | 0 | inline std::string* FileDescriptorProto::release_name() { |
8443 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
8444 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
8445 | 0 | return nullptr; |
8446 | 0 | } |
8447 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8448 | 0 | auto* released = _impl_.name_.Release(); |
8449 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8450 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8451 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8452 | 0 | return released; |
8453 | 0 | } |
8454 | 0 | inline void FileDescriptorProto::set_allocated_name(std::string* value) { |
8455 | 0 | if (value != nullptr) { |
8456 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8457 | 0 | } else { |
8458 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8459 | 0 | } |
8460 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
8461 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8462 | 0 | if (_impl_.name_.IsDefault()) { |
8463 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8464 | 0 | } |
8465 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8466 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) |
8467 | 0 | } |
8468 | | |
8469 | | // optional string package = 2; |
8470 | 0 | inline bool FileDescriptorProto::has_package() const { |
8471 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
8472 | 0 | return value; |
8473 | 0 | } |
8474 | 0 | inline void FileDescriptorProto::clear_package() { |
8475 | 0 | _impl_.package_.ClearToEmpty(); |
8476 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
8477 | 0 | } |
8478 | 0 | inline const std::string& FileDescriptorProto::package() const { |
8479 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) |
8480 | 0 | return _internal_package(); |
8481 | 0 | } |
8482 | | template <typename Arg_, typename... Args_> |
8483 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_package(Arg_&& arg, |
8484 | | Args_... args) { |
8485 | | _impl_._has_bits_[0] |= 0x00000002u; |
8486 | | _impl_.package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
8487 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) |
8488 | | } |
8489 | 0 | inline std::string* FileDescriptorProto::mutable_package() { |
8490 | 0 | std::string* _s = _internal_mutable_package(); |
8491 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) |
8492 | 0 | return _s; |
8493 | 0 | } |
8494 | 0 | inline const std::string& FileDescriptorProto::_internal_package() const { |
8495 | 0 | return _impl_.package_.Get(); |
8496 | 0 | } |
8497 | 0 | inline void FileDescriptorProto::_internal_set_package(const std::string& value) { |
8498 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
8499 | 0 |
|
8500 | 0 |
|
8501 | 0 | _impl_.package_.Set(value, GetArenaForAllocation()); |
8502 | 0 | } |
8503 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_package() { |
8504 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
8505 | 0 | return _impl_.package_.Mutable( GetArenaForAllocation()); |
8506 | 0 | } |
8507 | 0 | inline std::string* FileDescriptorProto::release_package() { |
8508 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
8509 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
8510 | 0 | return nullptr; |
8511 | 0 | } |
8512 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
8513 | 0 | auto* released = _impl_.package_.Release(); |
8514 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8515 | 0 | _impl_.package_.Set("", GetArenaForAllocation()); |
8516 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8517 | 0 | return released; |
8518 | 0 | } |
8519 | 0 | inline void FileDescriptorProto::set_allocated_package(std::string* value) { |
8520 | 0 | if (value != nullptr) { |
8521 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
8522 | 0 | } else { |
8523 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
8524 | 0 | } |
8525 | 0 | _impl_.package_.SetAllocated(value, GetArenaForAllocation()); |
8526 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8527 | 0 | if (_impl_.package_.IsDefault()) { |
8528 | 0 | _impl_.package_.Set("", GetArenaForAllocation()); |
8529 | 0 | } |
8530 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8531 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) |
8532 | 0 | } |
8533 | | |
8534 | | // repeated string dependency = 3; |
8535 | 0 | inline int FileDescriptorProto::_internal_dependency_size() const { |
8536 | 0 | return _impl_.dependency_.size(); |
8537 | 0 | } |
8538 | 0 | inline int FileDescriptorProto::dependency_size() const { |
8539 | 0 | return _internal_dependency_size(); |
8540 | 0 | } |
8541 | 0 | inline void FileDescriptorProto::clear_dependency() { |
8542 | 0 | _impl_.dependency_.Clear(); |
8543 | 0 | } |
8544 | 0 | inline std::string* FileDescriptorProto::add_dependency() { |
8545 | 0 | std::string* _s = _internal_add_dependency(); |
8546 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
8547 | 0 | return _s; |
8548 | 0 | } |
8549 | 0 | inline const std::string& FileDescriptorProto::_internal_dependency(int index) const { |
8550 | 0 | return _impl_.dependency_.Get(index); |
8551 | 0 | } |
8552 | 0 | inline const std::string& FileDescriptorProto::dependency(int index) const { |
8553 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) |
8554 | 0 | return _internal_dependency(index); |
8555 | 0 | } |
8556 | 0 | inline std::string* FileDescriptorProto::mutable_dependency(int index) { |
8557 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) |
8558 | 0 | return _impl_.dependency_.Mutable(index); |
8559 | 0 | } |
8560 | 0 | inline void FileDescriptorProto::set_dependency(int index, const std::string& value) { |
8561 | 0 | _impl_.dependency_.Mutable(index)->assign(value); |
8562 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
8563 | 0 | } |
8564 | 0 | inline void FileDescriptorProto::set_dependency(int index, std::string&& value) { |
8565 | 0 | _impl_.dependency_.Mutable(index)->assign(std::move(value)); |
8566 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
8567 | 0 | } |
8568 | 0 | inline void FileDescriptorProto::set_dependency(int index, const char* value) { |
8569 | 0 | ABSL_DCHECK(value != nullptr); |
8570 | 0 | _impl_.dependency_.Mutable(index)->assign(value); |
8571 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency) |
8572 | 0 | } |
8573 | | inline void FileDescriptorProto::set_dependency(int index, const char* value, |
8574 | 0 | std::size_t size) { |
8575 | 0 | _impl_.dependency_.Mutable(index)->assign(reinterpret_cast<const char*>(value), size); |
8576 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) |
8577 | 0 | } |
8578 | 0 | inline void FileDescriptorProto::set_dependency(int index, absl::string_view value) { |
8579 | 0 | _impl_.dependency_.Mutable(index)->assign(value.data(), value.size()); |
8580 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.FileDescriptorProto.dependency) |
8581 | 0 | } |
8582 | 0 | inline std::string* FileDescriptorProto::_internal_add_dependency() { return _impl_.dependency_.Add(); } |
8583 | 0 | inline void FileDescriptorProto::add_dependency(const std::string& value) { |
8584 | 0 | _impl_.dependency_.Add()->assign(value); |
8585 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
8586 | 0 | } |
8587 | 0 | inline void FileDescriptorProto::add_dependency(std::string&& value) { |
8588 | 0 | _impl_.dependency_.Add(std::move(value)); |
8589 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
8590 | 0 | } |
8591 | 0 | inline void FileDescriptorProto::add_dependency(const char* value) { |
8592 | 0 | ABSL_DCHECK(value != nullptr); |
8593 | 0 | _impl_.dependency_.Add()->assign(value); |
8594 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency) |
8595 | 0 | } |
8596 | 0 | inline void FileDescriptorProto::add_dependency(const char* value, std::size_t size) { |
8597 | 0 | _impl_.dependency_.Add()->assign(reinterpret_cast<const char*>(value), size); |
8598 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency) |
8599 | 0 | } |
8600 | 0 | inline void FileDescriptorProto::add_dependency(absl::string_view value) { |
8601 | 0 | _impl_.dependency_.Add()->assign(value.data(), value.size()); |
8602 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.FileDescriptorProto.dependency) |
8603 | 0 | } |
8604 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
8605 | 0 | FileDescriptorProto::dependency() const { |
8606 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) |
8607 | 0 | return _impl_.dependency_; |
8608 | 0 | } |
8609 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* FileDescriptorProto::mutable_dependency() { |
8610 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) |
8611 | 0 | return &_impl_.dependency_; |
8612 | 0 | } |
8613 | | |
8614 | | // repeated int32 public_dependency = 10; |
8615 | 0 | inline int FileDescriptorProto::_internal_public_dependency_size() const { |
8616 | 0 | return _impl_.public_dependency_.size(); |
8617 | 0 | } |
8618 | 0 | inline int FileDescriptorProto::public_dependency_size() const { |
8619 | 0 | return _internal_public_dependency_size(); |
8620 | 0 | } |
8621 | 0 | inline void FileDescriptorProto::clear_public_dependency() { |
8622 | 0 | _impl_.public_dependency_.Clear(); |
8623 | 0 | } |
8624 | 0 | inline ::int32_t FileDescriptorProto::public_dependency(int index) const { |
8625 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) |
8626 | 0 | return _internal_public_dependency(index); |
8627 | 0 | } |
8628 | 0 | inline void FileDescriptorProto::set_public_dependency(int index, ::int32_t value) { |
8629 | 0 | _impl_.public_dependency_.Set(index, value); |
8630 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) |
8631 | 0 | } |
8632 | 0 | inline void FileDescriptorProto::add_public_dependency(::int32_t value) { |
8633 | 0 | _internal_add_public_dependency(value); |
8634 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) |
8635 | 0 | } |
8636 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& FileDescriptorProto::public_dependency() const { |
8637 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) |
8638 | 0 | return _internal_public_dependency(); |
8639 | 0 | } |
8640 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* FileDescriptorProto::mutable_public_dependency() { |
8641 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) |
8642 | 0 | return _internal_mutable_public_dependency(); |
8643 | 0 | } |
8644 | | |
8645 | 0 | inline ::int32_t FileDescriptorProto::_internal_public_dependency(int index) const { |
8646 | 0 | return _impl_.public_dependency_.Get(index); |
8647 | 0 | } |
8648 | 0 | inline void FileDescriptorProto::_internal_add_public_dependency(::int32_t value) { _impl_.public_dependency_.Add(value); } |
8649 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& FileDescriptorProto::_internal_public_dependency() const { |
8650 | 0 | return _impl_.public_dependency_; |
8651 | 0 | } |
8652 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* FileDescriptorProto::_internal_mutable_public_dependency() { |
8653 | 0 | return &_impl_.public_dependency_; |
8654 | 0 | } |
8655 | | |
8656 | | // repeated int32 weak_dependency = 11; |
8657 | 0 | inline int FileDescriptorProto::_internal_weak_dependency_size() const { |
8658 | 0 | return _impl_.weak_dependency_.size(); |
8659 | 0 | } |
8660 | 0 | inline int FileDescriptorProto::weak_dependency_size() const { |
8661 | 0 | return _internal_weak_dependency_size(); |
8662 | 0 | } |
8663 | 0 | inline void FileDescriptorProto::clear_weak_dependency() { |
8664 | 0 | _impl_.weak_dependency_.Clear(); |
8665 | 0 | } |
8666 | 0 | inline ::int32_t FileDescriptorProto::weak_dependency(int index) const { |
8667 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) |
8668 | 0 | return _internal_weak_dependency(index); |
8669 | 0 | } |
8670 | 0 | inline void FileDescriptorProto::set_weak_dependency(int index, ::int32_t value) { |
8671 | 0 | _impl_.weak_dependency_.Set(index, value); |
8672 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) |
8673 | 0 | } |
8674 | 0 | inline void FileDescriptorProto::add_weak_dependency(::int32_t value) { |
8675 | 0 | _internal_add_weak_dependency(value); |
8676 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) |
8677 | 0 | } |
8678 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& FileDescriptorProto::weak_dependency() const { |
8679 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) |
8680 | 0 | return _internal_weak_dependency(); |
8681 | 0 | } |
8682 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* FileDescriptorProto::mutable_weak_dependency() { |
8683 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) |
8684 | 0 | return _internal_mutable_weak_dependency(); |
8685 | 0 | } |
8686 | | |
8687 | 0 | inline ::int32_t FileDescriptorProto::_internal_weak_dependency(int index) const { |
8688 | 0 | return _impl_.weak_dependency_.Get(index); |
8689 | 0 | } |
8690 | 0 | inline void FileDescriptorProto::_internal_add_weak_dependency(::int32_t value) { _impl_.weak_dependency_.Add(value); } |
8691 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& FileDescriptorProto::_internal_weak_dependency() const { |
8692 | 0 | return _impl_.weak_dependency_; |
8693 | 0 | } |
8694 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* FileDescriptorProto::_internal_mutable_weak_dependency() { |
8695 | 0 | return &_impl_.weak_dependency_; |
8696 | 0 | } |
8697 | | |
8698 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
8699 | 0 | inline int FileDescriptorProto::_internal_message_type_size() const { |
8700 | 0 | return _impl_.message_type_.size(); |
8701 | 0 | } |
8702 | 0 | inline int FileDescriptorProto::message_type_size() const { |
8703 | 0 | return _internal_message_type_size(); |
8704 | 0 | } |
8705 | 0 | inline void FileDescriptorProto::clear_message_type() { |
8706 | 0 | _impl_.message_type_.Clear(); |
8707 | 0 | } |
8708 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) { |
8709 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) |
8710 | 0 | return _impl_.message_type_.Mutable(index); |
8711 | 0 | } |
8712 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
8713 | 0 | FileDescriptorProto::mutable_message_type() { |
8714 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) |
8715 | 0 | return &_impl_.message_type_; |
8716 | 0 | } |
8717 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const { |
8718 | 0 | return _impl_.message_type_.Get(index); |
8719 | 0 | } |
8720 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const { |
8721 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) |
8722 | 0 | return _internal_message_type(index); |
8723 | 0 | } |
8724 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() { |
8725 | 0 | return _impl_.message_type_.Add(); |
8726 | 0 | } |
8727 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() { |
8728 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_message_type(); |
8729 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) |
8730 | 0 | return _add; |
8731 | 0 | } |
8732 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
8733 | 0 | FileDescriptorProto::message_type() const { |
8734 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) |
8735 | 0 | return _impl_.message_type_; |
8736 | 0 | } |
8737 | | |
8738 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
8739 | 0 | inline int FileDescriptorProto::_internal_enum_type_size() const { |
8740 | 0 | return _impl_.enum_type_.size(); |
8741 | 0 | } |
8742 | 0 | inline int FileDescriptorProto::enum_type_size() const { |
8743 | 0 | return _internal_enum_type_size(); |
8744 | 0 | } |
8745 | 0 | inline void FileDescriptorProto::clear_enum_type() { |
8746 | 0 | _impl_.enum_type_.Clear(); |
8747 | 0 | } |
8748 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) { |
8749 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) |
8750 | 0 | return _impl_.enum_type_.Mutable(index); |
8751 | 0 | } |
8752 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
8753 | 0 | FileDescriptorProto::mutable_enum_type() { |
8754 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) |
8755 | 0 | return &_impl_.enum_type_; |
8756 | 0 | } |
8757 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const { |
8758 | 0 | return _impl_.enum_type_.Get(index); |
8759 | 0 | } |
8760 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { |
8761 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) |
8762 | 0 | return _internal_enum_type(index); |
8763 | 0 | } |
8764 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() { |
8765 | 0 | return _impl_.enum_type_.Add(); |
8766 | 0 | } |
8767 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() { |
8768 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type(); |
8769 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) |
8770 | 0 | return _add; |
8771 | 0 | } |
8772 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
8773 | 0 | FileDescriptorProto::enum_type() const { |
8774 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) |
8775 | 0 | return _impl_.enum_type_; |
8776 | 0 | } |
8777 | | |
8778 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
8779 | 0 | inline int FileDescriptorProto::_internal_service_size() const { |
8780 | 0 | return _impl_.service_.size(); |
8781 | 0 | } |
8782 | 0 | inline int FileDescriptorProto::service_size() const { |
8783 | 0 | return _internal_service_size(); |
8784 | 0 | } |
8785 | 0 | inline void FileDescriptorProto::clear_service() { |
8786 | 0 | _impl_.service_.Clear(); |
8787 | 0 | } |
8788 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) { |
8789 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) |
8790 | 0 | return _impl_.service_.Mutable(index); |
8791 | 0 | } |
8792 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* |
8793 | 0 | FileDescriptorProto::mutable_service() { |
8794 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) |
8795 | 0 | return &_impl_.service_; |
8796 | 0 | } |
8797 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const { |
8798 | 0 | return _impl_.service_.Get(index); |
8799 | 0 | } |
8800 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const { |
8801 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) |
8802 | 0 | return _internal_service(index); |
8803 | 0 | } |
8804 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() { |
8805 | 0 | return _impl_.service_.Add(); |
8806 | 0 | } |
8807 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() { |
8808 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _add = _internal_add_service(); |
8809 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) |
8810 | 0 | return _add; |
8811 | 0 | } |
8812 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& |
8813 | 0 | FileDescriptorProto::service() const { |
8814 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) |
8815 | 0 | return _impl_.service_; |
8816 | 0 | } |
8817 | | |
8818 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
8819 | 0 | inline int FileDescriptorProto::_internal_extension_size() const { |
8820 | 0 | return _impl_.extension_.size(); |
8821 | 0 | } |
8822 | 0 | inline int FileDescriptorProto::extension_size() const { |
8823 | 0 | return _internal_extension_size(); |
8824 | 0 | } |
8825 | 0 | inline void FileDescriptorProto::clear_extension() { |
8826 | 0 | _impl_.extension_.Clear(); |
8827 | 0 | } |
8828 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) { |
8829 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) |
8830 | 0 | return _impl_.extension_.Mutable(index); |
8831 | 0 | } |
8832 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
8833 | 0 | FileDescriptorProto::mutable_extension() { |
8834 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) |
8835 | 0 | return &_impl_.extension_; |
8836 | 0 | } |
8837 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const { |
8838 | 0 | return _impl_.extension_.Get(index); |
8839 | 0 | } |
8840 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const { |
8841 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) |
8842 | 0 | return _internal_extension(index); |
8843 | 0 | } |
8844 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() { |
8845 | 0 | return _impl_.extension_.Add(); |
8846 | 0 | } |
8847 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() { |
8848 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension(); |
8849 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) |
8850 | 0 | return _add; |
8851 | 0 | } |
8852 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
8853 | 0 | FileDescriptorProto::extension() const { |
8854 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) |
8855 | 0 | return _impl_.extension_; |
8856 | 0 | } |
8857 | | |
8858 | | // optional .google.protobuf.FileOptions options = 8; |
8859 | 0 | inline bool FileDescriptorProto::has_options() const { |
8860 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
8861 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
8862 | 0 | return value; |
8863 | 0 | } |
8864 | 0 | inline void FileDescriptorProto::clear_options() { |
8865 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
8866 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
8867 | 0 | } |
8868 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const { |
8869 | 0 | const ::PROTOBUF_NAMESPACE_ID::FileOptions* p = _impl_.options_; |
8870 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FileOptions&>( |
8871 | 0 | ::PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_); |
8872 | 0 | } |
8873 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const { |
8874 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) |
8875 | 0 | return _internal_options(); |
8876 | 0 | } |
8877 | | inline void FileDescriptorProto::unsafe_arena_set_allocated_options( |
8878 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* options) { |
8879 | 0 | if (GetArenaForAllocation() == nullptr) { |
8880 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
8881 | 0 | } |
8882 | 0 | _impl_.options_ = options; |
8883 | 0 | if (options) { |
8884 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
8885 | 0 | } else { |
8886 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
8887 | 0 | } |
8888 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options) |
8889 | 0 | } |
8890 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() { |
8891 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
8892 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = _impl_.options_; |
8893 | 0 | _impl_.options_ = nullptr; |
8894 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
8895 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
8896 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8897 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
8898 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
8899 | 0 | if (GetArenaForAllocation() != nullptr) { |
8900 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8901 | 0 | } |
8902 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
8903 | 0 | return temp; |
8904 | 0 | } |
8905 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { |
8906 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
8907 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
8908 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = _impl_.options_; |
8909 | 0 | _impl_.options_ = nullptr; |
8910 | 0 | return temp; |
8911 | 0 | } |
8912 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() { |
8913 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
8914 | 0 | if (_impl_.options_ == nullptr) { |
8915 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(GetArenaForAllocation()); |
8916 | 0 | _impl_.options_ = p; |
8917 | 0 | } |
8918 | 0 | return _impl_.options_; |
8919 | 0 | } |
8920 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() { |
8921 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* _msg = _internal_mutable_options(); |
8922 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) |
8923 | 0 | return _msg; |
8924 | 0 | } |
8925 | 0 | inline void FileDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options) { |
8926 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8927 | 0 | if (message_arena == nullptr) { |
8928 | 0 | delete _impl_.options_; |
8929 | 0 | } |
8930 | 0 | if (options) { |
8931 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8932 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
8933 | 0 | if (message_arena != submessage_arena) { |
8934 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8935 | 0 | message_arena, options, submessage_arena); |
8936 | 0 | } |
8937 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
8938 | 0 | } else { |
8939 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
8940 | 0 | } |
8941 | 0 | _impl_.options_ = options; |
8942 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) |
8943 | 0 | } |
8944 | | |
8945 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
8946 | 0 | inline bool FileDescriptorProto::has_source_code_info() const { |
8947 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
8948 | 0 | PROTOBUF_ASSUME(!value || _impl_.source_code_info_ != nullptr); |
8949 | 0 | return value; |
8950 | 0 | } |
8951 | 0 | inline void FileDescriptorProto::clear_source_code_info() { |
8952 | 0 | if (_impl_.source_code_info_ != nullptr) _impl_.source_code_info_->Clear(); |
8953 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
8954 | 0 | } |
8955 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { |
8956 | 0 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = _impl_.source_code_info_; |
8957 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo&>( |
8958 | 0 | ::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_); |
8959 | 0 | } |
8960 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const { |
8961 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) |
8962 | 0 | return _internal_source_code_info(); |
8963 | 0 | } |
8964 | | inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info( |
8965 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { |
8966 | 0 | if (GetArenaForAllocation() == nullptr) { |
8967 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_code_info_); |
8968 | 0 | } |
8969 | 0 | _impl_.source_code_info_ = source_code_info; |
8970 | 0 | if (source_code_info) { |
8971 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
8972 | 0 | } else { |
8973 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
8974 | 0 | } |
8975 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
8976 | 0 | } |
8977 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
8978 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
8979 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = _impl_.source_code_info_; |
8980 | 0 | _impl_.source_code_info_ = nullptr; |
8981 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
8982 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
8983 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8984 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
8985 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
8986 | 0 | if (GetArenaForAllocation() != nullptr) { |
8987 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8988 | 0 | } |
8989 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
8990 | 0 | return temp; |
8991 | 0 | } |
8992 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { |
8993 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
8994 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
8995 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = _impl_.source_code_info_; |
8996 | 0 | _impl_.source_code_info_ = nullptr; |
8997 | 0 | return temp; |
8998 | 0 | } |
8999 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() { |
9000 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
9001 | 0 | if (_impl_.source_code_info_ == nullptr) { |
9002 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(GetArenaForAllocation()); |
9003 | 0 | _impl_.source_code_info_ = p; |
9004 | 0 | } |
9005 | 0 | return _impl_.source_code_info_; |
9006 | 0 | } |
9007 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() { |
9008 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _msg = _internal_mutable_source_code_info(); |
9009 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) |
9010 | 0 | return _msg; |
9011 | 0 | } |
9012 | 0 | inline void FileDescriptorProto::set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { |
9013 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9014 | 0 | if (message_arena == nullptr) { |
9015 | 0 | delete _impl_.source_code_info_; |
9016 | 0 | } |
9017 | 0 | if (source_code_info) { |
9018 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9019 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source_code_info); |
9020 | 0 | if (message_arena != submessage_arena) { |
9021 | 0 | source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9022 | 0 | message_arena, source_code_info, submessage_arena); |
9023 | 0 | } |
9024 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
9025 | 0 | } else { |
9026 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
9027 | 0 | } |
9028 | 0 | _impl_.source_code_info_ = source_code_info; |
9029 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
9030 | 0 | } |
9031 | | |
9032 | | // optional string syntax = 12; |
9033 | 0 | inline bool FileDescriptorProto::has_syntax() const { |
9034 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
9035 | 0 | return value; |
9036 | 0 | } |
9037 | 0 | inline void FileDescriptorProto::clear_syntax() { |
9038 | 0 | _impl_.syntax_.ClearToEmpty(); |
9039 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9040 | 0 | } |
9041 | 0 | inline const std::string& FileDescriptorProto::syntax() const { |
9042 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) |
9043 | 0 | return _internal_syntax(); |
9044 | 0 | } |
9045 | | template <typename Arg_, typename... Args_> |
9046 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_syntax(Arg_&& arg, |
9047 | | Args_... args) { |
9048 | | _impl_._has_bits_[0] |= 0x00000004u; |
9049 | | _impl_.syntax_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
9050 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) |
9051 | | } |
9052 | 0 | inline std::string* FileDescriptorProto::mutable_syntax() { |
9053 | 0 | std::string* _s = _internal_mutable_syntax(); |
9054 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) |
9055 | 0 | return _s; |
9056 | 0 | } |
9057 | 0 | inline const std::string& FileDescriptorProto::_internal_syntax() const { |
9058 | 0 | return _impl_.syntax_.Get(); |
9059 | 0 | } |
9060 | 0 | inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) { |
9061 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9062 | 0 |
|
9063 | 0 |
|
9064 | 0 | _impl_.syntax_.Set(value, GetArenaForAllocation()); |
9065 | 0 | } |
9066 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_syntax() { |
9067 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9068 | 0 | return _impl_.syntax_.Mutable( GetArenaForAllocation()); |
9069 | 0 | } |
9070 | 0 | inline std::string* FileDescriptorProto::release_syntax() { |
9071 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
9072 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
9073 | 0 | return nullptr; |
9074 | 0 | } |
9075 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9076 | 0 | auto* released = _impl_.syntax_.Release(); |
9077 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9078 | 0 | _impl_.syntax_.Set("", GetArenaForAllocation()); |
9079 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9080 | 0 | return released; |
9081 | 0 | } |
9082 | 0 | inline void FileDescriptorProto::set_allocated_syntax(std::string* value) { |
9083 | 0 | if (value != nullptr) { |
9084 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9085 | 0 | } else { |
9086 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9087 | 0 | } |
9088 | 0 | _impl_.syntax_.SetAllocated(value, GetArenaForAllocation()); |
9089 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9090 | 0 | if (_impl_.syntax_.IsDefault()) { |
9091 | 0 | _impl_.syntax_.Set("", GetArenaForAllocation()); |
9092 | 0 | } |
9093 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9094 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
9095 | 0 | } |
9096 | | |
9097 | | // optional string edition = 13; |
9098 | 0 | inline bool FileDescriptorProto::has_edition() const { |
9099 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
9100 | 0 | return value; |
9101 | 0 | } |
9102 | 0 | inline void FileDescriptorProto::clear_edition() { |
9103 | 0 | _impl_.edition_.ClearToEmpty(); |
9104 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9105 | 0 | } |
9106 | 0 | inline const std::string& FileDescriptorProto::edition() const { |
9107 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.edition) |
9108 | 0 | return _internal_edition(); |
9109 | 0 | } |
9110 | | template <typename Arg_, typename... Args_> |
9111 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_edition(Arg_&& arg, |
9112 | | Args_... args) { |
9113 | | _impl_._has_bits_[0] |= 0x00000008u; |
9114 | | _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
9115 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.edition) |
9116 | | } |
9117 | 0 | inline std::string* FileDescriptorProto::mutable_edition() { |
9118 | 0 | std::string* _s = _internal_mutable_edition(); |
9119 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.edition) |
9120 | 0 | return _s; |
9121 | 0 | } |
9122 | 0 | inline const std::string& FileDescriptorProto::_internal_edition() const { |
9123 | 0 | return _impl_.edition_.Get(); |
9124 | 0 | } |
9125 | 0 | inline void FileDescriptorProto::_internal_set_edition(const std::string& value) { |
9126 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
9127 | 0 |
|
9128 | 0 |
|
9129 | 0 | _impl_.edition_.Set(value, GetArenaForAllocation()); |
9130 | 0 | } |
9131 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_edition() { |
9132 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
9133 | 0 | return _impl_.edition_.Mutable( GetArenaForAllocation()); |
9134 | 0 | } |
9135 | 0 | inline std::string* FileDescriptorProto::release_edition() { |
9136 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.edition) |
9137 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
9138 | 0 | return nullptr; |
9139 | 0 | } |
9140 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9141 | 0 | auto* released = _impl_.edition_.Release(); |
9142 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9143 | 0 | _impl_.edition_.Set("", GetArenaForAllocation()); |
9144 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9145 | 0 | return released; |
9146 | 0 | } |
9147 | 0 | inline void FileDescriptorProto::set_allocated_edition(std::string* value) { |
9148 | 0 | if (value != nullptr) { |
9149 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
9150 | 0 | } else { |
9151 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9152 | 0 | } |
9153 | 0 | _impl_.edition_.SetAllocated(value, GetArenaForAllocation()); |
9154 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9155 | 0 | if (_impl_.edition_.IsDefault()) { |
9156 | 0 | _impl_.edition_.Set("", GetArenaForAllocation()); |
9157 | 0 | } |
9158 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9159 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.edition) |
9160 | 0 | } |
9161 | | |
9162 | | // ------------------------------------------------------------------- |
9163 | | |
9164 | | // DescriptorProto_ExtensionRange |
9165 | | |
9166 | | // optional int32 start = 1; |
9167 | 0 | inline bool DescriptorProto_ExtensionRange::has_start() const { |
9168 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9169 | 0 | return value; |
9170 | 0 | } |
9171 | 0 | inline void DescriptorProto_ExtensionRange::clear_start() { |
9172 | 0 | _impl_.start_ = 0; |
9173 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9174 | 0 | } |
9175 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::start() const { |
9176 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) |
9177 | 0 | return _internal_start(); |
9178 | 0 | } |
9179 | 0 | inline void DescriptorProto_ExtensionRange::set_start(::int32_t value) { |
9180 | 0 | _internal_set_start(value); |
9181 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) |
9182 | 0 | } |
9183 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::_internal_start() const { |
9184 | 0 | return _impl_.start_; |
9185 | 0 | } |
9186 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_start(::int32_t value) { |
9187 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9188 | 0 | _impl_.start_ = value; |
9189 | 0 | } |
9190 | | |
9191 | | // optional int32 end = 2; |
9192 | 0 | inline bool DescriptorProto_ExtensionRange::has_end() const { |
9193 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
9194 | 0 | return value; |
9195 | 0 | } |
9196 | 0 | inline void DescriptorProto_ExtensionRange::clear_end() { |
9197 | 0 | _impl_.end_ = 0; |
9198 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9199 | 0 | } |
9200 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::end() const { |
9201 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) |
9202 | 0 | return _internal_end(); |
9203 | 0 | } |
9204 | 0 | inline void DescriptorProto_ExtensionRange::set_end(::int32_t value) { |
9205 | 0 | _internal_set_end(value); |
9206 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) |
9207 | 0 | } |
9208 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::_internal_end() const { |
9209 | 0 | return _impl_.end_; |
9210 | 0 | } |
9211 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_end(::int32_t value) { |
9212 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9213 | 0 | _impl_.end_ = value; |
9214 | 0 | } |
9215 | | |
9216 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
9217 | 0 | inline bool DescriptorProto_ExtensionRange::has_options() const { |
9218 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9219 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
9220 | 0 | return value; |
9221 | 0 | } |
9222 | 0 | inline void DescriptorProto_ExtensionRange::clear_options() { |
9223 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
9224 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9225 | 0 | } |
9226 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { |
9227 | 0 | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = _impl_.options_; |
9228 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&>( |
9229 | 0 | ::PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_); |
9230 | 0 | } |
9231 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const { |
9232 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) |
9233 | 0 | return _internal_options(); |
9234 | 0 | } |
9235 | | inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options( |
9236 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { |
9237 | 0 | if (GetArenaForAllocation() == nullptr) { |
9238 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
9239 | 0 | } |
9240 | 0 | _impl_.options_ = options; |
9241 | 0 | if (options) { |
9242 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9243 | 0 | } else { |
9244 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9245 | 0 | } |
9246 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
9247 | 0 | } |
9248 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { |
9249 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9250 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = _impl_.options_; |
9251 | 0 | _impl_.options_ = nullptr; |
9252 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9253 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9254 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9255 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9256 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9257 | 0 | if (GetArenaForAllocation() != nullptr) { |
9258 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9259 | 0 | } |
9260 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9261 | 0 | return temp; |
9262 | 0 | } |
9263 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { |
9264 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
9265 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9266 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = _impl_.options_; |
9267 | 0 | _impl_.options_ = nullptr; |
9268 | 0 | return temp; |
9269 | 0 | } |
9270 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() { |
9271 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9272 | 0 | if (_impl_.options_ == nullptr) { |
9273 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(GetArenaForAllocation()); |
9274 | 0 | _impl_.options_ = p; |
9275 | 0 | } |
9276 | 0 | return _impl_.options_; |
9277 | 0 | } |
9278 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() { |
9279 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _msg = _internal_mutable_options(); |
9280 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) |
9281 | 0 | return _msg; |
9282 | 0 | } |
9283 | 0 | inline void DescriptorProto_ExtensionRange::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { |
9284 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9285 | 0 | if (message_arena == nullptr) { |
9286 | 0 | delete _impl_.options_; |
9287 | 0 | } |
9288 | 0 | if (options) { |
9289 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9290 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
9291 | 0 | if (message_arena != submessage_arena) { |
9292 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9293 | 0 | message_arena, options, submessage_arena); |
9294 | 0 | } |
9295 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9296 | 0 | } else { |
9297 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9298 | 0 | } |
9299 | 0 | _impl_.options_ = options; |
9300 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
9301 | 0 | } |
9302 | | |
9303 | | // ------------------------------------------------------------------- |
9304 | | |
9305 | | // DescriptorProto_ReservedRange |
9306 | | |
9307 | | // optional int32 start = 1; |
9308 | 0 | inline bool DescriptorProto_ReservedRange::has_start() const { |
9309 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9310 | 0 | return value; |
9311 | 0 | } |
9312 | 0 | inline void DescriptorProto_ReservedRange::clear_start() { |
9313 | 0 | _impl_.start_ = 0; |
9314 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9315 | 0 | } |
9316 | 0 | inline ::int32_t DescriptorProto_ReservedRange::start() const { |
9317 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) |
9318 | 0 | return _internal_start(); |
9319 | 0 | } |
9320 | 0 | inline void DescriptorProto_ReservedRange::set_start(::int32_t value) { |
9321 | 0 | _internal_set_start(value); |
9322 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) |
9323 | 0 | } |
9324 | 0 | inline ::int32_t DescriptorProto_ReservedRange::_internal_start() const { |
9325 | 0 | return _impl_.start_; |
9326 | 0 | } |
9327 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_start(::int32_t value) { |
9328 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9329 | 0 | _impl_.start_ = value; |
9330 | 0 | } |
9331 | | |
9332 | | // optional int32 end = 2; |
9333 | 0 | inline bool DescriptorProto_ReservedRange::has_end() const { |
9334 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9335 | 0 | return value; |
9336 | 0 | } |
9337 | 0 | inline void DescriptorProto_ReservedRange::clear_end() { |
9338 | 0 | _impl_.end_ = 0; |
9339 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9340 | 0 | } |
9341 | 0 | inline ::int32_t DescriptorProto_ReservedRange::end() const { |
9342 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) |
9343 | 0 | return _internal_end(); |
9344 | 0 | } |
9345 | 0 | inline void DescriptorProto_ReservedRange::set_end(::int32_t value) { |
9346 | 0 | _internal_set_end(value); |
9347 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) |
9348 | 0 | } |
9349 | 0 | inline ::int32_t DescriptorProto_ReservedRange::_internal_end() const { |
9350 | 0 | return _impl_.end_; |
9351 | 0 | } |
9352 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_end(::int32_t value) { |
9353 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9354 | 0 | _impl_.end_ = value; |
9355 | 0 | } |
9356 | | |
9357 | | // ------------------------------------------------------------------- |
9358 | | |
9359 | | // DescriptorProto |
9360 | | |
9361 | | // optional string name = 1; |
9362 | 0 | inline bool DescriptorProto::has_name() const { |
9363 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9364 | 0 | return value; |
9365 | 0 | } |
9366 | 0 | inline void DescriptorProto::clear_name() { |
9367 | 0 | _impl_.name_.ClearToEmpty(); |
9368 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9369 | 0 | } |
9370 | 0 | inline const std::string& DescriptorProto::name() const { |
9371 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
9372 | 0 | return _internal_name(); |
9373 | 0 | } |
9374 | | template <typename Arg_, typename... Args_> |
9375 | | inline PROTOBUF_ALWAYS_INLINE void DescriptorProto::set_name(Arg_&& arg, |
9376 | | Args_... args) { |
9377 | | _impl_._has_bits_[0] |= 0x00000001u; |
9378 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
9379 | | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
9380 | | } |
9381 | 0 | inline std::string* DescriptorProto::mutable_name() { |
9382 | 0 | std::string* _s = _internal_mutable_name(); |
9383 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) |
9384 | 0 | return _s; |
9385 | 0 | } |
9386 | 0 | inline const std::string& DescriptorProto::_internal_name() const { |
9387 | 0 | return _impl_.name_.Get(); |
9388 | 0 | } |
9389 | 0 | inline void DescriptorProto::_internal_set_name(const std::string& value) { |
9390 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9391 | 0 |
|
9392 | 0 |
|
9393 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
9394 | 0 | } |
9395 | 0 | inline std::string* DescriptorProto::_internal_mutable_name() { |
9396 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9397 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
9398 | 0 | } |
9399 | 0 | inline std::string* DescriptorProto::release_name() { |
9400 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
9401 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
9402 | 0 | return nullptr; |
9403 | 0 | } |
9404 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9405 | 0 | auto* released = _impl_.name_.Release(); |
9406 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9407 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9408 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9409 | 0 | return released; |
9410 | 0 | } |
9411 | 0 | inline void DescriptorProto::set_allocated_name(std::string* value) { |
9412 | 0 | if (value != nullptr) { |
9413 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9414 | 0 | } else { |
9415 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9416 | 0 | } |
9417 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
9418 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9419 | 0 | if (_impl_.name_.IsDefault()) { |
9420 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9421 | 0 | } |
9422 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9423 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) |
9424 | 0 | } |
9425 | | |
9426 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
9427 | 0 | inline int DescriptorProto::_internal_field_size() const { |
9428 | 0 | return _impl_.field_.size(); |
9429 | 0 | } |
9430 | 0 | inline int DescriptorProto::field_size() const { |
9431 | 0 | return _internal_field_size(); |
9432 | 0 | } |
9433 | 0 | inline void DescriptorProto::clear_field() { |
9434 | 0 | _impl_.field_.Clear(); |
9435 | 0 | } |
9436 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { |
9437 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) |
9438 | 0 | return _impl_.field_.Mutable(index); |
9439 | 0 | } |
9440 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
9441 | 0 | DescriptorProto::mutable_field() { |
9442 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) |
9443 | 0 | return &_impl_.field_; |
9444 | 0 | } |
9445 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const { |
9446 | 0 | return _impl_.field_.Get(index); |
9447 | 0 | } |
9448 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const { |
9449 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) |
9450 | 0 | return _internal_field(index); |
9451 | 0 | } |
9452 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() { |
9453 | 0 | return _impl_.field_.Add(); |
9454 | 0 | } |
9455 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() { |
9456 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_field(); |
9457 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) |
9458 | 0 | return _add; |
9459 | 0 | } |
9460 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
9461 | 0 | DescriptorProto::field() const { |
9462 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) |
9463 | 0 | return _impl_.field_; |
9464 | 0 | } |
9465 | | |
9466 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
9467 | 0 | inline int DescriptorProto::_internal_extension_size() const { |
9468 | 0 | return _impl_.extension_.size(); |
9469 | 0 | } |
9470 | 0 | inline int DescriptorProto::extension_size() const { |
9471 | 0 | return _internal_extension_size(); |
9472 | 0 | } |
9473 | 0 | inline void DescriptorProto::clear_extension() { |
9474 | 0 | _impl_.extension_.Clear(); |
9475 | 0 | } |
9476 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) { |
9477 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) |
9478 | 0 | return _impl_.extension_.Mutable(index); |
9479 | 0 | } |
9480 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
9481 | 0 | DescriptorProto::mutable_extension() { |
9482 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) |
9483 | 0 | return &_impl_.extension_; |
9484 | 0 | } |
9485 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const { |
9486 | 0 | return _impl_.extension_.Get(index); |
9487 | 0 | } |
9488 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const { |
9489 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) |
9490 | 0 | return _internal_extension(index); |
9491 | 0 | } |
9492 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() { |
9493 | 0 | return _impl_.extension_.Add(); |
9494 | 0 | } |
9495 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() { |
9496 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension(); |
9497 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) |
9498 | 0 | return _add; |
9499 | 0 | } |
9500 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
9501 | 0 | DescriptorProto::extension() const { |
9502 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) |
9503 | 0 | return _impl_.extension_; |
9504 | 0 | } |
9505 | | |
9506 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
9507 | 0 | inline int DescriptorProto::_internal_nested_type_size() const { |
9508 | 0 | return _impl_.nested_type_.size(); |
9509 | 0 | } |
9510 | 0 | inline int DescriptorProto::nested_type_size() const { |
9511 | 0 | return _internal_nested_type_size(); |
9512 | 0 | } |
9513 | 0 | inline void DescriptorProto::clear_nested_type() { |
9514 | 0 | _impl_.nested_type_.Clear(); |
9515 | 0 | } |
9516 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) { |
9517 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) |
9518 | 0 | return _impl_.nested_type_.Mutable(index); |
9519 | 0 | } |
9520 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
9521 | 0 | DescriptorProto::mutable_nested_type() { |
9522 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) |
9523 | 0 | return &_impl_.nested_type_; |
9524 | 0 | } |
9525 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const { |
9526 | 0 | return _impl_.nested_type_.Get(index); |
9527 | 0 | } |
9528 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const { |
9529 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) |
9530 | 0 | return _internal_nested_type(index); |
9531 | 0 | } |
9532 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() { |
9533 | 0 | return _impl_.nested_type_.Add(); |
9534 | 0 | } |
9535 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() { |
9536 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_nested_type(); |
9537 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) |
9538 | 0 | return _add; |
9539 | 0 | } |
9540 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
9541 | 0 | DescriptorProto::nested_type() const { |
9542 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) |
9543 | 0 | return _impl_.nested_type_; |
9544 | 0 | } |
9545 | | |
9546 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
9547 | 0 | inline int DescriptorProto::_internal_enum_type_size() const { |
9548 | 0 | return _impl_.enum_type_.size(); |
9549 | 0 | } |
9550 | 0 | inline int DescriptorProto::enum_type_size() const { |
9551 | 0 | return _internal_enum_type_size(); |
9552 | 0 | } |
9553 | 0 | inline void DescriptorProto::clear_enum_type() { |
9554 | 0 | _impl_.enum_type_.Clear(); |
9555 | 0 | } |
9556 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) { |
9557 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) |
9558 | 0 | return _impl_.enum_type_.Mutable(index); |
9559 | 0 | } |
9560 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
9561 | 0 | DescriptorProto::mutable_enum_type() { |
9562 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) |
9563 | 0 | return &_impl_.enum_type_; |
9564 | 0 | } |
9565 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const { |
9566 | 0 | return _impl_.enum_type_.Get(index); |
9567 | 0 | } |
9568 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { |
9569 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) |
9570 | 0 | return _internal_enum_type(index); |
9571 | 0 | } |
9572 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() { |
9573 | 0 | return _impl_.enum_type_.Add(); |
9574 | 0 | } |
9575 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() { |
9576 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type(); |
9577 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) |
9578 | 0 | return _add; |
9579 | 0 | } |
9580 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
9581 | 0 | DescriptorProto::enum_type() const { |
9582 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) |
9583 | 0 | return _impl_.enum_type_; |
9584 | 0 | } |
9585 | | |
9586 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
9587 | 0 | inline int DescriptorProto::_internal_extension_range_size() const { |
9588 | 0 | return _impl_.extension_range_.size(); |
9589 | 0 | } |
9590 | 0 | inline int DescriptorProto::extension_range_size() const { |
9591 | 0 | return _internal_extension_range_size(); |
9592 | 0 | } |
9593 | 0 | inline void DescriptorProto::clear_extension_range() { |
9594 | 0 | _impl_.extension_range_.Clear(); |
9595 | 0 | } |
9596 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) { |
9597 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) |
9598 | 0 | return _impl_.extension_range_.Mutable(index); |
9599 | 0 | } |
9600 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* |
9601 | 0 | DescriptorProto::mutable_extension_range() { |
9602 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) |
9603 | 0 | return &_impl_.extension_range_; |
9604 | 0 | } |
9605 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const { |
9606 | 0 | return _impl_.extension_range_.Get(index); |
9607 | 0 | } |
9608 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const { |
9609 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) |
9610 | 0 | return _internal_extension_range(index); |
9611 | 0 | } |
9612 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() { |
9613 | 0 | return _impl_.extension_range_.Add(); |
9614 | 0 | } |
9615 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() { |
9616 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _add = _internal_add_extension_range(); |
9617 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) |
9618 | 0 | return _add; |
9619 | 0 | } |
9620 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& |
9621 | 0 | DescriptorProto::extension_range() const { |
9622 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) |
9623 | 0 | return _impl_.extension_range_; |
9624 | 0 | } |
9625 | | |
9626 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
9627 | 0 | inline int DescriptorProto::_internal_oneof_decl_size() const { |
9628 | 0 | return _impl_.oneof_decl_.size(); |
9629 | 0 | } |
9630 | 0 | inline int DescriptorProto::oneof_decl_size() const { |
9631 | 0 | return _internal_oneof_decl_size(); |
9632 | 0 | } |
9633 | 0 | inline void DescriptorProto::clear_oneof_decl() { |
9634 | 0 | _impl_.oneof_decl_.Clear(); |
9635 | 0 | } |
9636 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) { |
9637 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) |
9638 | 0 | return _impl_.oneof_decl_.Mutable(index); |
9639 | 0 | } |
9640 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* |
9641 | 0 | DescriptorProto::mutable_oneof_decl() { |
9642 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) |
9643 | 0 | return &_impl_.oneof_decl_; |
9644 | 0 | } |
9645 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const { |
9646 | 0 | return _impl_.oneof_decl_.Get(index); |
9647 | 0 | } |
9648 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const { |
9649 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) |
9650 | 0 | return _internal_oneof_decl(index); |
9651 | 0 | } |
9652 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() { |
9653 | 0 | return _impl_.oneof_decl_.Add(); |
9654 | 0 | } |
9655 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() { |
9656 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _add = _internal_add_oneof_decl(); |
9657 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) |
9658 | 0 | return _add; |
9659 | 0 | } |
9660 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& |
9661 | 0 | DescriptorProto::oneof_decl() const { |
9662 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) |
9663 | 0 | return _impl_.oneof_decl_; |
9664 | 0 | } |
9665 | | |
9666 | | // optional .google.protobuf.MessageOptions options = 7; |
9667 | 0 | inline bool DescriptorProto::has_options() const { |
9668 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9669 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
9670 | 0 | return value; |
9671 | 0 | } |
9672 | 0 | inline void DescriptorProto::clear_options() { |
9673 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
9674 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9675 | 0 | } |
9676 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const { |
9677 | 0 | const ::PROTOBUF_NAMESPACE_ID::MessageOptions* p = _impl_.options_; |
9678 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MessageOptions&>( |
9679 | 0 | ::PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_); |
9680 | 0 | } |
9681 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const { |
9682 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
9683 | 0 | return _internal_options(); |
9684 | 0 | } |
9685 | | inline void DescriptorProto::unsafe_arena_set_allocated_options( |
9686 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options) { |
9687 | 0 | if (GetArenaForAllocation() == nullptr) { |
9688 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
9689 | 0 | } |
9690 | 0 | _impl_.options_ = options; |
9691 | 0 | if (options) { |
9692 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9693 | 0 | } else { |
9694 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9695 | 0 | } |
9696 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options) |
9697 | 0 | } |
9698 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() { |
9699 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9700 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = _impl_.options_; |
9701 | 0 | _impl_.options_ = nullptr; |
9702 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9703 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9704 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9705 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9706 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9707 | 0 | if (GetArenaForAllocation() != nullptr) { |
9708 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9709 | 0 | } |
9710 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9711 | 0 | return temp; |
9712 | 0 | } |
9713 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() { |
9714 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
9715 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9716 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = _impl_.options_; |
9717 | 0 | _impl_.options_ = nullptr; |
9718 | 0 | return temp; |
9719 | 0 | } |
9720 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() { |
9721 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9722 | 0 | if (_impl_.options_ == nullptr) { |
9723 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(GetArenaForAllocation()); |
9724 | 0 | _impl_.options_ = p; |
9725 | 0 | } |
9726 | 0 | return _impl_.options_; |
9727 | 0 | } |
9728 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() { |
9729 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* _msg = _internal_mutable_options(); |
9730 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) |
9731 | 0 | return _msg; |
9732 | 0 | } |
9733 | 0 | inline void DescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options) { |
9734 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9735 | 0 | if (message_arena == nullptr) { |
9736 | 0 | delete _impl_.options_; |
9737 | 0 | } |
9738 | 0 | if (options) { |
9739 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9740 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
9741 | 0 | if (message_arena != submessage_arena) { |
9742 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9743 | 0 | message_arena, options, submessage_arena); |
9744 | 0 | } |
9745 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9746 | 0 | } else { |
9747 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9748 | 0 | } |
9749 | 0 | _impl_.options_ = options; |
9750 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) |
9751 | 0 | } |
9752 | | |
9753 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
9754 | 0 | inline int DescriptorProto::_internal_reserved_range_size() const { |
9755 | 0 | return _impl_.reserved_range_.size(); |
9756 | 0 | } |
9757 | 0 | inline int DescriptorProto::reserved_range_size() const { |
9758 | 0 | return _internal_reserved_range_size(); |
9759 | 0 | } |
9760 | 0 | inline void DescriptorProto::clear_reserved_range() { |
9761 | 0 | _impl_.reserved_range_.Clear(); |
9762 | 0 | } |
9763 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) { |
9764 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) |
9765 | 0 | return _impl_.reserved_range_.Mutable(index); |
9766 | 0 | } |
9767 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* |
9768 | 0 | DescriptorProto::mutable_reserved_range() { |
9769 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) |
9770 | 0 | return &_impl_.reserved_range_; |
9771 | 0 | } |
9772 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const { |
9773 | 0 | return _impl_.reserved_range_.Get(index); |
9774 | 0 | } |
9775 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const { |
9776 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) |
9777 | 0 | return _internal_reserved_range(index); |
9778 | 0 | } |
9779 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() { |
9780 | 0 | return _impl_.reserved_range_.Add(); |
9781 | 0 | } |
9782 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() { |
9783 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _add = _internal_add_reserved_range(); |
9784 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) |
9785 | 0 | return _add; |
9786 | 0 | } |
9787 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& |
9788 | 0 | DescriptorProto::reserved_range() const { |
9789 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) |
9790 | 0 | return _impl_.reserved_range_; |
9791 | 0 | } |
9792 | | |
9793 | | // repeated string reserved_name = 10; |
9794 | 0 | inline int DescriptorProto::_internal_reserved_name_size() const { |
9795 | 0 | return _impl_.reserved_name_.size(); |
9796 | 0 | } |
9797 | 0 | inline int DescriptorProto::reserved_name_size() const { |
9798 | 0 | return _internal_reserved_name_size(); |
9799 | 0 | } |
9800 | 0 | inline void DescriptorProto::clear_reserved_name() { |
9801 | 0 | _impl_.reserved_name_.Clear(); |
9802 | 0 | } |
9803 | 0 | inline std::string* DescriptorProto::add_reserved_name() { |
9804 | 0 | std::string* _s = _internal_add_reserved_name(); |
9805 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
9806 | 0 | return _s; |
9807 | 0 | } |
9808 | 0 | inline const std::string& DescriptorProto::_internal_reserved_name(int index) const { |
9809 | 0 | return _impl_.reserved_name_.Get(index); |
9810 | 0 | } |
9811 | 0 | inline const std::string& DescriptorProto::reserved_name(int index) const { |
9812 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) |
9813 | 0 | return _internal_reserved_name(index); |
9814 | 0 | } |
9815 | 0 | inline std::string* DescriptorProto::mutable_reserved_name(int index) { |
9816 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) |
9817 | 0 | return _impl_.reserved_name_.Mutable(index); |
9818 | 0 | } |
9819 | 0 | inline void DescriptorProto::set_reserved_name(int index, const std::string& value) { |
9820 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
9821 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
9822 | 0 | } |
9823 | 0 | inline void DescriptorProto::set_reserved_name(int index, std::string&& value) { |
9824 | 0 | _impl_.reserved_name_.Mutable(index)->assign(std::move(value)); |
9825 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
9826 | 0 | } |
9827 | 0 | inline void DescriptorProto::set_reserved_name(int index, const char* value) { |
9828 | 0 | ABSL_DCHECK(value != nullptr); |
9829 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
9830 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name) |
9831 | 0 | } |
9832 | | inline void DescriptorProto::set_reserved_name(int index, const char* value, |
9833 | 0 | std::size_t size) { |
9834 | 0 | _impl_.reserved_name_.Mutable(index)->assign(reinterpret_cast<const char*>(value), size); |
9835 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) |
9836 | 0 | } |
9837 | 0 | inline void DescriptorProto::set_reserved_name(int index, absl::string_view value) { |
9838 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value.data(), value.size()); |
9839 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.DescriptorProto.reserved_name) |
9840 | 0 | } |
9841 | 0 | inline std::string* DescriptorProto::_internal_add_reserved_name() { return _impl_.reserved_name_.Add(); } |
9842 | 0 | inline void DescriptorProto::add_reserved_name(const std::string& value) { |
9843 | 0 | _impl_.reserved_name_.Add()->assign(value); |
9844 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
9845 | 0 | } |
9846 | 0 | inline void DescriptorProto::add_reserved_name(std::string&& value) { |
9847 | 0 | _impl_.reserved_name_.Add(std::move(value)); |
9848 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
9849 | 0 | } |
9850 | 0 | inline void DescriptorProto::add_reserved_name(const char* value) { |
9851 | 0 | ABSL_DCHECK(value != nullptr); |
9852 | 0 | _impl_.reserved_name_.Add()->assign(value); |
9853 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name) |
9854 | 0 | } |
9855 | 0 | inline void DescriptorProto::add_reserved_name(const char* value, std::size_t size) { |
9856 | 0 | _impl_.reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
9857 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name) |
9858 | 0 | } |
9859 | 0 | inline void DescriptorProto::add_reserved_name(absl::string_view value) { |
9860 | 0 | _impl_.reserved_name_.Add()->assign(value.data(), value.size()); |
9861 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.DescriptorProto.reserved_name) |
9862 | 0 | } |
9863 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
9864 | 0 | DescriptorProto::reserved_name() const { |
9865 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) |
9866 | 0 | return _impl_.reserved_name_; |
9867 | 0 | } |
9868 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* DescriptorProto::mutable_reserved_name() { |
9869 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) |
9870 | 0 | return &_impl_.reserved_name_; |
9871 | 0 | } |
9872 | | |
9873 | | // ------------------------------------------------------------------- |
9874 | | |
9875 | | // ExtensionRangeOptions |
9876 | | |
9877 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
9878 | 0 | inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const { |
9879 | 0 | return _impl_.uninterpreted_option_.size(); |
9880 | 0 | } |
9881 | 0 | inline int ExtensionRangeOptions::uninterpreted_option_size() const { |
9882 | 0 | return _internal_uninterpreted_option_size(); |
9883 | 0 | } |
9884 | 0 | inline void ExtensionRangeOptions::clear_uninterpreted_option() { |
9885 | 0 | _impl_.uninterpreted_option_.Clear(); |
9886 | 0 | } |
9887 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) { |
9888 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
9889 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
9890 | 0 | } |
9891 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
9892 | 0 | ExtensionRangeOptions::mutable_uninterpreted_option() { |
9893 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
9894 | 0 | return &_impl_.uninterpreted_option_; |
9895 | 0 | } |
9896 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const { |
9897 | 0 | return _impl_.uninterpreted_option_.Get(index); |
9898 | 0 | } |
9899 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const { |
9900 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
9901 | 0 | return _internal_uninterpreted_option(index); |
9902 | 0 | } |
9903 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() { |
9904 | 0 | return _impl_.uninterpreted_option_.Add(); |
9905 | 0 | } |
9906 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() { |
9907 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
9908 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
9909 | 0 | return _add; |
9910 | 0 | } |
9911 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
9912 | 0 | ExtensionRangeOptions::uninterpreted_option() const { |
9913 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
9914 | 0 | return _impl_.uninterpreted_option_; |
9915 | 0 | } |
9916 | | |
9917 | | // ------------------------------------------------------------------- |
9918 | | |
9919 | | // FieldDescriptorProto |
9920 | | |
9921 | | // optional string name = 1; |
9922 | 0 | inline bool FieldDescriptorProto::has_name() const { |
9923 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9924 | 0 | return value; |
9925 | 0 | } |
9926 | 0 | inline void FieldDescriptorProto::clear_name() { |
9927 | 0 | _impl_.name_.ClearToEmpty(); |
9928 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9929 | 0 | } |
9930 | 0 | inline const std::string& FieldDescriptorProto::name() const { |
9931 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) |
9932 | 0 | return _internal_name(); |
9933 | 0 | } |
9934 | | template <typename Arg_, typename... Args_> |
9935 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_name(Arg_&& arg, |
9936 | | Args_... args) { |
9937 | | _impl_._has_bits_[0] |= 0x00000001u; |
9938 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
9939 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) |
9940 | | } |
9941 | 0 | inline std::string* FieldDescriptorProto::mutable_name() { |
9942 | 0 | std::string* _s = _internal_mutable_name(); |
9943 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) |
9944 | 0 | return _s; |
9945 | 0 | } |
9946 | 0 | inline const std::string& FieldDescriptorProto::_internal_name() const { |
9947 | 0 | return _impl_.name_.Get(); |
9948 | 0 | } |
9949 | 0 | inline void FieldDescriptorProto::_internal_set_name(const std::string& value) { |
9950 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9951 | 0 |
|
9952 | 0 |
|
9953 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
9954 | 0 | } |
9955 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_name() { |
9956 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9957 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
9958 | 0 | } |
9959 | 0 | inline std::string* FieldDescriptorProto::release_name() { |
9960 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
9961 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
9962 | 0 | return nullptr; |
9963 | 0 | } |
9964 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9965 | 0 | auto* released = _impl_.name_.Release(); |
9966 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9967 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9968 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9969 | 0 | return released; |
9970 | 0 | } |
9971 | 0 | inline void FieldDescriptorProto::set_allocated_name(std::string* value) { |
9972 | 0 | if (value != nullptr) { |
9973 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9974 | 0 | } else { |
9975 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9976 | 0 | } |
9977 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
9978 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9979 | 0 | if (_impl_.name_.IsDefault()) { |
9980 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9981 | 0 | } |
9982 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9983 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) |
9984 | 0 | } |
9985 | | |
9986 | | // optional int32 number = 3; |
9987 | 0 | inline bool FieldDescriptorProto::has_number() const { |
9988 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
9989 | 0 | return value; |
9990 | 0 | } |
9991 | 0 | inline void FieldDescriptorProto::clear_number() { |
9992 | 0 | _impl_.number_ = 0; |
9993 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
9994 | 0 | } |
9995 | 0 | inline ::int32_t FieldDescriptorProto::number() const { |
9996 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) |
9997 | 0 | return _internal_number(); |
9998 | 0 | } |
9999 | 0 | inline void FieldDescriptorProto::set_number(::int32_t value) { |
10000 | 0 | _internal_set_number(value); |
10001 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) |
10002 | 0 | } |
10003 | 0 | inline ::int32_t FieldDescriptorProto::_internal_number() const { |
10004 | 0 | return _impl_.number_; |
10005 | 0 | } |
10006 | 0 | inline void FieldDescriptorProto::_internal_set_number(::int32_t value) { |
10007 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
10008 | 0 | _impl_.number_ = value; |
10009 | 0 | } |
10010 | | |
10011 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
10012 | 0 | inline bool FieldDescriptorProto::has_label() const { |
10013 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
10014 | 0 | return value; |
10015 | 0 | } |
10016 | 0 | inline void FieldDescriptorProto::clear_label() { |
10017 | 0 | _impl_.label_ = 1; |
10018 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
10019 | 0 | } |
10020 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const { |
10021 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) |
10022 | 0 | return _internal_label(); |
10023 | 0 | } |
10024 | 0 | inline void FieldDescriptorProto::set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { |
10025 | 0 | _internal_set_label(value); |
10026 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) |
10027 | 0 | } |
10028 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const { |
10029 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>(_impl_.label_); |
10030 | 0 | } |
10031 | 0 | inline void FieldDescriptorProto::_internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { |
10032 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value)); |
10033 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
10034 | 0 | _impl_.label_ = value; |
10035 | 0 | } |
10036 | | |
10037 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
10038 | 0 | inline bool FieldDescriptorProto::has_type() const { |
10039 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
10040 | 0 | return value; |
10041 | 0 | } |
10042 | 0 | inline void FieldDescriptorProto::clear_type() { |
10043 | 0 | _impl_.type_ = 1; |
10044 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
10045 | 0 | } |
10046 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const { |
10047 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) |
10048 | 0 | return _internal_type(); |
10049 | 0 | } |
10050 | 0 | inline void FieldDescriptorProto::set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { |
10051 | 0 | _internal_set_type(value); |
10052 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) |
10053 | 0 | } |
10054 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const { |
10055 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>(_impl_.type_); |
10056 | 0 | } |
10057 | 0 | inline void FieldDescriptorProto::_internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { |
10058 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value)); |
10059 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
10060 | 0 | _impl_.type_ = value; |
10061 | 0 | } |
10062 | | |
10063 | | // optional string type_name = 6; |
10064 | 0 | inline bool FieldDescriptorProto::has_type_name() const { |
10065 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
10066 | 0 | return value; |
10067 | 0 | } |
10068 | 0 | inline void FieldDescriptorProto::clear_type_name() { |
10069 | 0 | _impl_.type_name_.ClearToEmpty(); |
10070 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
10071 | 0 | } |
10072 | 0 | inline const std::string& FieldDescriptorProto::type_name() const { |
10073 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) |
10074 | 0 | return _internal_type_name(); |
10075 | 0 | } |
10076 | | template <typename Arg_, typename... Args_> |
10077 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_type_name(Arg_&& arg, |
10078 | | Args_... args) { |
10079 | | _impl_._has_bits_[0] |= 0x00000004u; |
10080 | | _impl_.type_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
10081 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) |
10082 | | } |
10083 | 0 | inline std::string* FieldDescriptorProto::mutable_type_name() { |
10084 | 0 | std::string* _s = _internal_mutable_type_name(); |
10085 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) |
10086 | 0 | return _s; |
10087 | 0 | } |
10088 | 0 | inline const std::string& FieldDescriptorProto::_internal_type_name() const { |
10089 | 0 | return _impl_.type_name_.Get(); |
10090 | 0 | } |
10091 | 0 | inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) { |
10092 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
10093 | 0 |
|
10094 | 0 |
|
10095 | 0 | _impl_.type_name_.Set(value, GetArenaForAllocation()); |
10096 | 0 | } |
10097 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_type_name() { |
10098 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
10099 | 0 | return _impl_.type_name_.Mutable( GetArenaForAllocation()); |
10100 | 0 | } |
10101 | 0 | inline std::string* FieldDescriptorProto::release_type_name() { |
10102 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
10103 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
10104 | 0 | return nullptr; |
10105 | 0 | } |
10106 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
10107 | 0 | auto* released = _impl_.type_name_.Release(); |
10108 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10109 | 0 | _impl_.type_name_.Set("", GetArenaForAllocation()); |
10110 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10111 | 0 | return released; |
10112 | 0 | } |
10113 | 0 | inline void FieldDescriptorProto::set_allocated_type_name(std::string* value) { |
10114 | 0 | if (value != nullptr) { |
10115 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
10116 | 0 | } else { |
10117 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
10118 | 0 | } |
10119 | 0 | _impl_.type_name_.SetAllocated(value, GetArenaForAllocation()); |
10120 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10121 | 0 | if (_impl_.type_name_.IsDefault()) { |
10122 | 0 | _impl_.type_name_.Set("", GetArenaForAllocation()); |
10123 | 0 | } |
10124 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10125 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
10126 | 0 | } |
10127 | | |
10128 | | // optional string extendee = 2; |
10129 | 0 | inline bool FieldDescriptorProto::has_extendee() const { |
10130 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10131 | 0 | return value; |
10132 | 0 | } |
10133 | 0 | inline void FieldDescriptorProto::clear_extendee() { |
10134 | 0 | _impl_.extendee_.ClearToEmpty(); |
10135 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10136 | 0 | } |
10137 | 0 | inline const std::string& FieldDescriptorProto::extendee() const { |
10138 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) |
10139 | 0 | return _internal_extendee(); |
10140 | 0 | } |
10141 | | template <typename Arg_, typename... Args_> |
10142 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_extendee(Arg_&& arg, |
10143 | | Args_... args) { |
10144 | | _impl_._has_bits_[0] |= 0x00000002u; |
10145 | | _impl_.extendee_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
10146 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) |
10147 | | } |
10148 | 0 | inline std::string* FieldDescriptorProto::mutable_extendee() { |
10149 | 0 | std::string* _s = _internal_mutable_extendee(); |
10150 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) |
10151 | 0 | return _s; |
10152 | 0 | } |
10153 | 0 | inline const std::string& FieldDescriptorProto::_internal_extendee() const { |
10154 | 0 | return _impl_.extendee_.Get(); |
10155 | 0 | } |
10156 | 0 | inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) { |
10157 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10158 | 0 |
|
10159 | 0 |
|
10160 | 0 | _impl_.extendee_.Set(value, GetArenaForAllocation()); |
10161 | 0 | } |
10162 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_extendee() { |
10163 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10164 | 0 | return _impl_.extendee_.Mutable( GetArenaForAllocation()); |
10165 | 0 | } |
10166 | 0 | inline std::string* FieldDescriptorProto::release_extendee() { |
10167 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
10168 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
10169 | 0 | return nullptr; |
10170 | 0 | } |
10171 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10172 | 0 | auto* released = _impl_.extendee_.Release(); |
10173 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10174 | 0 | _impl_.extendee_.Set("", GetArenaForAllocation()); |
10175 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10176 | 0 | return released; |
10177 | 0 | } |
10178 | 0 | inline void FieldDescriptorProto::set_allocated_extendee(std::string* value) { |
10179 | 0 | if (value != nullptr) { |
10180 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10181 | 0 | } else { |
10182 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10183 | 0 | } |
10184 | 0 | _impl_.extendee_.SetAllocated(value, GetArenaForAllocation()); |
10185 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10186 | 0 | if (_impl_.extendee_.IsDefault()) { |
10187 | 0 | _impl_.extendee_.Set("", GetArenaForAllocation()); |
10188 | 0 | } |
10189 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10190 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
10191 | 0 | } |
10192 | | |
10193 | | // optional string default_value = 7; |
10194 | 0 | inline bool FieldDescriptorProto::has_default_value() const { |
10195 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
10196 | 0 | return value; |
10197 | 0 | } |
10198 | 0 | inline void FieldDescriptorProto::clear_default_value() { |
10199 | 0 | _impl_.default_value_.ClearToEmpty(); |
10200 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
10201 | 0 | } |
10202 | 0 | inline const std::string& FieldDescriptorProto::default_value() const { |
10203 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) |
10204 | 0 | return _internal_default_value(); |
10205 | 0 | } |
10206 | | template <typename Arg_, typename... Args_> |
10207 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_default_value(Arg_&& arg, |
10208 | | Args_... args) { |
10209 | | _impl_._has_bits_[0] |= 0x00000008u; |
10210 | | _impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
10211 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) |
10212 | | } |
10213 | 0 | inline std::string* FieldDescriptorProto::mutable_default_value() { |
10214 | 0 | std::string* _s = _internal_mutable_default_value(); |
10215 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) |
10216 | 0 | return _s; |
10217 | 0 | } |
10218 | 0 | inline const std::string& FieldDescriptorProto::_internal_default_value() const { |
10219 | 0 | return _impl_.default_value_.Get(); |
10220 | 0 | } |
10221 | 0 | inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) { |
10222 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
10223 | 0 |
|
10224 | 0 |
|
10225 | 0 | _impl_.default_value_.Set(value, GetArenaForAllocation()); |
10226 | 0 | } |
10227 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_default_value() { |
10228 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
10229 | 0 | return _impl_.default_value_.Mutable( GetArenaForAllocation()); |
10230 | 0 | } |
10231 | 0 | inline std::string* FieldDescriptorProto::release_default_value() { |
10232 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
10233 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
10234 | 0 | return nullptr; |
10235 | 0 | } |
10236 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
10237 | 0 | auto* released = _impl_.default_value_.Release(); |
10238 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10239 | 0 | _impl_.default_value_.Set("", GetArenaForAllocation()); |
10240 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10241 | 0 | return released; |
10242 | 0 | } |
10243 | 0 | inline void FieldDescriptorProto::set_allocated_default_value(std::string* value) { |
10244 | 0 | if (value != nullptr) { |
10245 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
10246 | 0 | } else { |
10247 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
10248 | 0 | } |
10249 | 0 | _impl_.default_value_.SetAllocated(value, GetArenaForAllocation()); |
10250 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10251 | 0 | if (_impl_.default_value_.IsDefault()) { |
10252 | 0 | _impl_.default_value_.Set("", GetArenaForAllocation()); |
10253 | 0 | } |
10254 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10255 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
10256 | 0 | } |
10257 | | |
10258 | | // optional int32 oneof_index = 9; |
10259 | 0 | inline bool FieldDescriptorProto::has_oneof_index() const { |
10260 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
10261 | 0 | return value; |
10262 | 0 | } |
10263 | 0 | inline void FieldDescriptorProto::clear_oneof_index() { |
10264 | 0 | _impl_.oneof_index_ = 0; |
10265 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
10266 | 0 | } |
10267 | 0 | inline ::int32_t FieldDescriptorProto::oneof_index() const { |
10268 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) |
10269 | 0 | return _internal_oneof_index(); |
10270 | 0 | } |
10271 | 0 | inline void FieldDescriptorProto::set_oneof_index(::int32_t value) { |
10272 | 0 | _internal_set_oneof_index(value); |
10273 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) |
10274 | 0 | } |
10275 | 0 | inline ::int32_t FieldDescriptorProto::_internal_oneof_index() const { |
10276 | 0 | return _impl_.oneof_index_; |
10277 | 0 | } |
10278 | 0 | inline void FieldDescriptorProto::_internal_set_oneof_index(::int32_t value) { |
10279 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
10280 | 0 | _impl_.oneof_index_ = value; |
10281 | 0 | } |
10282 | | |
10283 | | // optional string json_name = 10; |
10284 | 0 | inline bool FieldDescriptorProto::has_json_name() const { |
10285 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
10286 | 0 | return value; |
10287 | 0 | } |
10288 | 0 | inline void FieldDescriptorProto::clear_json_name() { |
10289 | 0 | _impl_.json_name_.ClearToEmpty(); |
10290 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
10291 | 0 | } |
10292 | 0 | inline const std::string& FieldDescriptorProto::json_name() const { |
10293 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) |
10294 | 0 | return _internal_json_name(); |
10295 | 0 | } |
10296 | | template <typename Arg_, typename... Args_> |
10297 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_json_name(Arg_&& arg, |
10298 | | Args_... args) { |
10299 | | _impl_._has_bits_[0] |= 0x00000010u; |
10300 | | _impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
10301 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) |
10302 | | } |
10303 | 0 | inline std::string* FieldDescriptorProto::mutable_json_name() { |
10304 | 0 | std::string* _s = _internal_mutable_json_name(); |
10305 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) |
10306 | 0 | return _s; |
10307 | 0 | } |
10308 | 0 | inline const std::string& FieldDescriptorProto::_internal_json_name() const { |
10309 | 0 | return _impl_.json_name_.Get(); |
10310 | 0 | } |
10311 | 0 | inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) { |
10312 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
10313 | 0 |
|
10314 | 0 |
|
10315 | 0 | _impl_.json_name_.Set(value, GetArenaForAllocation()); |
10316 | 0 | } |
10317 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_json_name() { |
10318 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
10319 | 0 | return _impl_.json_name_.Mutable( GetArenaForAllocation()); |
10320 | 0 | } |
10321 | 0 | inline std::string* FieldDescriptorProto::release_json_name() { |
10322 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
10323 | 0 | if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { |
10324 | 0 | return nullptr; |
10325 | 0 | } |
10326 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
10327 | 0 | auto* released = _impl_.json_name_.Release(); |
10328 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10329 | 0 | _impl_.json_name_.Set("", GetArenaForAllocation()); |
10330 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10331 | 0 | return released; |
10332 | 0 | } |
10333 | 0 | inline void FieldDescriptorProto::set_allocated_json_name(std::string* value) { |
10334 | 0 | if (value != nullptr) { |
10335 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
10336 | 0 | } else { |
10337 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
10338 | 0 | } |
10339 | 0 | _impl_.json_name_.SetAllocated(value, GetArenaForAllocation()); |
10340 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10341 | 0 | if (_impl_.json_name_.IsDefault()) { |
10342 | 0 | _impl_.json_name_.Set("", GetArenaForAllocation()); |
10343 | 0 | } |
10344 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10345 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
10346 | 0 | } |
10347 | | |
10348 | | // optional .google.protobuf.FieldOptions options = 8; |
10349 | 0 | inline bool FieldDescriptorProto::has_options() const { |
10350 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
10351 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
10352 | 0 | return value; |
10353 | 0 | } |
10354 | 0 | inline void FieldDescriptorProto::clear_options() { |
10355 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
10356 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10357 | 0 | } |
10358 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const { |
10359 | 0 | const ::PROTOBUF_NAMESPACE_ID::FieldOptions* p = _impl_.options_; |
10360 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FieldOptions&>( |
10361 | 0 | ::PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_); |
10362 | 0 | } |
10363 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const { |
10364 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) |
10365 | 0 | return _internal_options(); |
10366 | 0 | } |
10367 | | inline void FieldDescriptorProto::unsafe_arena_set_allocated_options( |
10368 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options) { |
10369 | 0 | if (GetArenaForAllocation() == nullptr) { |
10370 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
10371 | 0 | } |
10372 | 0 | _impl_.options_ = options; |
10373 | 0 | if (options) { |
10374 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
10375 | 0 | } else { |
10376 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10377 | 0 | } |
10378 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options) |
10379 | 0 | } |
10380 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() { |
10381 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10382 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = _impl_.options_; |
10383 | 0 | _impl_.options_ = nullptr; |
10384 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10385 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10386 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10387 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10388 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10389 | 0 | if (GetArenaForAllocation() != nullptr) { |
10390 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10391 | 0 | } |
10392 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10393 | 0 | return temp; |
10394 | 0 | } |
10395 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { |
10396 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
10397 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10398 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = _impl_.options_; |
10399 | 0 | _impl_.options_ = nullptr; |
10400 | 0 | return temp; |
10401 | 0 | } |
10402 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() { |
10403 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
10404 | 0 | if (_impl_.options_ == nullptr) { |
10405 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(GetArenaForAllocation()); |
10406 | 0 | _impl_.options_ = p; |
10407 | 0 | } |
10408 | 0 | return _impl_.options_; |
10409 | 0 | } |
10410 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() { |
10411 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* _msg = _internal_mutable_options(); |
10412 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) |
10413 | 0 | return _msg; |
10414 | 0 | } |
10415 | 0 | inline void FieldDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options) { |
10416 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10417 | 0 | if (message_arena == nullptr) { |
10418 | 0 | delete _impl_.options_; |
10419 | 0 | } |
10420 | 0 | if (options) { |
10421 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10422 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
10423 | 0 | if (message_arena != submessage_arena) { |
10424 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10425 | 0 | message_arena, options, submessage_arena); |
10426 | 0 | } |
10427 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
10428 | 0 | } else { |
10429 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10430 | 0 | } |
10431 | 0 | _impl_.options_ = options; |
10432 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) |
10433 | 0 | } |
10434 | | |
10435 | | // optional bool proto3_optional = 17; |
10436 | 0 | inline bool FieldDescriptorProto::has_proto3_optional() const { |
10437 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
10438 | 0 | return value; |
10439 | 0 | } |
10440 | 0 | inline void FieldDescriptorProto::clear_proto3_optional() { |
10441 | 0 | _impl_.proto3_optional_ = false; |
10442 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
10443 | 0 | } |
10444 | 0 | inline bool FieldDescriptorProto::proto3_optional() const { |
10445 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional) |
10446 | 0 | return _internal_proto3_optional(); |
10447 | 0 | } |
10448 | 0 | inline void FieldDescriptorProto::set_proto3_optional(bool value) { |
10449 | 0 | _internal_set_proto3_optional(value); |
10450 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional) |
10451 | 0 | } |
10452 | 0 | inline bool FieldDescriptorProto::_internal_proto3_optional() const { |
10453 | 0 | return _impl_.proto3_optional_; |
10454 | 0 | } |
10455 | 0 | inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) { |
10456 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
10457 | 0 | _impl_.proto3_optional_ = value; |
10458 | 0 | } |
10459 | | |
10460 | | // ------------------------------------------------------------------- |
10461 | | |
10462 | | // OneofDescriptorProto |
10463 | | |
10464 | | // optional string name = 1; |
10465 | 0 | inline bool OneofDescriptorProto::has_name() const { |
10466 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10467 | 0 | return value; |
10468 | 0 | } |
10469 | 0 | inline void OneofDescriptorProto::clear_name() { |
10470 | 0 | _impl_.name_.ClearToEmpty(); |
10471 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10472 | 0 | } |
10473 | 0 | inline const std::string& OneofDescriptorProto::name() const { |
10474 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) |
10475 | 0 | return _internal_name(); |
10476 | 0 | } |
10477 | | template <typename Arg_, typename... Args_> |
10478 | | inline PROTOBUF_ALWAYS_INLINE void OneofDescriptorProto::set_name(Arg_&& arg, |
10479 | | Args_... args) { |
10480 | | _impl_._has_bits_[0] |= 0x00000001u; |
10481 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
10482 | | // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) |
10483 | | } |
10484 | 0 | inline std::string* OneofDescriptorProto::mutable_name() { |
10485 | 0 | std::string* _s = _internal_mutable_name(); |
10486 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) |
10487 | 0 | return _s; |
10488 | 0 | } |
10489 | 0 | inline const std::string& OneofDescriptorProto::_internal_name() const { |
10490 | 0 | return _impl_.name_.Get(); |
10491 | 0 | } |
10492 | 0 | inline void OneofDescriptorProto::_internal_set_name(const std::string& value) { |
10493 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10494 | 0 |
|
10495 | 0 |
|
10496 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
10497 | 0 | } |
10498 | 0 | inline std::string* OneofDescriptorProto::_internal_mutable_name() { |
10499 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10500 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
10501 | 0 | } |
10502 | 0 | inline std::string* OneofDescriptorProto::release_name() { |
10503 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
10504 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
10505 | 0 | return nullptr; |
10506 | 0 | } |
10507 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10508 | 0 | auto* released = _impl_.name_.Release(); |
10509 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10510 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10511 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10512 | 0 | return released; |
10513 | 0 | } |
10514 | 0 | inline void OneofDescriptorProto::set_allocated_name(std::string* value) { |
10515 | 0 | if (value != nullptr) { |
10516 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10517 | 0 | } else { |
10518 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10519 | 0 | } |
10520 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
10521 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10522 | 0 | if (_impl_.name_.IsDefault()) { |
10523 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10524 | 0 | } |
10525 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10526 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) |
10527 | 0 | } |
10528 | | |
10529 | | // optional .google.protobuf.OneofOptions options = 2; |
10530 | 0 | inline bool OneofDescriptorProto::has_options() const { |
10531 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10532 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
10533 | 0 | return value; |
10534 | 0 | } |
10535 | 0 | inline void OneofDescriptorProto::clear_options() { |
10536 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
10537 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10538 | 0 | } |
10539 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const { |
10540 | 0 | const ::PROTOBUF_NAMESPACE_ID::OneofOptions* p = _impl_.options_; |
10541 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::OneofOptions&>( |
10542 | 0 | ::PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_); |
10543 | 0 | } |
10544 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const { |
10545 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) |
10546 | 0 | return _internal_options(); |
10547 | 0 | } |
10548 | | inline void OneofDescriptorProto::unsafe_arena_set_allocated_options( |
10549 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options) { |
10550 | 0 | if (GetArenaForAllocation() == nullptr) { |
10551 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
10552 | 0 | } |
10553 | 0 | _impl_.options_ = options; |
10554 | 0 | if (options) { |
10555 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10556 | 0 | } else { |
10557 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10558 | 0 | } |
10559 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options) |
10560 | 0 | } |
10561 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() { |
10562 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10563 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = _impl_.options_; |
10564 | 0 | _impl_.options_ = nullptr; |
10565 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10566 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10567 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10568 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10569 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10570 | 0 | if (GetArenaForAllocation() != nullptr) { |
10571 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10572 | 0 | } |
10573 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10574 | 0 | return temp; |
10575 | 0 | } |
10576 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { |
10577 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) |
10578 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10579 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = _impl_.options_; |
10580 | 0 | _impl_.options_ = nullptr; |
10581 | 0 | return temp; |
10582 | 0 | } |
10583 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() { |
10584 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10585 | 0 | if (_impl_.options_ == nullptr) { |
10586 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(GetArenaForAllocation()); |
10587 | 0 | _impl_.options_ = p; |
10588 | 0 | } |
10589 | 0 | return _impl_.options_; |
10590 | 0 | } |
10591 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() { |
10592 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* _msg = _internal_mutable_options(); |
10593 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) |
10594 | 0 | return _msg; |
10595 | 0 | } |
10596 | 0 | inline void OneofDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options) { |
10597 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10598 | 0 | if (message_arena == nullptr) { |
10599 | 0 | delete _impl_.options_; |
10600 | 0 | } |
10601 | 0 | if (options) { |
10602 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10603 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
10604 | 0 | if (message_arena != submessage_arena) { |
10605 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10606 | 0 | message_arena, options, submessage_arena); |
10607 | 0 | } |
10608 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10609 | 0 | } else { |
10610 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10611 | 0 | } |
10612 | 0 | _impl_.options_ = options; |
10613 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) |
10614 | 0 | } |
10615 | | |
10616 | | // ------------------------------------------------------------------- |
10617 | | |
10618 | | // EnumDescriptorProto_EnumReservedRange |
10619 | | |
10620 | | // optional int32 start = 1; |
10621 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { |
10622 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10623 | 0 | return value; |
10624 | 0 | } |
10625 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_start() { |
10626 | 0 | _impl_.start_ = 0; |
10627 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10628 | 0 | } |
10629 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::start() const { |
10630 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
10631 | 0 | return _internal_start(); |
10632 | 0 | } |
10633 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_start(::int32_t value) { |
10634 | 0 | _internal_set_start(value); |
10635 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
10636 | 0 | } |
10637 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::_internal_start() const { |
10638 | 0 | return _impl_.start_; |
10639 | 0 | } |
10640 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(::int32_t value) { |
10641 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10642 | 0 | _impl_.start_ = value; |
10643 | 0 | } |
10644 | | |
10645 | | // optional int32 end = 2; |
10646 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { |
10647 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10648 | 0 | return value; |
10649 | 0 | } |
10650 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_end() { |
10651 | 0 | _impl_.end_ = 0; |
10652 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10653 | 0 | } |
10654 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::end() const { |
10655 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
10656 | 0 | return _internal_end(); |
10657 | 0 | } |
10658 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_end(::int32_t value) { |
10659 | 0 | _internal_set_end(value); |
10660 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
10661 | 0 | } |
10662 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::_internal_end() const { |
10663 | 0 | return _impl_.end_; |
10664 | 0 | } |
10665 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(::int32_t value) { |
10666 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10667 | 0 | _impl_.end_ = value; |
10668 | 0 | } |
10669 | | |
10670 | | // ------------------------------------------------------------------- |
10671 | | |
10672 | | // EnumDescriptorProto |
10673 | | |
10674 | | // optional string name = 1; |
10675 | 0 | inline bool EnumDescriptorProto::has_name() const { |
10676 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10677 | 0 | return value; |
10678 | 0 | } |
10679 | 0 | inline void EnumDescriptorProto::clear_name() { |
10680 | 0 | _impl_.name_.ClearToEmpty(); |
10681 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10682 | 0 | } |
10683 | 0 | inline const std::string& EnumDescriptorProto::name() const { |
10684 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) |
10685 | 0 | return _internal_name(); |
10686 | 0 | } |
10687 | | template <typename Arg_, typename... Args_> |
10688 | | inline PROTOBUF_ALWAYS_INLINE void EnumDescriptorProto::set_name(Arg_&& arg, |
10689 | | Args_... args) { |
10690 | | _impl_._has_bits_[0] |= 0x00000001u; |
10691 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
10692 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) |
10693 | | } |
10694 | 0 | inline std::string* EnumDescriptorProto::mutable_name() { |
10695 | 0 | std::string* _s = _internal_mutable_name(); |
10696 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) |
10697 | 0 | return _s; |
10698 | 0 | } |
10699 | 0 | inline const std::string& EnumDescriptorProto::_internal_name() const { |
10700 | 0 | return _impl_.name_.Get(); |
10701 | 0 | } |
10702 | 0 | inline void EnumDescriptorProto::_internal_set_name(const std::string& value) { |
10703 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10704 | 0 |
|
10705 | 0 |
|
10706 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
10707 | 0 | } |
10708 | 0 | inline std::string* EnumDescriptorProto::_internal_mutable_name() { |
10709 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10710 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
10711 | 0 | } |
10712 | 0 | inline std::string* EnumDescriptorProto::release_name() { |
10713 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
10714 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
10715 | 0 | return nullptr; |
10716 | 0 | } |
10717 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10718 | 0 | auto* released = _impl_.name_.Release(); |
10719 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10720 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10721 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10722 | 0 | return released; |
10723 | 0 | } |
10724 | 0 | inline void EnumDescriptorProto::set_allocated_name(std::string* value) { |
10725 | 0 | if (value != nullptr) { |
10726 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10727 | 0 | } else { |
10728 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10729 | 0 | } |
10730 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
10731 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10732 | 0 | if (_impl_.name_.IsDefault()) { |
10733 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10734 | 0 | } |
10735 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10736 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) |
10737 | 0 | } |
10738 | | |
10739 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
10740 | 0 | inline int EnumDescriptorProto::_internal_value_size() const { |
10741 | 0 | return _impl_.value_.size(); |
10742 | 0 | } |
10743 | 0 | inline int EnumDescriptorProto::value_size() const { |
10744 | 0 | return _internal_value_size(); |
10745 | 0 | } |
10746 | 0 | inline void EnumDescriptorProto::clear_value() { |
10747 | 0 | _impl_.value_.Clear(); |
10748 | 0 | } |
10749 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) { |
10750 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) |
10751 | 0 | return _impl_.value_.Mutable(index); |
10752 | 0 | } |
10753 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* |
10754 | 0 | EnumDescriptorProto::mutable_value() { |
10755 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) |
10756 | 0 | return &_impl_.value_; |
10757 | 0 | } |
10758 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const { |
10759 | 0 | return _impl_.value_.Get(index); |
10760 | 0 | } |
10761 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const { |
10762 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) |
10763 | 0 | return _internal_value(index); |
10764 | 0 | } |
10765 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() { |
10766 | 0 | return _impl_.value_.Add(); |
10767 | 0 | } |
10768 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() { |
10769 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _add = _internal_add_value(); |
10770 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) |
10771 | 0 | return _add; |
10772 | 0 | } |
10773 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& |
10774 | 0 | EnumDescriptorProto::value() const { |
10775 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) |
10776 | 0 | return _impl_.value_; |
10777 | 0 | } |
10778 | | |
10779 | | // optional .google.protobuf.EnumOptions options = 3; |
10780 | 0 | inline bool EnumDescriptorProto::has_options() const { |
10781 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10782 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
10783 | 0 | return value; |
10784 | 0 | } |
10785 | 0 | inline void EnumDescriptorProto::clear_options() { |
10786 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
10787 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10788 | 0 | } |
10789 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const { |
10790 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumOptions* p = _impl_.options_; |
10791 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumOptions&>( |
10792 | 0 | ::PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_); |
10793 | 0 | } |
10794 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const { |
10795 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) |
10796 | 0 | return _internal_options(); |
10797 | 0 | } |
10798 | | inline void EnumDescriptorProto::unsafe_arena_set_allocated_options( |
10799 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options) { |
10800 | 0 | if (GetArenaForAllocation() == nullptr) { |
10801 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
10802 | 0 | } |
10803 | 0 | _impl_.options_ = options; |
10804 | 0 | if (options) { |
10805 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10806 | 0 | } else { |
10807 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10808 | 0 | } |
10809 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options) |
10810 | 0 | } |
10811 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() { |
10812 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10813 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = _impl_.options_; |
10814 | 0 | _impl_.options_ = nullptr; |
10815 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10816 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10817 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10818 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10819 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10820 | 0 | if (GetArenaForAllocation() != nullptr) { |
10821 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10822 | 0 | } |
10823 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10824 | 0 | return temp; |
10825 | 0 | } |
10826 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { |
10827 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
10828 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10829 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = _impl_.options_; |
10830 | 0 | _impl_.options_ = nullptr; |
10831 | 0 | return temp; |
10832 | 0 | } |
10833 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() { |
10834 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10835 | 0 | if (_impl_.options_ == nullptr) { |
10836 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(GetArenaForAllocation()); |
10837 | 0 | _impl_.options_ = p; |
10838 | 0 | } |
10839 | 0 | return _impl_.options_; |
10840 | 0 | } |
10841 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() { |
10842 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* _msg = _internal_mutable_options(); |
10843 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) |
10844 | 0 | return _msg; |
10845 | 0 | } |
10846 | 0 | inline void EnumDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options) { |
10847 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10848 | 0 | if (message_arena == nullptr) { |
10849 | 0 | delete _impl_.options_; |
10850 | 0 | } |
10851 | 0 | if (options) { |
10852 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10853 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
10854 | 0 | if (message_arena != submessage_arena) { |
10855 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10856 | 0 | message_arena, options, submessage_arena); |
10857 | 0 | } |
10858 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10859 | 0 | } else { |
10860 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10861 | 0 | } |
10862 | 0 | _impl_.options_ = options; |
10863 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) |
10864 | 0 | } |
10865 | | |
10866 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
10867 | 0 | inline int EnumDescriptorProto::_internal_reserved_range_size() const { |
10868 | 0 | return _impl_.reserved_range_.size(); |
10869 | 0 | } |
10870 | 0 | inline int EnumDescriptorProto::reserved_range_size() const { |
10871 | 0 | return _internal_reserved_range_size(); |
10872 | 0 | } |
10873 | 0 | inline void EnumDescriptorProto::clear_reserved_range() { |
10874 | 0 | _impl_.reserved_range_.Clear(); |
10875 | 0 | } |
10876 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) { |
10877 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) |
10878 | 0 | return _impl_.reserved_range_.Mutable(index); |
10879 | 0 | } |
10880 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* |
10881 | 0 | EnumDescriptorProto::mutable_reserved_range() { |
10882 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) |
10883 | 0 | return &_impl_.reserved_range_; |
10884 | 0 | } |
10885 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const { |
10886 | 0 | return _impl_.reserved_range_.Get(index); |
10887 | 0 | } |
10888 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const { |
10889 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) |
10890 | 0 | return _internal_reserved_range(index); |
10891 | 0 | } |
10892 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() { |
10893 | 0 | return _impl_.reserved_range_.Add(); |
10894 | 0 | } |
10895 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() { |
10896 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _add = _internal_add_reserved_range(); |
10897 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) |
10898 | 0 | return _add; |
10899 | 0 | } |
10900 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& |
10901 | 0 | EnumDescriptorProto::reserved_range() const { |
10902 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) |
10903 | 0 | return _impl_.reserved_range_; |
10904 | 0 | } |
10905 | | |
10906 | | // repeated string reserved_name = 5; |
10907 | 0 | inline int EnumDescriptorProto::_internal_reserved_name_size() const { |
10908 | 0 | return _impl_.reserved_name_.size(); |
10909 | 0 | } |
10910 | 0 | inline int EnumDescriptorProto::reserved_name_size() const { |
10911 | 0 | return _internal_reserved_name_size(); |
10912 | 0 | } |
10913 | 0 | inline void EnumDescriptorProto::clear_reserved_name() { |
10914 | 0 | _impl_.reserved_name_.Clear(); |
10915 | 0 | } |
10916 | 0 | inline std::string* EnumDescriptorProto::add_reserved_name() { |
10917 | 0 | std::string* _s = _internal_add_reserved_name(); |
10918 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
10919 | 0 | return _s; |
10920 | 0 | } |
10921 | 0 | inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const { |
10922 | 0 | return _impl_.reserved_name_.Get(index); |
10923 | 0 | } |
10924 | 0 | inline const std::string& EnumDescriptorProto::reserved_name(int index) const { |
10925 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) |
10926 | 0 | return _internal_reserved_name(index); |
10927 | 0 | } |
10928 | 0 | inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) { |
10929 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
10930 | 0 | return _impl_.reserved_name_.Mutable(index); |
10931 | 0 | } |
10932 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) { |
10933 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
10934 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
10935 | 0 | } |
10936 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) { |
10937 | 0 | _impl_.reserved_name_.Mutable(index)->assign(std::move(value)); |
10938 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
10939 | 0 | } |
10940 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) { |
10941 | 0 | ABSL_DCHECK(value != nullptr); |
10942 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
10943 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name) |
10944 | 0 | } |
10945 | | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, |
10946 | 0 | std::size_t size) { |
10947 | 0 | _impl_.reserved_name_.Mutable(index)->assign(reinterpret_cast<const char*>(value), size); |
10948 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
10949 | 0 | } |
10950 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, absl::string_view value) { |
10951 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value.data(), value.size()); |
10952 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.EnumDescriptorProto.reserved_name) |
10953 | 0 | } |
10954 | 0 | inline std::string* EnumDescriptorProto::_internal_add_reserved_name() { return _impl_.reserved_name_.Add(); } |
10955 | 0 | inline void EnumDescriptorProto::add_reserved_name(const std::string& value) { |
10956 | 0 | _impl_.reserved_name_.Add()->assign(value); |
10957 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
10958 | 0 | } |
10959 | 0 | inline void EnumDescriptorProto::add_reserved_name(std::string&& value) { |
10960 | 0 | _impl_.reserved_name_.Add(std::move(value)); |
10961 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
10962 | 0 | } |
10963 | 0 | inline void EnumDescriptorProto::add_reserved_name(const char* value) { |
10964 | 0 | ABSL_DCHECK(value != nullptr); |
10965 | 0 | _impl_.reserved_name_.Add()->assign(value); |
10966 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name) |
10967 | 0 | } |
10968 | 0 | inline void EnumDescriptorProto::add_reserved_name(const char* value, std::size_t size) { |
10969 | 0 | _impl_.reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
10970 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
10971 | 0 | } |
10972 | 0 | inline void EnumDescriptorProto::add_reserved_name(absl::string_view value) { |
10973 | 0 | _impl_.reserved_name_.Add()->assign(value.data(), value.size()); |
10974 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.EnumDescriptorProto.reserved_name) |
10975 | 0 | } |
10976 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
10977 | 0 | EnumDescriptorProto::reserved_name() const { |
10978 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) |
10979 | 0 | return _impl_.reserved_name_; |
10980 | 0 | } |
10981 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* EnumDescriptorProto::mutable_reserved_name() { |
10982 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) |
10983 | 0 | return &_impl_.reserved_name_; |
10984 | 0 | } |
10985 | | |
10986 | | // ------------------------------------------------------------------- |
10987 | | |
10988 | | // EnumValueDescriptorProto |
10989 | | |
10990 | | // optional string name = 1; |
10991 | 0 | inline bool EnumValueDescriptorProto::has_name() const { |
10992 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10993 | 0 | return value; |
10994 | 0 | } |
10995 | 0 | inline void EnumValueDescriptorProto::clear_name() { |
10996 | 0 | _impl_.name_.ClearToEmpty(); |
10997 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10998 | 0 | } |
10999 | 0 | inline const std::string& EnumValueDescriptorProto::name() const { |
11000 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) |
11001 | 0 | return _internal_name(); |
11002 | 0 | } |
11003 | | template <typename Arg_, typename... Args_> |
11004 | | inline PROTOBUF_ALWAYS_INLINE void EnumValueDescriptorProto::set_name(Arg_&& arg, |
11005 | | Args_... args) { |
11006 | | _impl_._has_bits_[0] |= 0x00000001u; |
11007 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11008 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) |
11009 | | } |
11010 | 0 | inline std::string* EnumValueDescriptorProto::mutable_name() { |
11011 | 0 | std::string* _s = _internal_mutable_name(); |
11012 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) |
11013 | 0 | return _s; |
11014 | 0 | } |
11015 | 0 | inline const std::string& EnumValueDescriptorProto::_internal_name() const { |
11016 | 0 | return _impl_.name_.Get(); |
11017 | 0 | } |
11018 | 0 | inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) { |
11019 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11020 | 0 |
|
11021 | 0 |
|
11022 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11023 | 0 | } |
11024 | 0 | inline std::string* EnumValueDescriptorProto::_internal_mutable_name() { |
11025 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11026 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
11027 | 0 | } |
11028 | 0 | inline std::string* EnumValueDescriptorProto::release_name() { |
11029 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
11030 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
11031 | 0 | return nullptr; |
11032 | 0 | } |
11033 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11034 | 0 | auto* released = _impl_.name_.Release(); |
11035 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11036 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11037 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11038 | 0 | return released; |
11039 | 0 | } |
11040 | 0 | inline void EnumValueDescriptorProto::set_allocated_name(std::string* value) { |
11041 | 0 | if (value != nullptr) { |
11042 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11043 | 0 | } else { |
11044 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11045 | 0 | } |
11046 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
11047 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11048 | 0 | if (_impl_.name_.IsDefault()) { |
11049 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11050 | 0 | } |
11051 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11052 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
11053 | 0 | } |
11054 | | |
11055 | | // optional int32 number = 2; |
11056 | 0 | inline bool EnumValueDescriptorProto::has_number() const { |
11057 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11058 | 0 | return value; |
11059 | 0 | } |
11060 | 0 | inline void EnumValueDescriptorProto::clear_number() { |
11061 | 0 | _impl_.number_ = 0; |
11062 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11063 | 0 | } |
11064 | 0 | inline ::int32_t EnumValueDescriptorProto::number() const { |
11065 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) |
11066 | 0 | return _internal_number(); |
11067 | 0 | } |
11068 | 0 | inline void EnumValueDescriptorProto::set_number(::int32_t value) { |
11069 | 0 | _internal_set_number(value); |
11070 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) |
11071 | 0 | } |
11072 | 0 | inline ::int32_t EnumValueDescriptorProto::_internal_number() const { |
11073 | 0 | return _impl_.number_; |
11074 | 0 | } |
11075 | 0 | inline void EnumValueDescriptorProto::_internal_set_number(::int32_t value) { |
11076 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11077 | 0 | _impl_.number_ = value; |
11078 | 0 | } |
11079 | | |
11080 | | // optional .google.protobuf.EnumValueOptions options = 3; |
11081 | 0 | inline bool EnumValueDescriptorProto::has_options() const { |
11082 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11083 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11084 | 0 | return value; |
11085 | 0 | } |
11086 | 0 | inline void EnumValueDescriptorProto::clear_options() { |
11087 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11088 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11089 | 0 | } |
11090 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { |
11091 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = _impl_.options_; |
11092 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions&>( |
11093 | 0 | ::PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_); |
11094 | 0 | } |
11095 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const { |
11096 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) |
11097 | 0 | return _internal_options(); |
11098 | 0 | } |
11099 | | inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options( |
11100 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { |
11101 | 0 | if (GetArenaForAllocation() == nullptr) { |
11102 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11103 | 0 | } |
11104 | 0 | _impl_.options_ = options; |
11105 | 0 | if (options) { |
11106 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11107 | 0 | } else { |
11108 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11109 | 0 | } |
11110 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
11111 | 0 | } |
11112 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
11113 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11114 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = _impl_.options_; |
11115 | 0 | _impl_.options_ = nullptr; |
11116 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11117 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11118 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11119 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11120 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11121 | 0 | if (GetArenaForAllocation() != nullptr) { |
11122 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11123 | 0 | } |
11124 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11125 | 0 | return temp; |
11126 | 0 | } |
11127 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { |
11128 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
11129 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11130 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = _impl_.options_; |
11131 | 0 | _impl_.options_ = nullptr; |
11132 | 0 | return temp; |
11133 | 0 | } |
11134 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() { |
11135 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11136 | 0 | if (_impl_.options_ == nullptr) { |
11137 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(GetArenaForAllocation()); |
11138 | 0 | _impl_.options_ = p; |
11139 | 0 | } |
11140 | 0 | return _impl_.options_; |
11141 | 0 | } |
11142 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() { |
11143 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _msg = _internal_mutable_options(); |
11144 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) |
11145 | 0 | return _msg; |
11146 | 0 | } |
11147 | 0 | inline void EnumValueDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { |
11148 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11149 | 0 | if (message_arena == nullptr) { |
11150 | 0 | delete _impl_.options_; |
11151 | 0 | } |
11152 | 0 | if (options) { |
11153 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11154 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11155 | 0 | if (message_arena != submessage_arena) { |
11156 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11157 | 0 | message_arena, options, submessage_arena); |
11158 | 0 | } |
11159 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11160 | 0 | } else { |
11161 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11162 | 0 | } |
11163 | 0 | _impl_.options_ = options; |
11164 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
11165 | 0 | } |
11166 | | |
11167 | | // ------------------------------------------------------------------- |
11168 | | |
11169 | | // ServiceDescriptorProto |
11170 | | |
11171 | | // optional string name = 1; |
11172 | 0 | inline bool ServiceDescriptorProto::has_name() const { |
11173 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11174 | 0 | return value; |
11175 | 0 | } |
11176 | 0 | inline void ServiceDescriptorProto::clear_name() { |
11177 | 0 | _impl_.name_.ClearToEmpty(); |
11178 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11179 | 0 | } |
11180 | 0 | inline const std::string& ServiceDescriptorProto::name() const { |
11181 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) |
11182 | 0 | return _internal_name(); |
11183 | 0 | } |
11184 | | template <typename Arg_, typename... Args_> |
11185 | | inline PROTOBUF_ALWAYS_INLINE void ServiceDescriptorProto::set_name(Arg_&& arg, |
11186 | | Args_... args) { |
11187 | | _impl_._has_bits_[0] |= 0x00000001u; |
11188 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11189 | | // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) |
11190 | | } |
11191 | 0 | inline std::string* ServiceDescriptorProto::mutable_name() { |
11192 | 0 | std::string* _s = _internal_mutable_name(); |
11193 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) |
11194 | 0 | return _s; |
11195 | 0 | } |
11196 | 0 | inline const std::string& ServiceDescriptorProto::_internal_name() const { |
11197 | 0 | return _impl_.name_.Get(); |
11198 | 0 | } |
11199 | 0 | inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) { |
11200 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11201 | 0 |
|
11202 | 0 |
|
11203 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11204 | 0 | } |
11205 | 0 | inline std::string* ServiceDescriptorProto::_internal_mutable_name() { |
11206 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11207 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
11208 | 0 | } |
11209 | 0 | inline std::string* ServiceDescriptorProto::release_name() { |
11210 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
11211 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
11212 | 0 | return nullptr; |
11213 | 0 | } |
11214 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11215 | 0 | auto* released = _impl_.name_.Release(); |
11216 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11217 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11218 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11219 | 0 | return released; |
11220 | 0 | } |
11221 | 0 | inline void ServiceDescriptorProto::set_allocated_name(std::string* value) { |
11222 | 0 | if (value != nullptr) { |
11223 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11224 | 0 | } else { |
11225 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11226 | 0 | } |
11227 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
11228 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11229 | 0 | if (_impl_.name_.IsDefault()) { |
11230 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11231 | 0 | } |
11232 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11233 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
11234 | 0 | } |
11235 | | |
11236 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
11237 | 0 | inline int ServiceDescriptorProto::_internal_method_size() const { |
11238 | 0 | return _impl_.method_.size(); |
11239 | 0 | } |
11240 | 0 | inline int ServiceDescriptorProto::method_size() const { |
11241 | 0 | return _internal_method_size(); |
11242 | 0 | } |
11243 | 0 | inline void ServiceDescriptorProto::clear_method() { |
11244 | 0 | _impl_.method_.Clear(); |
11245 | 0 | } |
11246 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) { |
11247 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) |
11248 | 0 | return _impl_.method_.Mutable(index); |
11249 | 0 | } |
11250 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* |
11251 | 0 | ServiceDescriptorProto::mutable_method() { |
11252 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) |
11253 | 0 | return &_impl_.method_; |
11254 | 0 | } |
11255 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const { |
11256 | 0 | return _impl_.method_.Get(index); |
11257 | 0 | } |
11258 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const { |
11259 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) |
11260 | 0 | return _internal_method(index); |
11261 | 0 | } |
11262 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() { |
11263 | 0 | return _impl_.method_.Add(); |
11264 | 0 | } |
11265 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() { |
11266 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _add = _internal_add_method(); |
11267 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) |
11268 | 0 | return _add; |
11269 | 0 | } |
11270 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& |
11271 | 0 | ServiceDescriptorProto::method() const { |
11272 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) |
11273 | 0 | return _impl_.method_; |
11274 | 0 | } |
11275 | | |
11276 | | // optional .google.protobuf.ServiceOptions options = 3; |
11277 | 0 | inline bool ServiceDescriptorProto::has_options() const { |
11278 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11279 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11280 | 0 | return value; |
11281 | 0 | } |
11282 | 0 | inline void ServiceDescriptorProto::clear_options() { |
11283 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11284 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11285 | 0 | } |
11286 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const { |
11287 | 0 | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions* p = _impl_.options_; |
11288 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ServiceOptions&>( |
11289 | 0 | ::PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_); |
11290 | 0 | } |
11291 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const { |
11292 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) |
11293 | 0 | return _internal_options(); |
11294 | 0 | } |
11295 | | inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options( |
11296 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { |
11297 | 0 | if (GetArenaForAllocation() == nullptr) { |
11298 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11299 | 0 | } |
11300 | 0 | _impl_.options_ = options; |
11301 | 0 | if (options) { |
11302 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11303 | 0 | } else { |
11304 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11305 | 0 | } |
11306 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
11307 | 0 | } |
11308 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() { |
11309 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11310 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = _impl_.options_; |
11311 | 0 | _impl_.options_ = nullptr; |
11312 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11313 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11314 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11315 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11316 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11317 | 0 | if (GetArenaForAllocation() != nullptr) { |
11318 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11319 | 0 | } |
11320 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11321 | 0 | return temp; |
11322 | 0 | } |
11323 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { |
11324 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
11325 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11326 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = _impl_.options_; |
11327 | 0 | _impl_.options_ = nullptr; |
11328 | 0 | return temp; |
11329 | 0 | } |
11330 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() { |
11331 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11332 | 0 | if (_impl_.options_ == nullptr) { |
11333 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(GetArenaForAllocation()); |
11334 | 0 | _impl_.options_ = p; |
11335 | 0 | } |
11336 | 0 | return _impl_.options_; |
11337 | 0 | } |
11338 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() { |
11339 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _msg = _internal_mutable_options(); |
11340 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) |
11341 | 0 | return _msg; |
11342 | 0 | } |
11343 | 0 | inline void ServiceDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { |
11344 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11345 | 0 | if (message_arena == nullptr) { |
11346 | 0 | delete _impl_.options_; |
11347 | 0 | } |
11348 | 0 | if (options) { |
11349 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11350 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11351 | 0 | if (message_arena != submessage_arena) { |
11352 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11353 | 0 | message_arena, options, submessage_arena); |
11354 | 0 | } |
11355 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11356 | 0 | } else { |
11357 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11358 | 0 | } |
11359 | 0 | _impl_.options_ = options; |
11360 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
11361 | 0 | } |
11362 | | |
11363 | | // ------------------------------------------------------------------- |
11364 | | |
11365 | | // MethodDescriptorProto |
11366 | | |
11367 | | // optional string name = 1; |
11368 | 0 | inline bool MethodDescriptorProto::has_name() const { |
11369 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11370 | 0 | return value; |
11371 | 0 | } |
11372 | 0 | inline void MethodDescriptorProto::clear_name() { |
11373 | 0 | _impl_.name_.ClearToEmpty(); |
11374 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11375 | 0 | } |
11376 | 0 | inline const std::string& MethodDescriptorProto::name() const { |
11377 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) |
11378 | 0 | return _internal_name(); |
11379 | 0 | } |
11380 | | template <typename Arg_, typename... Args_> |
11381 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_name(Arg_&& arg, |
11382 | | Args_... args) { |
11383 | | _impl_._has_bits_[0] |= 0x00000001u; |
11384 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11385 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) |
11386 | | } |
11387 | 0 | inline std::string* MethodDescriptorProto::mutable_name() { |
11388 | 0 | std::string* _s = _internal_mutable_name(); |
11389 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) |
11390 | 0 | return _s; |
11391 | 0 | } |
11392 | 0 | inline const std::string& MethodDescriptorProto::_internal_name() const { |
11393 | 0 | return _impl_.name_.Get(); |
11394 | 0 | } |
11395 | 0 | inline void MethodDescriptorProto::_internal_set_name(const std::string& value) { |
11396 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11397 | 0 |
|
11398 | 0 |
|
11399 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11400 | 0 | } |
11401 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_name() { |
11402 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11403 | 0 | return _impl_.name_.Mutable( GetArenaForAllocation()); |
11404 | 0 | } |
11405 | 0 | inline std::string* MethodDescriptorProto::release_name() { |
11406 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
11407 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
11408 | 0 | return nullptr; |
11409 | 0 | } |
11410 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11411 | 0 | auto* released = _impl_.name_.Release(); |
11412 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11413 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11414 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11415 | 0 | return released; |
11416 | 0 | } |
11417 | 0 | inline void MethodDescriptorProto::set_allocated_name(std::string* value) { |
11418 | 0 | if (value != nullptr) { |
11419 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11420 | 0 | } else { |
11421 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11422 | 0 | } |
11423 | 0 | _impl_.name_.SetAllocated(value, GetArenaForAllocation()); |
11424 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11425 | 0 | if (_impl_.name_.IsDefault()) { |
11426 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11427 | 0 | } |
11428 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11429 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) |
11430 | 0 | } |
11431 | | |
11432 | | // optional string input_type = 2; |
11433 | 0 | inline bool MethodDescriptorProto::has_input_type() const { |
11434 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11435 | 0 | return value; |
11436 | 0 | } |
11437 | 0 | inline void MethodDescriptorProto::clear_input_type() { |
11438 | 0 | _impl_.input_type_.ClearToEmpty(); |
11439 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11440 | 0 | } |
11441 | 0 | inline const std::string& MethodDescriptorProto::input_type() const { |
11442 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) |
11443 | 0 | return _internal_input_type(); |
11444 | 0 | } |
11445 | | template <typename Arg_, typename... Args_> |
11446 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_input_type(Arg_&& arg, |
11447 | | Args_... args) { |
11448 | | _impl_._has_bits_[0] |= 0x00000002u; |
11449 | | _impl_.input_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11450 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) |
11451 | | } |
11452 | 0 | inline std::string* MethodDescriptorProto::mutable_input_type() { |
11453 | 0 | std::string* _s = _internal_mutable_input_type(); |
11454 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) |
11455 | 0 | return _s; |
11456 | 0 | } |
11457 | 0 | inline const std::string& MethodDescriptorProto::_internal_input_type() const { |
11458 | 0 | return _impl_.input_type_.Get(); |
11459 | 0 | } |
11460 | 0 | inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) { |
11461 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11462 | 0 |
|
11463 | 0 |
|
11464 | 0 | _impl_.input_type_.Set(value, GetArenaForAllocation()); |
11465 | 0 | } |
11466 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_input_type() { |
11467 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11468 | 0 | return _impl_.input_type_.Mutable( GetArenaForAllocation()); |
11469 | 0 | } |
11470 | 0 | inline std::string* MethodDescriptorProto::release_input_type() { |
11471 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
11472 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
11473 | 0 | return nullptr; |
11474 | 0 | } |
11475 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11476 | 0 | auto* released = _impl_.input_type_.Release(); |
11477 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11478 | 0 | _impl_.input_type_.Set("", GetArenaForAllocation()); |
11479 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11480 | 0 | return released; |
11481 | 0 | } |
11482 | 0 | inline void MethodDescriptorProto::set_allocated_input_type(std::string* value) { |
11483 | 0 | if (value != nullptr) { |
11484 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11485 | 0 | } else { |
11486 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11487 | 0 | } |
11488 | 0 | _impl_.input_type_.SetAllocated(value, GetArenaForAllocation()); |
11489 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11490 | 0 | if (_impl_.input_type_.IsDefault()) { |
11491 | 0 | _impl_.input_type_.Set("", GetArenaForAllocation()); |
11492 | 0 | } |
11493 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11494 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
11495 | 0 | } |
11496 | | |
11497 | | // optional string output_type = 3; |
11498 | 0 | inline bool MethodDescriptorProto::has_output_type() const { |
11499 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11500 | 0 | return value; |
11501 | 0 | } |
11502 | 0 | inline void MethodDescriptorProto::clear_output_type() { |
11503 | 0 | _impl_.output_type_.ClearToEmpty(); |
11504 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11505 | 0 | } |
11506 | 0 | inline const std::string& MethodDescriptorProto::output_type() const { |
11507 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) |
11508 | 0 | return _internal_output_type(); |
11509 | 0 | } |
11510 | | template <typename Arg_, typename... Args_> |
11511 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_output_type(Arg_&& arg, |
11512 | | Args_... args) { |
11513 | | _impl_._has_bits_[0] |= 0x00000004u; |
11514 | | _impl_.output_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11515 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) |
11516 | | } |
11517 | 0 | inline std::string* MethodDescriptorProto::mutable_output_type() { |
11518 | 0 | std::string* _s = _internal_mutable_output_type(); |
11519 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) |
11520 | 0 | return _s; |
11521 | 0 | } |
11522 | 0 | inline const std::string& MethodDescriptorProto::_internal_output_type() const { |
11523 | 0 | return _impl_.output_type_.Get(); |
11524 | 0 | } |
11525 | 0 | inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) { |
11526 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11527 | 0 |
|
11528 | 0 |
|
11529 | 0 | _impl_.output_type_.Set(value, GetArenaForAllocation()); |
11530 | 0 | } |
11531 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_output_type() { |
11532 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11533 | 0 | return _impl_.output_type_.Mutable( GetArenaForAllocation()); |
11534 | 0 | } |
11535 | 0 | inline std::string* MethodDescriptorProto::release_output_type() { |
11536 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
11537 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
11538 | 0 | return nullptr; |
11539 | 0 | } |
11540 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11541 | 0 | auto* released = _impl_.output_type_.Release(); |
11542 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11543 | 0 | _impl_.output_type_.Set("", GetArenaForAllocation()); |
11544 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11545 | 0 | return released; |
11546 | 0 | } |
11547 | 0 | inline void MethodDescriptorProto::set_allocated_output_type(std::string* value) { |
11548 | 0 | if (value != nullptr) { |
11549 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11550 | 0 | } else { |
11551 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11552 | 0 | } |
11553 | 0 | _impl_.output_type_.SetAllocated(value, GetArenaForAllocation()); |
11554 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11555 | 0 | if (_impl_.output_type_.IsDefault()) { |
11556 | 0 | _impl_.output_type_.Set("", GetArenaForAllocation()); |
11557 | 0 | } |
11558 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11559 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
11560 | 0 | } |
11561 | | |
11562 | | // optional .google.protobuf.MethodOptions options = 4; |
11563 | 0 | inline bool MethodDescriptorProto::has_options() const { |
11564 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
11565 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11566 | 0 | return value; |
11567 | 0 | } |
11568 | 0 | inline void MethodDescriptorProto::clear_options() { |
11569 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11570 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11571 | 0 | } |
11572 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const { |
11573 | 0 | const ::PROTOBUF_NAMESPACE_ID::MethodOptions* p = _impl_.options_; |
11574 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MethodOptions&>( |
11575 | 0 | ::PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_); |
11576 | 0 | } |
11577 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const { |
11578 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) |
11579 | 0 | return _internal_options(); |
11580 | 0 | } |
11581 | | inline void MethodDescriptorProto::unsafe_arena_set_allocated_options( |
11582 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options) { |
11583 | 0 | if (GetArenaForAllocation() == nullptr) { |
11584 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11585 | 0 | } |
11586 | 0 | _impl_.options_ = options; |
11587 | 0 | if (options) { |
11588 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11589 | 0 | } else { |
11590 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11591 | 0 | } |
11592 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options) |
11593 | 0 | } |
11594 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() { |
11595 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11596 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = _impl_.options_; |
11597 | 0 | _impl_.options_ = nullptr; |
11598 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11599 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11600 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11601 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11602 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11603 | 0 | if (GetArenaForAllocation() != nullptr) { |
11604 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11605 | 0 | } |
11606 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11607 | 0 | return temp; |
11608 | 0 | } |
11609 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { |
11610 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
11611 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11612 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = _impl_.options_; |
11613 | 0 | _impl_.options_ = nullptr; |
11614 | 0 | return temp; |
11615 | 0 | } |
11616 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() { |
11617 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11618 | 0 | if (_impl_.options_ == nullptr) { |
11619 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(GetArenaForAllocation()); |
11620 | 0 | _impl_.options_ = p; |
11621 | 0 | } |
11622 | 0 | return _impl_.options_; |
11623 | 0 | } |
11624 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() { |
11625 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* _msg = _internal_mutable_options(); |
11626 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) |
11627 | 0 | return _msg; |
11628 | 0 | } |
11629 | 0 | inline void MethodDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options) { |
11630 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11631 | 0 | if (message_arena == nullptr) { |
11632 | 0 | delete _impl_.options_; |
11633 | 0 | } |
11634 | 0 | if (options) { |
11635 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11636 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11637 | 0 | if (message_arena != submessage_arena) { |
11638 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11639 | 0 | message_arena, options, submessage_arena); |
11640 | 0 | } |
11641 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11642 | 0 | } else { |
11643 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11644 | 0 | } |
11645 | 0 | _impl_.options_ = options; |
11646 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) |
11647 | 0 | } |
11648 | | |
11649 | | // optional bool client_streaming = 5 [default = false]; |
11650 | 0 | inline bool MethodDescriptorProto::has_client_streaming() const { |
11651 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
11652 | 0 | return value; |
11653 | 0 | } |
11654 | 0 | inline void MethodDescriptorProto::clear_client_streaming() { |
11655 | 0 | _impl_.client_streaming_ = false; |
11656 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11657 | 0 | } |
11658 | 0 | inline bool MethodDescriptorProto::client_streaming() const { |
11659 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) |
11660 | 0 | return _internal_client_streaming(); |
11661 | 0 | } |
11662 | 0 | inline void MethodDescriptorProto::set_client_streaming(bool value) { |
11663 | 0 | _internal_set_client_streaming(value); |
11664 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) |
11665 | 0 | } |
11666 | 0 | inline bool MethodDescriptorProto::_internal_client_streaming() const { |
11667 | 0 | return _impl_.client_streaming_; |
11668 | 0 | } |
11669 | 0 | inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) { |
11670 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
11671 | 0 | _impl_.client_streaming_ = value; |
11672 | 0 | } |
11673 | | |
11674 | | // optional bool server_streaming = 6 [default = false]; |
11675 | 0 | inline bool MethodDescriptorProto::has_server_streaming() const { |
11676 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
11677 | 0 | return value; |
11678 | 0 | } |
11679 | 0 | inline void MethodDescriptorProto::clear_server_streaming() { |
11680 | 0 | _impl_.server_streaming_ = false; |
11681 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
11682 | 0 | } |
11683 | 0 | inline bool MethodDescriptorProto::server_streaming() const { |
11684 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) |
11685 | 0 | return _internal_server_streaming(); |
11686 | 0 | } |
11687 | 0 | inline void MethodDescriptorProto::set_server_streaming(bool value) { |
11688 | 0 | _internal_set_server_streaming(value); |
11689 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) |
11690 | 0 | } |
11691 | 0 | inline bool MethodDescriptorProto::_internal_server_streaming() const { |
11692 | 0 | return _impl_.server_streaming_; |
11693 | 0 | } |
11694 | 0 | inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) { |
11695 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
11696 | 0 | _impl_.server_streaming_ = value; |
11697 | 0 | } |
11698 | | |
11699 | | // ------------------------------------------------------------------- |
11700 | | |
11701 | | // FileOptions |
11702 | | |
11703 | | // optional string java_package = 1; |
11704 | 0 | inline bool FileOptions::has_java_package() const { |
11705 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11706 | 0 | return value; |
11707 | 0 | } |
11708 | 0 | inline void FileOptions::clear_java_package() { |
11709 | 0 | _impl_.java_package_.ClearToEmpty(); |
11710 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11711 | 0 | } |
11712 | 0 | inline const std::string& FileOptions::java_package() const { |
11713 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) |
11714 | 0 | return _internal_java_package(); |
11715 | 0 | } |
11716 | | template <typename Arg_, typename... Args_> |
11717 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_package(Arg_&& arg, |
11718 | | Args_... args) { |
11719 | | _impl_._has_bits_[0] |= 0x00000001u; |
11720 | | _impl_.java_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11721 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) |
11722 | | } |
11723 | 0 | inline std::string* FileOptions::mutable_java_package() { |
11724 | 0 | std::string* _s = _internal_mutable_java_package(); |
11725 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) |
11726 | 0 | return _s; |
11727 | 0 | } |
11728 | 0 | inline const std::string& FileOptions::_internal_java_package() const { |
11729 | 0 | return _impl_.java_package_.Get(); |
11730 | 0 | } |
11731 | 0 | inline void FileOptions::_internal_set_java_package(const std::string& value) { |
11732 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11733 | 0 |
|
11734 | 0 |
|
11735 | 0 | _impl_.java_package_.Set(value, GetArenaForAllocation()); |
11736 | 0 | } |
11737 | 0 | inline std::string* FileOptions::_internal_mutable_java_package() { |
11738 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11739 | 0 | return _impl_.java_package_.Mutable( GetArenaForAllocation()); |
11740 | 0 | } |
11741 | 0 | inline std::string* FileOptions::release_java_package() { |
11742 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
11743 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
11744 | 0 | return nullptr; |
11745 | 0 | } |
11746 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11747 | 0 | auto* released = _impl_.java_package_.Release(); |
11748 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11749 | 0 | _impl_.java_package_.Set("", GetArenaForAllocation()); |
11750 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11751 | 0 | return released; |
11752 | 0 | } |
11753 | 0 | inline void FileOptions::set_allocated_java_package(std::string* value) { |
11754 | 0 | if (value != nullptr) { |
11755 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11756 | 0 | } else { |
11757 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11758 | 0 | } |
11759 | 0 | _impl_.java_package_.SetAllocated(value, GetArenaForAllocation()); |
11760 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11761 | 0 | if (_impl_.java_package_.IsDefault()) { |
11762 | 0 | _impl_.java_package_.Set("", GetArenaForAllocation()); |
11763 | 0 | } |
11764 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11765 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) |
11766 | 0 | } |
11767 | | |
11768 | | // optional string java_outer_classname = 8; |
11769 | 0 | inline bool FileOptions::has_java_outer_classname() const { |
11770 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11771 | 0 | return value; |
11772 | 0 | } |
11773 | 0 | inline void FileOptions::clear_java_outer_classname() { |
11774 | 0 | _impl_.java_outer_classname_.ClearToEmpty(); |
11775 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11776 | 0 | } |
11777 | 0 | inline const std::string& FileOptions::java_outer_classname() const { |
11778 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) |
11779 | 0 | return _internal_java_outer_classname(); |
11780 | 0 | } |
11781 | | template <typename Arg_, typename... Args_> |
11782 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_outer_classname(Arg_&& arg, |
11783 | | Args_... args) { |
11784 | | _impl_._has_bits_[0] |= 0x00000002u; |
11785 | | _impl_.java_outer_classname_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11786 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) |
11787 | | } |
11788 | 0 | inline std::string* FileOptions::mutable_java_outer_classname() { |
11789 | 0 | std::string* _s = _internal_mutable_java_outer_classname(); |
11790 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) |
11791 | 0 | return _s; |
11792 | 0 | } |
11793 | 0 | inline const std::string& FileOptions::_internal_java_outer_classname() const { |
11794 | 0 | return _impl_.java_outer_classname_.Get(); |
11795 | 0 | } |
11796 | 0 | inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) { |
11797 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11798 | 0 |
|
11799 | 0 |
|
11800 | 0 | _impl_.java_outer_classname_.Set(value, GetArenaForAllocation()); |
11801 | 0 | } |
11802 | 0 | inline std::string* FileOptions::_internal_mutable_java_outer_classname() { |
11803 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11804 | 0 | return _impl_.java_outer_classname_.Mutable( GetArenaForAllocation()); |
11805 | 0 | } |
11806 | 0 | inline std::string* FileOptions::release_java_outer_classname() { |
11807 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
11808 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
11809 | 0 | return nullptr; |
11810 | 0 | } |
11811 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11812 | 0 | auto* released = _impl_.java_outer_classname_.Release(); |
11813 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11814 | 0 | _impl_.java_outer_classname_.Set("", GetArenaForAllocation()); |
11815 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11816 | 0 | return released; |
11817 | 0 | } |
11818 | 0 | inline void FileOptions::set_allocated_java_outer_classname(std::string* value) { |
11819 | 0 | if (value != nullptr) { |
11820 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11821 | 0 | } else { |
11822 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11823 | 0 | } |
11824 | 0 | _impl_.java_outer_classname_.SetAllocated(value, GetArenaForAllocation()); |
11825 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11826 | 0 | if (_impl_.java_outer_classname_.IsDefault()) { |
11827 | 0 | _impl_.java_outer_classname_.Set("", GetArenaForAllocation()); |
11828 | 0 | } |
11829 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11830 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
11831 | 0 | } |
11832 | | |
11833 | | // optional bool java_multiple_files = 10 [default = false]; |
11834 | 0 | inline bool FileOptions::has_java_multiple_files() const { |
11835 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
11836 | 0 | return value; |
11837 | 0 | } |
11838 | 0 | inline void FileOptions::clear_java_multiple_files() { |
11839 | 0 | _impl_.java_multiple_files_ = false; |
11840 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
11841 | 0 | } |
11842 | 0 | inline bool FileOptions::java_multiple_files() const { |
11843 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) |
11844 | 0 | return _internal_java_multiple_files(); |
11845 | 0 | } |
11846 | 0 | inline void FileOptions::set_java_multiple_files(bool value) { |
11847 | 0 | _internal_set_java_multiple_files(value); |
11848 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) |
11849 | 0 | } |
11850 | 0 | inline bool FileOptions::_internal_java_multiple_files() const { |
11851 | 0 | return _impl_.java_multiple_files_; |
11852 | 0 | } |
11853 | 0 | inline void FileOptions::_internal_set_java_multiple_files(bool value) { |
11854 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
11855 | 0 | _impl_.java_multiple_files_ = value; |
11856 | 0 | } |
11857 | | |
11858 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
11859 | 0 | inline bool FileOptions::has_java_generate_equals_and_hash() const { |
11860 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; |
11861 | 0 | return value; |
11862 | 0 | } |
11863 | 0 | inline void FileOptions::clear_java_generate_equals_and_hash() { |
11864 | 0 | _impl_.java_generate_equals_and_hash_ = false; |
11865 | 0 | _impl_._has_bits_[0] &= ~0x00000800u; |
11866 | 0 | } |
11867 | 0 | inline bool FileOptions::java_generate_equals_and_hash() const { |
11868 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) |
11869 | 0 | return _internal_java_generate_equals_and_hash(); |
11870 | 0 | } |
11871 | 0 | inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
11872 | 0 | _internal_set_java_generate_equals_and_hash(value); |
11873 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) |
11874 | 0 | } |
11875 | 0 | inline bool FileOptions::_internal_java_generate_equals_and_hash() const { |
11876 | 0 | return _impl_.java_generate_equals_and_hash_; |
11877 | 0 | } |
11878 | 0 | inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) { |
11879 | 0 | _impl_._has_bits_[0] |= 0x00000800u; |
11880 | 0 | _impl_.java_generate_equals_and_hash_ = value; |
11881 | 0 | } |
11882 | | |
11883 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
11884 | 0 | inline bool FileOptions::has_java_string_check_utf8() const { |
11885 | 0 | bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; |
11886 | 0 | return value; |
11887 | 0 | } |
11888 | 0 | inline void FileOptions::clear_java_string_check_utf8() { |
11889 | 0 | _impl_.java_string_check_utf8_ = false; |
11890 | 0 | _impl_._has_bits_[0] &= ~0x00001000u; |
11891 | 0 | } |
11892 | 0 | inline bool FileOptions::java_string_check_utf8() const { |
11893 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) |
11894 | 0 | return _internal_java_string_check_utf8(); |
11895 | 0 | } |
11896 | 0 | inline void FileOptions::set_java_string_check_utf8(bool value) { |
11897 | 0 | _internal_set_java_string_check_utf8(value); |
11898 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) |
11899 | 0 | } |
11900 | 0 | inline bool FileOptions::_internal_java_string_check_utf8() const { |
11901 | 0 | return _impl_.java_string_check_utf8_; |
11902 | 0 | } |
11903 | 0 | inline void FileOptions::_internal_set_java_string_check_utf8(bool value) { |
11904 | 0 | _impl_._has_bits_[0] |= 0x00001000u; |
11905 | 0 | _impl_.java_string_check_utf8_ = value; |
11906 | 0 | } |
11907 | | |
11908 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
11909 | 0 | inline bool FileOptions::has_optimize_for() const { |
11910 | 0 | bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; |
11911 | 0 | return value; |
11912 | 0 | } |
11913 | 0 | inline void FileOptions::clear_optimize_for() { |
11914 | 0 | _impl_.optimize_for_ = 1; |
11915 | 0 | _impl_._has_bits_[0] &= ~0x00040000u; |
11916 | 0 | } |
11917 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const { |
11918 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) |
11919 | 0 | return _internal_optimize_for(); |
11920 | 0 | } |
11921 | 0 | inline void FileOptions::set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { |
11922 | 0 | _internal_set_optimize_for(value); |
11923 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) |
11924 | 0 | } |
11925 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const { |
11926 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>(_impl_.optimize_for_); |
11927 | 0 | } |
11928 | 0 | inline void FileOptions::_internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { |
11929 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value)); |
11930 | 0 | _impl_._has_bits_[0] |= 0x00040000u; |
11931 | 0 | _impl_.optimize_for_ = value; |
11932 | 0 | } |
11933 | | |
11934 | | // optional string go_package = 11; |
11935 | 0 | inline bool FileOptions::has_go_package() const { |
11936 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11937 | 0 | return value; |
11938 | 0 | } |
11939 | 0 | inline void FileOptions::clear_go_package() { |
11940 | 0 | _impl_.go_package_.ClearToEmpty(); |
11941 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11942 | 0 | } |
11943 | 0 | inline const std::string& FileOptions::go_package() const { |
11944 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
11945 | 0 | return _internal_go_package(); |
11946 | 0 | } |
11947 | | template <typename Arg_, typename... Args_> |
11948 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_go_package(Arg_&& arg, |
11949 | | Args_... args) { |
11950 | | _impl_._has_bits_[0] |= 0x00000004u; |
11951 | | _impl_.go_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
11952 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
11953 | | } |
11954 | 0 | inline std::string* FileOptions::mutable_go_package() { |
11955 | 0 | std::string* _s = _internal_mutable_go_package(); |
11956 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) |
11957 | 0 | return _s; |
11958 | 0 | } |
11959 | 0 | inline const std::string& FileOptions::_internal_go_package() const { |
11960 | 0 | return _impl_.go_package_.Get(); |
11961 | 0 | } |
11962 | 0 | inline void FileOptions::_internal_set_go_package(const std::string& value) { |
11963 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11964 | 0 |
|
11965 | 0 |
|
11966 | 0 | _impl_.go_package_.Set(value, GetArenaForAllocation()); |
11967 | 0 | } |
11968 | 0 | inline std::string* FileOptions::_internal_mutable_go_package() { |
11969 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11970 | 0 | return _impl_.go_package_.Mutable( GetArenaForAllocation()); |
11971 | 0 | } |
11972 | 0 | inline std::string* FileOptions::release_go_package() { |
11973 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
11974 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
11975 | 0 | return nullptr; |
11976 | 0 | } |
11977 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11978 | 0 | auto* released = _impl_.go_package_.Release(); |
11979 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11980 | 0 | _impl_.go_package_.Set("", GetArenaForAllocation()); |
11981 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11982 | 0 | return released; |
11983 | 0 | } |
11984 | 0 | inline void FileOptions::set_allocated_go_package(std::string* value) { |
11985 | 0 | if (value != nullptr) { |
11986 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11987 | 0 | } else { |
11988 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11989 | 0 | } |
11990 | 0 | _impl_.go_package_.SetAllocated(value, GetArenaForAllocation()); |
11991 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11992 | 0 | if (_impl_.go_package_.IsDefault()) { |
11993 | 0 | _impl_.go_package_.Set("", GetArenaForAllocation()); |
11994 | 0 | } |
11995 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11996 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) |
11997 | 0 | } |
11998 | | |
11999 | | // optional bool cc_generic_services = 16 [default = false]; |
12000 | 0 | inline bool FileOptions::has_cc_generic_services() const { |
12001 | 0 | bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; |
12002 | 0 | return value; |
12003 | 0 | } |
12004 | 0 | inline void FileOptions::clear_cc_generic_services() { |
12005 | 0 | _impl_.cc_generic_services_ = false; |
12006 | 0 | _impl_._has_bits_[0] &= ~0x00002000u; |
12007 | 0 | } |
12008 | 0 | inline bool FileOptions::cc_generic_services() const { |
12009 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) |
12010 | 0 | return _internal_cc_generic_services(); |
12011 | 0 | } |
12012 | 0 | inline void FileOptions::set_cc_generic_services(bool value) { |
12013 | 0 | _internal_set_cc_generic_services(value); |
12014 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) |
12015 | 0 | } |
12016 | 0 | inline bool FileOptions::_internal_cc_generic_services() const { |
12017 | 0 | return _impl_.cc_generic_services_; |
12018 | 0 | } |
12019 | 0 | inline void FileOptions::_internal_set_cc_generic_services(bool value) { |
12020 | 0 | _impl_._has_bits_[0] |= 0x00002000u; |
12021 | 0 | _impl_.cc_generic_services_ = value; |
12022 | 0 | } |
12023 | | |
12024 | | // optional bool java_generic_services = 17 [default = false]; |
12025 | 0 | inline bool FileOptions::has_java_generic_services() const { |
12026 | 0 | bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; |
12027 | 0 | return value; |
12028 | 0 | } |
12029 | 0 | inline void FileOptions::clear_java_generic_services() { |
12030 | 0 | _impl_.java_generic_services_ = false; |
12031 | 0 | _impl_._has_bits_[0] &= ~0x00004000u; |
12032 | 0 | } |
12033 | 0 | inline bool FileOptions::java_generic_services() const { |
12034 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) |
12035 | 0 | return _internal_java_generic_services(); |
12036 | 0 | } |
12037 | 0 | inline void FileOptions::set_java_generic_services(bool value) { |
12038 | 0 | _internal_set_java_generic_services(value); |
12039 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) |
12040 | 0 | } |
12041 | 0 | inline bool FileOptions::_internal_java_generic_services() const { |
12042 | 0 | return _impl_.java_generic_services_; |
12043 | 0 | } |
12044 | 0 | inline void FileOptions::_internal_set_java_generic_services(bool value) { |
12045 | 0 | _impl_._has_bits_[0] |= 0x00004000u; |
12046 | 0 | _impl_.java_generic_services_ = value; |
12047 | 0 | } |
12048 | | |
12049 | | // optional bool py_generic_services = 18 [default = false]; |
12050 | 0 | inline bool FileOptions::has_py_generic_services() const { |
12051 | 0 | bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; |
12052 | 0 | return value; |
12053 | 0 | } |
12054 | 0 | inline void FileOptions::clear_py_generic_services() { |
12055 | 0 | _impl_.py_generic_services_ = false; |
12056 | 0 | _impl_._has_bits_[0] &= ~0x00008000u; |
12057 | 0 | } |
12058 | 0 | inline bool FileOptions::py_generic_services() const { |
12059 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) |
12060 | 0 | return _internal_py_generic_services(); |
12061 | 0 | } |
12062 | 0 | inline void FileOptions::set_py_generic_services(bool value) { |
12063 | 0 | _internal_set_py_generic_services(value); |
12064 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) |
12065 | 0 | } |
12066 | 0 | inline bool FileOptions::_internal_py_generic_services() const { |
12067 | 0 | return _impl_.py_generic_services_; |
12068 | 0 | } |
12069 | 0 | inline void FileOptions::_internal_set_py_generic_services(bool value) { |
12070 | 0 | _impl_._has_bits_[0] |= 0x00008000u; |
12071 | 0 | _impl_.py_generic_services_ = value; |
12072 | 0 | } |
12073 | | |
12074 | | // optional bool php_generic_services = 42 [default = false]; |
12075 | 0 | inline bool FileOptions::has_php_generic_services() const { |
12076 | 0 | bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; |
12077 | 0 | return value; |
12078 | 0 | } |
12079 | 0 | inline void FileOptions::clear_php_generic_services() { |
12080 | 0 | _impl_.php_generic_services_ = false; |
12081 | 0 | _impl_._has_bits_[0] &= ~0x00010000u; |
12082 | 0 | } |
12083 | 0 | inline bool FileOptions::php_generic_services() const { |
12084 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services) |
12085 | 0 | return _internal_php_generic_services(); |
12086 | 0 | } |
12087 | 0 | inline void FileOptions::set_php_generic_services(bool value) { |
12088 | 0 | _internal_set_php_generic_services(value); |
12089 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services) |
12090 | 0 | } |
12091 | 0 | inline bool FileOptions::_internal_php_generic_services() const { |
12092 | 0 | return _impl_.php_generic_services_; |
12093 | 0 | } |
12094 | 0 | inline void FileOptions::_internal_set_php_generic_services(bool value) { |
12095 | 0 | _impl_._has_bits_[0] |= 0x00010000u; |
12096 | 0 | _impl_.php_generic_services_ = value; |
12097 | 0 | } |
12098 | | |
12099 | | // optional bool deprecated = 23 [default = false]; |
12100 | 0 | inline bool FileOptions::has_deprecated() const { |
12101 | 0 | bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; |
12102 | 0 | return value; |
12103 | 0 | } |
12104 | 0 | inline void FileOptions::clear_deprecated() { |
12105 | 0 | _impl_.deprecated_ = false; |
12106 | 0 | _impl_._has_bits_[0] &= ~0x00020000u; |
12107 | 0 | } |
12108 | 0 | inline bool FileOptions::deprecated() const { |
12109 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
12110 | 0 | return _internal_deprecated(); |
12111 | 0 | } |
12112 | 0 | inline void FileOptions::set_deprecated(bool value) { |
12113 | 0 | _internal_set_deprecated(value); |
12114 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
12115 | 0 | } |
12116 | 0 | inline bool FileOptions::_internal_deprecated() const { |
12117 | 0 | return _impl_.deprecated_; |
12118 | 0 | } |
12119 | 0 | inline void FileOptions::_internal_set_deprecated(bool value) { |
12120 | 0 | _impl_._has_bits_[0] |= 0x00020000u; |
12121 | 0 | _impl_.deprecated_ = value; |
12122 | 0 | } |
12123 | | |
12124 | | // optional bool cc_enable_arenas = 31 [default = true]; |
12125 | 0 | inline bool FileOptions::has_cc_enable_arenas() const { |
12126 | 0 | bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; |
12127 | 0 | return value; |
12128 | 0 | } |
12129 | 0 | inline void FileOptions::clear_cc_enable_arenas() { |
12130 | 0 | _impl_.cc_enable_arenas_ = true; |
12131 | 0 | _impl_._has_bits_[0] &= ~0x00080000u; |
12132 | 0 | } |
12133 | 0 | inline bool FileOptions::cc_enable_arenas() const { |
12134 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) |
12135 | 0 | return _internal_cc_enable_arenas(); |
12136 | 0 | } |
12137 | 0 | inline void FileOptions::set_cc_enable_arenas(bool value) { |
12138 | 0 | _internal_set_cc_enable_arenas(value); |
12139 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) |
12140 | 0 | } |
12141 | 0 | inline bool FileOptions::_internal_cc_enable_arenas() const { |
12142 | 0 | return _impl_.cc_enable_arenas_; |
12143 | 0 | } |
12144 | 0 | inline void FileOptions::_internal_set_cc_enable_arenas(bool value) { |
12145 | 0 | _impl_._has_bits_[0] |= 0x00080000u; |
12146 | 0 | _impl_.cc_enable_arenas_ = value; |
12147 | 0 | } |
12148 | | |
12149 | | // optional string objc_class_prefix = 36; |
12150 | 0 | inline bool FileOptions::has_objc_class_prefix() const { |
12151 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
12152 | 0 | return value; |
12153 | 0 | } |
12154 | 0 | inline void FileOptions::clear_objc_class_prefix() { |
12155 | 0 | _impl_.objc_class_prefix_.ClearToEmpty(); |
12156 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12157 | 0 | } |
12158 | 0 | inline const std::string& FileOptions::objc_class_prefix() const { |
12159 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) |
12160 | 0 | return _internal_objc_class_prefix(); |
12161 | 0 | } |
12162 | | template <typename Arg_, typename... Args_> |
12163 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_objc_class_prefix(Arg_&& arg, |
12164 | | Args_... args) { |
12165 | | _impl_._has_bits_[0] |= 0x00000008u; |
12166 | | _impl_.objc_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12167 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) |
12168 | | } |
12169 | 0 | inline std::string* FileOptions::mutable_objc_class_prefix() { |
12170 | 0 | std::string* _s = _internal_mutable_objc_class_prefix(); |
12171 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) |
12172 | 0 | return _s; |
12173 | 0 | } |
12174 | 0 | inline const std::string& FileOptions::_internal_objc_class_prefix() const { |
12175 | 0 | return _impl_.objc_class_prefix_.Get(); |
12176 | 0 | } |
12177 | 0 | inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) { |
12178 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12179 | 0 |
|
12180 | 0 |
|
12181 | 0 | _impl_.objc_class_prefix_.Set(value, GetArenaForAllocation()); |
12182 | 0 | } |
12183 | 0 | inline std::string* FileOptions::_internal_mutable_objc_class_prefix() { |
12184 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12185 | 0 | return _impl_.objc_class_prefix_.Mutable( GetArenaForAllocation()); |
12186 | 0 | } |
12187 | 0 | inline std::string* FileOptions::release_objc_class_prefix() { |
12188 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
12189 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
12190 | 0 | return nullptr; |
12191 | 0 | } |
12192 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12193 | 0 | auto* released = _impl_.objc_class_prefix_.Release(); |
12194 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12195 | 0 | _impl_.objc_class_prefix_.Set("", GetArenaForAllocation()); |
12196 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12197 | 0 | return released; |
12198 | 0 | } |
12199 | 0 | inline void FileOptions::set_allocated_objc_class_prefix(std::string* value) { |
12200 | 0 | if (value != nullptr) { |
12201 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12202 | 0 | } else { |
12203 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12204 | 0 | } |
12205 | 0 | _impl_.objc_class_prefix_.SetAllocated(value, GetArenaForAllocation()); |
12206 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12207 | 0 | if (_impl_.objc_class_prefix_.IsDefault()) { |
12208 | 0 | _impl_.objc_class_prefix_.Set("", GetArenaForAllocation()); |
12209 | 0 | } |
12210 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12211 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
12212 | 0 | } |
12213 | | |
12214 | | // optional string csharp_namespace = 37; |
12215 | 0 | inline bool FileOptions::has_csharp_namespace() const { |
12216 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
12217 | 0 | return value; |
12218 | 0 | } |
12219 | 0 | inline void FileOptions::clear_csharp_namespace() { |
12220 | 0 | _impl_.csharp_namespace_.ClearToEmpty(); |
12221 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12222 | 0 | } |
12223 | 0 | inline const std::string& FileOptions::csharp_namespace() const { |
12224 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) |
12225 | 0 | return _internal_csharp_namespace(); |
12226 | 0 | } |
12227 | | template <typename Arg_, typename... Args_> |
12228 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_csharp_namespace(Arg_&& arg, |
12229 | | Args_... args) { |
12230 | | _impl_._has_bits_[0] |= 0x00000010u; |
12231 | | _impl_.csharp_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12232 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) |
12233 | | } |
12234 | 0 | inline std::string* FileOptions::mutable_csharp_namespace() { |
12235 | 0 | std::string* _s = _internal_mutable_csharp_namespace(); |
12236 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) |
12237 | 0 | return _s; |
12238 | 0 | } |
12239 | 0 | inline const std::string& FileOptions::_internal_csharp_namespace() const { |
12240 | 0 | return _impl_.csharp_namespace_.Get(); |
12241 | 0 | } |
12242 | 0 | inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) { |
12243 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12244 | 0 |
|
12245 | 0 |
|
12246 | 0 | _impl_.csharp_namespace_.Set(value, GetArenaForAllocation()); |
12247 | 0 | } |
12248 | 0 | inline std::string* FileOptions::_internal_mutable_csharp_namespace() { |
12249 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12250 | 0 | return _impl_.csharp_namespace_.Mutable( GetArenaForAllocation()); |
12251 | 0 | } |
12252 | 0 | inline std::string* FileOptions::release_csharp_namespace() { |
12253 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
12254 | 0 | if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { |
12255 | 0 | return nullptr; |
12256 | 0 | } |
12257 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12258 | 0 | auto* released = _impl_.csharp_namespace_.Release(); |
12259 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12260 | 0 | _impl_.csharp_namespace_.Set("", GetArenaForAllocation()); |
12261 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12262 | 0 | return released; |
12263 | 0 | } |
12264 | 0 | inline void FileOptions::set_allocated_csharp_namespace(std::string* value) { |
12265 | 0 | if (value != nullptr) { |
12266 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12267 | 0 | } else { |
12268 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12269 | 0 | } |
12270 | 0 | _impl_.csharp_namespace_.SetAllocated(value, GetArenaForAllocation()); |
12271 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12272 | 0 | if (_impl_.csharp_namespace_.IsDefault()) { |
12273 | 0 | _impl_.csharp_namespace_.Set("", GetArenaForAllocation()); |
12274 | 0 | } |
12275 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12276 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
12277 | 0 | } |
12278 | | |
12279 | | // optional string swift_prefix = 39; |
12280 | 0 | inline bool FileOptions::has_swift_prefix() const { |
12281 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
12282 | 0 | return value; |
12283 | 0 | } |
12284 | 0 | inline void FileOptions::clear_swift_prefix() { |
12285 | 0 | _impl_.swift_prefix_.ClearToEmpty(); |
12286 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12287 | 0 | } |
12288 | 0 | inline const std::string& FileOptions::swift_prefix() const { |
12289 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) |
12290 | 0 | return _internal_swift_prefix(); |
12291 | 0 | } |
12292 | | template <typename Arg_, typename... Args_> |
12293 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_swift_prefix(Arg_&& arg, |
12294 | | Args_... args) { |
12295 | | _impl_._has_bits_[0] |= 0x00000020u; |
12296 | | _impl_.swift_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12297 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) |
12298 | | } |
12299 | 0 | inline std::string* FileOptions::mutable_swift_prefix() { |
12300 | 0 | std::string* _s = _internal_mutable_swift_prefix(); |
12301 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) |
12302 | 0 | return _s; |
12303 | 0 | } |
12304 | 0 | inline const std::string& FileOptions::_internal_swift_prefix() const { |
12305 | 0 | return _impl_.swift_prefix_.Get(); |
12306 | 0 | } |
12307 | 0 | inline void FileOptions::_internal_set_swift_prefix(const std::string& value) { |
12308 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12309 | 0 |
|
12310 | 0 |
|
12311 | 0 | _impl_.swift_prefix_.Set(value, GetArenaForAllocation()); |
12312 | 0 | } |
12313 | 0 | inline std::string* FileOptions::_internal_mutable_swift_prefix() { |
12314 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12315 | 0 | return _impl_.swift_prefix_.Mutable( GetArenaForAllocation()); |
12316 | 0 | } |
12317 | 0 | inline std::string* FileOptions::release_swift_prefix() { |
12318 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) |
12319 | 0 | if ((_impl_._has_bits_[0] & 0x00000020u) == 0) { |
12320 | 0 | return nullptr; |
12321 | 0 | } |
12322 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12323 | 0 | auto* released = _impl_.swift_prefix_.Release(); |
12324 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12325 | 0 | _impl_.swift_prefix_.Set("", GetArenaForAllocation()); |
12326 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12327 | 0 | return released; |
12328 | 0 | } |
12329 | 0 | inline void FileOptions::set_allocated_swift_prefix(std::string* value) { |
12330 | 0 | if (value != nullptr) { |
12331 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12332 | 0 | } else { |
12333 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12334 | 0 | } |
12335 | 0 | _impl_.swift_prefix_.SetAllocated(value, GetArenaForAllocation()); |
12336 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12337 | 0 | if (_impl_.swift_prefix_.IsDefault()) { |
12338 | 0 | _impl_.swift_prefix_.Set("", GetArenaForAllocation()); |
12339 | 0 | } |
12340 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12341 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) |
12342 | 0 | } |
12343 | | |
12344 | | // optional string php_class_prefix = 40; |
12345 | 0 | inline bool FileOptions::has_php_class_prefix() const { |
12346 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
12347 | 0 | return value; |
12348 | 0 | } |
12349 | 0 | inline void FileOptions::clear_php_class_prefix() { |
12350 | 0 | _impl_.php_class_prefix_.ClearToEmpty(); |
12351 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12352 | 0 | } |
12353 | 0 | inline const std::string& FileOptions::php_class_prefix() const { |
12354 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) |
12355 | 0 | return _internal_php_class_prefix(); |
12356 | 0 | } |
12357 | | template <typename Arg_, typename... Args_> |
12358 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_class_prefix(Arg_&& arg, |
12359 | | Args_... args) { |
12360 | | _impl_._has_bits_[0] |= 0x00000040u; |
12361 | | _impl_.php_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12362 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) |
12363 | | } |
12364 | 0 | inline std::string* FileOptions::mutable_php_class_prefix() { |
12365 | 0 | std::string* _s = _internal_mutable_php_class_prefix(); |
12366 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) |
12367 | 0 | return _s; |
12368 | 0 | } |
12369 | 0 | inline const std::string& FileOptions::_internal_php_class_prefix() const { |
12370 | 0 | return _impl_.php_class_prefix_.Get(); |
12371 | 0 | } |
12372 | 0 | inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) { |
12373 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12374 | 0 |
|
12375 | 0 |
|
12376 | 0 | _impl_.php_class_prefix_.Set(value, GetArenaForAllocation()); |
12377 | 0 | } |
12378 | 0 | inline std::string* FileOptions::_internal_mutable_php_class_prefix() { |
12379 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12380 | 0 | return _impl_.php_class_prefix_.Mutable( GetArenaForAllocation()); |
12381 | 0 | } |
12382 | 0 | inline std::string* FileOptions::release_php_class_prefix() { |
12383 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) |
12384 | 0 | if ((_impl_._has_bits_[0] & 0x00000040u) == 0) { |
12385 | 0 | return nullptr; |
12386 | 0 | } |
12387 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12388 | 0 | auto* released = _impl_.php_class_prefix_.Release(); |
12389 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12390 | 0 | _impl_.php_class_prefix_.Set("", GetArenaForAllocation()); |
12391 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12392 | 0 | return released; |
12393 | 0 | } |
12394 | 0 | inline void FileOptions::set_allocated_php_class_prefix(std::string* value) { |
12395 | 0 | if (value != nullptr) { |
12396 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12397 | 0 | } else { |
12398 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12399 | 0 | } |
12400 | 0 | _impl_.php_class_prefix_.SetAllocated(value, GetArenaForAllocation()); |
12401 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12402 | 0 | if (_impl_.php_class_prefix_.IsDefault()) { |
12403 | 0 | _impl_.php_class_prefix_.Set("", GetArenaForAllocation()); |
12404 | 0 | } |
12405 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12406 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
12407 | 0 | } |
12408 | | |
12409 | | // optional string php_namespace = 41; |
12410 | 0 | inline bool FileOptions::has_php_namespace() const { |
12411 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
12412 | 0 | return value; |
12413 | 0 | } |
12414 | 0 | inline void FileOptions::clear_php_namespace() { |
12415 | 0 | _impl_.php_namespace_.ClearToEmpty(); |
12416 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
12417 | 0 | } |
12418 | 0 | inline const std::string& FileOptions::php_namespace() const { |
12419 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) |
12420 | 0 | return _internal_php_namespace(); |
12421 | 0 | } |
12422 | | template <typename Arg_, typename... Args_> |
12423 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_namespace(Arg_&& arg, |
12424 | | Args_... args) { |
12425 | | _impl_._has_bits_[0] |= 0x00000080u; |
12426 | | _impl_.php_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12427 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) |
12428 | | } |
12429 | 0 | inline std::string* FileOptions::mutable_php_namespace() { |
12430 | 0 | std::string* _s = _internal_mutable_php_namespace(); |
12431 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) |
12432 | 0 | return _s; |
12433 | 0 | } |
12434 | 0 | inline const std::string& FileOptions::_internal_php_namespace() const { |
12435 | 0 | return _impl_.php_namespace_.Get(); |
12436 | 0 | } |
12437 | 0 | inline void FileOptions::_internal_set_php_namespace(const std::string& value) { |
12438 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
12439 | 0 |
|
12440 | 0 |
|
12441 | 0 | _impl_.php_namespace_.Set(value, GetArenaForAllocation()); |
12442 | 0 | } |
12443 | 0 | inline std::string* FileOptions::_internal_mutable_php_namespace() { |
12444 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
12445 | 0 | return _impl_.php_namespace_.Mutable( GetArenaForAllocation()); |
12446 | 0 | } |
12447 | 0 | inline std::string* FileOptions::release_php_namespace() { |
12448 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) |
12449 | 0 | if ((_impl_._has_bits_[0] & 0x00000080u) == 0) { |
12450 | 0 | return nullptr; |
12451 | 0 | } |
12452 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
12453 | 0 | auto* released = _impl_.php_namespace_.Release(); |
12454 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12455 | 0 | _impl_.php_namespace_.Set("", GetArenaForAllocation()); |
12456 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12457 | 0 | return released; |
12458 | 0 | } |
12459 | 0 | inline void FileOptions::set_allocated_php_namespace(std::string* value) { |
12460 | 0 | if (value != nullptr) { |
12461 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
12462 | 0 | } else { |
12463 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
12464 | 0 | } |
12465 | 0 | _impl_.php_namespace_.SetAllocated(value, GetArenaForAllocation()); |
12466 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12467 | 0 | if (_impl_.php_namespace_.IsDefault()) { |
12468 | 0 | _impl_.php_namespace_.Set("", GetArenaForAllocation()); |
12469 | 0 | } |
12470 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12471 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) |
12472 | 0 | } |
12473 | | |
12474 | | // optional string php_metadata_namespace = 44; |
12475 | 0 | inline bool FileOptions::has_php_metadata_namespace() const { |
12476 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
12477 | 0 | return value; |
12478 | 0 | } |
12479 | 0 | inline void FileOptions::clear_php_metadata_namespace() { |
12480 | 0 | _impl_.php_metadata_namespace_.ClearToEmpty(); |
12481 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
12482 | 0 | } |
12483 | 0 | inline const std::string& FileOptions::php_metadata_namespace() const { |
12484 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) |
12485 | 0 | return _internal_php_metadata_namespace(); |
12486 | 0 | } |
12487 | | template <typename Arg_, typename... Args_> |
12488 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_metadata_namespace(Arg_&& arg, |
12489 | | Args_... args) { |
12490 | | _impl_._has_bits_[0] |= 0x00000100u; |
12491 | | _impl_.php_metadata_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12492 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) |
12493 | | } |
12494 | 0 | inline std::string* FileOptions::mutable_php_metadata_namespace() { |
12495 | 0 | std::string* _s = _internal_mutable_php_metadata_namespace(); |
12496 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) |
12497 | 0 | return _s; |
12498 | 0 | } |
12499 | 0 | inline const std::string& FileOptions::_internal_php_metadata_namespace() const { |
12500 | 0 | return _impl_.php_metadata_namespace_.Get(); |
12501 | 0 | } |
12502 | 0 | inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) { |
12503 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
12504 | 0 |
|
12505 | 0 |
|
12506 | 0 | _impl_.php_metadata_namespace_.Set(value, GetArenaForAllocation()); |
12507 | 0 | } |
12508 | 0 | inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() { |
12509 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
12510 | 0 | return _impl_.php_metadata_namespace_.Mutable( GetArenaForAllocation()); |
12511 | 0 | } |
12512 | 0 | inline std::string* FileOptions::release_php_metadata_namespace() { |
12513 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) |
12514 | 0 | if ((_impl_._has_bits_[0] & 0x00000100u) == 0) { |
12515 | 0 | return nullptr; |
12516 | 0 | } |
12517 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
12518 | 0 | auto* released = _impl_.php_metadata_namespace_.Release(); |
12519 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12520 | 0 | _impl_.php_metadata_namespace_.Set("", GetArenaForAllocation()); |
12521 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12522 | 0 | return released; |
12523 | 0 | } |
12524 | 0 | inline void FileOptions::set_allocated_php_metadata_namespace(std::string* value) { |
12525 | 0 | if (value != nullptr) { |
12526 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
12527 | 0 | } else { |
12528 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
12529 | 0 | } |
12530 | 0 | _impl_.php_metadata_namespace_.SetAllocated(value, GetArenaForAllocation()); |
12531 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12532 | 0 | if (_impl_.php_metadata_namespace_.IsDefault()) { |
12533 | 0 | _impl_.php_metadata_namespace_.Set("", GetArenaForAllocation()); |
12534 | 0 | } |
12535 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12536 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
12537 | 0 | } |
12538 | | |
12539 | | // optional string ruby_package = 45; |
12540 | 0 | inline bool FileOptions::has_ruby_package() const { |
12541 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
12542 | 0 | return value; |
12543 | 0 | } |
12544 | 0 | inline void FileOptions::clear_ruby_package() { |
12545 | 0 | _impl_.ruby_package_.ClearToEmpty(); |
12546 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
12547 | 0 | } |
12548 | 0 | inline const std::string& FileOptions::ruby_package() const { |
12549 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) |
12550 | 0 | return _internal_ruby_package(); |
12551 | 0 | } |
12552 | | template <typename Arg_, typename... Args_> |
12553 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_ruby_package(Arg_&& arg, |
12554 | | Args_... args) { |
12555 | | _impl_._has_bits_[0] |= 0x00000200u; |
12556 | | _impl_.ruby_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
12557 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) |
12558 | | } |
12559 | 0 | inline std::string* FileOptions::mutable_ruby_package() { |
12560 | 0 | std::string* _s = _internal_mutable_ruby_package(); |
12561 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) |
12562 | 0 | return _s; |
12563 | 0 | } |
12564 | 0 | inline const std::string& FileOptions::_internal_ruby_package() const { |
12565 | 0 | return _impl_.ruby_package_.Get(); |
12566 | 0 | } |
12567 | 0 | inline void FileOptions::_internal_set_ruby_package(const std::string& value) { |
12568 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
12569 | 0 |
|
12570 | 0 |
|
12571 | 0 | _impl_.ruby_package_.Set(value, GetArenaForAllocation()); |
12572 | 0 | } |
12573 | 0 | inline std::string* FileOptions::_internal_mutable_ruby_package() { |
12574 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
12575 | 0 | return _impl_.ruby_package_.Mutable( GetArenaForAllocation()); |
12576 | 0 | } |
12577 | 0 | inline std::string* FileOptions::release_ruby_package() { |
12578 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) |
12579 | 0 | if ((_impl_._has_bits_[0] & 0x00000200u) == 0) { |
12580 | 0 | return nullptr; |
12581 | 0 | } |
12582 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
12583 | 0 | auto* released = _impl_.ruby_package_.Release(); |
12584 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12585 | 0 | _impl_.ruby_package_.Set("", GetArenaForAllocation()); |
12586 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12587 | 0 | return released; |
12588 | 0 | } |
12589 | 0 | inline void FileOptions::set_allocated_ruby_package(std::string* value) { |
12590 | 0 | if (value != nullptr) { |
12591 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
12592 | 0 | } else { |
12593 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
12594 | 0 | } |
12595 | 0 | _impl_.ruby_package_.SetAllocated(value, GetArenaForAllocation()); |
12596 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12597 | 0 | if (_impl_.ruby_package_.IsDefault()) { |
12598 | 0 | _impl_.ruby_package_.Set("", GetArenaForAllocation()); |
12599 | 0 | } |
12600 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12601 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) |
12602 | 0 | } |
12603 | | |
12604 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
12605 | 0 | inline int FileOptions::_internal_uninterpreted_option_size() const { |
12606 | 0 | return _impl_.uninterpreted_option_.size(); |
12607 | 0 | } |
12608 | 0 | inline int FileOptions::uninterpreted_option_size() const { |
12609 | 0 | return _internal_uninterpreted_option_size(); |
12610 | 0 | } |
12611 | 0 | inline void FileOptions::clear_uninterpreted_option() { |
12612 | 0 | _impl_.uninterpreted_option_.Clear(); |
12613 | 0 | } |
12614 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) { |
12615 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) |
12616 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
12617 | 0 | } |
12618 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
12619 | 0 | FileOptions::mutable_uninterpreted_option() { |
12620 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) |
12621 | 0 | return &_impl_.uninterpreted_option_; |
12622 | 0 | } |
12623 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const { |
12624 | 0 | return _impl_.uninterpreted_option_.Get(index); |
12625 | 0 | } |
12626 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const { |
12627 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) |
12628 | 0 | return _internal_uninterpreted_option(index); |
12629 | 0 | } |
12630 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() { |
12631 | 0 | return _impl_.uninterpreted_option_.Add(); |
12632 | 0 | } |
12633 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() { |
12634 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
12635 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) |
12636 | 0 | return _add; |
12637 | 0 | } |
12638 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
12639 | 0 | FileOptions::uninterpreted_option() const { |
12640 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) |
12641 | 0 | return _impl_.uninterpreted_option_; |
12642 | 0 | } |
12643 | | |
12644 | | // ------------------------------------------------------------------- |
12645 | | |
12646 | | // MessageOptions |
12647 | | |
12648 | | // optional bool message_set_wire_format = 1 [default = false]; |
12649 | 0 | inline bool MessageOptions::has_message_set_wire_format() const { |
12650 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12651 | 0 | return value; |
12652 | 0 | } |
12653 | 0 | inline void MessageOptions::clear_message_set_wire_format() { |
12654 | 0 | _impl_.message_set_wire_format_ = false; |
12655 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12656 | 0 | } |
12657 | 0 | inline bool MessageOptions::message_set_wire_format() const { |
12658 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) |
12659 | 0 | return _internal_message_set_wire_format(); |
12660 | 0 | } |
12661 | 0 | inline void MessageOptions::set_message_set_wire_format(bool value) { |
12662 | 0 | _internal_set_message_set_wire_format(value); |
12663 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) |
12664 | 0 | } |
12665 | 0 | inline bool MessageOptions::_internal_message_set_wire_format() const { |
12666 | 0 | return _impl_.message_set_wire_format_; |
12667 | 0 | } |
12668 | 0 | inline void MessageOptions::_internal_set_message_set_wire_format(bool value) { |
12669 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12670 | 0 | _impl_.message_set_wire_format_ = value; |
12671 | 0 | } |
12672 | | |
12673 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
12674 | 0 | inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
12675 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12676 | 0 | return value; |
12677 | 0 | } |
12678 | 0 | inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
12679 | 0 | _impl_.no_standard_descriptor_accessor_ = false; |
12680 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12681 | 0 | } |
12682 | 0 | inline bool MessageOptions::no_standard_descriptor_accessor() const { |
12683 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
12684 | 0 | return _internal_no_standard_descriptor_accessor(); |
12685 | 0 | } |
12686 | 0 | inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
12687 | 0 | _internal_set_no_standard_descriptor_accessor(value); |
12688 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
12689 | 0 | } |
12690 | 0 | inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const { |
12691 | 0 | return _impl_.no_standard_descriptor_accessor_; |
12692 | 0 | } |
12693 | 0 | inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) { |
12694 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12695 | 0 | _impl_.no_standard_descriptor_accessor_ = value; |
12696 | 0 | } |
12697 | | |
12698 | | // optional bool deprecated = 3 [default = false]; |
12699 | 0 | inline bool MessageOptions::has_deprecated() const { |
12700 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12701 | 0 | return value; |
12702 | 0 | } |
12703 | 0 | inline void MessageOptions::clear_deprecated() { |
12704 | 0 | _impl_.deprecated_ = false; |
12705 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12706 | 0 | } |
12707 | 0 | inline bool MessageOptions::deprecated() const { |
12708 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) |
12709 | 0 | return _internal_deprecated(); |
12710 | 0 | } |
12711 | 0 | inline void MessageOptions::set_deprecated(bool value) { |
12712 | 0 | _internal_set_deprecated(value); |
12713 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) |
12714 | 0 | } |
12715 | 0 | inline bool MessageOptions::_internal_deprecated() const { |
12716 | 0 | return _impl_.deprecated_; |
12717 | 0 | } |
12718 | 0 | inline void MessageOptions::_internal_set_deprecated(bool value) { |
12719 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12720 | 0 | _impl_.deprecated_ = value; |
12721 | 0 | } |
12722 | | |
12723 | | // optional bool map_entry = 7; |
12724 | 0 | inline bool MessageOptions::has_map_entry() const { |
12725 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
12726 | 0 | return value; |
12727 | 0 | } |
12728 | 0 | inline void MessageOptions::clear_map_entry() { |
12729 | 0 | _impl_.map_entry_ = false; |
12730 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12731 | 0 | } |
12732 | 0 | inline bool MessageOptions::map_entry() const { |
12733 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) |
12734 | 0 | return _internal_map_entry(); |
12735 | 0 | } |
12736 | 0 | inline void MessageOptions::set_map_entry(bool value) { |
12737 | 0 | _internal_set_map_entry(value); |
12738 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) |
12739 | 0 | } |
12740 | 0 | inline bool MessageOptions::_internal_map_entry() const { |
12741 | 0 | return _impl_.map_entry_; |
12742 | 0 | } |
12743 | 0 | inline void MessageOptions::_internal_set_map_entry(bool value) { |
12744 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12745 | 0 | _impl_.map_entry_ = value; |
12746 | 0 | } |
12747 | | |
12748 | | // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; |
12749 | 0 | inline bool MessageOptions::has_deprecated_legacy_json_field_conflicts() const { |
12750 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
12751 | 0 | return value; |
12752 | 0 | } |
12753 | 0 | inline void MessageOptions::clear_deprecated_legacy_json_field_conflicts() { |
12754 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = false; |
12755 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12756 | 0 | } |
12757 | 0 | inline bool MessageOptions::deprecated_legacy_json_field_conflicts() const { |
12758 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts) |
12759 | 0 | return _internal_deprecated_legacy_json_field_conflicts(); |
12760 | 0 | } |
12761 | 0 | inline void MessageOptions::set_deprecated_legacy_json_field_conflicts(bool value) { |
12762 | 0 | _internal_set_deprecated_legacy_json_field_conflicts(value); |
12763 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts) |
12764 | 0 | } |
12765 | 0 | inline bool MessageOptions::_internal_deprecated_legacy_json_field_conflicts() const { |
12766 | 0 | return _impl_.deprecated_legacy_json_field_conflicts_; |
12767 | 0 | } |
12768 | 0 | inline void MessageOptions::_internal_set_deprecated_legacy_json_field_conflicts(bool value) { |
12769 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12770 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = value; |
12771 | 0 | } |
12772 | | |
12773 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
12774 | 0 | inline int MessageOptions::_internal_uninterpreted_option_size() const { |
12775 | 0 | return _impl_.uninterpreted_option_.size(); |
12776 | 0 | } |
12777 | 0 | inline int MessageOptions::uninterpreted_option_size() const { |
12778 | 0 | return _internal_uninterpreted_option_size(); |
12779 | 0 | } |
12780 | 0 | inline void MessageOptions::clear_uninterpreted_option() { |
12781 | 0 | _impl_.uninterpreted_option_.Clear(); |
12782 | 0 | } |
12783 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) { |
12784 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) |
12785 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
12786 | 0 | } |
12787 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
12788 | 0 | MessageOptions::mutable_uninterpreted_option() { |
12789 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) |
12790 | 0 | return &_impl_.uninterpreted_option_; |
12791 | 0 | } |
12792 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const { |
12793 | 0 | return _impl_.uninterpreted_option_.Get(index); |
12794 | 0 | } |
12795 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const { |
12796 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) |
12797 | 0 | return _internal_uninterpreted_option(index); |
12798 | 0 | } |
12799 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() { |
12800 | 0 | return _impl_.uninterpreted_option_.Add(); |
12801 | 0 | } |
12802 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() { |
12803 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
12804 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) |
12805 | 0 | return _add; |
12806 | 0 | } |
12807 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
12808 | 0 | MessageOptions::uninterpreted_option() const { |
12809 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) |
12810 | 0 | return _impl_.uninterpreted_option_; |
12811 | 0 | } |
12812 | | |
12813 | | // ------------------------------------------------------------------- |
12814 | | |
12815 | | // FieldOptions |
12816 | | |
12817 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
12818 | 0 | inline bool FieldOptions::has_ctype() const { |
12819 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12820 | 0 | return value; |
12821 | 0 | } |
12822 | 0 | inline void FieldOptions::clear_ctype() { |
12823 | 0 | _impl_.ctype_ = 0; |
12824 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12825 | 0 | } |
12826 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const { |
12827 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) |
12828 | 0 | return _internal_ctype(); |
12829 | 0 | } |
12830 | 0 | inline void FieldOptions::set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { |
12831 | 0 | _internal_set_ctype(value); |
12832 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
12833 | 0 | } |
12834 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const { |
12835 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>(_impl_.ctype_); |
12836 | 0 | } |
12837 | 0 | inline void FieldOptions::_internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { |
12838 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value)); |
12839 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12840 | 0 | _impl_.ctype_ = value; |
12841 | 0 | } |
12842 | | |
12843 | | // optional bool packed = 2; |
12844 | 0 | inline bool FieldOptions::has_packed() const { |
12845 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12846 | 0 | return value; |
12847 | 0 | } |
12848 | 0 | inline void FieldOptions::clear_packed() { |
12849 | 0 | _impl_.packed_ = false; |
12850 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12851 | 0 | } |
12852 | 0 | inline bool FieldOptions::packed() const { |
12853 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
12854 | 0 | return _internal_packed(); |
12855 | 0 | } |
12856 | 0 | inline void FieldOptions::set_packed(bool value) { |
12857 | 0 | _internal_set_packed(value); |
12858 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
12859 | 0 | } |
12860 | 0 | inline bool FieldOptions::_internal_packed() const { |
12861 | 0 | return _impl_.packed_; |
12862 | 0 | } |
12863 | 0 | inline void FieldOptions::_internal_set_packed(bool value) { |
12864 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12865 | 0 | _impl_.packed_ = value; |
12866 | 0 | } |
12867 | | |
12868 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
12869 | 0 | inline bool FieldOptions::has_jstype() const { |
12870 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12871 | 0 | return value; |
12872 | 0 | } |
12873 | 0 | inline void FieldOptions::clear_jstype() { |
12874 | 0 | _impl_.jstype_ = 0; |
12875 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12876 | 0 | } |
12877 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const { |
12878 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
12879 | 0 | return _internal_jstype(); |
12880 | 0 | } |
12881 | 0 | inline void FieldOptions::set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { |
12882 | 0 | _internal_set_jstype(value); |
12883 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) |
12884 | 0 | } |
12885 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const { |
12886 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>(_impl_.jstype_); |
12887 | 0 | } |
12888 | 0 | inline void FieldOptions::_internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { |
12889 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value)); |
12890 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12891 | 0 | _impl_.jstype_ = value; |
12892 | 0 | } |
12893 | | |
12894 | | // optional bool lazy = 5 [default = false]; |
12895 | 0 | inline bool FieldOptions::has_lazy() const { |
12896 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
12897 | 0 | return value; |
12898 | 0 | } |
12899 | 0 | inline void FieldOptions::clear_lazy() { |
12900 | 0 | _impl_.lazy_ = false; |
12901 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12902 | 0 | } |
12903 | 0 | inline bool FieldOptions::lazy() const { |
12904 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) |
12905 | 0 | return _internal_lazy(); |
12906 | 0 | } |
12907 | 0 | inline void FieldOptions::set_lazy(bool value) { |
12908 | 0 | _internal_set_lazy(value); |
12909 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) |
12910 | 0 | } |
12911 | 0 | inline bool FieldOptions::_internal_lazy() const { |
12912 | 0 | return _impl_.lazy_; |
12913 | 0 | } |
12914 | 0 | inline void FieldOptions::_internal_set_lazy(bool value) { |
12915 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12916 | 0 | _impl_.lazy_ = value; |
12917 | 0 | } |
12918 | | |
12919 | | // optional bool unverified_lazy = 15 [default = false]; |
12920 | 0 | inline bool FieldOptions::has_unverified_lazy() const { |
12921 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
12922 | 0 | return value; |
12923 | 0 | } |
12924 | 0 | inline void FieldOptions::clear_unverified_lazy() { |
12925 | 0 | _impl_.unverified_lazy_ = false; |
12926 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12927 | 0 | } |
12928 | 0 | inline bool FieldOptions::unverified_lazy() const { |
12929 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.unverified_lazy) |
12930 | 0 | return _internal_unverified_lazy(); |
12931 | 0 | } |
12932 | 0 | inline void FieldOptions::set_unverified_lazy(bool value) { |
12933 | 0 | _internal_set_unverified_lazy(value); |
12934 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.unverified_lazy) |
12935 | 0 | } |
12936 | 0 | inline bool FieldOptions::_internal_unverified_lazy() const { |
12937 | 0 | return _impl_.unverified_lazy_; |
12938 | 0 | } |
12939 | 0 | inline void FieldOptions::_internal_set_unverified_lazy(bool value) { |
12940 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12941 | 0 | _impl_.unverified_lazy_ = value; |
12942 | 0 | } |
12943 | | |
12944 | | // optional bool deprecated = 3 [default = false]; |
12945 | 0 | inline bool FieldOptions::has_deprecated() const { |
12946 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
12947 | 0 | return value; |
12948 | 0 | } |
12949 | 0 | inline void FieldOptions::clear_deprecated() { |
12950 | 0 | _impl_.deprecated_ = false; |
12951 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12952 | 0 | } |
12953 | 0 | inline bool FieldOptions::deprecated() const { |
12954 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) |
12955 | 0 | return _internal_deprecated(); |
12956 | 0 | } |
12957 | 0 | inline void FieldOptions::set_deprecated(bool value) { |
12958 | 0 | _internal_set_deprecated(value); |
12959 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) |
12960 | 0 | } |
12961 | 0 | inline bool FieldOptions::_internal_deprecated() const { |
12962 | 0 | return _impl_.deprecated_; |
12963 | 0 | } |
12964 | 0 | inline void FieldOptions::_internal_set_deprecated(bool value) { |
12965 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12966 | 0 | _impl_.deprecated_ = value; |
12967 | 0 | } |
12968 | | |
12969 | | // optional bool weak = 10 [default = false]; |
12970 | 0 | inline bool FieldOptions::has_weak() const { |
12971 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
12972 | 0 | return value; |
12973 | 0 | } |
12974 | 0 | inline void FieldOptions::clear_weak() { |
12975 | 0 | _impl_.weak_ = false; |
12976 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12977 | 0 | } |
12978 | 0 | inline bool FieldOptions::weak() const { |
12979 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) |
12980 | 0 | return _internal_weak(); |
12981 | 0 | } |
12982 | 0 | inline void FieldOptions::set_weak(bool value) { |
12983 | 0 | _internal_set_weak(value); |
12984 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) |
12985 | 0 | } |
12986 | 0 | inline bool FieldOptions::_internal_weak() const { |
12987 | 0 | return _impl_.weak_; |
12988 | 0 | } |
12989 | 0 | inline void FieldOptions::_internal_set_weak(bool value) { |
12990 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12991 | 0 | _impl_.weak_ = value; |
12992 | 0 | } |
12993 | | |
12994 | | // optional bool debug_redact = 16 [default = false]; |
12995 | 0 | inline bool FieldOptions::has_debug_redact() const { |
12996 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
12997 | 0 | return value; |
12998 | 0 | } |
12999 | 0 | inline void FieldOptions::clear_debug_redact() { |
13000 | 0 | _impl_.debug_redact_ = false; |
13001 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
13002 | 0 | } |
13003 | 0 | inline bool FieldOptions::debug_redact() const { |
13004 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.debug_redact) |
13005 | 0 | return _internal_debug_redact(); |
13006 | 0 | } |
13007 | 0 | inline void FieldOptions::set_debug_redact(bool value) { |
13008 | 0 | _internal_set_debug_redact(value); |
13009 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.debug_redact) |
13010 | 0 | } |
13011 | 0 | inline bool FieldOptions::_internal_debug_redact() const { |
13012 | 0 | return _impl_.debug_redact_; |
13013 | 0 | } |
13014 | 0 | inline void FieldOptions::_internal_set_debug_redact(bool value) { |
13015 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
13016 | 0 | _impl_.debug_redact_ = value; |
13017 | 0 | } |
13018 | | |
13019 | | // optional .google.protobuf.FieldOptions.OptionRetention retention = 17; |
13020 | 0 | inline bool FieldOptions::has_retention() const { |
13021 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
13022 | 0 | return value; |
13023 | 0 | } |
13024 | 0 | inline void FieldOptions::clear_retention() { |
13025 | 0 | _impl_.retention_ = 0; |
13026 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
13027 | 0 | } |
13028 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention FieldOptions::retention() const { |
13029 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.retention) |
13030 | 0 | return _internal_retention(); |
13031 | 0 | } |
13032 | 0 | inline void FieldOptions::set_retention(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention value) { |
13033 | 0 | _internal_set_retention(value); |
13034 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.retention) |
13035 | 0 | } |
13036 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention FieldOptions::_internal_retention() const { |
13037 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention>(_impl_.retention_); |
13038 | 0 | } |
13039 | 0 | inline void FieldOptions::_internal_set_retention(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention value) { |
13040 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention_IsValid(value)); |
13041 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
13042 | 0 | _impl_.retention_ = value; |
13043 | 0 | } |
13044 | | |
13045 | | // optional .google.protobuf.FieldOptions.OptionTargetType target = 18; |
13046 | 0 | inline bool FieldOptions::has_target() const { |
13047 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
13048 | 0 | return value; |
13049 | 0 | } |
13050 | 0 | inline void FieldOptions::clear_target() { |
13051 | 0 | _impl_.target_ = 0; |
13052 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
13053 | 0 | } |
13054 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType FieldOptions::target() const { |
13055 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.target) |
13056 | 0 | return _internal_target(); |
13057 | 0 | } |
13058 | 0 | inline void FieldOptions::set_target(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType value) { |
13059 | 0 | _internal_set_target(value); |
13060 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.target) |
13061 | 0 | } |
13062 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType FieldOptions::_internal_target() const { |
13063 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType>(_impl_.target_); |
13064 | 0 | } |
13065 | 0 | inline void FieldOptions::_internal_set_target(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType value) { |
13066 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType_IsValid(value)); |
13067 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
13068 | 0 | _impl_.target_ = value; |
13069 | 0 | } |
13070 | | |
13071 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13072 | 0 | inline int FieldOptions::_internal_uninterpreted_option_size() const { |
13073 | 0 | return _impl_.uninterpreted_option_.size(); |
13074 | 0 | } |
13075 | 0 | inline int FieldOptions::uninterpreted_option_size() const { |
13076 | 0 | return _internal_uninterpreted_option_size(); |
13077 | 0 | } |
13078 | 0 | inline void FieldOptions::clear_uninterpreted_option() { |
13079 | 0 | _impl_.uninterpreted_option_.Clear(); |
13080 | 0 | } |
13081 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) { |
13082 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) |
13083 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13084 | 0 | } |
13085 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13086 | 0 | FieldOptions::mutable_uninterpreted_option() { |
13087 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) |
13088 | 0 | return &_impl_.uninterpreted_option_; |
13089 | 0 | } |
13090 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const { |
13091 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13092 | 0 | } |
13093 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const { |
13094 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) |
13095 | 0 | return _internal_uninterpreted_option(index); |
13096 | 0 | } |
13097 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() { |
13098 | 0 | return _impl_.uninterpreted_option_.Add(); |
13099 | 0 | } |
13100 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() { |
13101 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13102 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) |
13103 | 0 | return _add; |
13104 | 0 | } |
13105 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13106 | 0 | FieldOptions::uninterpreted_option() const { |
13107 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) |
13108 | 0 | return _impl_.uninterpreted_option_; |
13109 | 0 | } |
13110 | | |
13111 | | // ------------------------------------------------------------------- |
13112 | | |
13113 | | // OneofOptions |
13114 | | |
13115 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13116 | 0 | inline int OneofOptions::_internal_uninterpreted_option_size() const { |
13117 | 0 | return _impl_.uninterpreted_option_.size(); |
13118 | 0 | } |
13119 | 0 | inline int OneofOptions::uninterpreted_option_size() const { |
13120 | 0 | return _internal_uninterpreted_option_size(); |
13121 | 0 | } |
13122 | 0 | inline void OneofOptions::clear_uninterpreted_option() { |
13123 | 0 | _impl_.uninterpreted_option_.Clear(); |
13124 | 0 | } |
13125 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) { |
13126 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) |
13127 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13128 | 0 | } |
13129 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13130 | 0 | OneofOptions::mutable_uninterpreted_option() { |
13131 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) |
13132 | 0 | return &_impl_.uninterpreted_option_; |
13133 | 0 | } |
13134 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const { |
13135 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13136 | 0 | } |
13137 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const { |
13138 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) |
13139 | 0 | return _internal_uninterpreted_option(index); |
13140 | 0 | } |
13141 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() { |
13142 | 0 | return _impl_.uninterpreted_option_.Add(); |
13143 | 0 | } |
13144 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() { |
13145 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13146 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) |
13147 | 0 | return _add; |
13148 | 0 | } |
13149 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13150 | 0 | OneofOptions::uninterpreted_option() const { |
13151 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) |
13152 | 0 | return _impl_.uninterpreted_option_; |
13153 | 0 | } |
13154 | | |
13155 | | // ------------------------------------------------------------------- |
13156 | | |
13157 | | // EnumOptions |
13158 | | |
13159 | | // optional bool allow_alias = 2; |
13160 | 0 | inline bool EnumOptions::has_allow_alias() const { |
13161 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13162 | 0 | return value; |
13163 | 0 | } |
13164 | 0 | inline void EnumOptions::clear_allow_alias() { |
13165 | 0 | _impl_.allow_alias_ = false; |
13166 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13167 | 0 | } |
13168 | 0 | inline bool EnumOptions::allow_alias() const { |
13169 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) |
13170 | 0 | return _internal_allow_alias(); |
13171 | 0 | } |
13172 | 0 | inline void EnumOptions::set_allow_alias(bool value) { |
13173 | 0 | _internal_set_allow_alias(value); |
13174 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) |
13175 | 0 | } |
13176 | 0 | inline bool EnumOptions::_internal_allow_alias() const { |
13177 | 0 | return _impl_.allow_alias_; |
13178 | 0 | } |
13179 | 0 | inline void EnumOptions::_internal_set_allow_alias(bool value) { |
13180 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13181 | 0 | _impl_.allow_alias_ = value; |
13182 | 0 | } |
13183 | | |
13184 | | // optional bool deprecated = 3 [default = false]; |
13185 | 0 | inline bool EnumOptions::has_deprecated() const { |
13186 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13187 | 0 | return value; |
13188 | 0 | } |
13189 | 0 | inline void EnumOptions::clear_deprecated() { |
13190 | 0 | _impl_.deprecated_ = false; |
13191 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13192 | 0 | } |
13193 | 0 | inline bool EnumOptions::deprecated() const { |
13194 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) |
13195 | 0 | return _internal_deprecated(); |
13196 | 0 | } |
13197 | 0 | inline void EnumOptions::set_deprecated(bool value) { |
13198 | 0 | _internal_set_deprecated(value); |
13199 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) |
13200 | 0 | } |
13201 | 0 | inline bool EnumOptions::_internal_deprecated() const { |
13202 | 0 | return _impl_.deprecated_; |
13203 | 0 | } |
13204 | 0 | inline void EnumOptions::_internal_set_deprecated(bool value) { |
13205 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13206 | 0 | _impl_.deprecated_ = value; |
13207 | 0 | } |
13208 | | |
13209 | | // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; |
13210 | 0 | inline bool EnumOptions::has_deprecated_legacy_json_field_conflicts() const { |
13211 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
13212 | 0 | return value; |
13213 | 0 | } |
13214 | 0 | inline void EnumOptions::clear_deprecated_legacy_json_field_conflicts() { |
13215 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = false; |
13216 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13217 | 0 | } |
13218 | 0 | inline bool EnumOptions::deprecated_legacy_json_field_conflicts() const { |
13219 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts) |
13220 | 0 | return _internal_deprecated_legacy_json_field_conflicts(); |
13221 | 0 | } |
13222 | 0 | inline void EnumOptions::set_deprecated_legacy_json_field_conflicts(bool value) { |
13223 | 0 | _internal_set_deprecated_legacy_json_field_conflicts(value); |
13224 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts) |
13225 | 0 | } |
13226 | 0 | inline bool EnumOptions::_internal_deprecated_legacy_json_field_conflicts() const { |
13227 | 0 | return _impl_.deprecated_legacy_json_field_conflicts_; |
13228 | 0 | } |
13229 | 0 | inline void EnumOptions::_internal_set_deprecated_legacy_json_field_conflicts(bool value) { |
13230 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13231 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = value; |
13232 | 0 | } |
13233 | | |
13234 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13235 | 0 | inline int EnumOptions::_internal_uninterpreted_option_size() const { |
13236 | 0 | return _impl_.uninterpreted_option_.size(); |
13237 | 0 | } |
13238 | 0 | inline int EnumOptions::uninterpreted_option_size() const { |
13239 | 0 | return _internal_uninterpreted_option_size(); |
13240 | 0 | } |
13241 | 0 | inline void EnumOptions::clear_uninterpreted_option() { |
13242 | 0 | _impl_.uninterpreted_option_.Clear(); |
13243 | 0 | } |
13244 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) { |
13245 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) |
13246 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13247 | 0 | } |
13248 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13249 | 0 | EnumOptions::mutable_uninterpreted_option() { |
13250 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) |
13251 | 0 | return &_impl_.uninterpreted_option_; |
13252 | 0 | } |
13253 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const { |
13254 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13255 | 0 | } |
13256 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const { |
13257 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) |
13258 | 0 | return _internal_uninterpreted_option(index); |
13259 | 0 | } |
13260 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() { |
13261 | 0 | return _impl_.uninterpreted_option_.Add(); |
13262 | 0 | } |
13263 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() { |
13264 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13265 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) |
13266 | 0 | return _add; |
13267 | 0 | } |
13268 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13269 | 0 | EnumOptions::uninterpreted_option() const { |
13270 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) |
13271 | 0 | return _impl_.uninterpreted_option_; |
13272 | 0 | } |
13273 | | |
13274 | | // ------------------------------------------------------------------- |
13275 | | |
13276 | | // EnumValueOptions |
13277 | | |
13278 | | // optional bool deprecated = 1 [default = false]; |
13279 | 0 | inline bool EnumValueOptions::has_deprecated() const { |
13280 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13281 | 0 | return value; |
13282 | 0 | } |
13283 | 0 | inline void EnumValueOptions::clear_deprecated() { |
13284 | 0 | _impl_.deprecated_ = false; |
13285 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13286 | 0 | } |
13287 | 0 | inline bool EnumValueOptions::deprecated() const { |
13288 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) |
13289 | 0 | return _internal_deprecated(); |
13290 | 0 | } |
13291 | 0 | inline void EnumValueOptions::set_deprecated(bool value) { |
13292 | 0 | _internal_set_deprecated(value); |
13293 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) |
13294 | 0 | } |
13295 | 0 | inline bool EnumValueOptions::_internal_deprecated() const { |
13296 | 0 | return _impl_.deprecated_; |
13297 | 0 | } |
13298 | 0 | inline void EnumValueOptions::_internal_set_deprecated(bool value) { |
13299 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13300 | 0 | _impl_.deprecated_ = value; |
13301 | 0 | } |
13302 | | |
13303 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13304 | 0 | inline int EnumValueOptions::_internal_uninterpreted_option_size() const { |
13305 | 0 | return _impl_.uninterpreted_option_.size(); |
13306 | 0 | } |
13307 | 0 | inline int EnumValueOptions::uninterpreted_option_size() const { |
13308 | 0 | return _internal_uninterpreted_option_size(); |
13309 | 0 | } |
13310 | 0 | inline void EnumValueOptions::clear_uninterpreted_option() { |
13311 | 0 | _impl_.uninterpreted_option_.Clear(); |
13312 | 0 | } |
13313 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) { |
13314 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) |
13315 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13316 | 0 | } |
13317 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13318 | 0 | EnumValueOptions::mutable_uninterpreted_option() { |
13319 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
13320 | 0 | return &_impl_.uninterpreted_option_; |
13321 | 0 | } |
13322 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const { |
13323 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13324 | 0 | } |
13325 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const { |
13326 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) |
13327 | 0 | return _internal_uninterpreted_option(index); |
13328 | 0 | } |
13329 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() { |
13330 | 0 | return _impl_.uninterpreted_option_.Add(); |
13331 | 0 | } |
13332 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() { |
13333 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13334 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) |
13335 | 0 | return _add; |
13336 | 0 | } |
13337 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13338 | 0 | EnumValueOptions::uninterpreted_option() const { |
13339 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
13340 | 0 | return _impl_.uninterpreted_option_; |
13341 | 0 | } |
13342 | | |
13343 | | // ------------------------------------------------------------------- |
13344 | | |
13345 | | // ServiceOptions |
13346 | | |
13347 | | // optional bool deprecated = 33 [default = false]; |
13348 | 0 | inline bool ServiceOptions::has_deprecated() const { |
13349 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13350 | 0 | return value; |
13351 | 0 | } |
13352 | 0 | inline void ServiceOptions::clear_deprecated() { |
13353 | 0 | _impl_.deprecated_ = false; |
13354 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13355 | 0 | } |
13356 | 0 | inline bool ServiceOptions::deprecated() const { |
13357 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) |
13358 | 0 | return _internal_deprecated(); |
13359 | 0 | } |
13360 | 0 | inline void ServiceOptions::set_deprecated(bool value) { |
13361 | 0 | _internal_set_deprecated(value); |
13362 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) |
13363 | 0 | } |
13364 | 0 | inline bool ServiceOptions::_internal_deprecated() const { |
13365 | 0 | return _impl_.deprecated_; |
13366 | 0 | } |
13367 | 0 | inline void ServiceOptions::_internal_set_deprecated(bool value) { |
13368 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13369 | 0 | _impl_.deprecated_ = value; |
13370 | 0 | } |
13371 | | |
13372 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13373 | 0 | inline int ServiceOptions::_internal_uninterpreted_option_size() const { |
13374 | 0 | return _impl_.uninterpreted_option_.size(); |
13375 | 0 | } |
13376 | 0 | inline int ServiceOptions::uninterpreted_option_size() const { |
13377 | 0 | return _internal_uninterpreted_option_size(); |
13378 | 0 | } |
13379 | 0 | inline void ServiceOptions::clear_uninterpreted_option() { |
13380 | 0 | _impl_.uninterpreted_option_.Clear(); |
13381 | 0 | } |
13382 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) { |
13383 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) |
13384 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13385 | 0 | } |
13386 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13387 | 0 | ServiceOptions::mutable_uninterpreted_option() { |
13388 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) |
13389 | 0 | return &_impl_.uninterpreted_option_; |
13390 | 0 | } |
13391 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const { |
13392 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13393 | 0 | } |
13394 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const { |
13395 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) |
13396 | 0 | return _internal_uninterpreted_option(index); |
13397 | 0 | } |
13398 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() { |
13399 | 0 | return _impl_.uninterpreted_option_.Add(); |
13400 | 0 | } |
13401 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() { |
13402 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13403 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) |
13404 | 0 | return _add; |
13405 | 0 | } |
13406 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13407 | 0 | ServiceOptions::uninterpreted_option() const { |
13408 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) |
13409 | 0 | return _impl_.uninterpreted_option_; |
13410 | 0 | } |
13411 | | |
13412 | | // ------------------------------------------------------------------- |
13413 | | |
13414 | | // MethodOptions |
13415 | | |
13416 | | // optional bool deprecated = 33 [default = false]; |
13417 | 0 | inline bool MethodOptions::has_deprecated() const { |
13418 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13419 | 0 | return value; |
13420 | 0 | } |
13421 | 0 | inline void MethodOptions::clear_deprecated() { |
13422 | 0 | _impl_.deprecated_ = false; |
13423 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13424 | 0 | } |
13425 | 0 | inline bool MethodOptions::deprecated() const { |
13426 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) |
13427 | 0 | return _internal_deprecated(); |
13428 | 0 | } |
13429 | 0 | inline void MethodOptions::set_deprecated(bool value) { |
13430 | 0 | _internal_set_deprecated(value); |
13431 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) |
13432 | 0 | } |
13433 | 0 | inline bool MethodOptions::_internal_deprecated() const { |
13434 | 0 | return _impl_.deprecated_; |
13435 | 0 | } |
13436 | 0 | inline void MethodOptions::_internal_set_deprecated(bool value) { |
13437 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13438 | 0 | _impl_.deprecated_ = value; |
13439 | 0 | } |
13440 | | |
13441 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
13442 | 0 | inline bool MethodOptions::has_idempotency_level() const { |
13443 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13444 | 0 | return value; |
13445 | 0 | } |
13446 | 0 | inline void MethodOptions::clear_idempotency_level() { |
13447 | 0 | _impl_.idempotency_level_ = 0; |
13448 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13449 | 0 | } |
13450 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { |
13451 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) |
13452 | 0 | return _internal_idempotency_level(); |
13453 | 0 | } |
13454 | 0 | inline void MethodOptions::set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { |
13455 | 0 | _internal_set_idempotency_level(value); |
13456 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) |
13457 | 0 | } |
13458 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const { |
13459 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>(_impl_.idempotency_level_); |
13460 | 0 | } |
13461 | 0 | inline void MethodOptions::_internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { |
13462 | 0 | assert(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value)); |
13463 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13464 | 0 | _impl_.idempotency_level_ = value; |
13465 | 0 | } |
13466 | | |
13467 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13468 | 0 | inline int MethodOptions::_internal_uninterpreted_option_size() const { |
13469 | 0 | return _impl_.uninterpreted_option_.size(); |
13470 | 0 | } |
13471 | 0 | inline int MethodOptions::uninterpreted_option_size() const { |
13472 | 0 | return _internal_uninterpreted_option_size(); |
13473 | 0 | } |
13474 | 0 | inline void MethodOptions::clear_uninterpreted_option() { |
13475 | 0 | _impl_.uninterpreted_option_.Clear(); |
13476 | 0 | } |
13477 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) { |
13478 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) |
13479 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13480 | 0 | } |
13481 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13482 | 0 | MethodOptions::mutable_uninterpreted_option() { |
13483 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) |
13484 | 0 | return &_impl_.uninterpreted_option_; |
13485 | 0 | } |
13486 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const { |
13487 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13488 | 0 | } |
13489 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const { |
13490 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) |
13491 | 0 | return _internal_uninterpreted_option(index); |
13492 | 0 | } |
13493 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() { |
13494 | 0 | return _impl_.uninterpreted_option_.Add(); |
13495 | 0 | } |
13496 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() { |
13497 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13498 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) |
13499 | 0 | return _add; |
13500 | 0 | } |
13501 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13502 | 0 | MethodOptions::uninterpreted_option() const { |
13503 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) |
13504 | 0 | return _impl_.uninterpreted_option_; |
13505 | 0 | } |
13506 | | |
13507 | | // ------------------------------------------------------------------- |
13508 | | |
13509 | | // UninterpretedOption_NamePart |
13510 | | |
13511 | | // required string name_part = 1; |
13512 | 0 | inline bool UninterpretedOption_NamePart::has_name_part() const { |
13513 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13514 | 0 | return value; |
13515 | 0 | } |
13516 | 0 | inline void UninterpretedOption_NamePart::clear_name_part() { |
13517 | 0 | _impl_.name_part_.ClearToEmpty(); |
13518 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13519 | 0 | } |
13520 | 0 | inline const std::string& UninterpretedOption_NamePart::name_part() const { |
13521 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) |
13522 | 0 | return _internal_name_part(); |
13523 | 0 | } |
13524 | | template <typename Arg_, typename... Args_> |
13525 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption_NamePart::set_name_part(Arg_&& arg, |
13526 | | Args_... args) { |
13527 | | _impl_._has_bits_[0] |= 0x00000001u; |
13528 | | _impl_.name_part_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
13529 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) |
13530 | | } |
13531 | 0 | inline std::string* UninterpretedOption_NamePart::mutable_name_part() { |
13532 | 0 | std::string* _s = _internal_mutable_name_part(); |
13533 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) |
13534 | 0 | return _s; |
13535 | 0 | } |
13536 | 0 | inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const { |
13537 | 0 | return _impl_.name_part_.Get(); |
13538 | 0 | } |
13539 | 0 | inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) { |
13540 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13541 | 0 |
|
13542 | 0 |
|
13543 | 0 | _impl_.name_part_.Set(value, GetArenaForAllocation()); |
13544 | 0 | } |
13545 | 0 | inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() { |
13546 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13547 | 0 | return _impl_.name_part_.Mutable( GetArenaForAllocation()); |
13548 | 0 | } |
13549 | 0 | inline std::string* UninterpretedOption_NamePart::release_name_part() { |
13550 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
13551 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
13552 | 0 | return nullptr; |
13553 | 0 | } |
13554 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13555 | 0 | auto* released = _impl_.name_part_.Release(); |
13556 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13557 | 0 | _impl_.name_part_.Set("", GetArenaForAllocation()); |
13558 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13559 | 0 | return released; |
13560 | 0 | } |
13561 | 0 | inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* value) { |
13562 | 0 | if (value != nullptr) { |
13563 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13564 | 0 | } else { |
13565 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13566 | 0 | } |
13567 | 0 | _impl_.name_part_.SetAllocated(value, GetArenaForAllocation()); |
13568 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13569 | 0 | if (_impl_.name_part_.IsDefault()) { |
13570 | 0 | _impl_.name_part_.Set("", GetArenaForAllocation()); |
13571 | 0 | } |
13572 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13573 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
13574 | 0 | } |
13575 | | |
13576 | | // required bool is_extension = 2; |
13577 | 0 | inline bool UninterpretedOption_NamePart::has_is_extension() const { |
13578 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13579 | 0 | return value; |
13580 | 0 | } |
13581 | 0 | inline void UninterpretedOption_NamePart::clear_is_extension() { |
13582 | 0 | _impl_.is_extension_ = false; |
13583 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13584 | 0 | } |
13585 | 0 | inline bool UninterpretedOption_NamePart::is_extension() const { |
13586 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) |
13587 | 0 | return _internal_is_extension(); |
13588 | 0 | } |
13589 | 0 | inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
13590 | 0 | _internal_set_is_extension(value); |
13591 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) |
13592 | 0 | } |
13593 | 0 | inline bool UninterpretedOption_NamePart::_internal_is_extension() const { |
13594 | 0 | return _impl_.is_extension_; |
13595 | 0 | } |
13596 | 0 | inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) { |
13597 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13598 | 0 | _impl_.is_extension_ = value; |
13599 | 0 | } |
13600 | | |
13601 | | // ------------------------------------------------------------------- |
13602 | | |
13603 | | // UninterpretedOption |
13604 | | |
13605 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
13606 | 0 | inline int UninterpretedOption::_internal_name_size() const { |
13607 | 0 | return _impl_.name_.size(); |
13608 | 0 | } |
13609 | 0 | inline int UninterpretedOption::name_size() const { |
13610 | 0 | return _internal_name_size(); |
13611 | 0 | } |
13612 | 0 | inline void UninterpretedOption::clear_name() { |
13613 | 0 | _impl_.name_.Clear(); |
13614 | 0 | } |
13615 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) { |
13616 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) |
13617 | 0 | return _impl_.name_.Mutable(index); |
13618 | 0 | } |
13619 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* |
13620 | 0 | UninterpretedOption::mutable_name() { |
13621 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) |
13622 | 0 | return &_impl_.name_; |
13623 | 0 | } |
13624 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const { |
13625 | 0 | return _impl_.name_.Get(index); |
13626 | 0 | } |
13627 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const { |
13628 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) |
13629 | 0 | return _internal_name(index); |
13630 | 0 | } |
13631 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() { |
13632 | 0 | return _impl_.name_.Add(); |
13633 | 0 | } |
13634 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() { |
13635 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _add = _internal_add_name(); |
13636 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) |
13637 | 0 | return _add; |
13638 | 0 | } |
13639 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& |
13640 | 0 | UninterpretedOption::name() const { |
13641 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) |
13642 | 0 | return _impl_.name_; |
13643 | 0 | } |
13644 | | |
13645 | | // optional string identifier_value = 3; |
13646 | 0 | inline bool UninterpretedOption::has_identifier_value() const { |
13647 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13648 | 0 | return value; |
13649 | 0 | } |
13650 | 0 | inline void UninterpretedOption::clear_identifier_value() { |
13651 | 0 | _impl_.identifier_value_.ClearToEmpty(); |
13652 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13653 | 0 | } |
13654 | 0 | inline const std::string& UninterpretedOption::identifier_value() const { |
13655 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) |
13656 | 0 | return _internal_identifier_value(); |
13657 | 0 | } |
13658 | | template <typename Arg_, typename... Args_> |
13659 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_identifier_value(Arg_&& arg, |
13660 | | Args_... args) { |
13661 | | _impl_._has_bits_[0] |= 0x00000001u; |
13662 | | _impl_.identifier_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
13663 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) |
13664 | | } |
13665 | 0 | inline std::string* UninterpretedOption::mutable_identifier_value() { |
13666 | 0 | std::string* _s = _internal_mutable_identifier_value(); |
13667 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) |
13668 | 0 | return _s; |
13669 | 0 | } |
13670 | 0 | inline const std::string& UninterpretedOption::_internal_identifier_value() const { |
13671 | 0 | return _impl_.identifier_value_.Get(); |
13672 | 0 | } |
13673 | 0 | inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) { |
13674 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13675 | 0 |
|
13676 | 0 |
|
13677 | 0 | _impl_.identifier_value_.Set(value, GetArenaForAllocation()); |
13678 | 0 | } |
13679 | 0 | inline std::string* UninterpretedOption::_internal_mutable_identifier_value() { |
13680 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13681 | 0 | return _impl_.identifier_value_.Mutable( GetArenaForAllocation()); |
13682 | 0 | } |
13683 | 0 | inline std::string* UninterpretedOption::release_identifier_value() { |
13684 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
13685 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
13686 | 0 | return nullptr; |
13687 | 0 | } |
13688 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13689 | 0 | auto* released = _impl_.identifier_value_.Release(); |
13690 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13691 | 0 | _impl_.identifier_value_.Set("", GetArenaForAllocation()); |
13692 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13693 | 0 | return released; |
13694 | 0 | } |
13695 | 0 | inline void UninterpretedOption::set_allocated_identifier_value(std::string* value) { |
13696 | 0 | if (value != nullptr) { |
13697 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13698 | 0 | } else { |
13699 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13700 | 0 | } |
13701 | 0 | _impl_.identifier_value_.SetAllocated(value, GetArenaForAllocation()); |
13702 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13703 | 0 | if (_impl_.identifier_value_.IsDefault()) { |
13704 | 0 | _impl_.identifier_value_.Set("", GetArenaForAllocation()); |
13705 | 0 | } |
13706 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13707 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
13708 | 0 | } |
13709 | | |
13710 | | // optional uint64 positive_int_value = 4; |
13711 | 0 | inline bool UninterpretedOption::has_positive_int_value() const { |
13712 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
13713 | 0 | return value; |
13714 | 0 | } |
13715 | 0 | inline void UninterpretedOption::clear_positive_int_value() { |
13716 | 0 | _impl_.positive_int_value_ = ::uint64_t{0u}; |
13717 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13718 | 0 | } |
13719 | 0 | inline ::uint64_t UninterpretedOption::positive_int_value() const { |
13720 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) |
13721 | 0 | return _internal_positive_int_value(); |
13722 | 0 | } |
13723 | 0 | inline void UninterpretedOption::set_positive_int_value(::uint64_t value) { |
13724 | 0 | _internal_set_positive_int_value(value); |
13725 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) |
13726 | 0 | } |
13727 | 0 | inline ::uint64_t UninterpretedOption::_internal_positive_int_value() const { |
13728 | 0 | return _impl_.positive_int_value_; |
13729 | 0 | } |
13730 | 0 | inline void UninterpretedOption::_internal_set_positive_int_value(::uint64_t value) { |
13731 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13732 | 0 | _impl_.positive_int_value_ = value; |
13733 | 0 | } |
13734 | | |
13735 | | // optional int64 negative_int_value = 5; |
13736 | 0 | inline bool UninterpretedOption::has_negative_int_value() const { |
13737 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
13738 | 0 | return value; |
13739 | 0 | } |
13740 | 0 | inline void UninterpretedOption::clear_negative_int_value() { |
13741 | 0 | _impl_.negative_int_value_ = ::int64_t{0}; |
13742 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13743 | 0 | } |
13744 | 0 | inline ::int64_t UninterpretedOption::negative_int_value() const { |
13745 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) |
13746 | 0 | return _internal_negative_int_value(); |
13747 | 0 | } |
13748 | 0 | inline void UninterpretedOption::set_negative_int_value(::int64_t value) { |
13749 | 0 | _internal_set_negative_int_value(value); |
13750 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) |
13751 | 0 | } |
13752 | 0 | inline ::int64_t UninterpretedOption::_internal_negative_int_value() const { |
13753 | 0 | return _impl_.negative_int_value_; |
13754 | 0 | } |
13755 | 0 | inline void UninterpretedOption::_internal_set_negative_int_value(::int64_t value) { |
13756 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13757 | 0 | _impl_.negative_int_value_ = value; |
13758 | 0 | } |
13759 | | |
13760 | | // optional double double_value = 6; |
13761 | 0 | inline bool UninterpretedOption::has_double_value() const { |
13762 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
13763 | 0 | return value; |
13764 | 0 | } |
13765 | 0 | inline void UninterpretedOption::clear_double_value() { |
13766 | 0 | _impl_.double_value_ = 0; |
13767 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13768 | 0 | } |
13769 | 0 | inline double UninterpretedOption::double_value() const { |
13770 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) |
13771 | 0 | return _internal_double_value(); |
13772 | 0 | } |
13773 | 0 | inline void UninterpretedOption::set_double_value(double value) { |
13774 | 0 | _internal_set_double_value(value); |
13775 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) |
13776 | 0 | } |
13777 | 0 | inline double UninterpretedOption::_internal_double_value() const { |
13778 | 0 | return _impl_.double_value_; |
13779 | 0 | } |
13780 | 0 | inline void UninterpretedOption::_internal_set_double_value(double value) { |
13781 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
13782 | 0 | _impl_.double_value_ = value; |
13783 | 0 | } |
13784 | | |
13785 | | // optional bytes string_value = 7; |
13786 | 0 | inline bool UninterpretedOption::has_string_value() const { |
13787 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13788 | 0 | return value; |
13789 | 0 | } |
13790 | 0 | inline void UninterpretedOption::clear_string_value() { |
13791 | 0 | _impl_.string_value_.ClearToEmpty(); |
13792 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13793 | 0 | } |
13794 | 0 | inline const std::string& UninterpretedOption::string_value() const { |
13795 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) |
13796 | 0 | return _internal_string_value(); |
13797 | 0 | } |
13798 | | template <typename Arg_, typename... Args_> |
13799 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_string_value(Arg_&& arg, |
13800 | | Args_... args) { |
13801 | | _impl_._has_bits_[0] |= 0x00000002u; |
13802 | | _impl_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
13803 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) |
13804 | | } |
13805 | 0 | inline std::string* UninterpretedOption::mutable_string_value() { |
13806 | 0 | std::string* _s = _internal_mutable_string_value(); |
13807 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) |
13808 | 0 | return _s; |
13809 | 0 | } |
13810 | 0 | inline const std::string& UninterpretedOption::_internal_string_value() const { |
13811 | 0 | return _impl_.string_value_.Get(); |
13812 | 0 | } |
13813 | 0 | inline void UninterpretedOption::_internal_set_string_value(const std::string& value) { |
13814 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13815 | 0 |
|
13816 | 0 |
|
13817 | 0 | _impl_.string_value_.Set(value, GetArenaForAllocation()); |
13818 | 0 | } |
13819 | 0 | inline std::string* UninterpretedOption::_internal_mutable_string_value() { |
13820 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13821 | 0 | return _impl_.string_value_.Mutable( GetArenaForAllocation()); |
13822 | 0 | } |
13823 | 0 | inline std::string* UninterpretedOption::release_string_value() { |
13824 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
13825 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
13826 | 0 | return nullptr; |
13827 | 0 | } |
13828 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13829 | 0 | auto* released = _impl_.string_value_.Release(); |
13830 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13831 | 0 | _impl_.string_value_.Set("", GetArenaForAllocation()); |
13832 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13833 | 0 | return released; |
13834 | 0 | } |
13835 | 0 | inline void UninterpretedOption::set_allocated_string_value(std::string* value) { |
13836 | 0 | if (value != nullptr) { |
13837 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13838 | 0 | } else { |
13839 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13840 | 0 | } |
13841 | 0 | _impl_.string_value_.SetAllocated(value, GetArenaForAllocation()); |
13842 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13843 | 0 | if (_impl_.string_value_.IsDefault()) { |
13844 | 0 | _impl_.string_value_.Set("", GetArenaForAllocation()); |
13845 | 0 | } |
13846 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13847 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) |
13848 | 0 | } |
13849 | | |
13850 | | // optional string aggregate_value = 8; |
13851 | 0 | inline bool UninterpretedOption::has_aggregate_value() const { |
13852 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
13853 | 0 | return value; |
13854 | 0 | } |
13855 | 0 | inline void UninterpretedOption::clear_aggregate_value() { |
13856 | 0 | _impl_.aggregate_value_.ClearToEmpty(); |
13857 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13858 | 0 | } |
13859 | 0 | inline const std::string& UninterpretedOption::aggregate_value() const { |
13860 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) |
13861 | 0 | return _internal_aggregate_value(); |
13862 | 0 | } |
13863 | | template <typename Arg_, typename... Args_> |
13864 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_aggregate_value(Arg_&& arg, |
13865 | | Args_... args) { |
13866 | | _impl_._has_bits_[0] |= 0x00000004u; |
13867 | | _impl_.aggregate_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
13868 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) |
13869 | | } |
13870 | 0 | inline std::string* UninterpretedOption::mutable_aggregate_value() { |
13871 | 0 | std::string* _s = _internal_mutable_aggregate_value(); |
13872 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) |
13873 | 0 | return _s; |
13874 | 0 | } |
13875 | 0 | inline const std::string& UninterpretedOption::_internal_aggregate_value() const { |
13876 | 0 | return _impl_.aggregate_value_.Get(); |
13877 | 0 | } |
13878 | 0 | inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) { |
13879 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13880 | 0 |
|
13881 | 0 |
|
13882 | 0 | _impl_.aggregate_value_.Set(value, GetArenaForAllocation()); |
13883 | 0 | } |
13884 | 0 | inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() { |
13885 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13886 | 0 | return _impl_.aggregate_value_.Mutable( GetArenaForAllocation()); |
13887 | 0 | } |
13888 | 0 | inline std::string* UninterpretedOption::release_aggregate_value() { |
13889 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
13890 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
13891 | 0 | return nullptr; |
13892 | 0 | } |
13893 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13894 | 0 | auto* released = _impl_.aggregate_value_.Release(); |
13895 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13896 | 0 | _impl_.aggregate_value_.Set("", GetArenaForAllocation()); |
13897 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13898 | 0 | return released; |
13899 | 0 | } |
13900 | 0 | inline void UninterpretedOption::set_allocated_aggregate_value(std::string* value) { |
13901 | 0 | if (value != nullptr) { |
13902 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13903 | 0 | } else { |
13904 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13905 | 0 | } |
13906 | 0 | _impl_.aggregate_value_.SetAllocated(value, GetArenaForAllocation()); |
13907 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13908 | 0 | if (_impl_.aggregate_value_.IsDefault()) { |
13909 | 0 | _impl_.aggregate_value_.Set("", GetArenaForAllocation()); |
13910 | 0 | } |
13911 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13912 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
13913 | 0 | } |
13914 | | |
13915 | | // ------------------------------------------------------------------- |
13916 | | |
13917 | | // SourceCodeInfo_Location |
13918 | | |
13919 | | // repeated int32 path = 1 [packed = true]; |
13920 | 0 | inline int SourceCodeInfo_Location::_internal_path_size() const { |
13921 | 0 | return _impl_.path_.size(); |
13922 | 0 | } |
13923 | 0 | inline int SourceCodeInfo_Location::path_size() const { |
13924 | 0 | return _internal_path_size(); |
13925 | 0 | } |
13926 | 0 | inline void SourceCodeInfo_Location::clear_path() { |
13927 | 0 | _impl_.path_.Clear(); |
13928 | 0 | } |
13929 | 0 | inline ::int32_t SourceCodeInfo_Location::path(int index) const { |
13930 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) |
13931 | 0 | return _internal_path(index); |
13932 | 0 | } |
13933 | 0 | inline void SourceCodeInfo_Location::set_path(int index, ::int32_t value) { |
13934 | 0 | _impl_.path_.Set(index, value); |
13935 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) |
13936 | 0 | } |
13937 | 0 | inline void SourceCodeInfo_Location::add_path(::int32_t value) { |
13938 | 0 | _internal_add_path(value); |
13939 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) |
13940 | 0 | } |
13941 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& SourceCodeInfo_Location::path() const { |
13942 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) |
13943 | 0 | return _internal_path(); |
13944 | 0 | } |
13945 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* SourceCodeInfo_Location::mutable_path() { |
13946 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) |
13947 | 0 | return _internal_mutable_path(); |
13948 | 0 | } |
13949 | | |
13950 | 0 | inline ::int32_t SourceCodeInfo_Location::_internal_path(int index) const { |
13951 | 0 | return _impl_.path_.Get(index); |
13952 | 0 | } |
13953 | 0 | inline void SourceCodeInfo_Location::_internal_add_path(::int32_t value) { _impl_.path_.Add(value); } |
13954 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& SourceCodeInfo_Location::_internal_path() const { |
13955 | 0 | return _impl_.path_; |
13956 | 0 | } |
13957 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* SourceCodeInfo_Location::_internal_mutable_path() { |
13958 | 0 | return &_impl_.path_; |
13959 | 0 | } |
13960 | | |
13961 | | // repeated int32 span = 2 [packed = true]; |
13962 | 0 | inline int SourceCodeInfo_Location::_internal_span_size() const { |
13963 | 0 | return _impl_.span_.size(); |
13964 | 0 | } |
13965 | 0 | inline int SourceCodeInfo_Location::span_size() const { |
13966 | 0 | return _internal_span_size(); |
13967 | 0 | } |
13968 | 0 | inline void SourceCodeInfo_Location::clear_span() { |
13969 | 0 | _impl_.span_.Clear(); |
13970 | 0 | } |
13971 | 0 | inline ::int32_t SourceCodeInfo_Location::span(int index) const { |
13972 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) |
13973 | 0 | return _internal_span(index); |
13974 | 0 | } |
13975 | 0 | inline void SourceCodeInfo_Location::set_span(int index, ::int32_t value) { |
13976 | 0 | _impl_.span_.Set(index, value); |
13977 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) |
13978 | 0 | } |
13979 | 0 | inline void SourceCodeInfo_Location::add_span(::int32_t value) { |
13980 | 0 | _internal_add_span(value); |
13981 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) |
13982 | 0 | } |
13983 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& SourceCodeInfo_Location::span() const { |
13984 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) |
13985 | 0 | return _internal_span(); |
13986 | 0 | } |
13987 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* SourceCodeInfo_Location::mutable_span() { |
13988 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) |
13989 | 0 | return _internal_mutable_span(); |
13990 | 0 | } |
13991 | | |
13992 | 0 | inline ::int32_t SourceCodeInfo_Location::_internal_span(int index) const { |
13993 | 0 | return _impl_.span_.Get(index); |
13994 | 0 | } |
13995 | 0 | inline void SourceCodeInfo_Location::_internal_add_span(::int32_t value) { _impl_.span_.Add(value); } |
13996 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& SourceCodeInfo_Location::_internal_span() const { |
13997 | 0 | return _impl_.span_; |
13998 | 0 | } |
13999 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* SourceCodeInfo_Location::_internal_mutable_span() { |
14000 | 0 | return &_impl_.span_; |
14001 | 0 | } |
14002 | | |
14003 | | // optional string leading_comments = 3; |
14004 | 0 | inline bool SourceCodeInfo_Location::has_leading_comments() const { |
14005 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14006 | 0 | return value; |
14007 | 0 | } |
14008 | 0 | inline void SourceCodeInfo_Location::clear_leading_comments() { |
14009 | 0 | _impl_.leading_comments_.ClearToEmpty(); |
14010 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14011 | 0 | } |
14012 | 0 | inline const std::string& SourceCodeInfo_Location::leading_comments() const { |
14013 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14014 | 0 | return _internal_leading_comments(); |
14015 | 0 | } |
14016 | | template <typename Arg_, typename... Args_> |
14017 | | inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_leading_comments(Arg_&& arg, |
14018 | | Args_... args) { |
14019 | | _impl_._has_bits_[0] |= 0x00000001u; |
14020 | | _impl_.leading_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
14021 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14022 | | } |
14023 | 0 | inline std::string* SourceCodeInfo_Location::mutable_leading_comments() { |
14024 | 0 | std::string* _s = _internal_mutable_leading_comments(); |
14025 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14026 | 0 | return _s; |
14027 | 0 | } |
14028 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const { |
14029 | 0 | return _impl_.leading_comments_.Get(); |
14030 | 0 | } |
14031 | 0 | inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) { |
14032 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14033 | 0 |
|
14034 | 0 |
|
14035 | 0 | _impl_.leading_comments_.Set(value, GetArenaForAllocation()); |
14036 | 0 | } |
14037 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() { |
14038 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14039 | 0 | return _impl_.leading_comments_.Mutable( GetArenaForAllocation()); |
14040 | 0 | } |
14041 | 0 | inline std::string* SourceCodeInfo_Location::release_leading_comments() { |
14042 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14043 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14044 | 0 | return nullptr; |
14045 | 0 | } |
14046 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14047 | 0 | auto* released = _impl_.leading_comments_.Release(); |
14048 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14049 | 0 | _impl_.leading_comments_.Set("", GetArenaForAllocation()); |
14050 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14051 | 0 | return released; |
14052 | 0 | } |
14053 | 0 | inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* value) { |
14054 | 0 | if (value != nullptr) { |
14055 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14056 | 0 | } else { |
14057 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14058 | 0 | } |
14059 | 0 | _impl_.leading_comments_.SetAllocated(value, GetArenaForAllocation()); |
14060 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14061 | 0 | if (_impl_.leading_comments_.IsDefault()) { |
14062 | 0 | _impl_.leading_comments_.Set("", GetArenaForAllocation()); |
14063 | 0 | } |
14064 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14065 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14066 | 0 | } |
14067 | | |
14068 | | // optional string trailing_comments = 4; |
14069 | 0 | inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
14070 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14071 | 0 | return value; |
14072 | 0 | } |
14073 | 0 | inline void SourceCodeInfo_Location::clear_trailing_comments() { |
14074 | 0 | _impl_.trailing_comments_.ClearToEmpty(); |
14075 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14076 | 0 | } |
14077 | 0 | inline const std::string& SourceCodeInfo_Location::trailing_comments() const { |
14078 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14079 | 0 | return _internal_trailing_comments(); |
14080 | 0 | } |
14081 | | template <typename Arg_, typename... Args_> |
14082 | | inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_trailing_comments(Arg_&& arg, |
14083 | | Args_... args) { |
14084 | | _impl_._has_bits_[0] |= 0x00000002u; |
14085 | | _impl_.trailing_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
14086 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14087 | | } |
14088 | 0 | inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() { |
14089 | 0 | std::string* _s = _internal_mutable_trailing_comments(); |
14090 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14091 | 0 | return _s; |
14092 | 0 | } |
14093 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const { |
14094 | 0 | return _impl_.trailing_comments_.Get(); |
14095 | 0 | } |
14096 | 0 | inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) { |
14097 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14098 | 0 |
|
14099 | 0 |
|
14100 | 0 | _impl_.trailing_comments_.Set(value, GetArenaForAllocation()); |
14101 | 0 | } |
14102 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() { |
14103 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14104 | 0 | return _impl_.trailing_comments_.Mutable( GetArenaForAllocation()); |
14105 | 0 | } |
14106 | 0 | inline std::string* SourceCodeInfo_Location::release_trailing_comments() { |
14107 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14108 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
14109 | 0 | return nullptr; |
14110 | 0 | } |
14111 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14112 | 0 | auto* released = _impl_.trailing_comments_.Release(); |
14113 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14114 | 0 | _impl_.trailing_comments_.Set("", GetArenaForAllocation()); |
14115 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14116 | 0 | return released; |
14117 | 0 | } |
14118 | 0 | inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* value) { |
14119 | 0 | if (value != nullptr) { |
14120 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14121 | 0 | } else { |
14122 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14123 | 0 | } |
14124 | 0 | _impl_.trailing_comments_.SetAllocated(value, GetArenaForAllocation()); |
14125 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14126 | 0 | if (_impl_.trailing_comments_.IsDefault()) { |
14127 | 0 | _impl_.trailing_comments_.Set("", GetArenaForAllocation()); |
14128 | 0 | } |
14129 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14130 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14131 | 0 | } |
14132 | | |
14133 | | // repeated string leading_detached_comments = 6; |
14134 | 0 | inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const { |
14135 | 0 | return _impl_.leading_detached_comments_.size(); |
14136 | 0 | } |
14137 | 0 | inline int SourceCodeInfo_Location::leading_detached_comments_size() const { |
14138 | 0 | return _internal_leading_detached_comments_size(); |
14139 | 0 | } |
14140 | 0 | inline void SourceCodeInfo_Location::clear_leading_detached_comments() { |
14141 | 0 | _impl_.leading_detached_comments_.Clear(); |
14142 | 0 | } |
14143 | 0 | inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() { |
14144 | 0 | std::string* _s = _internal_add_leading_detached_comments(); |
14145 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14146 | 0 | return _s; |
14147 | 0 | } |
14148 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_leading_detached_comments(int index) const { |
14149 | 0 | return _impl_.leading_detached_comments_.Get(index); |
14150 | 0 | } |
14151 | 0 | inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const { |
14152 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14153 | 0 | return _internal_leading_detached_comments(index); |
14154 | 0 | } |
14155 | 0 | inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) { |
14156 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14157 | 0 | return _impl_.leading_detached_comments_.Mutable(index); |
14158 | 0 | } |
14159 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) { |
14160 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(value); |
14161 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14162 | 0 | } |
14163 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) { |
14164 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(std::move(value)); |
14165 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14166 | 0 | } |
14167 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) { |
14168 | 0 | ABSL_DCHECK(value != nullptr); |
14169 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(value); |
14170 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14171 | 0 | } |
14172 | | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, |
14173 | 0 | std::size_t size) { |
14174 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(reinterpret_cast<const char*>(value), size); |
14175 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14176 | 0 | } |
14177 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, absl::string_view value) { |
14178 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(value.data(), value.size()); |
14179 | 0 | // @@protoc_insertion_point(field_set_string_piece:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14180 | 0 | } |
14181 | 0 | inline std::string* SourceCodeInfo_Location::_internal_add_leading_detached_comments() { return _impl_.leading_detached_comments_.Add(); } |
14182 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) { |
14183 | 0 | _impl_.leading_detached_comments_.Add()->assign(value); |
14184 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14185 | 0 | } |
14186 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) { |
14187 | 0 | _impl_.leading_detached_comments_.Add(std::move(value)); |
14188 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14189 | 0 | } |
14190 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) { |
14191 | 0 | ABSL_DCHECK(value != nullptr); |
14192 | 0 | _impl_.leading_detached_comments_.Add()->assign(value); |
14193 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14194 | 0 | } |
14195 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, std::size_t size) { |
14196 | 0 | _impl_.leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size); |
14197 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14198 | 0 | } |
14199 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(absl::string_view value) { |
14200 | 0 | _impl_.leading_detached_comments_.Add()->assign(value.data(), value.size()); |
14201 | 0 | // @@protoc_insertion_point(field_add_string_piece:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14202 | 0 | } |
14203 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
14204 | 0 | SourceCodeInfo_Location::leading_detached_comments() const { |
14205 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14206 | 0 | return _impl_.leading_detached_comments_; |
14207 | 0 | } |
14208 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* SourceCodeInfo_Location::mutable_leading_detached_comments() { |
14209 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14210 | 0 | return &_impl_.leading_detached_comments_; |
14211 | 0 | } |
14212 | | |
14213 | | // ------------------------------------------------------------------- |
14214 | | |
14215 | | // SourceCodeInfo |
14216 | | |
14217 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
14218 | 0 | inline int SourceCodeInfo::_internal_location_size() const { |
14219 | 0 | return _impl_.location_.size(); |
14220 | 0 | } |
14221 | 0 | inline int SourceCodeInfo::location_size() const { |
14222 | 0 | return _internal_location_size(); |
14223 | 0 | } |
14224 | 0 | inline void SourceCodeInfo::clear_location() { |
14225 | 0 | _impl_.location_.Clear(); |
14226 | 0 | } |
14227 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) { |
14228 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) |
14229 | 0 | return _impl_.location_.Mutable(index); |
14230 | 0 | } |
14231 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* |
14232 | 0 | SourceCodeInfo::mutable_location() { |
14233 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) |
14234 | 0 | return &_impl_.location_; |
14235 | 0 | } |
14236 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const { |
14237 | 0 | return _impl_.location_.Get(index); |
14238 | 0 | } |
14239 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const { |
14240 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) |
14241 | 0 | return _internal_location(index); |
14242 | 0 | } |
14243 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() { |
14244 | 0 | return _impl_.location_.Add(); |
14245 | 0 | } |
14246 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() { |
14247 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _add = _internal_add_location(); |
14248 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) |
14249 | 0 | return _add; |
14250 | 0 | } |
14251 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& |
14252 | 0 | SourceCodeInfo::location() const { |
14253 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) |
14254 | 0 | return _impl_.location_; |
14255 | 0 | } |
14256 | | |
14257 | | // ------------------------------------------------------------------- |
14258 | | |
14259 | | // GeneratedCodeInfo_Annotation |
14260 | | |
14261 | | // repeated int32 path = 1 [packed = true]; |
14262 | 0 | inline int GeneratedCodeInfo_Annotation::_internal_path_size() const { |
14263 | 0 | return _impl_.path_.size(); |
14264 | 0 | } |
14265 | 0 | inline int GeneratedCodeInfo_Annotation::path_size() const { |
14266 | 0 | return _internal_path_size(); |
14267 | 0 | } |
14268 | 0 | inline void GeneratedCodeInfo_Annotation::clear_path() { |
14269 | 0 | _impl_.path_.Clear(); |
14270 | 0 | } |
14271 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::path(int index) const { |
14272 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14273 | 0 | return _internal_path(index); |
14274 | 0 | } |
14275 | 0 | inline void GeneratedCodeInfo_Annotation::set_path(int index, ::int32_t value) { |
14276 | 0 | _impl_.path_.Set(index, value); |
14277 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14278 | 0 | } |
14279 | 0 | inline void GeneratedCodeInfo_Annotation::add_path(::int32_t value) { |
14280 | 0 | _internal_add_path(value); |
14281 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14282 | 0 | } |
14283 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& GeneratedCodeInfo_Annotation::path() const { |
14284 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14285 | 0 | return _internal_path(); |
14286 | 0 | } |
14287 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* GeneratedCodeInfo_Annotation::mutable_path() { |
14288 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14289 | 0 | return _internal_mutable_path(); |
14290 | 0 | } |
14291 | | |
14292 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_path(int index) const { |
14293 | 0 | return _impl_.path_.Get(index); |
14294 | 0 | } |
14295 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_add_path(::int32_t value) { _impl_.path_.Add(value); } |
14296 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& GeneratedCodeInfo_Annotation::_internal_path() const { |
14297 | 0 | return _impl_.path_; |
14298 | 0 | } |
14299 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* GeneratedCodeInfo_Annotation::_internal_mutable_path() { |
14300 | 0 | return &_impl_.path_; |
14301 | 0 | } |
14302 | | |
14303 | | // optional string source_file = 2; |
14304 | 0 | inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
14305 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14306 | 0 | return value; |
14307 | 0 | } |
14308 | 0 | inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
14309 | 0 | _impl_.source_file_.ClearToEmpty(); |
14310 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14311 | 0 | } |
14312 | 0 | inline const std::string& GeneratedCodeInfo_Annotation::source_file() const { |
14313 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14314 | 0 | return _internal_source_file(); |
14315 | 0 | } |
14316 | | template <typename Arg_, typename... Args_> |
14317 | | inline PROTOBUF_ALWAYS_INLINE void GeneratedCodeInfo_Annotation::set_source_file(Arg_&& arg, |
14318 | | Args_... args) { |
14319 | | _impl_._has_bits_[0] |= 0x00000001u; |
14320 | | _impl_.source_file_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); |
14321 | | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14322 | | } |
14323 | 0 | inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { |
14324 | 0 | std::string* _s = _internal_mutable_source_file(); |
14325 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14326 | 0 | return _s; |
14327 | 0 | } |
14328 | 0 | inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const { |
14329 | 0 | return _impl_.source_file_.Get(); |
14330 | 0 | } |
14331 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) { |
14332 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14333 | 0 |
|
14334 | 0 |
|
14335 | 0 | _impl_.source_file_.Set(value, GetArenaForAllocation()); |
14336 | 0 | } |
14337 | 0 | inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() { |
14338 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14339 | 0 | return _impl_.source_file_.Mutable( GetArenaForAllocation()); |
14340 | 0 | } |
14341 | 0 | inline std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
14342 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14343 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14344 | 0 | return nullptr; |
14345 | 0 | } |
14346 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14347 | 0 | auto* released = _impl_.source_file_.Release(); |
14348 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14349 | 0 | _impl_.source_file_.Set("", GetArenaForAllocation()); |
14350 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14351 | 0 | return released; |
14352 | 0 | } |
14353 | 0 | inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* value) { |
14354 | 0 | if (value != nullptr) { |
14355 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14356 | 0 | } else { |
14357 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14358 | 0 | } |
14359 | 0 | _impl_.source_file_.SetAllocated(value, GetArenaForAllocation()); |
14360 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14361 | 0 | if (_impl_.source_file_.IsDefault()) { |
14362 | 0 | _impl_.source_file_.Set("", GetArenaForAllocation()); |
14363 | 0 | } |
14364 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14365 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14366 | 0 | } |
14367 | | |
14368 | | // optional int32 begin = 3; |
14369 | 0 | inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
14370 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14371 | 0 | return value; |
14372 | 0 | } |
14373 | 0 | inline void GeneratedCodeInfo_Annotation::clear_begin() { |
14374 | 0 | _impl_.begin_ = 0; |
14375 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14376 | 0 | } |
14377 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::begin() const { |
14378 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
14379 | 0 | return _internal_begin(); |
14380 | 0 | } |
14381 | 0 | inline void GeneratedCodeInfo_Annotation::set_begin(::int32_t value) { |
14382 | 0 | _internal_set_begin(value); |
14383 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
14384 | 0 | } |
14385 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_begin() const { |
14386 | 0 | return _impl_.begin_; |
14387 | 0 | } |
14388 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_begin(::int32_t value) { |
14389 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14390 | 0 | _impl_.begin_ = value; |
14391 | 0 | } |
14392 | | |
14393 | | // optional int32 end = 4; |
14394 | 0 | inline bool GeneratedCodeInfo_Annotation::has_end() const { |
14395 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
14396 | 0 | return value; |
14397 | 0 | } |
14398 | 0 | inline void GeneratedCodeInfo_Annotation::clear_end() { |
14399 | 0 | _impl_.end_ = 0; |
14400 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14401 | 0 | } |
14402 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::end() const { |
14403 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
14404 | 0 | return _internal_end(); |
14405 | 0 | } |
14406 | 0 | inline void GeneratedCodeInfo_Annotation::set_end(::int32_t value) { |
14407 | 0 | _internal_set_end(value); |
14408 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
14409 | 0 | } |
14410 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_end() const { |
14411 | 0 | return _impl_.end_; |
14412 | 0 | } |
14413 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_end(::int32_t value) { |
14414 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14415 | 0 | _impl_.end_ = value; |
14416 | 0 | } |
14417 | | |
14418 | | // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; |
14419 | 0 | inline bool GeneratedCodeInfo_Annotation::has_semantic() const { |
14420 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
14421 | 0 | return value; |
14422 | 0 | } |
14423 | 0 | inline void GeneratedCodeInfo_Annotation::clear_semantic() { |
14424 | 0 | _impl_.semantic_ = 0; |
14425 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
14426 | 0 | } |
14427 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::semantic() const { |
14428 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.semantic) |
14429 | 0 | return _internal_semantic(); |
14430 | 0 | } |
14431 | 0 | inline void GeneratedCodeInfo_Annotation::set_semantic(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic value) { |
14432 | 0 | _internal_set_semantic(value); |
14433 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.semantic) |
14434 | 0 | } |
14435 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::_internal_semantic() const { |
14436 | 0 | return static_cast<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic>(_impl_.semantic_); |
14437 | 0 | } |
14438 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_semantic(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic value) { |
14439 | 0 | assert(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic_IsValid(value)); |
14440 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
14441 | 0 | _impl_.semantic_ = value; |
14442 | 0 | } |
14443 | | |
14444 | | // ------------------------------------------------------------------- |
14445 | | |
14446 | | // GeneratedCodeInfo |
14447 | | |
14448 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
14449 | 0 | inline int GeneratedCodeInfo::_internal_annotation_size() const { |
14450 | 0 | return _impl_.annotation_.size(); |
14451 | 0 | } |
14452 | 0 | inline int GeneratedCodeInfo::annotation_size() const { |
14453 | 0 | return _internal_annotation_size(); |
14454 | 0 | } |
14455 | 0 | inline void GeneratedCodeInfo::clear_annotation() { |
14456 | 0 | _impl_.annotation_.Clear(); |
14457 | 0 | } |
14458 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) { |
14459 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
14460 | 0 | return _impl_.annotation_.Mutable(index); |
14461 | 0 | } |
14462 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* |
14463 | 0 | GeneratedCodeInfo::mutable_annotation() { |
14464 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
14465 | 0 | return &_impl_.annotation_; |
14466 | 0 | } |
14467 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const { |
14468 | 0 | return _impl_.annotation_.Get(index); |
14469 | 0 | } |
14470 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const { |
14471 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
14472 | 0 | return _internal_annotation(index); |
14473 | 0 | } |
14474 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() { |
14475 | 0 | return _impl_.annotation_.Add(); |
14476 | 0 | } |
14477 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() { |
14478 | 0 | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _add = _internal_add_annotation(); |
14479 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
14480 | 0 | return _add; |
14481 | 0 | } |
14482 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& |
14483 | 0 | GeneratedCodeInfo::annotation() const { |
14484 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
14485 | 0 | return _impl_.annotation_; |
14486 | 0 | } |
14487 | | |
14488 | | #ifdef __GNUC__ |
14489 | | #pragma GCC diagnostic pop |
14490 | | #endif // __GNUC__ |
14491 | | |
14492 | | // @@protoc_insertion_point(namespace_scope) |
14493 | | PROTOBUF_NAMESPACE_CLOSE |
14494 | | |
14495 | | |
14496 | | PROTOBUF_NAMESPACE_OPEN |
14497 | | |
14498 | | template <> |
14499 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : std::true_type {}; |
14500 | | template <> |
14501 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() { |
14502 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor(); |
14503 | 0 | } |
14504 | | template <> |
14505 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : std::true_type {}; |
14506 | | template <> |
14507 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() { |
14508 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor(); |
14509 | 0 | } |
14510 | | template <> |
14511 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : std::true_type {}; |
14512 | | template <> |
14513 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() { |
14514 | 0 | return ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor(); |
14515 | 0 | } |
14516 | | template <> |
14517 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : std::true_type {}; |
14518 | | template <> |
14519 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() { |
14520 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor(); |
14521 | 0 | } |
14522 | | template <> |
14523 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : std::true_type {}; |
14524 | | template <> |
14525 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() { |
14526 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor(); |
14527 | 0 | } |
14528 | | template <> |
14529 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention> : std::true_type {}; |
14530 | | template <> |
14531 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention>() { |
14532 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionRetention_descriptor(); |
14533 | 0 | } |
14534 | | template <> |
14535 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType> : std::true_type {}; |
14536 | | template <> |
14537 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType>() { |
14538 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_OptionTargetType_descriptor(); |
14539 | 0 | } |
14540 | | template <> |
14541 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : std::true_type {}; |
14542 | | template <> |
14543 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() { |
14544 | 0 | return ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor(); |
14545 | 0 | } |
14546 | | template <> |
14547 | | struct is_proto_enum<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic> : std::true_type {}; |
14548 | | template <> |
14549 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic>() { |
14550 | 0 | return ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
14551 | 0 | } |
14552 | | |
14553 | | PROTOBUF_NAMESPACE_CLOSE |
14554 | | |
14555 | | // @@protoc_insertion_point(global_scope) |
14556 | | |
14557 | | #include "google/protobuf/port_undef.inc" |
14558 | | |
14559 | | #endif // GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |