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