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
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto
6
7 #include <limits>
8 #include <string>
9
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3009000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3009001 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 // @@protoc_insertion_point(includes)
37 #include <google/protobuf/port_def.inc>
38 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT
39 PROTOBUF_NAMESPACE_OPEN
40 namespace internal {
41 class AnyMetadata;
42 } // namespace internal
43 PROTOBUF_NAMESPACE_CLOSE
44
45 // Internal implementation detail -- do not use these members.
46 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto {
47 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[27]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
54 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
55 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
56 };
57 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto;
58 PROTOBUF_NAMESPACE_OPEN
59 class DescriptorProto;
60 class DescriptorProtoDefaultTypeInternal;
61 PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
62 class DescriptorProto_ExtensionRange;
63 class DescriptorProto_ExtensionRangeDefaultTypeInternal;
64 PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
65 class DescriptorProto_ReservedRange;
66 class DescriptorProto_ReservedRangeDefaultTypeInternal;
67 PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
68 class EnumDescriptorProto;
69 class EnumDescriptorProtoDefaultTypeInternal;
70 PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
71 class EnumDescriptorProto_EnumReservedRange;
72 class EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal;
73 PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
74 class EnumOptions;
75 class EnumOptionsDefaultTypeInternal;
76 PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
77 class EnumValueDescriptorProto;
78 class EnumValueDescriptorProtoDefaultTypeInternal;
79 PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
80 class EnumValueOptions;
81 class EnumValueOptionsDefaultTypeInternal;
82 PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
83 class ExtensionRangeOptions;
84 class ExtensionRangeOptionsDefaultTypeInternal;
85 PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
86 class FieldDescriptorProto;
87 class FieldDescriptorProtoDefaultTypeInternal;
88 PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
89 class FieldOptions;
90 class FieldOptionsDefaultTypeInternal;
91 PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
92 class FileDescriptorProto;
93 class FileDescriptorProtoDefaultTypeInternal;
94 PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
95 class FileDescriptorSet;
96 class FileDescriptorSetDefaultTypeInternal;
97 PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
98 class FileOptions;
99 class FileOptionsDefaultTypeInternal;
100 PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
101 class GeneratedCodeInfo;
102 class GeneratedCodeInfoDefaultTypeInternal;
103 PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
104 class GeneratedCodeInfo_Annotation;
105 class GeneratedCodeInfo_AnnotationDefaultTypeInternal;
106 PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
107 class MessageOptions;
108 class MessageOptionsDefaultTypeInternal;
109 PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
110 class MethodDescriptorProto;
111 class MethodDescriptorProtoDefaultTypeInternal;
112 PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
113 class MethodOptions;
114 class MethodOptionsDefaultTypeInternal;
115 PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
116 class OneofDescriptorProto;
117 class OneofDescriptorProtoDefaultTypeInternal;
118 PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
119 class OneofOptions;
120 class OneofOptionsDefaultTypeInternal;
121 PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
122 class ServiceDescriptorProto;
123 class ServiceDescriptorProtoDefaultTypeInternal;
124 PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
125 class ServiceOptions;
126 class ServiceOptionsDefaultTypeInternal;
127 PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
128 class SourceCodeInfo;
129 class SourceCodeInfoDefaultTypeInternal;
130 PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
131 class SourceCodeInfo_Location;
132 class SourceCodeInfo_LocationDefaultTypeInternal;
133 PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
134 class UninterpretedOption;
135 class UninterpretedOptionDefaultTypeInternal;
136 PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
137 class UninterpretedOption_NamePart;
138 class UninterpretedOption_NamePartDefaultTypeInternal;
139 PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
140 PROTOBUF_NAMESPACE_CLOSE
141 PROTOBUF_NAMESPACE_OPEN
142 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*);
143 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*);
144 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*);
145 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*);
146 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*);
147 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*);
148 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*);
149 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*);
150 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*);
151 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*);
152 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*);
153 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*);
154 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*);
155 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*);
156 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*);
157 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*);
158 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*);
159 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*);
160 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*);
161 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*);
162 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*);
163 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*);
164 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*);
165 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*);
166 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*);
167 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*);
168 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*);
169 PROTOBUF_NAMESPACE_CLOSE
170 PROTOBUF_NAMESPACE_OPEN
171
172 enum FieldDescriptorProto_Type : int {
173 FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
174 FieldDescriptorProto_Type_TYPE_FLOAT = 2,
175 FieldDescriptorProto_Type_TYPE_INT64 = 3,
176 FieldDescriptorProto_Type_TYPE_UINT64 = 4,
177 FieldDescriptorProto_Type_TYPE_INT32 = 5,
178 FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
179 FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
180 FieldDescriptorProto_Type_TYPE_BOOL = 8,
181 FieldDescriptorProto_Type_TYPE_STRING = 9,
182 FieldDescriptorProto_Type_TYPE_GROUP = 10,
183 FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
184 FieldDescriptorProto_Type_TYPE_BYTES = 12,
185 FieldDescriptorProto_Type_TYPE_UINT32 = 13,
186 FieldDescriptorProto_Type_TYPE_ENUM = 14,
187 FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
188 FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
189 FieldDescriptorProto_Type_TYPE_SINT32 = 17,
190 FieldDescriptorProto_Type_TYPE_SINT64 = 18
191 };
192 PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
193 constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
194 constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
195 constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
196
197 PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
198 template<typename T>
FieldDescriptorProto_Type_Name(T enum_t_value)199 inline const std::string& FieldDescriptorProto_Type_Name(T enum_t_value) {
200 static_assert(::std::is_same<T, FieldDescriptorProto_Type>::value ||
201 ::std::is_integral<T>::value,
202 "Incorrect type passed to function FieldDescriptorProto_Type_Name.");
203 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
204 FieldDescriptorProto_Type_descriptor(), enum_t_value);
205 }
FieldDescriptorProto_Type_Parse(const std::string & name,FieldDescriptorProto_Type * value)206 inline bool FieldDescriptorProto_Type_Parse(
207 const std::string& name, FieldDescriptorProto_Type* value) {
208 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
209 FieldDescriptorProto_Type_descriptor(), name, value);
210 }
211 enum FieldDescriptorProto_Label : int {
212 FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
213 FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
214 FieldDescriptorProto_Label_LABEL_REPEATED = 3
215 };
216 PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
217 constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
218 constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
219 constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
220
221 PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
222 template<typename T>
FieldDescriptorProto_Label_Name(T enum_t_value)223 inline const std::string& FieldDescriptorProto_Label_Name(T enum_t_value) {
224 static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value ||
225 ::std::is_integral<T>::value,
226 "Incorrect type passed to function FieldDescriptorProto_Label_Name.");
227 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
228 FieldDescriptorProto_Label_descriptor(), enum_t_value);
229 }
FieldDescriptorProto_Label_Parse(const std::string & name,FieldDescriptorProto_Label * value)230 inline bool FieldDescriptorProto_Label_Parse(
231 const std::string& name, FieldDescriptorProto_Label* value) {
232 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
233 FieldDescriptorProto_Label_descriptor(), name, value);
234 }
235 enum FileOptions_OptimizeMode : int {
236 FileOptions_OptimizeMode_SPEED = 1,
237 FileOptions_OptimizeMode_CODE_SIZE = 2,
238 FileOptions_OptimizeMode_LITE_RUNTIME = 3
239 };
240 PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
241 constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
242 constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
243 constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
244
245 PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
246 template<typename T>
FileOptions_OptimizeMode_Name(T enum_t_value)247 inline const std::string& FileOptions_OptimizeMode_Name(T enum_t_value) {
248 static_assert(::std::is_same<T, FileOptions_OptimizeMode>::value ||
249 ::std::is_integral<T>::value,
250 "Incorrect type passed to function FileOptions_OptimizeMode_Name.");
251 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
252 FileOptions_OptimizeMode_descriptor(), enum_t_value);
253 }
FileOptions_OptimizeMode_Parse(const std::string & name,FileOptions_OptimizeMode * value)254 inline bool FileOptions_OptimizeMode_Parse(
255 const std::string& name, FileOptions_OptimizeMode* value) {
256 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
257 FileOptions_OptimizeMode_descriptor(), name, value);
258 }
259 enum FieldOptions_CType : int {
260 FieldOptions_CType_STRING = 0,
261 FieldOptions_CType_CORD = 1,
262 FieldOptions_CType_STRING_PIECE = 2
263 };
264 PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
265 constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
266 constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
267 constexpr int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
268
269 PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor();
270 template<typename T>
FieldOptions_CType_Name(T enum_t_value)271 inline const std::string& FieldOptions_CType_Name(T enum_t_value) {
272 static_assert(::std::is_same<T, FieldOptions_CType>::value ||
273 ::std::is_integral<T>::value,
274 "Incorrect type passed to function FieldOptions_CType_Name.");
275 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
276 FieldOptions_CType_descriptor(), enum_t_value);
277 }
FieldOptions_CType_Parse(const std::string & name,FieldOptions_CType * value)278 inline bool FieldOptions_CType_Parse(
279 const std::string& name, FieldOptions_CType* value) {
280 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>(
281 FieldOptions_CType_descriptor(), name, value);
282 }
283 enum FieldOptions_JSType : int {
284 FieldOptions_JSType_JS_NORMAL = 0,
285 FieldOptions_JSType_JS_STRING = 1,
286 FieldOptions_JSType_JS_NUMBER = 2
287 };
288 PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);
289 constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL;
290 constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER;
291 constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1;
292
293 PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor();
294 template<typename T>
FieldOptions_JSType_Name(T enum_t_value)295 inline const std::string& FieldOptions_JSType_Name(T enum_t_value) {
296 static_assert(::std::is_same<T, FieldOptions_JSType>::value ||
297 ::std::is_integral<T>::value,
298 "Incorrect type passed to function FieldOptions_JSType_Name.");
299 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
300 FieldOptions_JSType_descriptor(), enum_t_value);
301 }
FieldOptions_JSType_Parse(const std::string & name,FieldOptions_JSType * value)302 inline bool FieldOptions_JSType_Parse(
303 const std::string& name, FieldOptions_JSType* value) {
304 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>(
305 FieldOptions_JSType_descriptor(), name, value);
306 }
307 enum MethodOptions_IdempotencyLevel : int {
308 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0,
309 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1,
310 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2
311 };
312 PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value);
313 constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
314 constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT;
315 constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1;
316
317 PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor();
318 template<typename T>
MethodOptions_IdempotencyLevel_Name(T enum_t_value)319 inline const std::string& MethodOptions_IdempotencyLevel_Name(T enum_t_value) {
320 static_assert(::std::is_same<T, MethodOptions_IdempotencyLevel>::value ||
321 ::std::is_integral<T>::value,
322 "Incorrect type passed to function MethodOptions_IdempotencyLevel_Name.");
323 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
324 MethodOptions_IdempotencyLevel_descriptor(), enum_t_value);
325 }
MethodOptions_IdempotencyLevel_Parse(const std::string & name,MethodOptions_IdempotencyLevel * value)326 inline bool MethodOptions_IdempotencyLevel_Parse(
327 const std::string& name, MethodOptions_IdempotencyLevel* value) {
328 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>(
329 MethodOptions_IdempotencyLevel_descriptor(), name, value);
330 }
331 // ===================================================================
332
333 class PROTOBUF_EXPORT FileDescriptorSet :
334 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ {
335 public:
336 FileDescriptorSet();
337 virtual ~FileDescriptorSet();
338
339 FileDescriptorSet(const FileDescriptorSet& from);
FileDescriptorSet(FileDescriptorSet && from)340 FileDescriptorSet(FileDescriptorSet&& from) noexcept
341 : FileDescriptorSet() {
342 *this = ::std::move(from);
343 }
344
345 inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
346 CopyFrom(from);
347 return *this;
348 }
349 inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept {
350 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
351 if (this != &from) InternalSwap(&from);
352 } else {
353 CopyFrom(from);
354 }
355 return *this;
356 }
357
unknown_fields()358 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
359 return _internal_metadata_.unknown_fields();
360 }
mutable_unknown_fields()361 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
362 return _internal_metadata_.mutable_unknown_fields();
363 }
364
GetArena()365 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
366 return GetArenaNoVirtual();
367 }
GetMaybeArenaPointer()368 inline void* GetMaybeArenaPointer() const final {
369 return MaybeArenaPtr();
370 }
descriptor()371 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
372 return GetDescriptor();
373 }
GetDescriptor()374 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
375 return GetMetadataStatic().descriptor;
376 }
GetReflection()377 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
378 return GetMetadataStatic().reflection;
379 }
380 static const FileDescriptorSet& default_instance();
381
382 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()383 static inline const FileDescriptorSet* internal_default_instance() {
384 return reinterpret_cast<const FileDescriptorSet*>(
385 &_FileDescriptorSet_default_instance_);
386 }
387 static constexpr int kIndexInFileMessages =
388 0;
389
swap(FileDescriptorSet & a,FileDescriptorSet & b)390 friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) {
391 a.Swap(&b);
392 }
Swap(FileDescriptorSet * other)393 inline void Swap(FileDescriptorSet* other) {
394 if (other == this) return;
395 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
396 InternalSwap(other);
397 } else {
398 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
399 }
400 }
UnsafeArenaSwap(FileDescriptorSet * other)401 void UnsafeArenaSwap(FileDescriptorSet* other) {
402 if (other == this) return;
403 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
404 InternalSwap(other);
405 }
406
407 // implements Message ----------------------------------------------
408
New()409 inline FileDescriptorSet* New() const final {
410 return CreateMaybeMessage<FileDescriptorSet>(nullptr);
411 }
412
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)413 FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
414 return CreateMaybeMessage<FileDescriptorSet>(arena);
415 }
416 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
417 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
418 void CopyFrom(const FileDescriptorSet& from);
419 void MergeFrom(const FileDescriptorSet& from);
420 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
421 bool IsInitialized() const final;
422
423 size_t ByteSizeLong() const final;
424 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
425 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
426 #else
427 bool MergePartialFromCodedStream(
428 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
429 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
430 void SerializeWithCachedSizes(
431 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
432 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
433 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()434 int GetCachedSize() const final { return _cached_size_.Get(); }
435
436 private:
437 inline void SharedCtor();
438 inline void SharedDtor();
439 void SetCachedSize(int size) const final;
440 void InternalSwap(FileDescriptorSet* other);
441 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()442 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
443 return "google.protobuf.FileDescriptorSet";
444 }
445 protected:
446 explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena);
447 private:
448 static void ArenaDtor(void* object);
449 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
450 private:
GetArenaNoVirtual()451 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
452 return _internal_metadata_.arena();
453 }
MaybeArenaPtr()454 inline void* MaybeArenaPtr() const {
455 return _internal_metadata_.raw_arena_ptr();
456 }
457 public:
458
459 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
460 private:
GetMetadataStatic()461 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
462 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
463 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
464 }
465
466 public:
467
468 // nested types ----------------------------------------------------
469
470 // accessors -------------------------------------------------------
471
472 enum : int {
473 kFileFieldNumber = 1,
474 };
475 // repeated .google.protobuf.FileDescriptorProto file = 1;
476 int file_size() const;
477 void clear_file();
478 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index);
479 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
480 mutable_file();
481 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const;
482 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file();
483 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
484 file() const;
485
486 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
487 private:
488 class _Internal;
489
490 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
491 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
492 typedef void InternalArenaConstructable_;
493 typedef void DestructorSkippable_;
494 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
495 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
496 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_;
497 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
498 };
499 // -------------------------------------------------------------------
500
501 class PROTOBUF_EXPORT FileDescriptorProto :
502 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ {
503 public:
504 FileDescriptorProto();
505 virtual ~FileDescriptorProto();
506
507 FileDescriptorProto(const FileDescriptorProto& from);
FileDescriptorProto(FileDescriptorProto && from)508 FileDescriptorProto(FileDescriptorProto&& from) noexcept
509 : FileDescriptorProto() {
510 *this = ::std::move(from);
511 }
512
513 inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
514 CopyFrom(from);
515 return *this;
516 }
517 inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept {
518 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
519 if (this != &from) InternalSwap(&from);
520 } else {
521 CopyFrom(from);
522 }
523 return *this;
524 }
525
unknown_fields()526 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
527 return _internal_metadata_.unknown_fields();
528 }
mutable_unknown_fields()529 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
530 return _internal_metadata_.mutable_unknown_fields();
531 }
532
GetArena()533 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
534 return GetArenaNoVirtual();
535 }
GetMaybeArenaPointer()536 inline void* GetMaybeArenaPointer() const final {
537 return MaybeArenaPtr();
538 }
descriptor()539 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
540 return GetDescriptor();
541 }
GetDescriptor()542 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
543 return GetMetadataStatic().descriptor;
544 }
GetReflection()545 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
546 return GetMetadataStatic().reflection;
547 }
548 static const FileDescriptorProto& default_instance();
549
550 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()551 static inline const FileDescriptorProto* internal_default_instance() {
552 return reinterpret_cast<const FileDescriptorProto*>(
553 &_FileDescriptorProto_default_instance_);
554 }
555 static constexpr int kIndexInFileMessages =
556 1;
557
swap(FileDescriptorProto & a,FileDescriptorProto & b)558 friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) {
559 a.Swap(&b);
560 }
Swap(FileDescriptorProto * other)561 inline void Swap(FileDescriptorProto* other) {
562 if (other == this) return;
563 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
564 InternalSwap(other);
565 } else {
566 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
567 }
568 }
UnsafeArenaSwap(FileDescriptorProto * other)569 void UnsafeArenaSwap(FileDescriptorProto* other) {
570 if (other == this) return;
571 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
572 InternalSwap(other);
573 }
574
575 // implements Message ----------------------------------------------
576
New()577 inline FileDescriptorProto* New() const final {
578 return CreateMaybeMessage<FileDescriptorProto>(nullptr);
579 }
580
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)581 FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
582 return CreateMaybeMessage<FileDescriptorProto>(arena);
583 }
584 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
585 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
586 void CopyFrom(const FileDescriptorProto& from);
587 void MergeFrom(const FileDescriptorProto& from);
588 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
589 bool IsInitialized() const final;
590
591 size_t ByteSizeLong() const final;
592 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
593 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
594 #else
595 bool MergePartialFromCodedStream(
596 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
597 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
598 void SerializeWithCachedSizes(
599 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
600 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
601 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()602 int GetCachedSize() const final { return _cached_size_.Get(); }
603
604 private:
605 inline void SharedCtor();
606 inline void SharedDtor();
607 void SetCachedSize(int size) const final;
608 void InternalSwap(FileDescriptorProto* other);
609 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()610 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
611 return "google.protobuf.FileDescriptorProto";
612 }
613 protected:
614 explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
615 private:
616 static void ArenaDtor(void* object);
617 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
618 private:
GetArenaNoVirtual()619 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
620 return _internal_metadata_.arena();
621 }
MaybeArenaPtr()622 inline void* MaybeArenaPtr() const {
623 return _internal_metadata_.raw_arena_ptr();
624 }
625 public:
626
627 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
628 private:
GetMetadataStatic()629 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
630 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
631 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
632 }
633
634 public:
635
636 // nested types ----------------------------------------------------
637
638 // accessors -------------------------------------------------------
639
640 enum : int {
641 kDependencyFieldNumber = 3,
642 kMessageTypeFieldNumber = 4,
643 kEnumTypeFieldNumber = 5,
644 kServiceFieldNumber = 6,
645 kExtensionFieldNumber = 7,
646 kPublicDependencyFieldNumber = 10,
647 kWeakDependencyFieldNumber = 11,
648 kNameFieldNumber = 1,
649 kPackageFieldNumber = 2,
650 kSyntaxFieldNumber = 12,
651 kOptionsFieldNumber = 8,
652 kSourceCodeInfoFieldNumber = 9,
653 };
654 // repeated string dependency = 3;
655 int dependency_size() const;
656 void clear_dependency();
657 const std::string& dependency(int index) const;
658 std::string* mutable_dependency(int index);
659 void set_dependency(int index, const std::string& value);
660 void set_dependency(int index, std::string&& value);
661 void set_dependency(int index, const char* value);
662 void set_dependency(int index, const char* value, size_t size);
663 std::string* add_dependency();
664 void add_dependency(const std::string& value);
665 void add_dependency(std::string&& value);
666 void add_dependency(const char* value);
667 void add_dependency(const char* value, size_t size);
668 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const;
669 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency();
670
671 // repeated .google.protobuf.DescriptorProto message_type = 4;
672 int message_type_size() const;
673 void clear_message_type();
674 PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index);
675 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
676 mutable_message_type();
677 const PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const;
678 PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type();
679 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
680 message_type() const;
681
682 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
683 int enum_type_size() const;
684 void clear_enum_type();
685 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
686 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
687 mutable_enum_type();
688 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
689 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
690 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
691 enum_type() const;
692
693 // repeated .google.protobuf.ServiceDescriptorProto service = 6;
694 int service_size() const;
695 void clear_service();
696 PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index);
697 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
698 mutable_service();
699 const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const;
700 PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service();
701 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
702 service() const;
703
704 // repeated .google.protobuf.FieldDescriptorProto extension = 7;
705 int extension_size() const;
706 void clear_extension();
707 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
708 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
709 mutable_extension();
710 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
711 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
712 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
713 extension() const;
714
715 // repeated int32 public_dependency = 10;
716 int public_dependency_size() const;
717 void clear_public_dependency();
718 ::PROTOBUF_NAMESPACE_ID::int32 public_dependency(int index) const;
719 void set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
720 void add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
721 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
722 public_dependency() const;
723 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
724 mutable_public_dependency();
725
726 // repeated int32 weak_dependency = 11;
727 int weak_dependency_size() const;
728 void clear_weak_dependency();
729 ::PROTOBUF_NAMESPACE_ID::int32 weak_dependency(int index) const;
730 void set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
731 void add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
732 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
733 weak_dependency() const;
734 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
735 mutable_weak_dependency();
736
737 // optional string name = 1;
738 bool has_name() const;
739 void clear_name();
740 const std::string& name() const;
741 void set_name(const std::string& value);
742 void set_name(std::string&& value);
743 void set_name(const char* value);
744 void set_name(const char* value, size_t size);
745 std::string* mutable_name();
746 std::string* release_name();
747 void set_allocated_name(std::string* name);
748 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
749 " string fields are deprecated and will be removed in a"
750 " future release.")
751 std::string* unsafe_arena_release_name();
752 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
753 " string fields are deprecated and will be removed in a"
754 " future release.")
755 void unsafe_arena_set_allocated_name(
756 std::string* name);
757
758 // optional string package = 2;
759 bool has_package() const;
760 void clear_package();
761 const std::string& package() const;
762 void set_package(const std::string& value);
763 void set_package(std::string&& value);
764 void set_package(const char* value);
765 void set_package(const char* value, size_t size);
766 std::string* mutable_package();
767 std::string* release_package();
768 void set_allocated_package(std::string* package);
769 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
770 " string fields are deprecated and will be removed in a"
771 " future release.")
772 std::string* unsafe_arena_release_package();
773 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
774 " string fields are deprecated and will be removed in a"
775 " future release.")
776 void unsafe_arena_set_allocated_package(
777 std::string* package);
778
779 // optional string syntax = 12;
780 bool has_syntax() const;
781 void clear_syntax();
782 const std::string& syntax() const;
783 void set_syntax(const std::string& value);
784 void set_syntax(std::string&& value);
785 void set_syntax(const char* value);
786 void set_syntax(const char* value, size_t size);
787 std::string* mutable_syntax();
788 std::string* release_syntax();
789 void set_allocated_syntax(std::string* syntax);
790 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
791 " string fields are deprecated and will be removed in a"
792 " future release.")
793 std::string* unsafe_arena_release_syntax();
794 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
795 " string fields are deprecated and will be removed in a"
796 " future release.")
797 void unsafe_arena_set_allocated_syntax(
798 std::string* syntax);
799
800 // optional .google.protobuf.FileOptions options = 8;
801 bool has_options() const;
802 void clear_options();
803 const PROTOBUF_NAMESPACE_ID::FileOptions& options() const;
804 PROTOBUF_NAMESPACE_ID::FileOptions* release_options();
805 PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options();
806 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FileOptions* options);
807 void unsafe_arena_set_allocated_options(
808 PROTOBUF_NAMESPACE_ID::FileOptions* options);
809 PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options();
810
811 // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
812 bool has_source_code_info() const;
813 void clear_source_code_info();
814 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const;
815 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info();
816 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info();
817 void set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
818 void unsafe_arena_set_allocated_source_code_info(
819 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
820 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info();
821
822 // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
823 private:
824 class _Internal;
825
826 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
827 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
828 typedef void InternalArenaConstructable_;
829 typedef void DestructorSkippable_;
830 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
831 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
832 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_;
833 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_;
834 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
835 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_;
836 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
837 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > public_dependency_;
838 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > weak_dependency_;
839 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
840 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_;
841 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_;
842 PROTOBUF_NAMESPACE_ID::FileOptions* options_;
843 PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_;
844 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
845 };
846 // -------------------------------------------------------------------
847
848 class PROTOBUF_EXPORT DescriptorProto_ExtensionRange :
849 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ {
850 public:
851 DescriptorProto_ExtensionRange();
852 virtual ~DescriptorProto_ExtensionRange();
853
854 DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange && from)855 DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept
856 : DescriptorProto_ExtensionRange() {
857 *this = ::std::move(from);
858 }
859
860 inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
861 CopyFrom(from);
862 return *this;
863 }
864 inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept {
865 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
866 if (this != &from) InternalSwap(&from);
867 } else {
868 CopyFrom(from);
869 }
870 return *this;
871 }
872
unknown_fields()873 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
874 return _internal_metadata_.unknown_fields();
875 }
mutable_unknown_fields()876 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
877 return _internal_metadata_.mutable_unknown_fields();
878 }
879
GetArena()880 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
881 return GetArenaNoVirtual();
882 }
GetMaybeArenaPointer()883 inline void* GetMaybeArenaPointer() const final {
884 return MaybeArenaPtr();
885 }
descriptor()886 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
887 return GetDescriptor();
888 }
GetDescriptor()889 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
890 return GetMetadataStatic().descriptor;
891 }
GetReflection()892 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
893 return GetMetadataStatic().reflection;
894 }
895 static const DescriptorProto_ExtensionRange& default_instance();
896
897 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()898 static inline const DescriptorProto_ExtensionRange* internal_default_instance() {
899 return reinterpret_cast<const DescriptorProto_ExtensionRange*>(
900 &_DescriptorProto_ExtensionRange_default_instance_);
901 }
902 static constexpr int kIndexInFileMessages =
903 2;
904
swap(DescriptorProto_ExtensionRange & a,DescriptorProto_ExtensionRange & b)905 friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) {
906 a.Swap(&b);
907 }
Swap(DescriptorProto_ExtensionRange * other)908 inline void Swap(DescriptorProto_ExtensionRange* other) {
909 if (other == this) return;
910 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
911 InternalSwap(other);
912 } else {
913 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
914 }
915 }
UnsafeArenaSwap(DescriptorProto_ExtensionRange * other)916 void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) {
917 if (other == this) return;
918 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
919 InternalSwap(other);
920 }
921
922 // implements Message ----------------------------------------------
923
New()924 inline DescriptorProto_ExtensionRange* New() const final {
925 return CreateMaybeMessage<DescriptorProto_ExtensionRange>(nullptr);
926 }
927
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)928 DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
929 return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena);
930 }
931 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
932 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
933 void CopyFrom(const DescriptorProto_ExtensionRange& from);
934 void MergeFrom(const DescriptorProto_ExtensionRange& from);
935 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
936 bool IsInitialized() const final;
937
938 size_t ByteSizeLong() const final;
939 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
940 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
941 #else
942 bool MergePartialFromCodedStream(
943 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
944 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
945 void SerializeWithCachedSizes(
946 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
947 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
948 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()949 int GetCachedSize() const final { return _cached_size_.Get(); }
950
951 private:
952 inline void SharedCtor();
953 inline void SharedDtor();
954 void SetCachedSize(int size) const final;
955 void InternalSwap(DescriptorProto_ExtensionRange* other);
956 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()957 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
958 return "google.protobuf.DescriptorProto.ExtensionRange";
959 }
960 protected:
961 explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena);
962 private:
963 static void ArenaDtor(void* object);
964 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
965 private:
GetArenaNoVirtual()966 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
967 return _internal_metadata_.arena();
968 }
MaybeArenaPtr()969 inline void* MaybeArenaPtr() const {
970 return _internal_metadata_.raw_arena_ptr();
971 }
972 public:
973
974 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
975 private:
GetMetadataStatic()976 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
977 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
978 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
979 }
980
981 public:
982
983 // nested types ----------------------------------------------------
984
985 // accessors -------------------------------------------------------
986
987 enum : int {
988 kOptionsFieldNumber = 3,
989 kStartFieldNumber = 1,
990 kEndFieldNumber = 2,
991 };
992 // optional .google.protobuf.ExtensionRangeOptions options = 3;
993 bool has_options() const;
994 void clear_options();
995 const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const;
996 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options();
997 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options();
998 void set_allocated_options(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
999 void unsafe_arena_set_allocated_options(
1000 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
1001 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options();
1002
1003 // optional int32 start = 1;
1004 bool has_start() const;
1005 void clear_start();
1006 ::PROTOBUF_NAMESPACE_ID::int32 start() const;
1007 void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
1008
1009 // optional int32 end = 2;
1010 bool has_end() const;
1011 void clear_end();
1012 ::PROTOBUF_NAMESPACE_ID::int32 end() const;
1013 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
1014
1015 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
1016 private:
1017 class _Internal;
1018
1019 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1020 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1021 typedef void InternalArenaConstructable_;
1022 typedef void DestructorSkippable_;
1023 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1024 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1025 PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_;
1026 ::PROTOBUF_NAMESPACE_ID::int32 start_;
1027 ::PROTOBUF_NAMESPACE_ID::int32 end_;
1028 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1029 };
1030 // -------------------------------------------------------------------
1031
1032 class PROTOBUF_EXPORT DescriptorProto_ReservedRange :
1033 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ {
1034 public:
1035 DescriptorProto_ReservedRange();
1036 virtual ~DescriptorProto_ReservedRange();
1037
1038 DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
DescriptorProto_ReservedRange(DescriptorProto_ReservedRange && from)1039 DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept
1040 : DescriptorProto_ReservedRange() {
1041 *this = ::std::move(from);
1042 }
1043
1044 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
1045 CopyFrom(from);
1046 return *this;
1047 }
1048 inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept {
1049 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1050 if (this != &from) InternalSwap(&from);
1051 } else {
1052 CopyFrom(from);
1053 }
1054 return *this;
1055 }
1056
unknown_fields()1057 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1058 return _internal_metadata_.unknown_fields();
1059 }
mutable_unknown_fields()1060 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1061 return _internal_metadata_.mutable_unknown_fields();
1062 }
1063
GetArena()1064 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1065 return GetArenaNoVirtual();
1066 }
GetMaybeArenaPointer()1067 inline void* GetMaybeArenaPointer() const final {
1068 return MaybeArenaPtr();
1069 }
descriptor()1070 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1071 return GetDescriptor();
1072 }
GetDescriptor()1073 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1074 return GetMetadataStatic().descriptor;
1075 }
GetReflection()1076 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1077 return GetMetadataStatic().reflection;
1078 }
1079 static const DescriptorProto_ReservedRange& default_instance();
1080
1081 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1082 static inline const DescriptorProto_ReservedRange* internal_default_instance() {
1083 return reinterpret_cast<const DescriptorProto_ReservedRange*>(
1084 &_DescriptorProto_ReservedRange_default_instance_);
1085 }
1086 static constexpr int kIndexInFileMessages =
1087 3;
1088
swap(DescriptorProto_ReservedRange & a,DescriptorProto_ReservedRange & b)1089 friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) {
1090 a.Swap(&b);
1091 }
Swap(DescriptorProto_ReservedRange * other)1092 inline void Swap(DescriptorProto_ReservedRange* other) {
1093 if (other == this) return;
1094 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1095 InternalSwap(other);
1096 } else {
1097 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1098 }
1099 }
UnsafeArenaSwap(DescriptorProto_ReservedRange * other)1100 void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) {
1101 if (other == this) return;
1102 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1103 InternalSwap(other);
1104 }
1105
1106 // implements Message ----------------------------------------------
1107
New()1108 inline DescriptorProto_ReservedRange* New() const final {
1109 return CreateMaybeMessage<DescriptorProto_ReservedRange>(nullptr);
1110 }
1111
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1112 DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1113 return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena);
1114 }
1115 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1116 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1117 void CopyFrom(const DescriptorProto_ReservedRange& from);
1118 void MergeFrom(const DescriptorProto_ReservedRange& from);
1119 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1120 bool IsInitialized() const final;
1121
1122 size_t ByteSizeLong() const final;
1123 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1124 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1125 #else
1126 bool MergePartialFromCodedStream(
1127 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1128 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1129 void SerializeWithCachedSizes(
1130 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1131 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1132 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()1133 int GetCachedSize() const final { return _cached_size_.Get(); }
1134
1135 private:
1136 inline void SharedCtor();
1137 inline void SharedDtor();
1138 void SetCachedSize(int size) const final;
1139 void InternalSwap(DescriptorProto_ReservedRange* other);
1140 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1141 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1142 return "google.protobuf.DescriptorProto.ReservedRange";
1143 }
1144 protected:
1145 explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1146 private:
1147 static void ArenaDtor(void* object);
1148 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1149 private:
GetArenaNoVirtual()1150 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1151 return _internal_metadata_.arena();
1152 }
MaybeArenaPtr()1153 inline void* MaybeArenaPtr() const {
1154 return _internal_metadata_.raw_arena_ptr();
1155 }
1156 public:
1157
1158 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1159 private:
GetMetadataStatic()1160 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1161 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1162 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
1163 }
1164
1165 public:
1166
1167 // nested types ----------------------------------------------------
1168
1169 // accessors -------------------------------------------------------
1170
1171 enum : int {
1172 kStartFieldNumber = 1,
1173 kEndFieldNumber = 2,
1174 };
1175 // optional int32 start = 1;
1176 bool has_start() const;
1177 void clear_start();
1178 ::PROTOBUF_NAMESPACE_ID::int32 start() const;
1179 void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
1180
1181 // optional int32 end = 2;
1182 bool has_end() const;
1183 void clear_end();
1184 ::PROTOBUF_NAMESPACE_ID::int32 end() const;
1185 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
1186
1187 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
1188 private:
1189 class _Internal;
1190
1191 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1192 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1193 typedef void InternalArenaConstructable_;
1194 typedef void DestructorSkippable_;
1195 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1196 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1197 ::PROTOBUF_NAMESPACE_ID::int32 start_;
1198 ::PROTOBUF_NAMESPACE_ID::int32 end_;
1199 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1200 };
1201 // -------------------------------------------------------------------
1202
1203 class PROTOBUF_EXPORT DescriptorProto :
1204 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ {
1205 public:
1206 DescriptorProto();
1207 virtual ~DescriptorProto();
1208
1209 DescriptorProto(const DescriptorProto& from);
DescriptorProto(DescriptorProto && from)1210 DescriptorProto(DescriptorProto&& from) noexcept
1211 : DescriptorProto() {
1212 *this = ::std::move(from);
1213 }
1214
1215 inline DescriptorProto& operator=(const DescriptorProto& from) {
1216 CopyFrom(from);
1217 return *this;
1218 }
1219 inline DescriptorProto& operator=(DescriptorProto&& from) noexcept {
1220 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1221 if (this != &from) InternalSwap(&from);
1222 } else {
1223 CopyFrom(from);
1224 }
1225 return *this;
1226 }
1227
unknown_fields()1228 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1229 return _internal_metadata_.unknown_fields();
1230 }
mutable_unknown_fields()1231 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1232 return _internal_metadata_.mutable_unknown_fields();
1233 }
1234
GetArena()1235 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1236 return GetArenaNoVirtual();
1237 }
GetMaybeArenaPointer()1238 inline void* GetMaybeArenaPointer() const final {
1239 return MaybeArenaPtr();
1240 }
descriptor()1241 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1242 return GetDescriptor();
1243 }
GetDescriptor()1244 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1245 return GetMetadataStatic().descriptor;
1246 }
GetReflection()1247 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1248 return GetMetadataStatic().reflection;
1249 }
1250 static const DescriptorProto& default_instance();
1251
1252 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1253 static inline const DescriptorProto* internal_default_instance() {
1254 return reinterpret_cast<const DescriptorProto*>(
1255 &_DescriptorProto_default_instance_);
1256 }
1257 static constexpr int kIndexInFileMessages =
1258 4;
1259
swap(DescriptorProto & a,DescriptorProto & b)1260 friend void swap(DescriptorProto& a, DescriptorProto& b) {
1261 a.Swap(&b);
1262 }
Swap(DescriptorProto * other)1263 inline void Swap(DescriptorProto* other) {
1264 if (other == this) return;
1265 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1266 InternalSwap(other);
1267 } else {
1268 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1269 }
1270 }
UnsafeArenaSwap(DescriptorProto * other)1271 void UnsafeArenaSwap(DescriptorProto* other) {
1272 if (other == this) return;
1273 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1274 InternalSwap(other);
1275 }
1276
1277 // implements Message ----------------------------------------------
1278
New()1279 inline DescriptorProto* New() const final {
1280 return CreateMaybeMessage<DescriptorProto>(nullptr);
1281 }
1282
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1283 DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1284 return CreateMaybeMessage<DescriptorProto>(arena);
1285 }
1286 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1287 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1288 void CopyFrom(const DescriptorProto& from);
1289 void MergeFrom(const DescriptorProto& from);
1290 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1291 bool IsInitialized() const final;
1292
1293 size_t ByteSizeLong() const final;
1294 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1295 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1296 #else
1297 bool MergePartialFromCodedStream(
1298 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1299 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1300 void SerializeWithCachedSizes(
1301 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1302 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1303 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()1304 int GetCachedSize() const final { return _cached_size_.Get(); }
1305
1306 private:
1307 inline void SharedCtor();
1308 inline void SharedDtor();
1309 void SetCachedSize(int size) const final;
1310 void InternalSwap(DescriptorProto* other);
1311 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1312 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1313 return "google.protobuf.DescriptorProto";
1314 }
1315 protected:
1316 explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1317 private:
1318 static void ArenaDtor(void* object);
1319 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1320 private:
GetArenaNoVirtual()1321 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1322 return _internal_metadata_.arena();
1323 }
MaybeArenaPtr()1324 inline void* MaybeArenaPtr() const {
1325 return _internal_metadata_.raw_arena_ptr();
1326 }
1327 public:
1328
1329 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1330 private:
GetMetadataStatic()1331 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1332 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1333 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
1334 }
1335
1336 public:
1337
1338 // nested types ----------------------------------------------------
1339
1340 typedef DescriptorProto_ExtensionRange ExtensionRange;
1341 typedef DescriptorProto_ReservedRange ReservedRange;
1342
1343 // accessors -------------------------------------------------------
1344
1345 enum : int {
1346 kFieldFieldNumber = 2,
1347 kNestedTypeFieldNumber = 3,
1348 kEnumTypeFieldNumber = 4,
1349 kExtensionRangeFieldNumber = 5,
1350 kExtensionFieldNumber = 6,
1351 kOneofDeclFieldNumber = 8,
1352 kReservedRangeFieldNumber = 9,
1353 kReservedNameFieldNumber = 10,
1354 kNameFieldNumber = 1,
1355 kOptionsFieldNumber = 7,
1356 };
1357 // repeated .google.protobuf.FieldDescriptorProto field = 2;
1358 int field_size() const;
1359 void clear_field();
1360 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index);
1361 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
1362 mutable_field();
1363 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const;
1364 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field();
1365 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
1366 field() const;
1367
1368 // repeated .google.protobuf.DescriptorProto nested_type = 3;
1369 int nested_type_size() const;
1370 void clear_nested_type();
1371 PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index);
1372 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
1373 mutable_nested_type();
1374 const PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const;
1375 PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type();
1376 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
1377 nested_type() const;
1378
1379 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
1380 int enum_type_size() const;
1381 void clear_enum_type();
1382 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
1383 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
1384 mutable_enum_type();
1385 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
1386 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
1387 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
1388 enum_type() const;
1389
1390 // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
1391 int extension_range_size() const;
1392 void clear_extension_range();
1393 PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
1394 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
1395 mutable_extension_range();
1396 const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const;
1397 PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range();
1398 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
1399 extension_range() const;
1400
1401 // repeated .google.protobuf.FieldDescriptorProto extension = 6;
1402 int extension_size() const;
1403 void clear_extension();
1404 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
1405 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
1406 mutable_extension();
1407 const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
1408 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
1409 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
1410 extension() const;
1411
1412 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
1413 int oneof_decl_size() const;
1414 void clear_oneof_decl();
1415 PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index);
1416 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
1417 mutable_oneof_decl();
1418 const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const;
1419 PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl();
1420 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
1421 oneof_decl() const;
1422
1423 // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
1424 int reserved_range_size() const;
1425 void clear_reserved_range();
1426 PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index);
1427 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
1428 mutable_reserved_range();
1429 const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const;
1430 PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range();
1431 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
1432 reserved_range() const;
1433
1434 // repeated string reserved_name = 10;
1435 int reserved_name_size() const;
1436 void clear_reserved_name();
1437 const std::string& reserved_name(int index) const;
1438 std::string* mutable_reserved_name(int index);
1439 void set_reserved_name(int index, const std::string& value);
1440 void set_reserved_name(int index, std::string&& value);
1441 void set_reserved_name(int index, const char* value);
1442 void set_reserved_name(int index, const char* value, size_t size);
1443 std::string* add_reserved_name();
1444 void add_reserved_name(const std::string& value);
1445 void add_reserved_name(std::string&& value);
1446 void add_reserved_name(const char* value);
1447 void add_reserved_name(const char* value, size_t size);
1448 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
1449 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
1450
1451 // optional string name = 1;
1452 bool has_name() const;
1453 void clear_name();
1454 const std::string& name() const;
1455 void set_name(const std::string& value);
1456 void set_name(std::string&& value);
1457 void set_name(const char* value);
1458 void set_name(const char* value, size_t size);
1459 std::string* mutable_name();
1460 std::string* release_name();
1461 void set_allocated_name(std::string* name);
1462 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1463 " string fields are deprecated and will be removed in a"
1464 " future release.")
1465 std::string* unsafe_arena_release_name();
1466 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1467 " string fields are deprecated and will be removed in a"
1468 " future release.")
1469 void unsafe_arena_set_allocated_name(
1470 std::string* name);
1471
1472 // optional .google.protobuf.MessageOptions options = 7;
1473 bool has_options() const;
1474 void clear_options();
1475 const PROTOBUF_NAMESPACE_ID::MessageOptions& options() const;
1476 PROTOBUF_NAMESPACE_ID::MessageOptions* release_options();
1477 PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options();
1478 void set_allocated_options(PROTOBUF_NAMESPACE_ID::MessageOptions* options);
1479 void unsafe_arena_set_allocated_options(
1480 PROTOBUF_NAMESPACE_ID::MessageOptions* options);
1481 PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options();
1482
1483 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
1484 private:
1485 class _Internal;
1486
1487 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1488 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1489 typedef void InternalArenaConstructable_;
1490 typedef void DestructorSkippable_;
1491 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1492 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1493 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_;
1494 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_;
1495 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
1496 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_;
1497 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
1498 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_;
1499 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_;
1500 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
1501 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1502 PROTOBUF_NAMESPACE_ID::MessageOptions* options_;
1503 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1504 };
1505 // -------------------------------------------------------------------
1506
1507 class PROTOBUF_EXPORT ExtensionRangeOptions :
1508 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ {
1509 public:
1510 ExtensionRangeOptions();
1511 virtual ~ExtensionRangeOptions();
1512
1513 ExtensionRangeOptions(const ExtensionRangeOptions& from);
ExtensionRangeOptions(ExtensionRangeOptions && from)1514 ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept
1515 : ExtensionRangeOptions() {
1516 *this = ::std::move(from);
1517 }
1518
1519 inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) {
1520 CopyFrom(from);
1521 return *this;
1522 }
1523 inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept {
1524 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1525 if (this != &from) InternalSwap(&from);
1526 } else {
1527 CopyFrom(from);
1528 }
1529 return *this;
1530 }
1531
unknown_fields()1532 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1533 return _internal_metadata_.unknown_fields();
1534 }
mutable_unknown_fields()1535 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1536 return _internal_metadata_.mutable_unknown_fields();
1537 }
1538
GetArena()1539 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1540 return GetArenaNoVirtual();
1541 }
GetMaybeArenaPointer()1542 inline void* GetMaybeArenaPointer() const final {
1543 return MaybeArenaPtr();
1544 }
descriptor()1545 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1546 return GetDescriptor();
1547 }
GetDescriptor()1548 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1549 return GetMetadataStatic().descriptor;
1550 }
GetReflection()1551 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1552 return GetMetadataStatic().reflection;
1553 }
1554 static const ExtensionRangeOptions& default_instance();
1555
1556 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1557 static inline const ExtensionRangeOptions* internal_default_instance() {
1558 return reinterpret_cast<const ExtensionRangeOptions*>(
1559 &_ExtensionRangeOptions_default_instance_);
1560 }
1561 static constexpr int kIndexInFileMessages =
1562 5;
1563
swap(ExtensionRangeOptions & a,ExtensionRangeOptions & b)1564 friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) {
1565 a.Swap(&b);
1566 }
Swap(ExtensionRangeOptions * other)1567 inline void Swap(ExtensionRangeOptions* other) {
1568 if (other == this) return;
1569 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1570 InternalSwap(other);
1571 } else {
1572 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1573 }
1574 }
UnsafeArenaSwap(ExtensionRangeOptions * other)1575 void UnsafeArenaSwap(ExtensionRangeOptions* other) {
1576 if (other == this) return;
1577 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1578 InternalSwap(other);
1579 }
1580
1581 // implements Message ----------------------------------------------
1582
New()1583 inline ExtensionRangeOptions* New() const final {
1584 return CreateMaybeMessage<ExtensionRangeOptions>(nullptr);
1585 }
1586
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1587 ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1588 return CreateMaybeMessage<ExtensionRangeOptions>(arena);
1589 }
1590 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1591 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1592 void CopyFrom(const ExtensionRangeOptions& from);
1593 void MergeFrom(const ExtensionRangeOptions& from);
1594 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1595 bool IsInitialized() const final;
1596
1597 size_t ByteSizeLong() const final;
1598 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1599 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1600 #else
1601 bool MergePartialFromCodedStream(
1602 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1603 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1604 void SerializeWithCachedSizes(
1605 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1606 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1607 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()1608 int GetCachedSize() const final { return _cached_size_.Get(); }
1609
1610 private:
1611 inline void SharedCtor();
1612 inline void SharedDtor();
1613 void SetCachedSize(int size) const final;
1614 void InternalSwap(ExtensionRangeOptions* other);
1615 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1616 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1617 return "google.protobuf.ExtensionRangeOptions";
1618 }
1619 protected:
1620 explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1621 private:
1622 static void ArenaDtor(void* object);
1623 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1624 private:
GetArenaNoVirtual()1625 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1626 return _internal_metadata_.arena();
1627 }
MaybeArenaPtr()1628 inline void* MaybeArenaPtr() const {
1629 return _internal_metadata_.raw_arena_ptr();
1630 }
1631 public:
1632
1633 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1634 private:
GetMetadataStatic()1635 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1636 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1637 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
1638 }
1639
1640 public:
1641
1642 // nested types ----------------------------------------------------
1643
1644 // accessors -------------------------------------------------------
1645
1646 enum : int {
1647 kUninterpretedOptionFieldNumber = 999,
1648 };
1649 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
1650 int uninterpreted_option_size() const;
1651 void clear_uninterpreted_option();
1652 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
1653 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
1654 mutable_uninterpreted_option();
1655 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
1656 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
1657 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
1658 uninterpreted_option() const;
1659
1660 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ExtensionRangeOptions)
1661 // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions)
1662 private:
1663 class _Internal;
1664
1665 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1666
1667 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1668 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1669 typedef void InternalArenaConstructable_;
1670 typedef void DestructorSkippable_;
1671 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1672 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1673 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
1674 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1675 };
1676 // -------------------------------------------------------------------
1677
1678 class PROTOBUF_EXPORT FieldDescriptorProto :
1679 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ {
1680 public:
1681 FieldDescriptorProto();
1682 virtual ~FieldDescriptorProto();
1683
1684 FieldDescriptorProto(const FieldDescriptorProto& from);
FieldDescriptorProto(FieldDescriptorProto && from)1685 FieldDescriptorProto(FieldDescriptorProto&& from) noexcept
1686 : FieldDescriptorProto() {
1687 *this = ::std::move(from);
1688 }
1689
1690 inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
1691 CopyFrom(from);
1692 return *this;
1693 }
1694 inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept {
1695 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1696 if (this != &from) InternalSwap(&from);
1697 } else {
1698 CopyFrom(from);
1699 }
1700 return *this;
1701 }
1702
unknown_fields()1703 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1704 return _internal_metadata_.unknown_fields();
1705 }
mutable_unknown_fields()1706 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1707 return _internal_metadata_.mutable_unknown_fields();
1708 }
1709
GetArena()1710 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1711 return GetArenaNoVirtual();
1712 }
GetMaybeArenaPointer()1713 inline void* GetMaybeArenaPointer() const final {
1714 return MaybeArenaPtr();
1715 }
descriptor()1716 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1717 return GetDescriptor();
1718 }
GetDescriptor()1719 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1720 return GetMetadataStatic().descriptor;
1721 }
GetReflection()1722 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1723 return GetMetadataStatic().reflection;
1724 }
1725 static const FieldDescriptorProto& default_instance();
1726
1727 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1728 static inline const FieldDescriptorProto* internal_default_instance() {
1729 return reinterpret_cast<const FieldDescriptorProto*>(
1730 &_FieldDescriptorProto_default_instance_);
1731 }
1732 static constexpr int kIndexInFileMessages =
1733 6;
1734
swap(FieldDescriptorProto & a,FieldDescriptorProto & b)1735 friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) {
1736 a.Swap(&b);
1737 }
Swap(FieldDescriptorProto * other)1738 inline void Swap(FieldDescriptorProto* other) {
1739 if (other == this) return;
1740 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1741 InternalSwap(other);
1742 } else {
1743 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1744 }
1745 }
UnsafeArenaSwap(FieldDescriptorProto * other)1746 void UnsafeArenaSwap(FieldDescriptorProto* other) {
1747 if (other == this) return;
1748 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1749 InternalSwap(other);
1750 }
1751
1752 // implements Message ----------------------------------------------
1753
New()1754 inline FieldDescriptorProto* New() const final {
1755 return CreateMaybeMessage<FieldDescriptorProto>(nullptr);
1756 }
1757
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1758 FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1759 return CreateMaybeMessage<FieldDescriptorProto>(arena);
1760 }
1761 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1762 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1763 void CopyFrom(const FieldDescriptorProto& from);
1764 void MergeFrom(const FieldDescriptorProto& from);
1765 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1766 bool IsInitialized() const final;
1767
1768 size_t ByteSizeLong() const final;
1769 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1770 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1771 #else
1772 bool MergePartialFromCodedStream(
1773 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1774 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1775 void SerializeWithCachedSizes(
1776 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1777 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1778 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()1779 int GetCachedSize() const final { return _cached_size_.Get(); }
1780
1781 private:
1782 inline void SharedCtor();
1783 inline void SharedDtor();
1784 void SetCachedSize(int size) const final;
1785 void InternalSwap(FieldDescriptorProto* other);
1786 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1787 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1788 return "google.protobuf.FieldDescriptorProto";
1789 }
1790 protected:
1791 explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1792 private:
1793 static void ArenaDtor(void* object);
1794 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1795 private:
GetArenaNoVirtual()1796 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1797 return _internal_metadata_.arena();
1798 }
MaybeArenaPtr()1799 inline void* MaybeArenaPtr() const {
1800 return _internal_metadata_.raw_arena_ptr();
1801 }
1802 public:
1803
1804 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1805 private:
GetMetadataStatic()1806 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1807 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1808 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
1809 }
1810
1811 public:
1812
1813 // nested types ----------------------------------------------------
1814
1815 typedef FieldDescriptorProto_Type Type;
1816 static constexpr Type TYPE_DOUBLE =
1817 FieldDescriptorProto_Type_TYPE_DOUBLE;
1818 static constexpr Type TYPE_FLOAT =
1819 FieldDescriptorProto_Type_TYPE_FLOAT;
1820 static constexpr Type TYPE_INT64 =
1821 FieldDescriptorProto_Type_TYPE_INT64;
1822 static constexpr Type TYPE_UINT64 =
1823 FieldDescriptorProto_Type_TYPE_UINT64;
1824 static constexpr Type TYPE_INT32 =
1825 FieldDescriptorProto_Type_TYPE_INT32;
1826 static constexpr Type TYPE_FIXED64 =
1827 FieldDescriptorProto_Type_TYPE_FIXED64;
1828 static constexpr Type TYPE_FIXED32 =
1829 FieldDescriptorProto_Type_TYPE_FIXED32;
1830 static constexpr Type TYPE_BOOL =
1831 FieldDescriptorProto_Type_TYPE_BOOL;
1832 static constexpr Type TYPE_STRING =
1833 FieldDescriptorProto_Type_TYPE_STRING;
1834 static constexpr Type TYPE_GROUP =
1835 FieldDescriptorProto_Type_TYPE_GROUP;
1836 static constexpr Type TYPE_MESSAGE =
1837 FieldDescriptorProto_Type_TYPE_MESSAGE;
1838 static constexpr Type TYPE_BYTES =
1839 FieldDescriptorProto_Type_TYPE_BYTES;
1840 static constexpr Type TYPE_UINT32 =
1841 FieldDescriptorProto_Type_TYPE_UINT32;
1842 static constexpr Type TYPE_ENUM =
1843 FieldDescriptorProto_Type_TYPE_ENUM;
1844 static constexpr Type TYPE_SFIXED32 =
1845 FieldDescriptorProto_Type_TYPE_SFIXED32;
1846 static constexpr Type TYPE_SFIXED64 =
1847 FieldDescriptorProto_Type_TYPE_SFIXED64;
1848 static constexpr Type TYPE_SINT32 =
1849 FieldDescriptorProto_Type_TYPE_SINT32;
1850 static constexpr Type TYPE_SINT64 =
1851 FieldDescriptorProto_Type_TYPE_SINT64;
Type_IsValid(int value)1852 static inline bool Type_IsValid(int value) {
1853 return FieldDescriptorProto_Type_IsValid(value);
1854 }
1855 static constexpr Type Type_MIN =
1856 FieldDescriptorProto_Type_Type_MIN;
1857 static constexpr Type Type_MAX =
1858 FieldDescriptorProto_Type_Type_MAX;
1859 static constexpr int Type_ARRAYSIZE =
1860 FieldDescriptorProto_Type_Type_ARRAYSIZE;
1861 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
Type_descriptor()1862 Type_descriptor() {
1863 return FieldDescriptorProto_Type_descriptor();
1864 }
1865 template<typename T>
Type_Name(T enum_t_value)1866 static inline const std::string& Type_Name(T enum_t_value) {
1867 static_assert(::std::is_same<T, Type>::value ||
1868 ::std::is_integral<T>::value,
1869 "Incorrect type passed to function Type_Name.");
1870 return FieldDescriptorProto_Type_Name(enum_t_value);
1871 }
Type_Parse(const std::string & name,Type * value)1872 static inline bool Type_Parse(const std::string& name,
1873 Type* value) {
1874 return FieldDescriptorProto_Type_Parse(name, value);
1875 }
1876
1877 typedef FieldDescriptorProto_Label Label;
1878 static constexpr Label LABEL_OPTIONAL =
1879 FieldDescriptorProto_Label_LABEL_OPTIONAL;
1880 static constexpr Label LABEL_REQUIRED =
1881 FieldDescriptorProto_Label_LABEL_REQUIRED;
1882 static constexpr Label LABEL_REPEATED =
1883 FieldDescriptorProto_Label_LABEL_REPEATED;
Label_IsValid(int value)1884 static inline bool Label_IsValid(int value) {
1885 return FieldDescriptorProto_Label_IsValid(value);
1886 }
1887 static constexpr Label Label_MIN =
1888 FieldDescriptorProto_Label_Label_MIN;
1889 static constexpr Label Label_MAX =
1890 FieldDescriptorProto_Label_Label_MAX;
1891 static constexpr int Label_ARRAYSIZE =
1892 FieldDescriptorProto_Label_Label_ARRAYSIZE;
1893 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
Label_descriptor()1894 Label_descriptor() {
1895 return FieldDescriptorProto_Label_descriptor();
1896 }
1897 template<typename T>
Label_Name(T enum_t_value)1898 static inline const std::string& Label_Name(T enum_t_value) {
1899 static_assert(::std::is_same<T, Label>::value ||
1900 ::std::is_integral<T>::value,
1901 "Incorrect type passed to function Label_Name.");
1902 return FieldDescriptorProto_Label_Name(enum_t_value);
1903 }
Label_Parse(const std::string & name,Label * value)1904 static inline bool Label_Parse(const std::string& name,
1905 Label* value) {
1906 return FieldDescriptorProto_Label_Parse(name, value);
1907 }
1908
1909 // accessors -------------------------------------------------------
1910
1911 enum : int {
1912 kNameFieldNumber = 1,
1913 kExtendeeFieldNumber = 2,
1914 kTypeNameFieldNumber = 6,
1915 kDefaultValueFieldNumber = 7,
1916 kJsonNameFieldNumber = 10,
1917 kOptionsFieldNumber = 8,
1918 kNumberFieldNumber = 3,
1919 kOneofIndexFieldNumber = 9,
1920 kLabelFieldNumber = 4,
1921 kTypeFieldNumber = 5,
1922 };
1923 // optional string name = 1;
1924 bool has_name() const;
1925 void clear_name();
1926 const std::string& name() const;
1927 void set_name(const std::string& value);
1928 void set_name(std::string&& value);
1929 void set_name(const char* value);
1930 void set_name(const char* value, size_t size);
1931 std::string* mutable_name();
1932 std::string* release_name();
1933 void set_allocated_name(std::string* name);
1934 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1935 " string fields are deprecated and will be removed in a"
1936 " future release.")
1937 std::string* unsafe_arena_release_name();
1938 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1939 " string fields are deprecated and will be removed in a"
1940 " future release.")
1941 void unsafe_arena_set_allocated_name(
1942 std::string* name);
1943
1944 // optional string extendee = 2;
1945 bool has_extendee() const;
1946 void clear_extendee();
1947 const std::string& extendee() const;
1948 void set_extendee(const std::string& value);
1949 void set_extendee(std::string&& value);
1950 void set_extendee(const char* value);
1951 void set_extendee(const char* value, size_t size);
1952 std::string* mutable_extendee();
1953 std::string* release_extendee();
1954 void set_allocated_extendee(std::string* extendee);
1955 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1956 " string fields are deprecated and will be removed in a"
1957 " future release.")
1958 std::string* unsafe_arena_release_extendee();
1959 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1960 " string fields are deprecated and will be removed in a"
1961 " future release.")
1962 void unsafe_arena_set_allocated_extendee(
1963 std::string* extendee);
1964
1965 // optional string type_name = 6;
1966 bool has_type_name() const;
1967 void clear_type_name();
1968 const std::string& type_name() const;
1969 void set_type_name(const std::string& value);
1970 void set_type_name(std::string&& value);
1971 void set_type_name(const char* value);
1972 void set_type_name(const char* value, size_t size);
1973 std::string* mutable_type_name();
1974 std::string* release_type_name();
1975 void set_allocated_type_name(std::string* type_name);
1976 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1977 " string fields are deprecated and will be removed in a"
1978 " future release.")
1979 std::string* unsafe_arena_release_type_name();
1980 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1981 " string fields are deprecated and will be removed in a"
1982 " future release.")
1983 void unsafe_arena_set_allocated_type_name(
1984 std::string* type_name);
1985
1986 // optional string default_value = 7;
1987 bool has_default_value() const;
1988 void clear_default_value();
1989 const std::string& default_value() const;
1990 void set_default_value(const std::string& value);
1991 void set_default_value(std::string&& value);
1992 void set_default_value(const char* value);
1993 void set_default_value(const char* value, size_t size);
1994 std::string* mutable_default_value();
1995 std::string* release_default_value();
1996 void set_allocated_default_value(std::string* default_value);
1997 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1998 " string fields are deprecated and will be removed in a"
1999 " future release.")
2000 std::string* unsafe_arena_release_default_value();
2001 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2002 " string fields are deprecated and will be removed in a"
2003 " future release.")
2004 void unsafe_arena_set_allocated_default_value(
2005 std::string* default_value);
2006
2007 // optional string json_name = 10;
2008 bool has_json_name() const;
2009 void clear_json_name();
2010 const std::string& json_name() const;
2011 void set_json_name(const std::string& value);
2012 void set_json_name(std::string&& value);
2013 void set_json_name(const char* value);
2014 void set_json_name(const char* value, size_t size);
2015 std::string* mutable_json_name();
2016 std::string* release_json_name();
2017 void set_allocated_json_name(std::string* json_name);
2018 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2019 " string fields are deprecated and will be removed in a"
2020 " future release.")
2021 std::string* unsafe_arena_release_json_name();
2022 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2023 " string fields are deprecated and will be removed in a"
2024 " future release.")
2025 void unsafe_arena_set_allocated_json_name(
2026 std::string* json_name);
2027
2028 // optional .google.protobuf.FieldOptions options = 8;
2029 bool has_options() const;
2030 void clear_options();
2031 const PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
2032 PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
2033 PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
2034 void set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2035 void unsafe_arena_set_allocated_options(
2036 PROTOBUF_NAMESPACE_ID::FieldOptions* options);
2037 PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options();
2038
2039 // optional int32 number = 3;
2040 bool has_number() const;
2041 void clear_number();
2042 ::PROTOBUF_NAMESPACE_ID::int32 number() const;
2043 void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
2044
2045 // optional int32 oneof_index = 9;
2046 bool has_oneof_index() const;
2047 void clear_oneof_index();
2048 ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const;
2049 void set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value);
2050
2051 // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
2052 bool has_label() const;
2053 void clear_label();
2054 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const;
2055 void set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
2056
2057 // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
2058 bool has_type() const;
2059 void clear_type();
2060 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const;
2061 void set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
2062
2063 // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
2064 private:
2065 class _Internal;
2066
2067 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2068 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2069 typedef void InternalArenaConstructable_;
2070 typedef void DestructorSkippable_;
2071 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2072 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2073 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2074 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_;
2075 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
2076 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_;
2077 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_;
2078 PROTOBUF_NAMESPACE_ID::FieldOptions* options_;
2079 ::PROTOBUF_NAMESPACE_ID::int32 number_;
2080 ::PROTOBUF_NAMESPACE_ID::int32 oneof_index_;
2081 int label_;
2082 int type_;
2083 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2084 };
2085 // -------------------------------------------------------------------
2086
2087 class PROTOBUF_EXPORT OneofDescriptorProto :
2088 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ {
2089 public:
2090 OneofDescriptorProto();
2091 virtual ~OneofDescriptorProto();
2092
2093 OneofDescriptorProto(const OneofDescriptorProto& from);
OneofDescriptorProto(OneofDescriptorProto && from)2094 OneofDescriptorProto(OneofDescriptorProto&& from) noexcept
2095 : OneofDescriptorProto() {
2096 *this = ::std::move(from);
2097 }
2098
2099 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
2100 CopyFrom(from);
2101 return *this;
2102 }
2103 inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept {
2104 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2105 if (this != &from) InternalSwap(&from);
2106 } else {
2107 CopyFrom(from);
2108 }
2109 return *this;
2110 }
2111
unknown_fields()2112 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2113 return _internal_metadata_.unknown_fields();
2114 }
mutable_unknown_fields()2115 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2116 return _internal_metadata_.mutable_unknown_fields();
2117 }
2118
GetArena()2119 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2120 return GetArenaNoVirtual();
2121 }
GetMaybeArenaPointer()2122 inline void* GetMaybeArenaPointer() const final {
2123 return MaybeArenaPtr();
2124 }
descriptor()2125 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2126 return GetDescriptor();
2127 }
GetDescriptor()2128 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2129 return GetMetadataStatic().descriptor;
2130 }
GetReflection()2131 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2132 return GetMetadataStatic().reflection;
2133 }
2134 static const OneofDescriptorProto& default_instance();
2135
2136 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2137 static inline const OneofDescriptorProto* internal_default_instance() {
2138 return reinterpret_cast<const OneofDescriptorProto*>(
2139 &_OneofDescriptorProto_default_instance_);
2140 }
2141 static constexpr int kIndexInFileMessages =
2142 7;
2143
swap(OneofDescriptorProto & a,OneofDescriptorProto & b)2144 friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) {
2145 a.Swap(&b);
2146 }
Swap(OneofDescriptorProto * other)2147 inline void Swap(OneofDescriptorProto* other) {
2148 if (other == this) return;
2149 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2150 InternalSwap(other);
2151 } else {
2152 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2153 }
2154 }
UnsafeArenaSwap(OneofDescriptorProto * other)2155 void UnsafeArenaSwap(OneofDescriptorProto* other) {
2156 if (other == this) return;
2157 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2158 InternalSwap(other);
2159 }
2160
2161 // implements Message ----------------------------------------------
2162
New()2163 inline OneofDescriptorProto* New() const final {
2164 return CreateMaybeMessage<OneofDescriptorProto>(nullptr);
2165 }
2166
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2167 OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2168 return CreateMaybeMessage<OneofDescriptorProto>(arena);
2169 }
2170 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2171 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2172 void CopyFrom(const OneofDescriptorProto& from);
2173 void MergeFrom(const OneofDescriptorProto& from);
2174 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2175 bool IsInitialized() const final;
2176
2177 size_t ByteSizeLong() const final;
2178 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2179 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2180 #else
2181 bool MergePartialFromCodedStream(
2182 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2183 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2184 void SerializeWithCachedSizes(
2185 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2186 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2187 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()2188 int GetCachedSize() const final { return _cached_size_.Get(); }
2189
2190 private:
2191 inline void SharedCtor();
2192 inline void SharedDtor();
2193 void SetCachedSize(int size) const final;
2194 void InternalSwap(OneofDescriptorProto* other);
2195 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2196 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2197 return "google.protobuf.OneofDescriptorProto";
2198 }
2199 protected:
2200 explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2201 private:
2202 static void ArenaDtor(void* object);
2203 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2204 private:
GetArenaNoVirtual()2205 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2206 return _internal_metadata_.arena();
2207 }
MaybeArenaPtr()2208 inline void* MaybeArenaPtr() const {
2209 return _internal_metadata_.raw_arena_ptr();
2210 }
2211 public:
2212
2213 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2214 private:
GetMetadataStatic()2215 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2216 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2217 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
2218 }
2219
2220 public:
2221
2222 // nested types ----------------------------------------------------
2223
2224 // accessors -------------------------------------------------------
2225
2226 enum : int {
2227 kNameFieldNumber = 1,
2228 kOptionsFieldNumber = 2,
2229 };
2230 // optional string name = 1;
2231 bool has_name() const;
2232 void clear_name();
2233 const std::string& name() const;
2234 void set_name(const std::string& value);
2235 void set_name(std::string&& value);
2236 void set_name(const char* value);
2237 void set_name(const char* value, size_t size);
2238 std::string* mutable_name();
2239 std::string* release_name();
2240 void set_allocated_name(std::string* name);
2241 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2242 " string fields are deprecated and will be removed in a"
2243 " future release.")
2244 std::string* unsafe_arena_release_name();
2245 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2246 " string fields are deprecated and will be removed in a"
2247 " future release.")
2248 void unsafe_arena_set_allocated_name(
2249 std::string* name);
2250
2251 // optional .google.protobuf.OneofOptions options = 2;
2252 bool has_options() const;
2253 void clear_options();
2254 const PROTOBUF_NAMESPACE_ID::OneofOptions& options() const;
2255 PROTOBUF_NAMESPACE_ID::OneofOptions* release_options();
2256 PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options();
2257 void set_allocated_options(PROTOBUF_NAMESPACE_ID::OneofOptions* options);
2258 void unsafe_arena_set_allocated_options(
2259 PROTOBUF_NAMESPACE_ID::OneofOptions* options);
2260 PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options();
2261
2262 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
2263 private:
2264 class _Internal;
2265
2266 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2268 typedef void InternalArenaConstructable_;
2269 typedef void DestructorSkippable_;
2270 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2271 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2272 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2273 PROTOBUF_NAMESPACE_ID::OneofOptions* options_;
2274 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2275 };
2276 // -------------------------------------------------------------------
2277
2278 class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange :
2279 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ {
2280 public:
2281 EnumDescriptorProto_EnumReservedRange();
2282 virtual ~EnumDescriptorProto_EnumReservedRange();
2283
2284 EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from);
EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange && from)2285 EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept
2286 : EnumDescriptorProto_EnumReservedRange() {
2287 *this = ::std::move(from);
2288 }
2289
2290 inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) {
2291 CopyFrom(from);
2292 return *this;
2293 }
2294 inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept {
2295 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2296 if (this != &from) InternalSwap(&from);
2297 } else {
2298 CopyFrom(from);
2299 }
2300 return *this;
2301 }
2302
unknown_fields()2303 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2304 return _internal_metadata_.unknown_fields();
2305 }
mutable_unknown_fields()2306 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2307 return _internal_metadata_.mutable_unknown_fields();
2308 }
2309
GetArena()2310 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2311 return GetArenaNoVirtual();
2312 }
GetMaybeArenaPointer()2313 inline void* GetMaybeArenaPointer() const final {
2314 return MaybeArenaPtr();
2315 }
descriptor()2316 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2317 return GetDescriptor();
2318 }
GetDescriptor()2319 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2320 return GetMetadataStatic().descriptor;
2321 }
GetReflection()2322 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2323 return GetMetadataStatic().reflection;
2324 }
2325 static const EnumDescriptorProto_EnumReservedRange& default_instance();
2326
2327 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2328 static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() {
2329 return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>(
2330 &_EnumDescriptorProto_EnumReservedRange_default_instance_);
2331 }
2332 static constexpr int kIndexInFileMessages =
2333 8;
2334
swap(EnumDescriptorProto_EnumReservedRange & a,EnumDescriptorProto_EnumReservedRange & b)2335 friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) {
2336 a.Swap(&b);
2337 }
Swap(EnumDescriptorProto_EnumReservedRange * other)2338 inline void Swap(EnumDescriptorProto_EnumReservedRange* other) {
2339 if (other == this) return;
2340 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2341 InternalSwap(other);
2342 } else {
2343 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2344 }
2345 }
UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange * other)2346 void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) {
2347 if (other == this) return;
2348 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2349 InternalSwap(other);
2350 }
2351
2352 // implements Message ----------------------------------------------
2353
New()2354 inline EnumDescriptorProto_EnumReservedRange* New() const final {
2355 return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(nullptr);
2356 }
2357
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2358 EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2359 return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena);
2360 }
2361 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2362 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2363 void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from);
2364 void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from);
2365 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2366 bool IsInitialized() const final;
2367
2368 size_t ByteSizeLong() const final;
2369 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2370 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2371 #else
2372 bool MergePartialFromCodedStream(
2373 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2374 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2375 void SerializeWithCachedSizes(
2376 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2377 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2378 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()2379 int GetCachedSize() const final { return _cached_size_.Get(); }
2380
2381 private:
2382 inline void SharedCtor();
2383 inline void SharedDtor();
2384 void SetCachedSize(int size) const final;
2385 void InternalSwap(EnumDescriptorProto_EnumReservedRange* other);
2386 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2387 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2388 return "google.protobuf.EnumDescriptorProto.EnumReservedRange";
2389 }
2390 protected:
2391 explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2392 private:
2393 static void ArenaDtor(void* object);
2394 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2395 private:
GetArenaNoVirtual()2396 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2397 return _internal_metadata_.arena();
2398 }
MaybeArenaPtr()2399 inline void* MaybeArenaPtr() const {
2400 return _internal_metadata_.raw_arena_ptr();
2401 }
2402 public:
2403
2404 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2405 private:
GetMetadataStatic()2406 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2407 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2408 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
2409 }
2410
2411 public:
2412
2413 // nested types ----------------------------------------------------
2414
2415 // accessors -------------------------------------------------------
2416
2417 enum : int {
2418 kStartFieldNumber = 1,
2419 kEndFieldNumber = 2,
2420 };
2421 // optional int32 start = 1;
2422 bool has_start() const;
2423 void clear_start();
2424 ::PROTOBUF_NAMESPACE_ID::int32 start() const;
2425 void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
2426
2427 // optional int32 end = 2;
2428 bool has_end() const;
2429 void clear_end();
2430 ::PROTOBUF_NAMESPACE_ID::int32 end() const;
2431 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
2432
2433 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
2434 private:
2435 class _Internal;
2436
2437 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2438 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2439 typedef void InternalArenaConstructable_;
2440 typedef void DestructorSkippable_;
2441 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2442 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2443 ::PROTOBUF_NAMESPACE_ID::int32 start_;
2444 ::PROTOBUF_NAMESPACE_ID::int32 end_;
2445 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2446 };
2447 // -------------------------------------------------------------------
2448
2449 class PROTOBUF_EXPORT EnumDescriptorProto :
2450 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ {
2451 public:
2452 EnumDescriptorProto();
2453 virtual ~EnumDescriptorProto();
2454
2455 EnumDescriptorProto(const EnumDescriptorProto& from);
EnumDescriptorProto(EnumDescriptorProto && from)2456 EnumDescriptorProto(EnumDescriptorProto&& from) noexcept
2457 : EnumDescriptorProto() {
2458 *this = ::std::move(from);
2459 }
2460
2461 inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
2462 CopyFrom(from);
2463 return *this;
2464 }
2465 inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept {
2466 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2467 if (this != &from) InternalSwap(&from);
2468 } else {
2469 CopyFrom(from);
2470 }
2471 return *this;
2472 }
2473
unknown_fields()2474 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2475 return _internal_metadata_.unknown_fields();
2476 }
mutable_unknown_fields()2477 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2478 return _internal_metadata_.mutable_unknown_fields();
2479 }
2480
GetArena()2481 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2482 return GetArenaNoVirtual();
2483 }
GetMaybeArenaPointer()2484 inline void* GetMaybeArenaPointer() const final {
2485 return MaybeArenaPtr();
2486 }
descriptor()2487 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2488 return GetDescriptor();
2489 }
GetDescriptor()2490 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2491 return GetMetadataStatic().descriptor;
2492 }
GetReflection()2493 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2494 return GetMetadataStatic().reflection;
2495 }
2496 static const EnumDescriptorProto& default_instance();
2497
2498 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2499 static inline const EnumDescriptorProto* internal_default_instance() {
2500 return reinterpret_cast<const EnumDescriptorProto*>(
2501 &_EnumDescriptorProto_default_instance_);
2502 }
2503 static constexpr int kIndexInFileMessages =
2504 9;
2505
swap(EnumDescriptorProto & a,EnumDescriptorProto & b)2506 friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) {
2507 a.Swap(&b);
2508 }
Swap(EnumDescriptorProto * other)2509 inline void Swap(EnumDescriptorProto* other) {
2510 if (other == this) return;
2511 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2512 InternalSwap(other);
2513 } else {
2514 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2515 }
2516 }
UnsafeArenaSwap(EnumDescriptorProto * other)2517 void UnsafeArenaSwap(EnumDescriptorProto* other) {
2518 if (other == this) return;
2519 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2520 InternalSwap(other);
2521 }
2522
2523 // implements Message ----------------------------------------------
2524
New()2525 inline EnumDescriptorProto* New() const final {
2526 return CreateMaybeMessage<EnumDescriptorProto>(nullptr);
2527 }
2528
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2529 EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2530 return CreateMaybeMessage<EnumDescriptorProto>(arena);
2531 }
2532 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2533 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2534 void CopyFrom(const EnumDescriptorProto& from);
2535 void MergeFrom(const EnumDescriptorProto& from);
2536 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2537 bool IsInitialized() const final;
2538
2539 size_t ByteSizeLong() const final;
2540 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2541 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2542 #else
2543 bool MergePartialFromCodedStream(
2544 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2545 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2546 void SerializeWithCachedSizes(
2547 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2548 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2549 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()2550 int GetCachedSize() const final { return _cached_size_.Get(); }
2551
2552 private:
2553 inline void SharedCtor();
2554 inline void SharedDtor();
2555 void SetCachedSize(int size) const final;
2556 void InternalSwap(EnumDescriptorProto* other);
2557 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2558 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2559 return "google.protobuf.EnumDescriptorProto";
2560 }
2561 protected:
2562 explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2563 private:
2564 static void ArenaDtor(void* object);
2565 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2566 private:
GetArenaNoVirtual()2567 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2568 return _internal_metadata_.arena();
2569 }
MaybeArenaPtr()2570 inline void* MaybeArenaPtr() const {
2571 return _internal_metadata_.raw_arena_ptr();
2572 }
2573 public:
2574
2575 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2576 private:
GetMetadataStatic()2577 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2578 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2579 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
2580 }
2581
2582 public:
2583
2584 // nested types ----------------------------------------------------
2585
2586 typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange;
2587
2588 // accessors -------------------------------------------------------
2589
2590 enum : int {
2591 kValueFieldNumber = 2,
2592 kReservedRangeFieldNumber = 4,
2593 kReservedNameFieldNumber = 5,
2594 kNameFieldNumber = 1,
2595 kOptionsFieldNumber = 3,
2596 };
2597 // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
2598 int value_size() const;
2599 void clear_value();
2600 PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index);
2601 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
2602 mutable_value();
2603 const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const;
2604 PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value();
2605 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
2606 value() const;
2607
2608 // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
2609 int reserved_range_size() const;
2610 void clear_reserved_range();
2611 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index);
2612 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
2613 mutable_reserved_range();
2614 const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const;
2615 PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range();
2616 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
2617 reserved_range() const;
2618
2619 // repeated string reserved_name = 5;
2620 int reserved_name_size() const;
2621 void clear_reserved_name();
2622 const std::string& reserved_name(int index) const;
2623 std::string* mutable_reserved_name(int index);
2624 void set_reserved_name(int index, const std::string& value);
2625 void set_reserved_name(int index, std::string&& value);
2626 void set_reserved_name(int index, const char* value);
2627 void set_reserved_name(int index, const char* value, size_t size);
2628 std::string* add_reserved_name();
2629 void add_reserved_name(const std::string& value);
2630 void add_reserved_name(std::string&& value);
2631 void add_reserved_name(const char* value);
2632 void add_reserved_name(const char* value, size_t size);
2633 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
2634 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
2635
2636 // optional string name = 1;
2637 bool has_name() const;
2638 void clear_name();
2639 const std::string& name() const;
2640 void set_name(const std::string& value);
2641 void set_name(std::string&& value);
2642 void set_name(const char* value);
2643 void set_name(const char* value, size_t size);
2644 std::string* mutable_name();
2645 std::string* release_name();
2646 void set_allocated_name(std::string* name);
2647 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2648 " string fields are deprecated and will be removed in a"
2649 " future release.")
2650 std::string* unsafe_arena_release_name();
2651 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2652 " string fields are deprecated and will be removed in a"
2653 " future release.")
2654 void unsafe_arena_set_allocated_name(
2655 std::string* name);
2656
2657 // optional .google.protobuf.EnumOptions options = 3;
2658 bool has_options() const;
2659 void clear_options();
2660 const PROTOBUF_NAMESPACE_ID::EnumOptions& options() const;
2661 PROTOBUF_NAMESPACE_ID::EnumOptions* release_options();
2662 PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options();
2663 void set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumOptions* options);
2664 void unsafe_arena_set_allocated_options(
2665 PROTOBUF_NAMESPACE_ID::EnumOptions* options);
2666 PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options();
2667
2668 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
2669 private:
2670 class _Internal;
2671
2672 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2673 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2674 typedef void InternalArenaConstructable_;
2675 typedef void DestructorSkippable_;
2676 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2677 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2678 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_;
2679 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_;
2680 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
2681 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2682 PROTOBUF_NAMESPACE_ID::EnumOptions* options_;
2683 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2684 };
2685 // -------------------------------------------------------------------
2686
2687 class PROTOBUF_EXPORT EnumValueDescriptorProto :
2688 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ {
2689 public:
2690 EnumValueDescriptorProto();
2691 virtual ~EnumValueDescriptorProto();
2692
2693 EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
EnumValueDescriptorProto(EnumValueDescriptorProto && from)2694 EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept
2695 : EnumValueDescriptorProto() {
2696 *this = ::std::move(from);
2697 }
2698
2699 inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
2700 CopyFrom(from);
2701 return *this;
2702 }
2703 inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept {
2704 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2705 if (this != &from) InternalSwap(&from);
2706 } else {
2707 CopyFrom(from);
2708 }
2709 return *this;
2710 }
2711
unknown_fields()2712 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2713 return _internal_metadata_.unknown_fields();
2714 }
mutable_unknown_fields()2715 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2716 return _internal_metadata_.mutable_unknown_fields();
2717 }
2718
GetArena()2719 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2720 return GetArenaNoVirtual();
2721 }
GetMaybeArenaPointer()2722 inline void* GetMaybeArenaPointer() const final {
2723 return MaybeArenaPtr();
2724 }
descriptor()2725 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2726 return GetDescriptor();
2727 }
GetDescriptor()2728 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2729 return GetMetadataStatic().descriptor;
2730 }
GetReflection()2731 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2732 return GetMetadataStatic().reflection;
2733 }
2734 static const EnumValueDescriptorProto& default_instance();
2735
2736 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2737 static inline const EnumValueDescriptorProto* internal_default_instance() {
2738 return reinterpret_cast<const EnumValueDescriptorProto*>(
2739 &_EnumValueDescriptorProto_default_instance_);
2740 }
2741 static constexpr int kIndexInFileMessages =
2742 10;
2743
swap(EnumValueDescriptorProto & a,EnumValueDescriptorProto & b)2744 friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) {
2745 a.Swap(&b);
2746 }
Swap(EnumValueDescriptorProto * other)2747 inline void Swap(EnumValueDescriptorProto* other) {
2748 if (other == this) return;
2749 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2750 InternalSwap(other);
2751 } else {
2752 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2753 }
2754 }
UnsafeArenaSwap(EnumValueDescriptorProto * other)2755 void UnsafeArenaSwap(EnumValueDescriptorProto* other) {
2756 if (other == this) return;
2757 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2758 InternalSwap(other);
2759 }
2760
2761 // implements Message ----------------------------------------------
2762
New()2763 inline EnumValueDescriptorProto* New() const final {
2764 return CreateMaybeMessage<EnumValueDescriptorProto>(nullptr);
2765 }
2766
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2767 EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2768 return CreateMaybeMessage<EnumValueDescriptorProto>(arena);
2769 }
2770 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2771 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2772 void CopyFrom(const EnumValueDescriptorProto& from);
2773 void MergeFrom(const EnumValueDescriptorProto& from);
2774 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2775 bool IsInitialized() const final;
2776
2777 size_t ByteSizeLong() const final;
2778 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2779 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2780 #else
2781 bool MergePartialFromCodedStream(
2782 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2783 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2784 void SerializeWithCachedSizes(
2785 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2786 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2787 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()2788 int GetCachedSize() const final { return _cached_size_.Get(); }
2789
2790 private:
2791 inline void SharedCtor();
2792 inline void SharedDtor();
2793 void SetCachedSize(int size) const final;
2794 void InternalSwap(EnumValueDescriptorProto* other);
2795 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2796 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2797 return "google.protobuf.EnumValueDescriptorProto";
2798 }
2799 protected:
2800 explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2801 private:
2802 static void ArenaDtor(void* object);
2803 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2804 private:
GetArenaNoVirtual()2805 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2806 return _internal_metadata_.arena();
2807 }
MaybeArenaPtr()2808 inline void* MaybeArenaPtr() const {
2809 return _internal_metadata_.raw_arena_ptr();
2810 }
2811 public:
2812
2813 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2814 private:
GetMetadataStatic()2815 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2816 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
2817 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
2818 }
2819
2820 public:
2821
2822 // nested types ----------------------------------------------------
2823
2824 // accessors -------------------------------------------------------
2825
2826 enum : int {
2827 kNameFieldNumber = 1,
2828 kOptionsFieldNumber = 3,
2829 kNumberFieldNumber = 2,
2830 };
2831 // optional string name = 1;
2832 bool has_name() const;
2833 void clear_name();
2834 const std::string& name() const;
2835 void set_name(const std::string& value);
2836 void set_name(std::string&& value);
2837 void set_name(const char* value);
2838 void set_name(const char* value, size_t size);
2839 std::string* mutable_name();
2840 std::string* release_name();
2841 void set_allocated_name(std::string* name);
2842 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2843 " string fields are deprecated and will be removed in a"
2844 " future release.")
2845 std::string* unsafe_arena_release_name();
2846 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2847 " string fields are deprecated and will be removed in a"
2848 " future release.")
2849 void unsafe_arena_set_allocated_name(
2850 std::string* name);
2851
2852 // optional .google.protobuf.EnumValueOptions options = 3;
2853 bool has_options() const;
2854 void clear_options();
2855 const PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const;
2856 PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options();
2857 PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options();
2858 void set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
2859 void unsafe_arena_set_allocated_options(
2860 PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
2861 PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options();
2862
2863 // optional int32 number = 2;
2864 bool has_number() const;
2865 void clear_number();
2866 ::PROTOBUF_NAMESPACE_ID::int32 number() const;
2867 void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
2868
2869 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
2870 private:
2871 class _Internal;
2872
2873 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2874 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2875 typedef void InternalArenaConstructable_;
2876 typedef void DestructorSkippable_;
2877 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2878 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2879 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2880 PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_;
2881 ::PROTOBUF_NAMESPACE_ID::int32 number_;
2882 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2883 };
2884 // -------------------------------------------------------------------
2885
2886 class PROTOBUF_EXPORT ServiceDescriptorProto :
2887 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ {
2888 public:
2889 ServiceDescriptorProto();
2890 virtual ~ServiceDescriptorProto();
2891
2892 ServiceDescriptorProto(const ServiceDescriptorProto& from);
ServiceDescriptorProto(ServiceDescriptorProto && from)2893 ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept
2894 : ServiceDescriptorProto() {
2895 *this = ::std::move(from);
2896 }
2897
2898 inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
2899 CopyFrom(from);
2900 return *this;
2901 }
2902 inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept {
2903 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2904 if (this != &from) InternalSwap(&from);
2905 } else {
2906 CopyFrom(from);
2907 }
2908 return *this;
2909 }
2910
unknown_fields()2911 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2912 return _internal_metadata_.unknown_fields();
2913 }
mutable_unknown_fields()2914 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2915 return _internal_metadata_.mutable_unknown_fields();
2916 }
2917
GetArena()2918 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2919 return GetArenaNoVirtual();
2920 }
GetMaybeArenaPointer()2921 inline void* GetMaybeArenaPointer() const final {
2922 return MaybeArenaPtr();
2923 }
descriptor()2924 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2925 return GetDescriptor();
2926 }
GetDescriptor()2927 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2928 return GetMetadataStatic().descriptor;
2929 }
GetReflection()2930 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2931 return GetMetadataStatic().reflection;
2932 }
2933 static const ServiceDescriptorProto& default_instance();
2934
2935 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2936 static inline const ServiceDescriptorProto* internal_default_instance() {
2937 return reinterpret_cast<const ServiceDescriptorProto*>(
2938 &_ServiceDescriptorProto_default_instance_);
2939 }
2940 static constexpr int kIndexInFileMessages =
2941 11;
2942
swap(ServiceDescriptorProto & a,ServiceDescriptorProto & b)2943 friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) {
2944 a.Swap(&b);
2945 }
Swap(ServiceDescriptorProto * other)2946 inline void Swap(ServiceDescriptorProto* other) {
2947 if (other == this) return;
2948 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2949 InternalSwap(other);
2950 } else {
2951 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2952 }
2953 }
UnsafeArenaSwap(ServiceDescriptorProto * other)2954 void UnsafeArenaSwap(ServiceDescriptorProto* other) {
2955 if (other == this) return;
2956 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2957 InternalSwap(other);
2958 }
2959
2960 // implements Message ----------------------------------------------
2961
New()2962 inline ServiceDescriptorProto* New() const final {
2963 return CreateMaybeMessage<ServiceDescriptorProto>(nullptr);
2964 }
2965
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2966 ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2967 return CreateMaybeMessage<ServiceDescriptorProto>(arena);
2968 }
2969 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2970 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2971 void CopyFrom(const ServiceDescriptorProto& from);
2972 void MergeFrom(const ServiceDescriptorProto& from);
2973 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2974 bool IsInitialized() const final;
2975
2976 size_t ByteSizeLong() const final;
2977 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2978 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2979 #else
2980 bool MergePartialFromCodedStream(
2981 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2982 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2983 void SerializeWithCachedSizes(
2984 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2985 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2986 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()2987 int GetCachedSize() const final { return _cached_size_.Get(); }
2988
2989 private:
2990 inline void SharedCtor();
2991 inline void SharedDtor();
2992 void SetCachedSize(int size) const final;
2993 void InternalSwap(ServiceDescriptorProto* other);
2994 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2995 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2996 return "google.protobuf.ServiceDescriptorProto";
2997 }
2998 protected:
2999 explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3000 private:
3001 static void ArenaDtor(void* object);
3002 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3003 private:
GetArenaNoVirtual()3004 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3005 return _internal_metadata_.arena();
3006 }
MaybeArenaPtr()3007 inline void* MaybeArenaPtr() const {
3008 return _internal_metadata_.raw_arena_ptr();
3009 }
3010 public:
3011
3012 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3013 private:
GetMetadataStatic()3014 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3015 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
3016 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
3017 }
3018
3019 public:
3020
3021 // nested types ----------------------------------------------------
3022
3023 // accessors -------------------------------------------------------
3024
3025 enum : int {
3026 kMethodFieldNumber = 2,
3027 kNameFieldNumber = 1,
3028 kOptionsFieldNumber = 3,
3029 };
3030 // repeated .google.protobuf.MethodDescriptorProto method = 2;
3031 int method_size() const;
3032 void clear_method();
3033 PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index);
3034 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
3035 mutable_method();
3036 const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const;
3037 PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method();
3038 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
3039 method() const;
3040
3041 // optional string name = 1;
3042 bool has_name() const;
3043 void clear_name();
3044 const std::string& name() const;
3045 void set_name(const std::string& value);
3046 void set_name(std::string&& value);
3047 void set_name(const char* value);
3048 void set_name(const char* value, size_t size);
3049 std::string* mutable_name();
3050 std::string* release_name();
3051 void set_allocated_name(std::string* name);
3052 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3053 " string fields are deprecated and will be removed in a"
3054 " future release.")
3055 std::string* unsafe_arena_release_name();
3056 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3057 " string fields are deprecated and will be removed in a"
3058 " future release.")
3059 void unsafe_arena_set_allocated_name(
3060 std::string* name);
3061
3062 // optional .google.protobuf.ServiceOptions options = 3;
3063 bool has_options() const;
3064 void clear_options();
3065 const PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const;
3066 PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options();
3067 PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options();
3068 void set_allocated_options(PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
3069 void unsafe_arena_set_allocated_options(
3070 PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
3071 PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options();
3072
3073 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
3074 private:
3075 class _Internal;
3076
3077 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3078 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3079 typedef void InternalArenaConstructable_;
3080 typedef void DestructorSkippable_;
3081 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3082 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3083 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_;
3084 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
3085 PROTOBUF_NAMESPACE_ID::ServiceOptions* options_;
3086 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
3087 };
3088 // -------------------------------------------------------------------
3089
3090 class PROTOBUF_EXPORT MethodDescriptorProto :
3091 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ {
3092 public:
3093 MethodDescriptorProto();
3094 virtual ~MethodDescriptorProto();
3095
3096 MethodDescriptorProto(const MethodDescriptorProto& from);
MethodDescriptorProto(MethodDescriptorProto && from)3097 MethodDescriptorProto(MethodDescriptorProto&& from) noexcept
3098 : MethodDescriptorProto() {
3099 *this = ::std::move(from);
3100 }
3101
3102 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
3103 CopyFrom(from);
3104 return *this;
3105 }
3106 inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept {
3107 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3108 if (this != &from) InternalSwap(&from);
3109 } else {
3110 CopyFrom(from);
3111 }
3112 return *this;
3113 }
3114
unknown_fields()3115 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3116 return _internal_metadata_.unknown_fields();
3117 }
mutable_unknown_fields()3118 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3119 return _internal_metadata_.mutable_unknown_fields();
3120 }
3121
GetArena()3122 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3123 return GetArenaNoVirtual();
3124 }
GetMaybeArenaPointer()3125 inline void* GetMaybeArenaPointer() const final {
3126 return MaybeArenaPtr();
3127 }
descriptor()3128 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3129 return GetDescriptor();
3130 }
GetDescriptor()3131 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3132 return GetMetadataStatic().descriptor;
3133 }
GetReflection()3134 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3135 return GetMetadataStatic().reflection;
3136 }
3137 static const MethodDescriptorProto& default_instance();
3138
3139 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3140 static inline const MethodDescriptorProto* internal_default_instance() {
3141 return reinterpret_cast<const MethodDescriptorProto*>(
3142 &_MethodDescriptorProto_default_instance_);
3143 }
3144 static constexpr int kIndexInFileMessages =
3145 12;
3146
swap(MethodDescriptorProto & a,MethodDescriptorProto & b)3147 friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) {
3148 a.Swap(&b);
3149 }
Swap(MethodDescriptorProto * other)3150 inline void Swap(MethodDescriptorProto* other) {
3151 if (other == this) return;
3152 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3153 InternalSwap(other);
3154 } else {
3155 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3156 }
3157 }
UnsafeArenaSwap(MethodDescriptorProto * other)3158 void UnsafeArenaSwap(MethodDescriptorProto* other) {
3159 if (other == this) return;
3160 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3161 InternalSwap(other);
3162 }
3163
3164 // implements Message ----------------------------------------------
3165
New()3166 inline MethodDescriptorProto* New() const final {
3167 return CreateMaybeMessage<MethodDescriptorProto>(nullptr);
3168 }
3169
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3170 MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3171 return CreateMaybeMessage<MethodDescriptorProto>(arena);
3172 }
3173 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3174 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3175 void CopyFrom(const MethodDescriptorProto& from);
3176 void MergeFrom(const MethodDescriptorProto& from);
3177 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3178 bool IsInitialized() const final;
3179
3180 size_t ByteSizeLong() const final;
3181 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3182 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3183 #else
3184 bool MergePartialFromCodedStream(
3185 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3186 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3187 void SerializeWithCachedSizes(
3188 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3189 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3190 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()3191 int GetCachedSize() const final { return _cached_size_.Get(); }
3192
3193 private:
3194 inline void SharedCtor();
3195 inline void SharedDtor();
3196 void SetCachedSize(int size) const final;
3197 void InternalSwap(MethodDescriptorProto* other);
3198 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3199 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3200 return "google.protobuf.MethodDescriptorProto";
3201 }
3202 protected:
3203 explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3204 private:
3205 static void ArenaDtor(void* object);
3206 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3207 private:
GetArenaNoVirtual()3208 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3209 return _internal_metadata_.arena();
3210 }
MaybeArenaPtr()3211 inline void* MaybeArenaPtr() const {
3212 return _internal_metadata_.raw_arena_ptr();
3213 }
3214 public:
3215
3216 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3217 private:
GetMetadataStatic()3218 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3219 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
3220 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
3221 }
3222
3223 public:
3224
3225 // nested types ----------------------------------------------------
3226
3227 // accessors -------------------------------------------------------
3228
3229 enum : int {
3230 kNameFieldNumber = 1,
3231 kInputTypeFieldNumber = 2,
3232 kOutputTypeFieldNumber = 3,
3233 kOptionsFieldNumber = 4,
3234 kClientStreamingFieldNumber = 5,
3235 kServerStreamingFieldNumber = 6,
3236 };
3237 // optional string name = 1;
3238 bool has_name() const;
3239 void clear_name();
3240 const std::string& name() const;
3241 void set_name(const std::string& value);
3242 void set_name(std::string&& value);
3243 void set_name(const char* value);
3244 void set_name(const char* value, size_t size);
3245 std::string* mutable_name();
3246 std::string* release_name();
3247 void set_allocated_name(std::string* name);
3248 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3249 " string fields are deprecated and will be removed in a"
3250 " future release.")
3251 std::string* unsafe_arena_release_name();
3252 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3253 " string fields are deprecated and will be removed in a"
3254 " future release.")
3255 void unsafe_arena_set_allocated_name(
3256 std::string* name);
3257
3258 // optional string input_type = 2;
3259 bool has_input_type() const;
3260 void clear_input_type();
3261 const std::string& input_type() const;
3262 void set_input_type(const std::string& value);
3263 void set_input_type(std::string&& value);
3264 void set_input_type(const char* value);
3265 void set_input_type(const char* value, size_t size);
3266 std::string* mutable_input_type();
3267 std::string* release_input_type();
3268 void set_allocated_input_type(std::string* input_type);
3269 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3270 " string fields are deprecated and will be removed in a"
3271 " future release.")
3272 std::string* unsafe_arena_release_input_type();
3273 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3274 " string fields are deprecated and will be removed in a"
3275 " future release.")
3276 void unsafe_arena_set_allocated_input_type(
3277 std::string* input_type);
3278
3279 // optional string output_type = 3;
3280 bool has_output_type() const;
3281 void clear_output_type();
3282 const std::string& output_type() const;
3283 void set_output_type(const std::string& value);
3284 void set_output_type(std::string&& value);
3285 void set_output_type(const char* value);
3286 void set_output_type(const char* value, size_t size);
3287 std::string* mutable_output_type();
3288 std::string* release_output_type();
3289 void set_allocated_output_type(std::string* output_type);
3290 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3291 " string fields are deprecated and will be removed in a"
3292 " future release.")
3293 std::string* unsafe_arena_release_output_type();
3294 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3295 " string fields are deprecated and will be removed in a"
3296 " future release.")
3297 void unsafe_arena_set_allocated_output_type(
3298 std::string* output_type);
3299
3300 // optional .google.protobuf.MethodOptions options = 4;
3301 bool has_options() const;
3302 void clear_options();
3303 const PROTOBUF_NAMESPACE_ID::MethodOptions& options() const;
3304 PROTOBUF_NAMESPACE_ID::MethodOptions* release_options();
3305 PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options();
3306 void set_allocated_options(PROTOBUF_NAMESPACE_ID::MethodOptions* options);
3307 void unsafe_arena_set_allocated_options(
3308 PROTOBUF_NAMESPACE_ID::MethodOptions* options);
3309 PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options();
3310
3311 // optional bool client_streaming = 5 [default = false];
3312 bool has_client_streaming() const;
3313 void clear_client_streaming();
3314 bool client_streaming() const;
3315 void set_client_streaming(bool value);
3316
3317 // optional bool server_streaming = 6 [default = false];
3318 bool has_server_streaming() const;
3319 void clear_server_streaming();
3320 bool server_streaming() const;
3321 void set_server_streaming(bool value);
3322
3323 // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
3324 private:
3325 class _Internal;
3326
3327 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3328 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3329 typedef void InternalArenaConstructable_;
3330 typedef void DestructorSkippable_;
3331 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3332 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3333 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
3334 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_;
3335 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_;
3336 PROTOBUF_NAMESPACE_ID::MethodOptions* options_;
3337 bool client_streaming_;
3338 bool server_streaming_;
3339 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
3340 };
3341 // -------------------------------------------------------------------
3342
3343 class PROTOBUF_EXPORT FileOptions :
3344 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
3345 public:
3346 FileOptions();
3347 virtual ~FileOptions();
3348
3349 FileOptions(const FileOptions& from);
FileOptions(FileOptions && from)3350 FileOptions(FileOptions&& from) noexcept
3351 : FileOptions() {
3352 *this = ::std::move(from);
3353 }
3354
3355 inline FileOptions& operator=(const FileOptions& from) {
3356 CopyFrom(from);
3357 return *this;
3358 }
3359 inline FileOptions& operator=(FileOptions&& from) noexcept {
3360 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3361 if (this != &from) InternalSwap(&from);
3362 } else {
3363 CopyFrom(from);
3364 }
3365 return *this;
3366 }
3367
unknown_fields()3368 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3369 return _internal_metadata_.unknown_fields();
3370 }
mutable_unknown_fields()3371 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3372 return _internal_metadata_.mutable_unknown_fields();
3373 }
3374
GetArena()3375 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3376 return GetArenaNoVirtual();
3377 }
GetMaybeArenaPointer()3378 inline void* GetMaybeArenaPointer() const final {
3379 return MaybeArenaPtr();
3380 }
descriptor()3381 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3382 return GetDescriptor();
3383 }
GetDescriptor()3384 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3385 return GetMetadataStatic().descriptor;
3386 }
GetReflection()3387 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3388 return GetMetadataStatic().reflection;
3389 }
3390 static const FileOptions& default_instance();
3391
3392 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3393 static inline const FileOptions* internal_default_instance() {
3394 return reinterpret_cast<const FileOptions*>(
3395 &_FileOptions_default_instance_);
3396 }
3397 static constexpr int kIndexInFileMessages =
3398 13;
3399
swap(FileOptions & a,FileOptions & b)3400 friend void swap(FileOptions& a, FileOptions& b) {
3401 a.Swap(&b);
3402 }
Swap(FileOptions * other)3403 inline void Swap(FileOptions* other) {
3404 if (other == this) return;
3405 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3406 InternalSwap(other);
3407 } else {
3408 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3409 }
3410 }
UnsafeArenaSwap(FileOptions * other)3411 void UnsafeArenaSwap(FileOptions* other) {
3412 if (other == this) return;
3413 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3414 InternalSwap(other);
3415 }
3416
3417 // implements Message ----------------------------------------------
3418
New()3419 inline FileOptions* New() const final {
3420 return CreateMaybeMessage<FileOptions>(nullptr);
3421 }
3422
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3423 FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3424 return CreateMaybeMessage<FileOptions>(arena);
3425 }
3426 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3427 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3428 void CopyFrom(const FileOptions& from);
3429 void MergeFrom(const FileOptions& from);
3430 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3431 bool IsInitialized() const final;
3432
3433 size_t ByteSizeLong() const final;
3434 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3435 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3436 #else
3437 bool MergePartialFromCodedStream(
3438 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3439 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3440 void SerializeWithCachedSizes(
3441 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3442 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3443 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()3444 int GetCachedSize() const final { return _cached_size_.Get(); }
3445
3446 private:
3447 inline void SharedCtor();
3448 inline void SharedDtor();
3449 void SetCachedSize(int size) const final;
3450 void InternalSwap(FileOptions* other);
3451 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3452 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3453 return "google.protobuf.FileOptions";
3454 }
3455 protected:
3456 explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3457 private:
3458 static void ArenaDtor(void* object);
3459 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3460 private:
GetArenaNoVirtual()3461 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3462 return _internal_metadata_.arena();
3463 }
MaybeArenaPtr()3464 inline void* MaybeArenaPtr() const {
3465 return _internal_metadata_.raw_arena_ptr();
3466 }
3467 public:
3468
3469 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3470 private:
GetMetadataStatic()3471 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3472 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
3473 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
3474 }
3475
3476 public:
3477
3478 // nested types ----------------------------------------------------
3479
3480 typedef FileOptions_OptimizeMode OptimizeMode;
3481 static constexpr OptimizeMode SPEED =
3482 FileOptions_OptimizeMode_SPEED;
3483 static constexpr OptimizeMode CODE_SIZE =
3484 FileOptions_OptimizeMode_CODE_SIZE;
3485 static constexpr OptimizeMode LITE_RUNTIME =
3486 FileOptions_OptimizeMode_LITE_RUNTIME;
OptimizeMode_IsValid(int value)3487 static inline bool OptimizeMode_IsValid(int value) {
3488 return FileOptions_OptimizeMode_IsValid(value);
3489 }
3490 static constexpr OptimizeMode OptimizeMode_MIN =
3491 FileOptions_OptimizeMode_OptimizeMode_MIN;
3492 static constexpr OptimizeMode OptimizeMode_MAX =
3493 FileOptions_OptimizeMode_OptimizeMode_MAX;
3494 static constexpr int OptimizeMode_ARRAYSIZE =
3495 FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
3496 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
OptimizeMode_descriptor()3497 OptimizeMode_descriptor() {
3498 return FileOptions_OptimizeMode_descriptor();
3499 }
3500 template<typename T>
OptimizeMode_Name(T enum_t_value)3501 static inline const std::string& OptimizeMode_Name(T enum_t_value) {
3502 static_assert(::std::is_same<T, OptimizeMode>::value ||
3503 ::std::is_integral<T>::value,
3504 "Incorrect type passed to function OptimizeMode_Name.");
3505 return FileOptions_OptimizeMode_Name(enum_t_value);
3506 }
OptimizeMode_Parse(const std::string & name,OptimizeMode * value)3507 static inline bool OptimizeMode_Parse(const std::string& name,
3508 OptimizeMode* value) {
3509 return FileOptions_OptimizeMode_Parse(name, value);
3510 }
3511
3512 // accessors -------------------------------------------------------
3513
3514 enum : int {
3515 kUninterpretedOptionFieldNumber = 999,
3516 kJavaPackageFieldNumber = 1,
3517 kJavaOuterClassnameFieldNumber = 8,
3518 kGoPackageFieldNumber = 11,
3519 kObjcClassPrefixFieldNumber = 36,
3520 kCsharpNamespaceFieldNumber = 37,
3521 kSwiftPrefixFieldNumber = 39,
3522 kPhpClassPrefixFieldNumber = 40,
3523 kPhpNamespaceFieldNumber = 41,
3524 kPhpMetadataNamespaceFieldNumber = 44,
3525 kRubyPackageFieldNumber = 45,
3526 kJavaMultipleFilesFieldNumber = 10,
3527 kJavaGenerateEqualsAndHashFieldNumber = 20,
3528 kJavaStringCheckUtf8FieldNumber = 27,
3529 kCcGenericServicesFieldNumber = 16,
3530 kJavaGenericServicesFieldNumber = 17,
3531 kPyGenericServicesFieldNumber = 18,
3532 kPhpGenericServicesFieldNumber = 42,
3533 kDeprecatedFieldNumber = 23,
3534 kCcEnableArenasFieldNumber = 31,
3535 kOptimizeForFieldNumber = 9,
3536 };
3537 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3538 int uninterpreted_option_size() const;
3539 void clear_uninterpreted_option();
3540 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
3541 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
3542 mutable_uninterpreted_option();
3543 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
3544 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
3545 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
3546 uninterpreted_option() const;
3547
3548 // optional string java_package = 1;
3549 bool has_java_package() const;
3550 void clear_java_package();
3551 const std::string& java_package() const;
3552 void set_java_package(const std::string& value);
3553 void set_java_package(std::string&& value);
3554 void set_java_package(const char* value);
3555 void set_java_package(const char* value, size_t size);
3556 std::string* mutable_java_package();
3557 std::string* release_java_package();
3558 void set_allocated_java_package(std::string* java_package);
3559 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3560 " string fields are deprecated and will be removed in a"
3561 " future release.")
3562 std::string* unsafe_arena_release_java_package();
3563 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3564 " string fields are deprecated and will be removed in a"
3565 " future release.")
3566 void unsafe_arena_set_allocated_java_package(
3567 std::string* java_package);
3568
3569 // optional string java_outer_classname = 8;
3570 bool has_java_outer_classname() const;
3571 void clear_java_outer_classname();
3572 const std::string& java_outer_classname() const;
3573 void set_java_outer_classname(const std::string& value);
3574 void set_java_outer_classname(std::string&& value);
3575 void set_java_outer_classname(const char* value);
3576 void set_java_outer_classname(const char* value, size_t size);
3577 std::string* mutable_java_outer_classname();
3578 std::string* release_java_outer_classname();
3579 void set_allocated_java_outer_classname(std::string* java_outer_classname);
3580 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3581 " string fields are deprecated and will be removed in a"
3582 " future release.")
3583 std::string* unsafe_arena_release_java_outer_classname();
3584 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3585 " string fields are deprecated and will be removed in a"
3586 " future release.")
3587 void unsafe_arena_set_allocated_java_outer_classname(
3588 std::string* java_outer_classname);
3589
3590 // optional string go_package = 11;
3591 bool has_go_package() const;
3592 void clear_go_package();
3593 const std::string& go_package() const;
3594 void set_go_package(const std::string& value);
3595 void set_go_package(std::string&& value);
3596 void set_go_package(const char* value);
3597 void set_go_package(const char* value, size_t size);
3598 std::string* mutable_go_package();
3599 std::string* release_go_package();
3600 void set_allocated_go_package(std::string* go_package);
3601 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3602 " string fields are deprecated and will be removed in a"
3603 " future release.")
3604 std::string* unsafe_arena_release_go_package();
3605 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3606 " string fields are deprecated and will be removed in a"
3607 " future release.")
3608 void unsafe_arena_set_allocated_go_package(
3609 std::string* go_package);
3610
3611 // optional string objc_class_prefix = 36;
3612 bool has_objc_class_prefix() const;
3613 void clear_objc_class_prefix();
3614 const std::string& objc_class_prefix() const;
3615 void set_objc_class_prefix(const std::string& value);
3616 void set_objc_class_prefix(std::string&& value);
3617 void set_objc_class_prefix(const char* value);
3618 void set_objc_class_prefix(const char* value, size_t size);
3619 std::string* mutable_objc_class_prefix();
3620 std::string* release_objc_class_prefix();
3621 void set_allocated_objc_class_prefix(std::string* objc_class_prefix);
3622 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3623 " string fields are deprecated and will be removed in a"
3624 " future release.")
3625 std::string* unsafe_arena_release_objc_class_prefix();
3626 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3627 " string fields are deprecated and will be removed in a"
3628 " future release.")
3629 void unsafe_arena_set_allocated_objc_class_prefix(
3630 std::string* objc_class_prefix);
3631
3632 // optional string csharp_namespace = 37;
3633 bool has_csharp_namespace() const;
3634 void clear_csharp_namespace();
3635 const std::string& csharp_namespace() const;
3636 void set_csharp_namespace(const std::string& value);
3637 void set_csharp_namespace(std::string&& value);
3638 void set_csharp_namespace(const char* value);
3639 void set_csharp_namespace(const char* value, size_t size);
3640 std::string* mutable_csharp_namespace();
3641 std::string* release_csharp_namespace();
3642 void set_allocated_csharp_namespace(std::string* csharp_namespace);
3643 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3644 " string fields are deprecated and will be removed in a"
3645 " future release.")
3646 std::string* unsafe_arena_release_csharp_namespace();
3647 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3648 " string fields are deprecated and will be removed in a"
3649 " future release.")
3650 void unsafe_arena_set_allocated_csharp_namespace(
3651 std::string* csharp_namespace);
3652
3653 // optional string swift_prefix = 39;
3654 bool has_swift_prefix() const;
3655 void clear_swift_prefix();
3656 const std::string& swift_prefix() const;
3657 void set_swift_prefix(const std::string& value);
3658 void set_swift_prefix(std::string&& value);
3659 void set_swift_prefix(const char* value);
3660 void set_swift_prefix(const char* value, size_t size);
3661 std::string* mutable_swift_prefix();
3662 std::string* release_swift_prefix();
3663 void set_allocated_swift_prefix(std::string* swift_prefix);
3664 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3665 " string fields are deprecated and will be removed in a"
3666 " future release.")
3667 std::string* unsafe_arena_release_swift_prefix();
3668 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3669 " string fields are deprecated and will be removed in a"
3670 " future release.")
3671 void unsafe_arena_set_allocated_swift_prefix(
3672 std::string* swift_prefix);
3673
3674 // optional string php_class_prefix = 40;
3675 bool has_php_class_prefix() const;
3676 void clear_php_class_prefix();
3677 const std::string& php_class_prefix() const;
3678 void set_php_class_prefix(const std::string& value);
3679 void set_php_class_prefix(std::string&& value);
3680 void set_php_class_prefix(const char* value);
3681 void set_php_class_prefix(const char* value, size_t size);
3682 std::string* mutable_php_class_prefix();
3683 std::string* release_php_class_prefix();
3684 void set_allocated_php_class_prefix(std::string* php_class_prefix);
3685 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3686 " string fields are deprecated and will be removed in a"
3687 " future release.")
3688 std::string* unsafe_arena_release_php_class_prefix();
3689 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3690 " string fields are deprecated and will be removed in a"
3691 " future release.")
3692 void unsafe_arena_set_allocated_php_class_prefix(
3693 std::string* php_class_prefix);
3694
3695 // optional string php_namespace = 41;
3696 bool has_php_namespace() const;
3697 void clear_php_namespace();
3698 const std::string& php_namespace() const;
3699 void set_php_namespace(const std::string& value);
3700 void set_php_namespace(std::string&& value);
3701 void set_php_namespace(const char* value);
3702 void set_php_namespace(const char* value, size_t size);
3703 std::string* mutable_php_namespace();
3704 std::string* release_php_namespace();
3705 void set_allocated_php_namespace(std::string* php_namespace);
3706 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3707 " string fields are deprecated and will be removed in a"
3708 " future release.")
3709 std::string* unsafe_arena_release_php_namespace();
3710 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3711 " string fields are deprecated and will be removed in a"
3712 " future release.")
3713 void unsafe_arena_set_allocated_php_namespace(
3714 std::string* php_namespace);
3715
3716 // optional string php_metadata_namespace = 44;
3717 bool has_php_metadata_namespace() const;
3718 void clear_php_metadata_namespace();
3719 const std::string& php_metadata_namespace() const;
3720 void set_php_metadata_namespace(const std::string& value);
3721 void set_php_metadata_namespace(std::string&& value);
3722 void set_php_metadata_namespace(const char* value);
3723 void set_php_metadata_namespace(const char* value, size_t size);
3724 std::string* mutable_php_metadata_namespace();
3725 std::string* release_php_metadata_namespace();
3726 void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace);
3727 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3728 " string fields are deprecated and will be removed in a"
3729 " future release.")
3730 std::string* unsafe_arena_release_php_metadata_namespace();
3731 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3732 " string fields are deprecated and will be removed in a"
3733 " future release.")
3734 void unsafe_arena_set_allocated_php_metadata_namespace(
3735 std::string* php_metadata_namespace);
3736
3737 // optional string ruby_package = 45;
3738 bool has_ruby_package() const;
3739 void clear_ruby_package();
3740 const std::string& ruby_package() const;
3741 void set_ruby_package(const std::string& value);
3742 void set_ruby_package(std::string&& value);
3743 void set_ruby_package(const char* value);
3744 void set_ruby_package(const char* value, size_t size);
3745 std::string* mutable_ruby_package();
3746 std::string* release_ruby_package();
3747 void set_allocated_ruby_package(std::string* ruby_package);
3748 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3749 " string fields are deprecated and will be removed in a"
3750 " future release.")
3751 std::string* unsafe_arena_release_ruby_package();
3752 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3753 " string fields are deprecated and will be removed in a"
3754 " future release.")
3755 void unsafe_arena_set_allocated_ruby_package(
3756 std::string* ruby_package);
3757
3758 // optional bool java_multiple_files = 10 [default = false];
3759 bool has_java_multiple_files() const;
3760 void clear_java_multiple_files();
3761 bool java_multiple_files() const;
3762 void set_java_multiple_files(bool value);
3763
3764 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
3765 PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const;
3766 PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash();
3767 PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const;
3768 PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value);
3769
3770 // optional bool java_string_check_utf8 = 27 [default = false];
3771 bool has_java_string_check_utf8() const;
3772 void clear_java_string_check_utf8();
3773 bool java_string_check_utf8() const;
3774 void set_java_string_check_utf8(bool value);
3775
3776 // optional bool cc_generic_services = 16 [default = false];
3777 bool has_cc_generic_services() const;
3778 void clear_cc_generic_services();
3779 bool cc_generic_services() const;
3780 void set_cc_generic_services(bool value);
3781
3782 // optional bool java_generic_services = 17 [default = false];
3783 bool has_java_generic_services() const;
3784 void clear_java_generic_services();
3785 bool java_generic_services() const;
3786 void set_java_generic_services(bool value);
3787
3788 // optional bool py_generic_services = 18 [default = false];
3789 bool has_py_generic_services() const;
3790 void clear_py_generic_services();
3791 bool py_generic_services() const;
3792 void set_py_generic_services(bool value);
3793
3794 // optional bool php_generic_services = 42 [default = false];
3795 bool has_php_generic_services() const;
3796 void clear_php_generic_services();
3797 bool php_generic_services() const;
3798 void set_php_generic_services(bool value);
3799
3800 // optional bool deprecated = 23 [default = false];
3801 bool has_deprecated() const;
3802 void clear_deprecated();
3803 bool deprecated() const;
3804 void set_deprecated(bool value);
3805
3806 // optional bool cc_enable_arenas = 31 [default = false];
3807 bool has_cc_enable_arenas() const;
3808 void clear_cc_enable_arenas();
3809 bool cc_enable_arenas() const;
3810 void set_cc_enable_arenas(bool value);
3811
3812 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
3813 bool has_optimize_for() const;
3814 void clear_optimize_for();
3815 PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const;
3816 void set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
3817
3818 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
3819 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
3820 private:
3821 class _Internal;
3822
3823 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
3824
3825 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3826 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3827 typedef void InternalArenaConstructable_;
3828 typedef void DestructorSkippable_;
3829 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3830 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3831 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
3832 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_;
3833 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_;
3834 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_;
3835 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_;
3836 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_;
3837 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_;
3838 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_;
3839 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_;
3840 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_;
3841 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_;
3842 bool java_multiple_files_;
3843 bool java_generate_equals_and_hash_;
3844 bool java_string_check_utf8_;
3845 bool cc_generic_services_;
3846 bool java_generic_services_;
3847 bool py_generic_services_;
3848 bool php_generic_services_;
3849 bool deprecated_;
3850 bool cc_enable_arenas_;
3851 int optimize_for_;
3852 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
3853 };
3854 // -------------------------------------------------------------------
3855
3856 class PROTOBUF_EXPORT MessageOptions :
3857 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
3858 public:
3859 MessageOptions();
3860 virtual ~MessageOptions();
3861
3862 MessageOptions(const MessageOptions& from);
MessageOptions(MessageOptions && from)3863 MessageOptions(MessageOptions&& from) noexcept
3864 : MessageOptions() {
3865 *this = ::std::move(from);
3866 }
3867
3868 inline MessageOptions& operator=(const MessageOptions& from) {
3869 CopyFrom(from);
3870 return *this;
3871 }
3872 inline MessageOptions& operator=(MessageOptions&& from) noexcept {
3873 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3874 if (this != &from) InternalSwap(&from);
3875 } else {
3876 CopyFrom(from);
3877 }
3878 return *this;
3879 }
3880
unknown_fields()3881 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3882 return _internal_metadata_.unknown_fields();
3883 }
mutable_unknown_fields()3884 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3885 return _internal_metadata_.mutable_unknown_fields();
3886 }
3887
GetArena()3888 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3889 return GetArenaNoVirtual();
3890 }
GetMaybeArenaPointer()3891 inline void* GetMaybeArenaPointer() const final {
3892 return MaybeArenaPtr();
3893 }
descriptor()3894 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3895 return GetDescriptor();
3896 }
GetDescriptor()3897 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3898 return GetMetadataStatic().descriptor;
3899 }
GetReflection()3900 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3901 return GetMetadataStatic().reflection;
3902 }
3903 static const MessageOptions& default_instance();
3904
3905 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3906 static inline const MessageOptions* internal_default_instance() {
3907 return reinterpret_cast<const MessageOptions*>(
3908 &_MessageOptions_default_instance_);
3909 }
3910 static constexpr int kIndexInFileMessages =
3911 14;
3912
swap(MessageOptions & a,MessageOptions & b)3913 friend void swap(MessageOptions& a, MessageOptions& b) {
3914 a.Swap(&b);
3915 }
Swap(MessageOptions * other)3916 inline void Swap(MessageOptions* other) {
3917 if (other == this) return;
3918 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3919 InternalSwap(other);
3920 } else {
3921 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3922 }
3923 }
UnsafeArenaSwap(MessageOptions * other)3924 void UnsafeArenaSwap(MessageOptions* other) {
3925 if (other == this) return;
3926 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3927 InternalSwap(other);
3928 }
3929
3930 // implements Message ----------------------------------------------
3931
New()3932 inline MessageOptions* New() const final {
3933 return CreateMaybeMessage<MessageOptions>(nullptr);
3934 }
3935
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3936 MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3937 return CreateMaybeMessage<MessageOptions>(arena);
3938 }
3939 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3940 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3941 void CopyFrom(const MessageOptions& from);
3942 void MergeFrom(const MessageOptions& from);
3943 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3944 bool IsInitialized() const final;
3945
3946 size_t ByteSizeLong() const final;
3947 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3948 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3949 #else
3950 bool MergePartialFromCodedStream(
3951 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3952 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3953 void SerializeWithCachedSizes(
3954 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3955 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3956 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()3957 int GetCachedSize() const final { return _cached_size_.Get(); }
3958
3959 private:
3960 inline void SharedCtor();
3961 inline void SharedDtor();
3962 void SetCachedSize(int size) const final;
3963 void InternalSwap(MessageOptions* other);
3964 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3965 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3966 return "google.protobuf.MessageOptions";
3967 }
3968 protected:
3969 explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3970 private:
3971 static void ArenaDtor(void* object);
3972 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3973 private:
GetArenaNoVirtual()3974 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3975 return _internal_metadata_.arena();
3976 }
MaybeArenaPtr()3977 inline void* MaybeArenaPtr() const {
3978 return _internal_metadata_.raw_arena_ptr();
3979 }
3980 public:
3981
3982 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3983 private:
GetMetadataStatic()3984 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3985 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
3986 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
3987 }
3988
3989 public:
3990
3991 // nested types ----------------------------------------------------
3992
3993 // accessors -------------------------------------------------------
3994
3995 enum : int {
3996 kUninterpretedOptionFieldNumber = 999,
3997 kMessageSetWireFormatFieldNumber = 1,
3998 kNoStandardDescriptorAccessorFieldNumber = 2,
3999 kDeprecatedFieldNumber = 3,
4000 kMapEntryFieldNumber = 7,
4001 };
4002 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4003 int uninterpreted_option_size() const;
4004 void clear_uninterpreted_option();
4005 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
4006 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
4007 mutable_uninterpreted_option();
4008 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
4009 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
4010 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
4011 uninterpreted_option() const;
4012
4013 // optional bool message_set_wire_format = 1 [default = false];
4014 bool has_message_set_wire_format() const;
4015 void clear_message_set_wire_format();
4016 bool message_set_wire_format() const;
4017 void set_message_set_wire_format(bool value);
4018
4019 // optional bool no_standard_descriptor_accessor = 2 [default = false];
4020 bool has_no_standard_descriptor_accessor() const;
4021 void clear_no_standard_descriptor_accessor();
4022 bool no_standard_descriptor_accessor() const;
4023 void set_no_standard_descriptor_accessor(bool value);
4024
4025 // optional bool deprecated = 3 [default = false];
4026 bool has_deprecated() const;
4027 void clear_deprecated();
4028 bool deprecated() const;
4029 void set_deprecated(bool value);
4030
4031 // optional bool map_entry = 7;
4032 bool has_map_entry() const;
4033 void clear_map_entry();
4034 bool map_entry() const;
4035 void set_map_entry(bool value);
4036
4037 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
4038 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
4039 private:
4040 class _Internal;
4041
4042 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
4043
4044 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4045 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4046 typedef void InternalArenaConstructable_;
4047 typedef void DestructorSkippable_;
4048 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4049 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4050 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
4051 bool message_set_wire_format_;
4052 bool no_standard_descriptor_accessor_;
4053 bool deprecated_;
4054 bool map_entry_;
4055 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4056 };
4057 // -------------------------------------------------------------------
4058
4059 class PROTOBUF_EXPORT FieldOptions :
4060 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
4061 public:
4062 FieldOptions();
4063 virtual ~FieldOptions();
4064
4065 FieldOptions(const FieldOptions& from);
FieldOptions(FieldOptions && from)4066 FieldOptions(FieldOptions&& from) noexcept
4067 : FieldOptions() {
4068 *this = ::std::move(from);
4069 }
4070
4071 inline FieldOptions& operator=(const FieldOptions& from) {
4072 CopyFrom(from);
4073 return *this;
4074 }
4075 inline FieldOptions& operator=(FieldOptions&& from) noexcept {
4076 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4077 if (this != &from) InternalSwap(&from);
4078 } else {
4079 CopyFrom(from);
4080 }
4081 return *this;
4082 }
4083
unknown_fields()4084 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4085 return _internal_metadata_.unknown_fields();
4086 }
mutable_unknown_fields()4087 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4088 return _internal_metadata_.mutable_unknown_fields();
4089 }
4090
GetArena()4091 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4092 return GetArenaNoVirtual();
4093 }
GetMaybeArenaPointer()4094 inline void* GetMaybeArenaPointer() const final {
4095 return MaybeArenaPtr();
4096 }
descriptor()4097 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4098 return GetDescriptor();
4099 }
GetDescriptor()4100 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4101 return GetMetadataStatic().descriptor;
4102 }
GetReflection()4103 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4104 return GetMetadataStatic().reflection;
4105 }
4106 static const FieldOptions& default_instance();
4107
4108 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4109 static inline const FieldOptions* internal_default_instance() {
4110 return reinterpret_cast<const FieldOptions*>(
4111 &_FieldOptions_default_instance_);
4112 }
4113 static constexpr int kIndexInFileMessages =
4114 15;
4115
swap(FieldOptions & a,FieldOptions & b)4116 friend void swap(FieldOptions& a, FieldOptions& b) {
4117 a.Swap(&b);
4118 }
Swap(FieldOptions * other)4119 inline void Swap(FieldOptions* other) {
4120 if (other == this) return;
4121 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4122 InternalSwap(other);
4123 } else {
4124 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4125 }
4126 }
UnsafeArenaSwap(FieldOptions * other)4127 void UnsafeArenaSwap(FieldOptions* other) {
4128 if (other == this) return;
4129 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4130 InternalSwap(other);
4131 }
4132
4133 // implements Message ----------------------------------------------
4134
New()4135 inline FieldOptions* New() const final {
4136 return CreateMaybeMessage<FieldOptions>(nullptr);
4137 }
4138
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4139 FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4140 return CreateMaybeMessage<FieldOptions>(arena);
4141 }
4142 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4143 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4144 void CopyFrom(const FieldOptions& from);
4145 void MergeFrom(const FieldOptions& from);
4146 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4147 bool IsInitialized() const final;
4148
4149 size_t ByteSizeLong() const final;
4150 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4151 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4152 #else
4153 bool MergePartialFromCodedStream(
4154 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4155 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4156 void SerializeWithCachedSizes(
4157 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4158 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4159 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()4160 int GetCachedSize() const final { return _cached_size_.Get(); }
4161
4162 private:
4163 inline void SharedCtor();
4164 inline void SharedDtor();
4165 void SetCachedSize(int size) const final;
4166 void InternalSwap(FieldOptions* other);
4167 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4168 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4169 return "google.protobuf.FieldOptions";
4170 }
4171 protected:
4172 explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4173 private:
4174 static void ArenaDtor(void* object);
4175 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4176 private:
GetArenaNoVirtual()4177 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4178 return _internal_metadata_.arena();
4179 }
MaybeArenaPtr()4180 inline void* MaybeArenaPtr() const {
4181 return _internal_metadata_.raw_arena_ptr();
4182 }
4183 public:
4184
4185 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4186 private:
GetMetadataStatic()4187 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4188 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
4189 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
4190 }
4191
4192 public:
4193
4194 // nested types ----------------------------------------------------
4195
4196 typedef FieldOptions_CType CType;
4197 static constexpr CType STRING =
4198 FieldOptions_CType_STRING;
4199 static constexpr CType CORD =
4200 FieldOptions_CType_CORD;
4201 static constexpr CType STRING_PIECE =
4202 FieldOptions_CType_STRING_PIECE;
CType_IsValid(int value)4203 static inline bool CType_IsValid(int value) {
4204 return FieldOptions_CType_IsValid(value);
4205 }
4206 static constexpr CType CType_MIN =
4207 FieldOptions_CType_CType_MIN;
4208 static constexpr CType CType_MAX =
4209 FieldOptions_CType_CType_MAX;
4210 static constexpr int CType_ARRAYSIZE =
4211 FieldOptions_CType_CType_ARRAYSIZE;
4212 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
CType_descriptor()4213 CType_descriptor() {
4214 return FieldOptions_CType_descriptor();
4215 }
4216 template<typename T>
CType_Name(T enum_t_value)4217 static inline const std::string& CType_Name(T enum_t_value) {
4218 static_assert(::std::is_same<T, CType>::value ||
4219 ::std::is_integral<T>::value,
4220 "Incorrect type passed to function CType_Name.");
4221 return FieldOptions_CType_Name(enum_t_value);
4222 }
CType_Parse(const std::string & name,CType * value)4223 static inline bool CType_Parse(const std::string& name,
4224 CType* value) {
4225 return FieldOptions_CType_Parse(name, value);
4226 }
4227
4228 typedef FieldOptions_JSType JSType;
4229 static constexpr JSType JS_NORMAL =
4230 FieldOptions_JSType_JS_NORMAL;
4231 static constexpr JSType JS_STRING =
4232 FieldOptions_JSType_JS_STRING;
4233 static constexpr JSType JS_NUMBER =
4234 FieldOptions_JSType_JS_NUMBER;
JSType_IsValid(int value)4235 static inline bool JSType_IsValid(int value) {
4236 return FieldOptions_JSType_IsValid(value);
4237 }
4238 static constexpr JSType JSType_MIN =
4239 FieldOptions_JSType_JSType_MIN;
4240 static constexpr JSType JSType_MAX =
4241 FieldOptions_JSType_JSType_MAX;
4242 static constexpr int JSType_ARRAYSIZE =
4243 FieldOptions_JSType_JSType_ARRAYSIZE;
4244 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
JSType_descriptor()4245 JSType_descriptor() {
4246 return FieldOptions_JSType_descriptor();
4247 }
4248 template<typename T>
JSType_Name(T enum_t_value)4249 static inline const std::string& JSType_Name(T enum_t_value) {
4250 static_assert(::std::is_same<T, JSType>::value ||
4251 ::std::is_integral<T>::value,
4252 "Incorrect type passed to function JSType_Name.");
4253 return FieldOptions_JSType_Name(enum_t_value);
4254 }
JSType_Parse(const std::string & name,JSType * value)4255 static inline bool JSType_Parse(const std::string& name,
4256 JSType* value) {
4257 return FieldOptions_JSType_Parse(name, value);
4258 }
4259
4260 // accessors -------------------------------------------------------
4261
4262 enum : int {
4263 kUninterpretedOptionFieldNumber = 999,
4264 kCtypeFieldNumber = 1,
4265 kPackedFieldNumber = 2,
4266 kLazyFieldNumber = 5,
4267 kDeprecatedFieldNumber = 3,
4268 kWeakFieldNumber = 10,
4269 kJstypeFieldNumber = 6,
4270 };
4271 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4272 int uninterpreted_option_size() const;
4273 void clear_uninterpreted_option();
4274 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
4275 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
4276 mutable_uninterpreted_option();
4277 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
4278 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
4279 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
4280 uninterpreted_option() const;
4281
4282 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
4283 bool has_ctype() const;
4284 void clear_ctype();
4285 PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const;
4286 void set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
4287
4288 // optional bool packed = 2;
4289 bool has_packed() const;
4290 void clear_packed();
4291 bool packed() const;
4292 void set_packed(bool value);
4293
4294 // optional bool lazy = 5 [default = false];
4295 bool has_lazy() const;
4296 void clear_lazy();
4297 bool lazy() const;
4298 void set_lazy(bool value);
4299
4300 // optional bool deprecated = 3 [default = false];
4301 bool has_deprecated() const;
4302 void clear_deprecated();
4303 bool deprecated() const;
4304 void set_deprecated(bool value);
4305
4306 // optional bool weak = 10 [default = false];
4307 bool has_weak() const;
4308 void clear_weak();
4309 bool weak() const;
4310 void set_weak(bool value);
4311
4312 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
4313 bool has_jstype() const;
4314 void clear_jstype();
4315 PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const;
4316 void set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
4317
4318 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
4319 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
4320 private:
4321 class _Internal;
4322
4323 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
4324
4325 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4326 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4327 typedef void InternalArenaConstructable_;
4328 typedef void DestructorSkippable_;
4329 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4330 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4331 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
4332 int ctype_;
4333 bool packed_;
4334 bool lazy_;
4335 bool deprecated_;
4336 bool weak_;
4337 int jstype_;
4338 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4339 };
4340 // -------------------------------------------------------------------
4341
4342 class PROTOBUF_EXPORT OneofOptions :
4343 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
4344 public:
4345 OneofOptions();
4346 virtual ~OneofOptions();
4347
4348 OneofOptions(const OneofOptions& from);
OneofOptions(OneofOptions && from)4349 OneofOptions(OneofOptions&& from) noexcept
4350 : OneofOptions() {
4351 *this = ::std::move(from);
4352 }
4353
4354 inline OneofOptions& operator=(const OneofOptions& from) {
4355 CopyFrom(from);
4356 return *this;
4357 }
4358 inline OneofOptions& operator=(OneofOptions&& from) noexcept {
4359 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4360 if (this != &from) InternalSwap(&from);
4361 } else {
4362 CopyFrom(from);
4363 }
4364 return *this;
4365 }
4366
unknown_fields()4367 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4368 return _internal_metadata_.unknown_fields();
4369 }
mutable_unknown_fields()4370 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4371 return _internal_metadata_.mutable_unknown_fields();
4372 }
4373
GetArena()4374 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4375 return GetArenaNoVirtual();
4376 }
GetMaybeArenaPointer()4377 inline void* GetMaybeArenaPointer() const final {
4378 return MaybeArenaPtr();
4379 }
descriptor()4380 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4381 return GetDescriptor();
4382 }
GetDescriptor()4383 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4384 return GetMetadataStatic().descriptor;
4385 }
GetReflection()4386 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4387 return GetMetadataStatic().reflection;
4388 }
4389 static const OneofOptions& default_instance();
4390
4391 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4392 static inline const OneofOptions* internal_default_instance() {
4393 return reinterpret_cast<const OneofOptions*>(
4394 &_OneofOptions_default_instance_);
4395 }
4396 static constexpr int kIndexInFileMessages =
4397 16;
4398
swap(OneofOptions & a,OneofOptions & b)4399 friend void swap(OneofOptions& a, OneofOptions& b) {
4400 a.Swap(&b);
4401 }
Swap(OneofOptions * other)4402 inline void Swap(OneofOptions* other) {
4403 if (other == this) return;
4404 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4405 InternalSwap(other);
4406 } else {
4407 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4408 }
4409 }
UnsafeArenaSwap(OneofOptions * other)4410 void UnsafeArenaSwap(OneofOptions* other) {
4411 if (other == this) return;
4412 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4413 InternalSwap(other);
4414 }
4415
4416 // implements Message ----------------------------------------------
4417
New()4418 inline OneofOptions* New() const final {
4419 return CreateMaybeMessage<OneofOptions>(nullptr);
4420 }
4421
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4422 OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4423 return CreateMaybeMessage<OneofOptions>(arena);
4424 }
4425 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4426 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4427 void CopyFrom(const OneofOptions& from);
4428 void MergeFrom(const OneofOptions& from);
4429 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4430 bool IsInitialized() const final;
4431
4432 size_t ByteSizeLong() const final;
4433 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4434 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4435 #else
4436 bool MergePartialFromCodedStream(
4437 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4438 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4439 void SerializeWithCachedSizes(
4440 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4441 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4442 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()4443 int GetCachedSize() const final { return _cached_size_.Get(); }
4444
4445 private:
4446 inline void SharedCtor();
4447 inline void SharedDtor();
4448 void SetCachedSize(int size) const final;
4449 void InternalSwap(OneofOptions* other);
4450 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4451 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4452 return "google.protobuf.OneofOptions";
4453 }
4454 protected:
4455 explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4456 private:
4457 static void ArenaDtor(void* object);
4458 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4459 private:
GetArenaNoVirtual()4460 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4461 return _internal_metadata_.arena();
4462 }
MaybeArenaPtr()4463 inline void* MaybeArenaPtr() const {
4464 return _internal_metadata_.raw_arena_ptr();
4465 }
4466 public:
4467
4468 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4469 private:
GetMetadataStatic()4470 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4471 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
4472 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
4473 }
4474
4475 public:
4476
4477 // nested types ----------------------------------------------------
4478
4479 // accessors -------------------------------------------------------
4480
4481 enum : int {
4482 kUninterpretedOptionFieldNumber = 999,
4483 };
4484 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4485 int uninterpreted_option_size() const;
4486 void clear_uninterpreted_option();
4487 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
4488 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
4489 mutable_uninterpreted_option();
4490 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
4491 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
4492 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
4493 uninterpreted_option() const;
4494
4495 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions)
4496 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
4497 private:
4498 class _Internal;
4499
4500 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
4501
4502 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4503 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4504 typedef void InternalArenaConstructable_;
4505 typedef void DestructorSkippable_;
4506 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4507 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4508 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
4509 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4510 };
4511 // -------------------------------------------------------------------
4512
4513 class PROTOBUF_EXPORT EnumOptions :
4514 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
4515 public:
4516 EnumOptions();
4517 virtual ~EnumOptions();
4518
4519 EnumOptions(const EnumOptions& from);
EnumOptions(EnumOptions && from)4520 EnumOptions(EnumOptions&& from) noexcept
4521 : EnumOptions() {
4522 *this = ::std::move(from);
4523 }
4524
4525 inline EnumOptions& operator=(const EnumOptions& from) {
4526 CopyFrom(from);
4527 return *this;
4528 }
4529 inline EnumOptions& operator=(EnumOptions&& from) noexcept {
4530 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4531 if (this != &from) InternalSwap(&from);
4532 } else {
4533 CopyFrom(from);
4534 }
4535 return *this;
4536 }
4537
unknown_fields()4538 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4539 return _internal_metadata_.unknown_fields();
4540 }
mutable_unknown_fields()4541 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4542 return _internal_metadata_.mutable_unknown_fields();
4543 }
4544
GetArena()4545 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4546 return GetArenaNoVirtual();
4547 }
GetMaybeArenaPointer()4548 inline void* GetMaybeArenaPointer() const final {
4549 return MaybeArenaPtr();
4550 }
descriptor()4551 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4552 return GetDescriptor();
4553 }
GetDescriptor()4554 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4555 return GetMetadataStatic().descriptor;
4556 }
GetReflection()4557 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4558 return GetMetadataStatic().reflection;
4559 }
4560 static const EnumOptions& default_instance();
4561
4562 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4563 static inline const EnumOptions* internal_default_instance() {
4564 return reinterpret_cast<const EnumOptions*>(
4565 &_EnumOptions_default_instance_);
4566 }
4567 static constexpr int kIndexInFileMessages =
4568 17;
4569
swap(EnumOptions & a,EnumOptions & b)4570 friend void swap(EnumOptions& a, EnumOptions& b) {
4571 a.Swap(&b);
4572 }
Swap(EnumOptions * other)4573 inline void Swap(EnumOptions* other) {
4574 if (other == this) return;
4575 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4576 InternalSwap(other);
4577 } else {
4578 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4579 }
4580 }
UnsafeArenaSwap(EnumOptions * other)4581 void UnsafeArenaSwap(EnumOptions* other) {
4582 if (other == this) return;
4583 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4584 InternalSwap(other);
4585 }
4586
4587 // implements Message ----------------------------------------------
4588
New()4589 inline EnumOptions* New() const final {
4590 return CreateMaybeMessage<EnumOptions>(nullptr);
4591 }
4592
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4593 EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4594 return CreateMaybeMessage<EnumOptions>(arena);
4595 }
4596 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4597 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4598 void CopyFrom(const EnumOptions& from);
4599 void MergeFrom(const EnumOptions& from);
4600 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4601 bool IsInitialized() const final;
4602
4603 size_t ByteSizeLong() const final;
4604 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4605 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4606 #else
4607 bool MergePartialFromCodedStream(
4608 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4609 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4610 void SerializeWithCachedSizes(
4611 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4612 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4613 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()4614 int GetCachedSize() const final { return _cached_size_.Get(); }
4615
4616 private:
4617 inline void SharedCtor();
4618 inline void SharedDtor();
4619 void SetCachedSize(int size) const final;
4620 void InternalSwap(EnumOptions* other);
4621 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4622 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4623 return "google.protobuf.EnumOptions";
4624 }
4625 protected:
4626 explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4627 private:
4628 static void ArenaDtor(void* object);
4629 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4630 private:
GetArenaNoVirtual()4631 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4632 return _internal_metadata_.arena();
4633 }
MaybeArenaPtr()4634 inline void* MaybeArenaPtr() const {
4635 return _internal_metadata_.raw_arena_ptr();
4636 }
4637 public:
4638
4639 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4640 private:
GetMetadataStatic()4641 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4642 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
4643 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
4644 }
4645
4646 public:
4647
4648 // nested types ----------------------------------------------------
4649
4650 // accessors -------------------------------------------------------
4651
4652 enum : int {
4653 kUninterpretedOptionFieldNumber = 999,
4654 kAllowAliasFieldNumber = 2,
4655 kDeprecatedFieldNumber = 3,
4656 };
4657 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4658 int uninterpreted_option_size() const;
4659 void clear_uninterpreted_option();
4660 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
4661 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
4662 mutable_uninterpreted_option();
4663 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
4664 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
4665 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
4666 uninterpreted_option() const;
4667
4668 // optional bool allow_alias = 2;
4669 bool has_allow_alias() const;
4670 void clear_allow_alias();
4671 bool allow_alias() const;
4672 void set_allow_alias(bool value);
4673
4674 // optional bool deprecated = 3 [default = false];
4675 bool has_deprecated() const;
4676 void clear_deprecated();
4677 bool deprecated() const;
4678 void set_deprecated(bool value);
4679
4680 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
4681 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
4682 private:
4683 class _Internal;
4684
4685 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
4686
4687 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4688 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4689 typedef void InternalArenaConstructable_;
4690 typedef void DestructorSkippable_;
4691 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4692 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4693 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
4694 bool allow_alias_;
4695 bool deprecated_;
4696 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4697 };
4698 // -------------------------------------------------------------------
4699
4700 class PROTOBUF_EXPORT EnumValueOptions :
4701 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
4702 public:
4703 EnumValueOptions();
4704 virtual ~EnumValueOptions();
4705
4706 EnumValueOptions(const EnumValueOptions& from);
EnumValueOptions(EnumValueOptions && from)4707 EnumValueOptions(EnumValueOptions&& from) noexcept
4708 : EnumValueOptions() {
4709 *this = ::std::move(from);
4710 }
4711
4712 inline EnumValueOptions& operator=(const EnumValueOptions& from) {
4713 CopyFrom(from);
4714 return *this;
4715 }
4716 inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
4717 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4718 if (this != &from) InternalSwap(&from);
4719 } else {
4720 CopyFrom(from);
4721 }
4722 return *this;
4723 }
4724
unknown_fields()4725 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4726 return _internal_metadata_.unknown_fields();
4727 }
mutable_unknown_fields()4728 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4729 return _internal_metadata_.mutable_unknown_fields();
4730 }
4731
GetArena()4732 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4733 return GetArenaNoVirtual();
4734 }
GetMaybeArenaPointer()4735 inline void* GetMaybeArenaPointer() const final {
4736 return MaybeArenaPtr();
4737 }
descriptor()4738 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4739 return GetDescriptor();
4740 }
GetDescriptor()4741 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4742 return GetMetadataStatic().descriptor;
4743 }
GetReflection()4744 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4745 return GetMetadataStatic().reflection;
4746 }
4747 static const EnumValueOptions& default_instance();
4748
4749 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4750 static inline const EnumValueOptions* internal_default_instance() {
4751 return reinterpret_cast<const EnumValueOptions*>(
4752 &_EnumValueOptions_default_instance_);
4753 }
4754 static constexpr int kIndexInFileMessages =
4755 18;
4756
swap(EnumValueOptions & a,EnumValueOptions & b)4757 friend void swap(EnumValueOptions& a, EnumValueOptions& b) {
4758 a.Swap(&b);
4759 }
Swap(EnumValueOptions * other)4760 inline void Swap(EnumValueOptions* other) {
4761 if (other == this) return;
4762 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4763 InternalSwap(other);
4764 } else {
4765 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4766 }
4767 }
UnsafeArenaSwap(EnumValueOptions * other)4768 void UnsafeArenaSwap(EnumValueOptions* other) {
4769 if (other == this) return;
4770 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4771 InternalSwap(other);
4772 }
4773
4774 // implements Message ----------------------------------------------
4775
New()4776 inline EnumValueOptions* New() const final {
4777 return CreateMaybeMessage<EnumValueOptions>(nullptr);
4778 }
4779
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4780 EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4781 return CreateMaybeMessage<EnumValueOptions>(arena);
4782 }
4783 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4784 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4785 void CopyFrom(const EnumValueOptions& from);
4786 void MergeFrom(const EnumValueOptions& from);
4787 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4788 bool IsInitialized() const final;
4789
4790 size_t ByteSizeLong() const final;
4791 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4792 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4793 #else
4794 bool MergePartialFromCodedStream(
4795 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4796 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4797 void SerializeWithCachedSizes(
4798 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4799 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4800 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()4801 int GetCachedSize() const final { return _cached_size_.Get(); }
4802
4803 private:
4804 inline void SharedCtor();
4805 inline void SharedDtor();
4806 void SetCachedSize(int size) const final;
4807 void InternalSwap(EnumValueOptions* other);
4808 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4809 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4810 return "google.protobuf.EnumValueOptions";
4811 }
4812 protected:
4813 explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4814 private:
4815 static void ArenaDtor(void* object);
4816 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4817 private:
GetArenaNoVirtual()4818 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4819 return _internal_metadata_.arena();
4820 }
MaybeArenaPtr()4821 inline void* MaybeArenaPtr() const {
4822 return _internal_metadata_.raw_arena_ptr();
4823 }
4824 public:
4825
4826 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4827 private:
GetMetadataStatic()4828 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4829 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
4830 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
4831 }
4832
4833 public:
4834
4835 // nested types ----------------------------------------------------
4836
4837 // accessors -------------------------------------------------------
4838
4839 enum : int {
4840 kUninterpretedOptionFieldNumber = 999,
4841 kDeprecatedFieldNumber = 1,
4842 };
4843 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4844 int uninterpreted_option_size() const;
4845 void clear_uninterpreted_option();
4846 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
4847 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
4848 mutable_uninterpreted_option();
4849 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
4850 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
4851 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
4852 uninterpreted_option() const;
4853
4854 // optional bool deprecated = 1 [default = false];
4855 bool has_deprecated() const;
4856 void clear_deprecated();
4857 bool deprecated() const;
4858 void set_deprecated(bool value);
4859
4860 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
4861 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
4862 private:
4863 class _Internal;
4864
4865 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
4866
4867 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4868 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4869 typedef void InternalArenaConstructable_;
4870 typedef void DestructorSkippable_;
4871 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4872 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4873 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
4874 bool deprecated_;
4875 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4876 };
4877 // -------------------------------------------------------------------
4878
4879 class PROTOBUF_EXPORT ServiceOptions :
4880 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
4881 public:
4882 ServiceOptions();
4883 virtual ~ServiceOptions();
4884
4885 ServiceOptions(const ServiceOptions& from);
ServiceOptions(ServiceOptions && from)4886 ServiceOptions(ServiceOptions&& from) noexcept
4887 : ServiceOptions() {
4888 *this = ::std::move(from);
4889 }
4890
4891 inline ServiceOptions& operator=(const ServiceOptions& from) {
4892 CopyFrom(from);
4893 return *this;
4894 }
4895 inline ServiceOptions& operator=(ServiceOptions&& from) noexcept {
4896 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4897 if (this != &from) InternalSwap(&from);
4898 } else {
4899 CopyFrom(from);
4900 }
4901 return *this;
4902 }
4903
unknown_fields()4904 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4905 return _internal_metadata_.unknown_fields();
4906 }
mutable_unknown_fields()4907 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4908 return _internal_metadata_.mutable_unknown_fields();
4909 }
4910
GetArena()4911 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4912 return GetArenaNoVirtual();
4913 }
GetMaybeArenaPointer()4914 inline void* GetMaybeArenaPointer() const final {
4915 return MaybeArenaPtr();
4916 }
descriptor()4917 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4918 return GetDescriptor();
4919 }
GetDescriptor()4920 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4921 return GetMetadataStatic().descriptor;
4922 }
GetReflection()4923 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4924 return GetMetadataStatic().reflection;
4925 }
4926 static const ServiceOptions& default_instance();
4927
4928 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4929 static inline const ServiceOptions* internal_default_instance() {
4930 return reinterpret_cast<const ServiceOptions*>(
4931 &_ServiceOptions_default_instance_);
4932 }
4933 static constexpr int kIndexInFileMessages =
4934 19;
4935
swap(ServiceOptions & a,ServiceOptions & b)4936 friend void swap(ServiceOptions& a, ServiceOptions& b) {
4937 a.Swap(&b);
4938 }
Swap(ServiceOptions * other)4939 inline void Swap(ServiceOptions* other) {
4940 if (other == this) return;
4941 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4942 InternalSwap(other);
4943 } else {
4944 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4945 }
4946 }
UnsafeArenaSwap(ServiceOptions * other)4947 void UnsafeArenaSwap(ServiceOptions* other) {
4948 if (other == this) return;
4949 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4950 InternalSwap(other);
4951 }
4952
4953 // implements Message ----------------------------------------------
4954
New()4955 inline ServiceOptions* New() const final {
4956 return CreateMaybeMessage<ServiceOptions>(nullptr);
4957 }
4958
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4959 ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4960 return CreateMaybeMessage<ServiceOptions>(arena);
4961 }
4962 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4963 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4964 void CopyFrom(const ServiceOptions& from);
4965 void MergeFrom(const ServiceOptions& from);
4966 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4967 bool IsInitialized() const final;
4968
4969 size_t ByteSizeLong() const final;
4970 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4971 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4972 #else
4973 bool MergePartialFromCodedStream(
4974 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4975 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4976 void SerializeWithCachedSizes(
4977 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4978 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4979 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()4980 int GetCachedSize() const final { return _cached_size_.Get(); }
4981
4982 private:
4983 inline void SharedCtor();
4984 inline void SharedDtor();
4985 void SetCachedSize(int size) const final;
4986 void InternalSwap(ServiceOptions* other);
4987 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4988 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4989 return "google.protobuf.ServiceOptions";
4990 }
4991 protected:
4992 explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4993 private:
4994 static void ArenaDtor(void* object);
4995 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4996 private:
GetArenaNoVirtual()4997 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4998 return _internal_metadata_.arena();
4999 }
MaybeArenaPtr()5000 inline void* MaybeArenaPtr() const {
5001 return _internal_metadata_.raw_arena_ptr();
5002 }
5003 public:
5004
5005 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5006 private:
GetMetadataStatic()5007 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5008 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
5009 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
5010 }
5011
5012 public:
5013
5014 // nested types ----------------------------------------------------
5015
5016 // accessors -------------------------------------------------------
5017
5018 enum : int {
5019 kUninterpretedOptionFieldNumber = 999,
5020 kDeprecatedFieldNumber = 33,
5021 };
5022 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5023 int uninterpreted_option_size() const;
5024 void clear_uninterpreted_option();
5025 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
5026 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
5027 mutable_uninterpreted_option();
5028 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
5029 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
5030 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
5031 uninterpreted_option() const;
5032
5033 // optional bool deprecated = 33 [default = false];
5034 bool has_deprecated() const;
5035 void clear_deprecated();
5036 bool deprecated() const;
5037 void set_deprecated(bool value);
5038
5039 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
5040 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
5041 private:
5042 class _Internal;
5043
5044 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
5045
5046 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5047 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5048 typedef void InternalArenaConstructable_;
5049 typedef void DestructorSkippable_;
5050 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5051 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5052 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
5053 bool deprecated_;
5054 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5055 };
5056 // -------------------------------------------------------------------
5057
5058 class PROTOBUF_EXPORT MethodOptions :
5059 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
5060 public:
5061 MethodOptions();
5062 virtual ~MethodOptions();
5063
5064 MethodOptions(const MethodOptions& from);
MethodOptions(MethodOptions && from)5065 MethodOptions(MethodOptions&& from) noexcept
5066 : MethodOptions() {
5067 *this = ::std::move(from);
5068 }
5069
5070 inline MethodOptions& operator=(const MethodOptions& from) {
5071 CopyFrom(from);
5072 return *this;
5073 }
5074 inline MethodOptions& operator=(MethodOptions&& from) noexcept {
5075 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5076 if (this != &from) InternalSwap(&from);
5077 } else {
5078 CopyFrom(from);
5079 }
5080 return *this;
5081 }
5082
unknown_fields()5083 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
5084 return _internal_metadata_.unknown_fields();
5085 }
mutable_unknown_fields()5086 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
5087 return _internal_metadata_.mutable_unknown_fields();
5088 }
5089
GetArena()5090 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5091 return GetArenaNoVirtual();
5092 }
GetMaybeArenaPointer()5093 inline void* GetMaybeArenaPointer() const final {
5094 return MaybeArenaPtr();
5095 }
descriptor()5096 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5097 return GetDescriptor();
5098 }
GetDescriptor()5099 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5100 return GetMetadataStatic().descriptor;
5101 }
GetReflection()5102 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5103 return GetMetadataStatic().reflection;
5104 }
5105 static const MethodOptions& default_instance();
5106
5107 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5108 static inline const MethodOptions* internal_default_instance() {
5109 return reinterpret_cast<const MethodOptions*>(
5110 &_MethodOptions_default_instance_);
5111 }
5112 static constexpr int kIndexInFileMessages =
5113 20;
5114
swap(MethodOptions & a,MethodOptions & b)5115 friend void swap(MethodOptions& a, MethodOptions& b) {
5116 a.Swap(&b);
5117 }
Swap(MethodOptions * other)5118 inline void Swap(MethodOptions* other) {
5119 if (other == this) return;
5120 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5121 InternalSwap(other);
5122 } else {
5123 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5124 }
5125 }
UnsafeArenaSwap(MethodOptions * other)5126 void UnsafeArenaSwap(MethodOptions* other) {
5127 if (other == this) return;
5128 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5129 InternalSwap(other);
5130 }
5131
5132 // implements Message ----------------------------------------------
5133
New()5134 inline MethodOptions* New() const final {
5135 return CreateMaybeMessage<MethodOptions>(nullptr);
5136 }
5137
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5138 MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5139 return CreateMaybeMessage<MethodOptions>(arena);
5140 }
5141 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5142 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5143 void CopyFrom(const MethodOptions& from);
5144 void MergeFrom(const MethodOptions& from);
5145 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5146 bool IsInitialized() const final;
5147
5148 size_t ByteSizeLong() const final;
5149 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5150 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5151 #else
5152 bool MergePartialFromCodedStream(
5153 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5154 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5155 void SerializeWithCachedSizes(
5156 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5157 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5158 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()5159 int GetCachedSize() const final { return _cached_size_.Get(); }
5160
5161 private:
5162 inline void SharedCtor();
5163 inline void SharedDtor();
5164 void SetCachedSize(int size) const final;
5165 void InternalSwap(MethodOptions* other);
5166 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5167 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5168 return "google.protobuf.MethodOptions";
5169 }
5170 protected:
5171 explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5172 private:
5173 static void ArenaDtor(void* object);
5174 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5175 private:
GetArenaNoVirtual()5176 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5177 return _internal_metadata_.arena();
5178 }
MaybeArenaPtr()5179 inline void* MaybeArenaPtr() const {
5180 return _internal_metadata_.raw_arena_ptr();
5181 }
5182 public:
5183
5184 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5185 private:
GetMetadataStatic()5186 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5187 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
5188 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
5189 }
5190
5191 public:
5192
5193 // nested types ----------------------------------------------------
5194
5195 typedef MethodOptions_IdempotencyLevel IdempotencyLevel;
5196 static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN =
5197 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
5198 static constexpr IdempotencyLevel NO_SIDE_EFFECTS =
5199 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
5200 static constexpr IdempotencyLevel IDEMPOTENT =
5201 MethodOptions_IdempotencyLevel_IDEMPOTENT;
IdempotencyLevel_IsValid(int value)5202 static inline bool IdempotencyLevel_IsValid(int value) {
5203 return MethodOptions_IdempotencyLevel_IsValid(value);
5204 }
5205 static constexpr IdempotencyLevel IdempotencyLevel_MIN =
5206 MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
5207 static constexpr IdempotencyLevel IdempotencyLevel_MAX =
5208 MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
5209 static constexpr int IdempotencyLevel_ARRAYSIZE =
5210 MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
5211 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
IdempotencyLevel_descriptor()5212 IdempotencyLevel_descriptor() {
5213 return MethodOptions_IdempotencyLevel_descriptor();
5214 }
5215 template<typename T>
IdempotencyLevel_Name(T enum_t_value)5216 static inline const std::string& IdempotencyLevel_Name(T enum_t_value) {
5217 static_assert(::std::is_same<T, IdempotencyLevel>::value ||
5218 ::std::is_integral<T>::value,
5219 "Incorrect type passed to function IdempotencyLevel_Name.");
5220 return MethodOptions_IdempotencyLevel_Name(enum_t_value);
5221 }
IdempotencyLevel_Parse(const std::string & name,IdempotencyLevel * value)5222 static inline bool IdempotencyLevel_Parse(const std::string& name,
5223 IdempotencyLevel* value) {
5224 return MethodOptions_IdempotencyLevel_Parse(name, value);
5225 }
5226
5227 // accessors -------------------------------------------------------
5228
5229 enum : int {
5230 kUninterpretedOptionFieldNumber = 999,
5231 kDeprecatedFieldNumber = 33,
5232 kIdempotencyLevelFieldNumber = 34,
5233 };
5234 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5235 int uninterpreted_option_size() const;
5236 void clear_uninterpreted_option();
5237 PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
5238 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
5239 mutable_uninterpreted_option();
5240 const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
5241 PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
5242 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
5243 uninterpreted_option() const;
5244
5245 // optional bool deprecated = 33 [default = false];
5246 bool has_deprecated() const;
5247 void clear_deprecated();
5248 bool deprecated() const;
5249 void set_deprecated(bool value);
5250
5251 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
5252 bool has_idempotency_level() const;
5253 void clear_idempotency_level();
5254 PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const;
5255 void set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
5256
5257 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
5258 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
5259 private:
5260 class _Internal;
5261
5262 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
5263
5264 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5265 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5266 typedef void InternalArenaConstructable_;
5267 typedef void DestructorSkippable_;
5268 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5269 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5270 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
5271 bool deprecated_;
5272 int idempotency_level_;
5273 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5274 };
5275 // -------------------------------------------------------------------
5276
5277 class PROTOBUF_EXPORT UninterpretedOption_NamePart :
5278 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ {
5279 public:
5280 UninterpretedOption_NamePart();
5281 virtual ~UninterpretedOption_NamePart();
5282
5283 UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
UninterpretedOption_NamePart(UninterpretedOption_NamePart && from)5284 UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept
5285 : UninterpretedOption_NamePart() {
5286 *this = ::std::move(from);
5287 }
5288
5289 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
5290 CopyFrom(from);
5291 return *this;
5292 }
5293 inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept {
5294 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5295 if (this != &from) InternalSwap(&from);
5296 } else {
5297 CopyFrom(from);
5298 }
5299 return *this;
5300 }
5301
unknown_fields()5302 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
5303 return _internal_metadata_.unknown_fields();
5304 }
mutable_unknown_fields()5305 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
5306 return _internal_metadata_.mutable_unknown_fields();
5307 }
5308
GetArena()5309 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5310 return GetArenaNoVirtual();
5311 }
GetMaybeArenaPointer()5312 inline void* GetMaybeArenaPointer() const final {
5313 return MaybeArenaPtr();
5314 }
descriptor()5315 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5316 return GetDescriptor();
5317 }
GetDescriptor()5318 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5319 return GetMetadataStatic().descriptor;
5320 }
GetReflection()5321 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5322 return GetMetadataStatic().reflection;
5323 }
5324 static const UninterpretedOption_NamePart& default_instance();
5325
5326 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5327 static inline const UninterpretedOption_NamePart* internal_default_instance() {
5328 return reinterpret_cast<const UninterpretedOption_NamePart*>(
5329 &_UninterpretedOption_NamePart_default_instance_);
5330 }
5331 static constexpr int kIndexInFileMessages =
5332 21;
5333
swap(UninterpretedOption_NamePart & a,UninterpretedOption_NamePart & b)5334 friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) {
5335 a.Swap(&b);
5336 }
Swap(UninterpretedOption_NamePart * other)5337 inline void Swap(UninterpretedOption_NamePart* other) {
5338 if (other == this) return;
5339 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5340 InternalSwap(other);
5341 } else {
5342 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5343 }
5344 }
UnsafeArenaSwap(UninterpretedOption_NamePart * other)5345 void UnsafeArenaSwap(UninterpretedOption_NamePart* other) {
5346 if (other == this) return;
5347 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5348 InternalSwap(other);
5349 }
5350
5351 // implements Message ----------------------------------------------
5352
New()5353 inline UninterpretedOption_NamePart* New() const final {
5354 return CreateMaybeMessage<UninterpretedOption_NamePart>(nullptr);
5355 }
5356
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5357 UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5358 return CreateMaybeMessage<UninterpretedOption_NamePart>(arena);
5359 }
5360 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5361 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5362 void CopyFrom(const UninterpretedOption_NamePart& from);
5363 void MergeFrom(const UninterpretedOption_NamePart& from);
5364 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5365 bool IsInitialized() const final;
5366
5367 size_t ByteSizeLong() const final;
5368 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5369 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5370 #else
5371 bool MergePartialFromCodedStream(
5372 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5373 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5374 void SerializeWithCachedSizes(
5375 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5376 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5377 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()5378 int GetCachedSize() const final { return _cached_size_.Get(); }
5379
5380 private:
5381 inline void SharedCtor();
5382 inline void SharedDtor();
5383 void SetCachedSize(int size) const final;
5384 void InternalSwap(UninterpretedOption_NamePart* other);
5385 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5386 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5387 return "google.protobuf.UninterpretedOption.NamePart";
5388 }
5389 protected:
5390 explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5391 private:
5392 static void ArenaDtor(void* object);
5393 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5394 private:
GetArenaNoVirtual()5395 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5396 return _internal_metadata_.arena();
5397 }
MaybeArenaPtr()5398 inline void* MaybeArenaPtr() const {
5399 return _internal_metadata_.raw_arena_ptr();
5400 }
5401 public:
5402
5403 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5404 private:
GetMetadataStatic()5405 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5406 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
5407 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
5408 }
5409
5410 public:
5411
5412 // nested types ----------------------------------------------------
5413
5414 // accessors -------------------------------------------------------
5415
5416 enum : int {
5417 kNamePartFieldNumber = 1,
5418 kIsExtensionFieldNumber = 2,
5419 };
5420 // required string name_part = 1;
5421 bool has_name_part() const;
5422 void clear_name_part();
5423 const std::string& name_part() const;
5424 void set_name_part(const std::string& value);
5425 void set_name_part(std::string&& value);
5426 void set_name_part(const char* value);
5427 void set_name_part(const char* value, size_t size);
5428 std::string* mutable_name_part();
5429 std::string* release_name_part();
5430 void set_allocated_name_part(std::string* name_part);
5431 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5432 " string fields are deprecated and will be removed in a"
5433 " future release.")
5434 std::string* unsafe_arena_release_name_part();
5435 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5436 " string fields are deprecated and will be removed in a"
5437 " future release.")
5438 void unsafe_arena_set_allocated_name_part(
5439 std::string* name_part);
5440
5441 // required bool is_extension = 2;
5442 bool has_is_extension() const;
5443 void clear_is_extension();
5444 bool is_extension() const;
5445 void set_is_extension(bool value);
5446
5447 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
5448 private:
5449 class _Internal;
5450
5451 // helper for ByteSizeLong()
5452 size_t RequiredFieldsByteSizeFallback() const;
5453
5454 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5455 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5456 typedef void InternalArenaConstructable_;
5457 typedef void DestructorSkippable_;
5458 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5459 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5460 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_;
5461 bool is_extension_;
5462 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5463 };
5464 // -------------------------------------------------------------------
5465
5466 class PROTOBUF_EXPORT UninterpretedOption :
5467 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ {
5468 public:
5469 UninterpretedOption();
5470 virtual ~UninterpretedOption();
5471
5472 UninterpretedOption(const UninterpretedOption& from);
UninterpretedOption(UninterpretedOption && from)5473 UninterpretedOption(UninterpretedOption&& from) noexcept
5474 : UninterpretedOption() {
5475 *this = ::std::move(from);
5476 }
5477
5478 inline UninterpretedOption& operator=(const UninterpretedOption& from) {
5479 CopyFrom(from);
5480 return *this;
5481 }
5482 inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept {
5483 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5484 if (this != &from) InternalSwap(&from);
5485 } else {
5486 CopyFrom(from);
5487 }
5488 return *this;
5489 }
5490
unknown_fields()5491 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
5492 return _internal_metadata_.unknown_fields();
5493 }
mutable_unknown_fields()5494 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
5495 return _internal_metadata_.mutable_unknown_fields();
5496 }
5497
GetArena()5498 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5499 return GetArenaNoVirtual();
5500 }
GetMaybeArenaPointer()5501 inline void* GetMaybeArenaPointer() const final {
5502 return MaybeArenaPtr();
5503 }
descriptor()5504 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5505 return GetDescriptor();
5506 }
GetDescriptor()5507 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5508 return GetMetadataStatic().descriptor;
5509 }
GetReflection()5510 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5511 return GetMetadataStatic().reflection;
5512 }
5513 static const UninterpretedOption& default_instance();
5514
5515 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5516 static inline const UninterpretedOption* internal_default_instance() {
5517 return reinterpret_cast<const UninterpretedOption*>(
5518 &_UninterpretedOption_default_instance_);
5519 }
5520 static constexpr int kIndexInFileMessages =
5521 22;
5522
swap(UninterpretedOption & a,UninterpretedOption & b)5523 friend void swap(UninterpretedOption& a, UninterpretedOption& b) {
5524 a.Swap(&b);
5525 }
Swap(UninterpretedOption * other)5526 inline void Swap(UninterpretedOption* other) {
5527 if (other == this) return;
5528 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5529 InternalSwap(other);
5530 } else {
5531 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5532 }
5533 }
UnsafeArenaSwap(UninterpretedOption * other)5534 void UnsafeArenaSwap(UninterpretedOption* other) {
5535 if (other == this) return;
5536 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5537 InternalSwap(other);
5538 }
5539
5540 // implements Message ----------------------------------------------
5541
New()5542 inline UninterpretedOption* New() const final {
5543 return CreateMaybeMessage<UninterpretedOption>(nullptr);
5544 }
5545
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5546 UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5547 return CreateMaybeMessage<UninterpretedOption>(arena);
5548 }
5549 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5550 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5551 void CopyFrom(const UninterpretedOption& from);
5552 void MergeFrom(const UninterpretedOption& from);
5553 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5554 bool IsInitialized() const final;
5555
5556 size_t ByteSizeLong() const final;
5557 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5558 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5559 #else
5560 bool MergePartialFromCodedStream(
5561 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5562 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5563 void SerializeWithCachedSizes(
5564 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5565 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5566 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()5567 int GetCachedSize() const final { return _cached_size_.Get(); }
5568
5569 private:
5570 inline void SharedCtor();
5571 inline void SharedDtor();
5572 void SetCachedSize(int size) const final;
5573 void InternalSwap(UninterpretedOption* other);
5574 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5575 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5576 return "google.protobuf.UninterpretedOption";
5577 }
5578 protected:
5579 explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5580 private:
5581 static void ArenaDtor(void* object);
5582 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5583 private:
GetArenaNoVirtual()5584 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5585 return _internal_metadata_.arena();
5586 }
MaybeArenaPtr()5587 inline void* MaybeArenaPtr() const {
5588 return _internal_metadata_.raw_arena_ptr();
5589 }
5590 public:
5591
5592 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5593 private:
GetMetadataStatic()5594 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5595 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
5596 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
5597 }
5598
5599 public:
5600
5601 // nested types ----------------------------------------------------
5602
5603 typedef UninterpretedOption_NamePart NamePart;
5604
5605 // accessors -------------------------------------------------------
5606
5607 enum : int {
5608 kNameFieldNumber = 2,
5609 kIdentifierValueFieldNumber = 3,
5610 kStringValueFieldNumber = 7,
5611 kAggregateValueFieldNumber = 8,
5612 kPositiveIntValueFieldNumber = 4,
5613 kNegativeIntValueFieldNumber = 5,
5614 kDoubleValueFieldNumber = 6,
5615 };
5616 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
5617 int name_size() const;
5618 void clear_name();
5619 PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index);
5620 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
5621 mutable_name();
5622 const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const;
5623 PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name();
5624 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
5625 name() const;
5626
5627 // optional string identifier_value = 3;
5628 bool has_identifier_value() const;
5629 void clear_identifier_value();
5630 const std::string& identifier_value() const;
5631 void set_identifier_value(const std::string& value);
5632 void set_identifier_value(std::string&& value);
5633 void set_identifier_value(const char* value);
5634 void set_identifier_value(const char* value, size_t size);
5635 std::string* mutable_identifier_value();
5636 std::string* release_identifier_value();
5637 void set_allocated_identifier_value(std::string* identifier_value);
5638 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5639 " string fields are deprecated and will be removed in a"
5640 " future release.")
5641 std::string* unsafe_arena_release_identifier_value();
5642 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5643 " string fields are deprecated and will be removed in a"
5644 " future release.")
5645 void unsafe_arena_set_allocated_identifier_value(
5646 std::string* identifier_value);
5647
5648 // optional bytes string_value = 7;
5649 bool has_string_value() const;
5650 void clear_string_value();
5651 const std::string& string_value() const;
5652 void set_string_value(const std::string& value);
5653 void set_string_value(std::string&& value);
5654 void set_string_value(const char* value);
5655 void set_string_value(const void* value, size_t size);
5656 std::string* mutable_string_value();
5657 std::string* release_string_value();
5658 void set_allocated_string_value(std::string* string_value);
5659 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5660 " string fields are deprecated and will be removed in a"
5661 " future release.")
5662 std::string* unsafe_arena_release_string_value();
5663 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5664 " string fields are deprecated and will be removed in a"
5665 " future release.")
5666 void unsafe_arena_set_allocated_string_value(
5667 std::string* string_value);
5668
5669 // optional string aggregate_value = 8;
5670 bool has_aggregate_value() const;
5671 void clear_aggregate_value();
5672 const std::string& aggregate_value() const;
5673 void set_aggregate_value(const std::string& value);
5674 void set_aggregate_value(std::string&& value);
5675 void set_aggregate_value(const char* value);
5676 void set_aggregate_value(const char* value, size_t size);
5677 std::string* mutable_aggregate_value();
5678 std::string* release_aggregate_value();
5679 void set_allocated_aggregate_value(std::string* aggregate_value);
5680 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5681 " string fields are deprecated and will be removed in a"
5682 " future release.")
5683 std::string* unsafe_arena_release_aggregate_value();
5684 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5685 " string fields are deprecated and will be removed in a"
5686 " future release.")
5687 void unsafe_arena_set_allocated_aggregate_value(
5688 std::string* aggregate_value);
5689
5690 // optional uint64 positive_int_value = 4;
5691 bool has_positive_int_value() const;
5692 void clear_positive_int_value();
5693 ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value() const;
5694 void set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value);
5695
5696 // optional int64 negative_int_value = 5;
5697 bool has_negative_int_value() const;
5698 void clear_negative_int_value();
5699 ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value() const;
5700 void set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value);
5701
5702 // optional double double_value = 6;
5703 bool has_double_value() const;
5704 void clear_double_value();
5705 double double_value() const;
5706 void set_double_value(double value);
5707
5708 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
5709 private:
5710 class _Internal;
5711
5712 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5713 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5714 typedef void InternalArenaConstructable_;
5715 typedef void DestructorSkippable_;
5716 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5717 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5718 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_;
5719 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_;
5720 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
5721 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_;
5722 ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value_;
5723 ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value_;
5724 double double_value_;
5725 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5726 };
5727 // -------------------------------------------------------------------
5728
5729 class PROTOBUF_EXPORT SourceCodeInfo_Location :
5730 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ {
5731 public:
5732 SourceCodeInfo_Location();
5733 virtual ~SourceCodeInfo_Location();
5734
5735 SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
SourceCodeInfo_Location(SourceCodeInfo_Location && from)5736 SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept
5737 : SourceCodeInfo_Location() {
5738 *this = ::std::move(from);
5739 }
5740
5741 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
5742 CopyFrom(from);
5743 return *this;
5744 }
5745 inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept {
5746 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5747 if (this != &from) InternalSwap(&from);
5748 } else {
5749 CopyFrom(from);
5750 }
5751 return *this;
5752 }
5753
unknown_fields()5754 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
5755 return _internal_metadata_.unknown_fields();
5756 }
mutable_unknown_fields()5757 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
5758 return _internal_metadata_.mutable_unknown_fields();
5759 }
5760
GetArena()5761 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5762 return GetArenaNoVirtual();
5763 }
GetMaybeArenaPointer()5764 inline void* GetMaybeArenaPointer() const final {
5765 return MaybeArenaPtr();
5766 }
descriptor()5767 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5768 return GetDescriptor();
5769 }
GetDescriptor()5770 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5771 return GetMetadataStatic().descriptor;
5772 }
GetReflection()5773 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5774 return GetMetadataStatic().reflection;
5775 }
5776 static const SourceCodeInfo_Location& default_instance();
5777
5778 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5779 static inline const SourceCodeInfo_Location* internal_default_instance() {
5780 return reinterpret_cast<const SourceCodeInfo_Location*>(
5781 &_SourceCodeInfo_Location_default_instance_);
5782 }
5783 static constexpr int kIndexInFileMessages =
5784 23;
5785
swap(SourceCodeInfo_Location & a,SourceCodeInfo_Location & b)5786 friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) {
5787 a.Swap(&b);
5788 }
Swap(SourceCodeInfo_Location * other)5789 inline void Swap(SourceCodeInfo_Location* other) {
5790 if (other == this) return;
5791 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5792 InternalSwap(other);
5793 } else {
5794 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5795 }
5796 }
UnsafeArenaSwap(SourceCodeInfo_Location * other)5797 void UnsafeArenaSwap(SourceCodeInfo_Location* other) {
5798 if (other == this) return;
5799 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5800 InternalSwap(other);
5801 }
5802
5803 // implements Message ----------------------------------------------
5804
New()5805 inline SourceCodeInfo_Location* New() const final {
5806 return CreateMaybeMessage<SourceCodeInfo_Location>(nullptr);
5807 }
5808
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5809 SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5810 return CreateMaybeMessage<SourceCodeInfo_Location>(arena);
5811 }
5812 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5813 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5814 void CopyFrom(const SourceCodeInfo_Location& from);
5815 void MergeFrom(const SourceCodeInfo_Location& from);
5816 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5817 bool IsInitialized() const final;
5818
5819 size_t ByteSizeLong() const final;
5820 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5821 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5822 #else
5823 bool MergePartialFromCodedStream(
5824 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5825 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5826 void SerializeWithCachedSizes(
5827 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5828 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5829 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()5830 int GetCachedSize() const final { return _cached_size_.Get(); }
5831
5832 private:
5833 inline void SharedCtor();
5834 inline void SharedDtor();
5835 void SetCachedSize(int size) const final;
5836 void InternalSwap(SourceCodeInfo_Location* other);
5837 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5838 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5839 return "google.protobuf.SourceCodeInfo.Location";
5840 }
5841 protected:
5842 explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5843 private:
5844 static void ArenaDtor(void* object);
5845 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5846 private:
GetArenaNoVirtual()5847 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5848 return _internal_metadata_.arena();
5849 }
MaybeArenaPtr()5850 inline void* MaybeArenaPtr() const {
5851 return _internal_metadata_.raw_arena_ptr();
5852 }
5853 public:
5854
5855 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5856 private:
GetMetadataStatic()5857 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5858 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
5859 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
5860 }
5861
5862 public:
5863
5864 // nested types ----------------------------------------------------
5865
5866 // accessors -------------------------------------------------------
5867
5868 enum : int {
5869 kPathFieldNumber = 1,
5870 kSpanFieldNumber = 2,
5871 kLeadingDetachedCommentsFieldNumber = 6,
5872 kLeadingCommentsFieldNumber = 3,
5873 kTrailingCommentsFieldNumber = 4,
5874 };
5875 // repeated int32 path = 1 [packed = true];
5876 int path_size() const;
5877 void clear_path();
5878 ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const;
5879 void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
5880 void add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
5881 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
5882 path() const;
5883 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
5884 mutable_path();
5885
5886 // repeated int32 span = 2 [packed = true];
5887 int span_size() const;
5888 void clear_span();
5889 ::PROTOBUF_NAMESPACE_ID::int32 span(int index) const;
5890 void set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
5891 void add_span(::PROTOBUF_NAMESPACE_ID::int32 value);
5892 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
5893 span() const;
5894 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
5895 mutable_span();
5896
5897 // repeated string leading_detached_comments = 6;
5898 int leading_detached_comments_size() const;
5899 void clear_leading_detached_comments();
5900 const std::string& leading_detached_comments(int index) const;
5901 std::string* mutable_leading_detached_comments(int index);
5902 void set_leading_detached_comments(int index, const std::string& value);
5903 void set_leading_detached_comments(int index, std::string&& value);
5904 void set_leading_detached_comments(int index, const char* value);
5905 void set_leading_detached_comments(int index, const char* value, size_t size);
5906 std::string* add_leading_detached_comments();
5907 void add_leading_detached_comments(const std::string& value);
5908 void add_leading_detached_comments(std::string&& value);
5909 void add_leading_detached_comments(const char* value);
5910 void add_leading_detached_comments(const char* value, size_t size);
5911 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const;
5912 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments();
5913
5914 // optional string leading_comments = 3;
5915 bool has_leading_comments() const;
5916 void clear_leading_comments();
5917 const std::string& leading_comments() const;
5918 void set_leading_comments(const std::string& value);
5919 void set_leading_comments(std::string&& value);
5920 void set_leading_comments(const char* value);
5921 void set_leading_comments(const char* value, size_t size);
5922 std::string* mutable_leading_comments();
5923 std::string* release_leading_comments();
5924 void set_allocated_leading_comments(std::string* leading_comments);
5925 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5926 " string fields are deprecated and will be removed in a"
5927 " future release.")
5928 std::string* unsafe_arena_release_leading_comments();
5929 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5930 " string fields are deprecated and will be removed in a"
5931 " future release.")
5932 void unsafe_arena_set_allocated_leading_comments(
5933 std::string* leading_comments);
5934
5935 // optional string trailing_comments = 4;
5936 bool has_trailing_comments() const;
5937 void clear_trailing_comments();
5938 const std::string& trailing_comments() const;
5939 void set_trailing_comments(const std::string& value);
5940 void set_trailing_comments(std::string&& value);
5941 void set_trailing_comments(const char* value);
5942 void set_trailing_comments(const char* value, size_t size);
5943 std::string* mutable_trailing_comments();
5944 std::string* release_trailing_comments();
5945 void set_allocated_trailing_comments(std::string* trailing_comments);
5946 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5947 " string fields are deprecated and will be removed in a"
5948 " future release.")
5949 std::string* unsafe_arena_release_trailing_comments();
5950 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5951 " string fields are deprecated and will be removed in a"
5952 " future release.")
5953 void unsafe_arena_set_allocated_trailing_comments(
5954 std::string* trailing_comments);
5955
5956 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
5957 private:
5958 class _Internal;
5959
5960 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5961 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5962 typedef void InternalArenaConstructable_;
5963 typedef void DestructorSkippable_;
5964 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5965 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5966 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_;
5967 mutable std::atomic<int> _path_cached_byte_size_;
5968 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > span_;
5969 mutable std::atomic<int> _span_cached_byte_size_;
5970 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_;
5971 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_;
5972 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_;
5973 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5974 };
5975 // -------------------------------------------------------------------
5976
5977 class PROTOBUF_EXPORT SourceCodeInfo :
5978 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
5979 public:
5980 SourceCodeInfo();
5981 virtual ~SourceCodeInfo();
5982
5983 SourceCodeInfo(const SourceCodeInfo& from);
SourceCodeInfo(SourceCodeInfo && from)5984 SourceCodeInfo(SourceCodeInfo&& from) noexcept
5985 : SourceCodeInfo() {
5986 *this = ::std::move(from);
5987 }
5988
5989 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
5990 CopyFrom(from);
5991 return *this;
5992 }
5993 inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept {
5994 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5995 if (this != &from) InternalSwap(&from);
5996 } else {
5997 CopyFrom(from);
5998 }
5999 return *this;
6000 }
6001
unknown_fields()6002 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
6003 return _internal_metadata_.unknown_fields();
6004 }
mutable_unknown_fields()6005 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
6006 return _internal_metadata_.mutable_unknown_fields();
6007 }
6008
GetArena()6009 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6010 return GetArenaNoVirtual();
6011 }
GetMaybeArenaPointer()6012 inline void* GetMaybeArenaPointer() const final {
6013 return MaybeArenaPtr();
6014 }
descriptor()6015 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6016 return GetDescriptor();
6017 }
GetDescriptor()6018 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6019 return GetMetadataStatic().descriptor;
6020 }
GetReflection()6021 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6022 return GetMetadataStatic().reflection;
6023 }
6024 static const SourceCodeInfo& default_instance();
6025
6026 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6027 static inline const SourceCodeInfo* internal_default_instance() {
6028 return reinterpret_cast<const SourceCodeInfo*>(
6029 &_SourceCodeInfo_default_instance_);
6030 }
6031 static constexpr int kIndexInFileMessages =
6032 24;
6033
swap(SourceCodeInfo & a,SourceCodeInfo & b)6034 friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) {
6035 a.Swap(&b);
6036 }
Swap(SourceCodeInfo * other)6037 inline void Swap(SourceCodeInfo* other) {
6038 if (other == this) return;
6039 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6040 InternalSwap(other);
6041 } else {
6042 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6043 }
6044 }
UnsafeArenaSwap(SourceCodeInfo * other)6045 void UnsafeArenaSwap(SourceCodeInfo* other) {
6046 if (other == this) return;
6047 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6048 InternalSwap(other);
6049 }
6050
6051 // implements Message ----------------------------------------------
6052
New()6053 inline SourceCodeInfo* New() const final {
6054 return CreateMaybeMessage<SourceCodeInfo>(nullptr);
6055 }
6056
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6057 SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6058 return CreateMaybeMessage<SourceCodeInfo>(arena);
6059 }
6060 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6061 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6062 void CopyFrom(const SourceCodeInfo& from);
6063 void MergeFrom(const SourceCodeInfo& from);
6064 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6065 bool IsInitialized() const final;
6066
6067 size_t ByteSizeLong() const final;
6068 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6069 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6070 #else
6071 bool MergePartialFromCodedStream(
6072 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6073 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6074 void SerializeWithCachedSizes(
6075 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6076 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6077 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()6078 int GetCachedSize() const final { return _cached_size_.Get(); }
6079
6080 private:
6081 inline void SharedCtor();
6082 inline void SharedDtor();
6083 void SetCachedSize(int size) const final;
6084 void InternalSwap(SourceCodeInfo* other);
6085 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6086 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6087 return "google.protobuf.SourceCodeInfo";
6088 }
6089 protected:
6090 explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6091 private:
6092 static void ArenaDtor(void* object);
6093 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6094 private:
GetArenaNoVirtual()6095 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6096 return _internal_metadata_.arena();
6097 }
MaybeArenaPtr()6098 inline void* MaybeArenaPtr() const {
6099 return _internal_metadata_.raw_arena_ptr();
6100 }
6101 public:
6102
6103 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6104 private:
GetMetadataStatic()6105 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6106 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
6107 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
6108 }
6109
6110 public:
6111
6112 // nested types ----------------------------------------------------
6113
6114 typedef SourceCodeInfo_Location Location;
6115
6116 // accessors -------------------------------------------------------
6117
6118 enum : int {
6119 kLocationFieldNumber = 1,
6120 };
6121 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
6122 int location_size() const;
6123 void clear_location();
6124 PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index);
6125 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
6126 mutable_location();
6127 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const;
6128 PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location();
6129 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
6130 location() const;
6131
6132 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
6133 private:
6134 class _Internal;
6135
6136 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6137 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6138 typedef void InternalArenaConstructable_;
6139 typedef void DestructorSkippable_;
6140 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6141 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6142 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_;
6143 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
6144 };
6145 // -------------------------------------------------------------------
6146
6147 class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation :
6148 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ {
6149 public:
6150 GeneratedCodeInfo_Annotation();
6151 virtual ~GeneratedCodeInfo_Annotation();
6152
6153 GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation && from)6154 GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept
6155 : GeneratedCodeInfo_Annotation() {
6156 *this = ::std::move(from);
6157 }
6158
6159 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {
6160 CopyFrom(from);
6161 return *this;
6162 }
6163 inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept {
6164 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6165 if (this != &from) InternalSwap(&from);
6166 } else {
6167 CopyFrom(from);
6168 }
6169 return *this;
6170 }
6171
unknown_fields()6172 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
6173 return _internal_metadata_.unknown_fields();
6174 }
mutable_unknown_fields()6175 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
6176 return _internal_metadata_.mutable_unknown_fields();
6177 }
6178
GetArena()6179 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6180 return GetArenaNoVirtual();
6181 }
GetMaybeArenaPointer()6182 inline void* GetMaybeArenaPointer() const final {
6183 return MaybeArenaPtr();
6184 }
descriptor()6185 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6186 return GetDescriptor();
6187 }
GetDescriptor()6188 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6189 return GetMetadataStatic().descriptor;
6190 }
GetReflection()6191 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6192 return GetMetadataStatic().reflection;
6193 }
6194 static const GeneratedCodeInfo_Annotation& default_instance();
6195
6196 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6197 static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
6198 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
6199 &_GeneratedCodeInfo_Annotation_default_instance_);
6200 }
6201 static constexpr int kIndexInFileMessages =
6202 25;
6203
swap(GeneratedCodeInfo_Annotation & a,GeneratedCodeInfo_Annotation & b)6204 friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) {
6205 a.Swap(&b);
6206 }
Swap(GeneratedCodeInfo_Annotation * other)6207 inline void Swap(GeneratedCodeInfo_Annotation* other) {
6208 if (other == this) return;
6209 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6210 InternalSwap(other);
6211 } else {
6212 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6213 }
6214 }
UnsafeArenaSwap(GeneratedCodeInfo_Annotation * other)6215 void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) {
6216 if (other == this) return;
6217 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6218 InternalSwap(other);
6219 }
6220
6221 // implements Message ----------------------------------------------
6222
New()6223 inline GeneratedCodeInfo_Annotation* New() const final {
6224 return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(nullptr);
6225 }
6226
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6227 GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6228 return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena);
6229 }
6230 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6231 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6232 void CopyFrom(const GeneratedCodeInfo_Annotation& from);
6233 void MergeFrom(const GeneratedCodeInfo_Annotation& from);
6234 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6235 bool IsInitialized() const final;
6236
6237 size_t ByteSizeLong() const final;
6238 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6239 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6240 #else
6241 bool MergePartialFromCodedStream(
6242 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6243 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6244 void SerializeWithCachedSizes(
6245 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6246 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6247 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()6248 int GetCachedSize() const final { return _cached_size_.Get(); }
6249
6250 private:
6251 inline void SharedCtor();
6252 inline void SharedDtor();
6253 void SetCachedSize(int size) const final;
6254 void InternalSwap(GeneratedCodeInfo_Annotation* other);
6255 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6256 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6257 return "google.protobuf.GeneratedCodeInfo.Annotation";
6258 }
6259 protected:
6260 explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6261 private:
6262 static void ArenaDtor(void* object);
6263 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6264 private:
GetArenaNoVirtual()6265 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6266 return _internal_metadata_.arena();
6267 }
MaybeArenaPtr()6268 inline void* MaybeArenaPtr() const {
6269 return _internal_metadata_.raw_arena_ptr();
6270 }
6271 public:
6272
6273 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6274 private:
GetMetadataStatic()6275 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6276 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
6277 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
6278 }
6279
6280 public:
6281
6282 // nested types ----------------------------------------------------
6283
6284 // accessors -------------------------------------------------------
6285
6286 enum : int {
6287 kPathFieldNumber = 1,
6288 kSourceFileFieldNumber = 2,
6289 kBeginFieldNumber = 3,
6290 kEndFieldNumber = 4,
6291 };
6292 // repeated int32 path = 1 [packed = true];
6293 int path_size() const;
6294 void clear_path();
6295 ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const;
6296 void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
6297 void add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
6298 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
6299 path() const;
6300 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
6301 mutable_path();
6302
6303 // optional string source_file = 2;
6304 bool has_source_file() const;
6305 void clear_source_file();
6306 const std::string& source_file() const;
6307 void set_source_file(const std::string& value);
6308 void set_source_file(std::string&& value);
6309 void set_source_file(const char* value);
6310 void set_source_file(const char* value, size_t size);
6311 std::string* mutable_source_file();
6312 std::string* release_source_file();
6313 void set_allocated_source_file(std::string* source_file);
6314 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6315 " string fields are deprecated and will be removed in a"
6316 " future release.")
6317 std::string* unsafe_arena_release_source_file();
6318 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6319 " string fields are deprecated and will be removed in a"
6320 " future release.")
6321 void unsafe_arena_set_allocated_source_file(
6322 std::string* source_file);
6323
6324 // optional int32 begin = 3;
6325 bool has_begin() const;
6326 void clear_begin();
6327 ::PROTOBUF_NAMESPACE_ID::int32 begin() const;
6328 void set_begin(::PROTOBUF_NAMESPACE_ID::int32 value);
6329
6330 // optional int32 end = 4;
6331 bool has_end() const;
6332 void clear_end();
6333 ::PROTOBUF_NAMESPACE_ID::int32 end() const;
6334 void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
6335
6336 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)
6337 private:
6338 class _Internal;
6339
6340 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6341 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6342 typedef void InternalArenaConstructable_;
6343 typedef void DestructorSkippable_;
6344 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6345 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6346 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_;
6347 mutable std::atomic<int> _path_cached_byte_size_;
6348 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_;
6349 ::PROTOBUF_NAMESPACE_ID::int32 begin_;
6350 ::PROTOBUF_NAMESPACE_ID::int32 end_;
6351 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
6352 };
6353 // -------------------------------------------------------------------
6354
6355 class PROTOBUF_EXPORT GeneratedCodeInfo :
6356 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
6357 public:
6358 GeneratedCodeInfo();
6359 virtual ~GeneratedCodeInfo();
6360
6361 GeneratedCodeInfo(const GeneratedCodeInfo& from);
GeneratedCodeInfo(GeneratedCodeInfo && from)6362 GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept
6363 : GeneratedCodeInfo() {
6364 *this = ::std::move(from);
6365 }
6366
6367 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
6368 CopyFrom(from);
6369 return *this;
6370 }
6371 inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
6372 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6373 if (this != &from) InternalSwap(&from);
6374 } else {
6375 CopyFrom(from);
6376 }
6377 return *this;
6378 }
6379
unknown_fields()6380 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
6381 return _internal_metadata_.unknown_fields();
6382 }
mutable_unknown_fields()6383 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
6384 return _internal_metadata_.mutable_unknown_fields();
6385 }
6386
GetArena()6387 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6388 return GetArenaNoVirtual();
6389 }
GetMaybeArenaPointer()6390 inline void* GetMaybeArenaPointer() const final {
6391 return MaybeArenaPtr();
6392 }
descriptor()6393 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6394 return GetDescriptor();
6395 }
GetDescriptor()6396 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6397 return GetMetadataStatic().descriptor;
6398 }
GetReflection()6399 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6400 return GetMetadataStatic().reflection;
6401 }
6402 static const GeneratedCodeInfo& default_instance();
6403
6404 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6405 static inline const GeneratedCodeInfo* internal_default_instance() {
6406 return reinterpret_cast<const GeneratedCodeInfo*>(
6407 &_GeneratedCodeInfo_default_instance_);
6408 }
6409 static constexpr int kIndexInFileMessages =
6410 26;
6411
swap(GeneratedCodeInfo & a,GeneratedCodeInfo & b)6412 friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) {
6413 a.Swap(&b);
6414 }
Swap(GeneratedCodeInfo * other)6415 inline void Swap(GeneratedCodeInfo* other) {
6416 if (other == this) return;
6417 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6418 InternalSwap(other);
6419 } else {
6420 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6421 }
6422 }
UnsafeArenaSwap(GeneratedCodeInfo * other)6423 void UnsafeArenaSwap(GeneratedCodeInfo* other) {
6424 if (other == this) return;
6425 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6426 InternalSwap(other);
6427 }
6428
6429 // implements Message ----------------------------------------------
6430
New()6431 inline GeneratedCodeInfo* New() const final {
6432 return CreateMaybeMessage<GeneratedCodeInfo>(nullptr);
6433 }
6434
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6435 GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6436 return CreateMaybeMessage<GeneratedCodeInfo>(arena);
6437 }
6438 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6439 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6440 void CopyFrom(const GeneratedCodeInfo& from);
6441 void MergeFrom(const GeneratedCodeInfo& from);
6442 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6443 bool IsInitialized() const final;
6444
6445 size_t ByteSizeLong() const final;
6446 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6447 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6448 #else
6449 bool MergePartialFromCodedStream(
6450 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6451 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6452 void SerializeWithCachedSizes(
6453 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6454 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6455 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()6456 int GetCachedSize() const final { return _cached_size_.Get(); }
6457
6458 private:
6459 inline void SharedCtor();
6460 inline void SharedDtor();
6461 void SetCachedSize(int size) const final;
6462 void InternalSwap(GeneratedCodeInfo* other);
6463 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6464 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6465 return "google.protobuf.GeneratedCodeInfo";
6466 }
6467 protected:
6468 explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6469 private:
6470 static void ArenaDtor(void* object);
6471 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6472 private:
GetArenaNoVirtual()6473 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6474 return _internal_metadata_.arena();
6475 }
MaybeArenaPtr()6476 inline void* MaybeArenaPtr() const {
6477 return _internal_metadata_.raw_arena_ptr();
6478 }
6479 public:
6480
6481 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6482 private:
GetMetadataStatic()6483 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6484 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
6485 return ::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto.file_level_metadata[kIndexInFileMessages];
6486 }
6487
6488 public:
6489
6490 // nested types ----------------------------------------------------
6491
6492 typedef GeneratedCodeInfo_Annotation Annotation;
6493
6494 // accessors -------------------------------------------------------
6495
6496 enum : int {
6497 kAnnotationFieldNumber = 1,
6498 };
6499 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
6500 int annotation_size() const;
6501 void clear_annotation();
6502 PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index);
6503 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
6504 mutable_annotation();
6505 const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const;
6506 PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation();
6507 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
6508 annotation() const;
6509
6510 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
6511 private:
6512 class _Internal;
6513
6514 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6515 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6516 typedef void InternalArenaConstructable_;
6517 typedef void DestructorSkippable_;
6518 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6519 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6520 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_;
6521 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
6522 };
6523 // ===================================================================
6524
6525
6526 // ===================================================================
6527
6528 #ifdef __GNUC__
6529 #pragma GCC diagnostic push
6530 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
6531 #endif // __GNUC__
6532 // FileDescriptorSet
6533
6534 // repeated .google.protobuf.FileDescriptorProto file = 1;
file_size()6535 inline int FileDescriptorSet::file_size() const {
6536 return file_.size();
6537 }
clear_file()6538 inline void FileDescriptorSet::clear_file() {
6539 file_.Clear();
6540 }
mutable_file(int index)6541 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
6542 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
6543 return file_.Mutable(index);
6544 }
6545 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
mutable_file()6546 FileDescriptorSet::mutable_file() {
6547 // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
6548 return &file_;
6549 }
file(int index)6550 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const {
6551 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
6552 return file_.Get(index);
6553 }
add_file()6554 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() {
6555 // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
6556 return file_.Add();
6557 }
6558 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
file()6559 FileDescriptorSet::file() const {
6560 // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
6561 return file_;
6562 }
6563
6564 // -------------------------------------------------------------------
6565
6566 // FileDescriptorProto
6567
6568 // optional string name = 1;
has_name()6569 inline bool FileDescriptorProto::has_name() const {
6570 return (_has_bits_[0] & 0x00000001u) != 0;
6571 }
clear_name()6572 inline void FileDescriptorProto::clear_name() {
6573 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6574 _has_bits_[0] &= ~0x00000001u;
6575 }
name()6576 inline const std::string& FileDescriptorProto::name() const {
6577 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
6578 return name_.Get();
6579 }
set_name(const std::string & value)6580 inline void FileDescriptorProto::set_name(const std::string& value) {
6581 _has_bits_[0] |= 0x00000001u;
6582 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
6583 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
6584 }
set_name(std::string && value)6585 inline void FileDescriptorProto::set_name(std::string&& value) {
6586 _has_bits_[0] |= 0x00000001u;
6587 name_.Set(
6588 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
6589 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.name)
6590 }
set_name(const char * value)6591 inline void FileDescriptorProto::set_name(const char* value) {
6592 GOOGLE_DCHECK(value != nullptr);
6593 _has_bits_[0] |= 0x00000001u;
6594 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
6595 GetArenaNoVirtual());
6596 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)
6597 }
set_name(const char * value,size_t size)6598 inline void FileDescriptorProto::set_name(const char* value,
6599 size_t size) {
6600 _has_bits_[0] |= 0x00000001u;
6601 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
6602 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
6603 // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)
6604 }
mutable_name()6605 inline std::string* FileDescriptorProto::mutable_name() {
6606 _has_bits_[0] |= 0x00000001u;
6607 // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
6608 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6609 }
release_name()6610 inline std::string* FileDescriptorProto::release_name() {
6611 // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)
6612 if (!has_name()) {
6613 return nullptr;
6614 }
6615 _has_bits_[0] &= ~0x00000001u;
6616 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6617 }
set_allocated_name(std::string * name)6618 inline void FileDescriptorProto::set_allocated_name(std::string* name) {
6619 if (name != nullptr) {
6620 _has_bits_[0] |= 0x00000001u;
6621 } else {
6622 _has_bits_[0] &= ~0x00000001u;
6623 }
6624 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
6625 GetArenaNoVirtual());
6626 // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
6627 }
unsafe_arena_release_name()6628 inline std::string* FileDescriptorProto::unsafe_arena_release_name() {
6629 // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileDescriptorProto.name)
6630 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
6631 _has_bits_[0] &= ~0x00000001u;
6632 return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6633 GetArenaNoVirtual());
6634 }
unsafe_arena_set_allocated_name(std::string * name)6635 inline void FileDescriptorProto::unsafe_arena_set_allocated_name(
6636 std::string* name) {
6637 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
6638 if (name != nullptr) {
6639 _has_bits_[0] |= 0x00000001u;
6640 } else {
6641 _has_bits_[0] &= ~0x00000001u;
6642 }
6643 name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6644 name, GetArenaNoVirtual());
6645 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.name)
6646 }
6647
6648 // optional string package = 2;
has_package()6649 inline bool FileDescriptorProto::has_package() const {
6650 return (_has_bits_[0] & 0x00000002u) != 0;
6651 }
clear_package()6652 inline void FileDescriptorProto::clear_package() {
6653 package_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6654 _has_bits_[0] &= ~0x00000002u;
6655 }
package()6656 inline const std::string& FileDescriptorProto::package() const {
6657 // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
6658 return package_.Get();
6659 }
set_package(const std::string & value)6660 inline void FileDescriptorProto::set_package(const std::string& value) {
6661 _has_bits_[0] |= 0x00000002u;
6662 package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
6663 // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
6664 }
set_package(std::string && value)6665 inline void FileDescriptorProto::set_package(std::string&& value) {
6666 _has_bits_[0] |= 0x00000002u;
6667 package_.Set(
6668 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
6669 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.package)
6670 }
set_package(const char * value)6671 inline void FileDescriptorProto::set_package(const char* value) {
6672 GOOGLE_DCHECK(value != nullptr);
6673 _has_bits_[0] |= 0x00000002u;
6674 package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
6675 GetArenaNoVirtual());
6676 // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)
6677 }
set_package(const char * value,size_t size)6678