/src/LPM/external.protobuf/include/google/protobuf/descriptor.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: google/protobuf/descriptor.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
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 < 3021000 |
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 3021007 < 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_util.h> |
27 | | #include <google/protobuf/metadata_lite.h> |
28 | | #include <google/protobuf/generated_message_reflection.h> |
29 | | #include <google/protobuf/message.h> |
30 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
31 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
32 | | #include <google/protobuf/generated_enum_reflection.h> |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #include <google/protobuf/port_def.inc> |
36 | | #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT |
37 | | PROTOBUF_NAMESPACE_OPEN |
38 | | namespace internal { |
39 | | class AnyMetadata; |
40 | | } // namespace internal |
41 | | PROTOBUF_NAMESPACE_CLOSE |
42 | | |
43 | | // Internal implementation detail -- do not use these members. |
44 | | struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { |
45 | | static const uint32_t offsets[]; |
46 | | }; |
47 | | PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
48 | | PROTOBUF_NAMESPACE_OPEN |
49 | | class DescriptorProto; |
50 | | struct DescriptorProtoDefaultTypeInternal; |
51 | | PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; |
52 | | class DescriptorProto_ExtensionRange; |
53 | | struct DescriptorProto_ExtensionRangeDefaultTypeInternal; |
54 | | PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; |
55 | | class DescriptorProto_ReservedRange; |
56 | | struct DescriptorProto_ReservedRangeDefaultTypeInternal; |
57 | | PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; |
58 | | class EnumDescriptorProto; |
59 | | struct EnumDescriptorProtoDefaultTypeInternal; |
60 | | PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; |
61 | | class EnumDescriptorProto_EnumReservedRange; |
62 | | struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; |
63 | | PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; |
64 | | class EnumOptions; |
65 | | struct EnumOptionsDefaultTypeInternal; |
66 | | PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; |
67 | | class EnumValueDescriptorProto; |
68 | | struct EnumValueDescriptorProtoDefaultTypeInternal; |
69 | | PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; |
70 | | class EnumValueOptions; |
71 | | struct EnumValueOptionsDefaultTypeInternal; |
72 | | PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; |
73 | | class ExtensionRangeOptions; |
74 | | struct ExtensionRangeOptionsDefaultTypeInternal; |
75 | | PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; |
76 | | class FieldDescriptorProto; |
77 | | struct FieldDescriptorProtoDefaultTypeInternal; |
78 | | PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; |
79 | | class FieldOptions; |
80 | | struct FieldOptionsDefaultTypeInternal; |
81 | | PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; |
82 | | class FileDescriptorProto; |
83 | | struct FileDescriptorProtoDefaultTypeInternal; |
84 | | PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; |
85 | | class FileDescriptorSet; |
86 | | struct FileDescriptorSetDefaultTypeInternal; |
87 | | PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; |
88 | | class FileOptions; |
89 | | struct FileOptionsDefaultTypeInternal; |
90 | | PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; |
91 | | class GeneratedCodeInfo; |
92 | | struct GeneratedCodeInfoDefaultTypeInternal; |
93 | | PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; |
94 | | class GeneratedCodeInfo_Annotation; |
95 | | struct GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
96 | | PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; |
97 | | class MessageOptions; |
98 | | struct MessageOptionsDefaultTypeInternal; |
99 | | PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; |
100 | | class MethodDescriptorProto; |
101 | | struct MethodDescriptorProtoDefaultTypeInternal; |
102 | | PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; |
103 | | class MethodOptions; |
104 | | struct MethodOptionsDefaultTypeInternal; |
105 | | PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; |
106 | | class OneofDescriptorProto; |
107 | | struct OneofDescriptorProtoDefaultTypeInternal; |
108 | | PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; |
109 | | class OneofOptions; |
110 | | struct OneofOptionsDefaultTypeInternal; |
111 | | PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; |
112 | | class ServiceDescriptorProto; |
113 | | struct ServiceDescriptorProtoDefaultTypeInternal; |
114 | | PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; |
115 | | class ServiceOptions; |
116 | | struct ServiceOptionsDefaultTypeInternal; |
117 | | PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; |
118 | | class SourceCodeInfo; |
119 | | struct SourceCodeInfoDefaultTypeInternal; |
120 | | PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; |
121 | | class SourceCodeInfo_Location; |
122 | | struct SourceCodeInfo_LocationDefaultTypeInternal; |
123 | | PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; |
124 | | class UninterpretedOption; |
125 | | struct UninterpretedOptionDefaultTypeInternal; |
126 | | PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; |
127 | | class UninterpretedOption_NamePart; |
128 | | struct UninterpretedOption_NamePartDefaultTypeInternal; |
129 | | PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; |
130 | | PROTOBUF_NAMESPACE_CLOSE |
131 | | PROTOBUF_NAMESPACE_OPEN |
132 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*); |
133 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*); |
134 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*); |
135 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*); |
136 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*); |
137 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*); |
138 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*); |
139 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*); |
140 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*); |
141 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*); |
142 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*); |
143 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*); |
144 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*); |
145 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*); |
146 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*); |
147 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*); |
148 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*); |
149 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*); |
150 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*); |
151 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*); |
152 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*); |
153 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*); |
154 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*); |
155 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*); |
156 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*); |
157 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*); |
158 | | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*); |
159 | | PROTOBUF_NAMESPACE_CLOSE |
160 | | PROTOBUF_NAMESPACE_OPEN |
161 | | |
162 | | enum FieldDescriptorProto_Type : int { |
163 | | FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
164 | | FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
165 | | FieldDescriptorProto_Type_TYPE_INT64 = 3, |
166 | | FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
167 | | FieldDescriptorProto_Type_TYPE_INT32 = 5, |
168 | | FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
169 | | FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
170 | | FieldDescriptorProto_Type_TYPE_BOOL = 8, |
171 | | FieldDescriptorProto_Type_TYPE_STRING = 9, |
172 | | FieldDescriptorProto_Type_TYPE_GROUP = 10, |
173 | | FieldDescriptorProto_Type_TYPE_MESSAGE = 11, |
174 | | FieldDescriptorProto_Type_TYPE_BYTES = 12, |
175 | | FieldDescriptorProto_Type_TYPE_UINT32 = 13, |
176 | | FieldDescriptorProto_Type_TYPE_ENUM = 14, |
177 | | FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, |
178 | | FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, |
179 | | FieldDescriptorProto_Type_TYPE_SINT32 = 17, |
180 | | FieldDescriptorProto_Type_TYPE_SINT64 = 18 |
181 | | }; |
182 | | PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); |
183 | | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE; |
184 | | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64; |
185 | | constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1; |
186 | | |
187 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor(); |
188 | | template<typename T> |
189 | | inline const std::string& FieldDescriptorProto_Type_Name(T enum_t_value) { |
190 | | static_assert(::std::is_same<T, FieldDescriptorProto_Type>::value || |
191 | | ::std::is_integral<T>::value, |
192 | | "Incorrect type passed to function FieldDescriptorProto_Type_Name."); |
193 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
194 | | FieldDescriptorProto_Type_descriptor(), enum_t_value); |
195 | | } |
196 | | inline bool FieldDescriptorProto_Type_Parse( |
197 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Type* value) { |
198 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
199 | 0 | FieldDescriptorProto_Type_descriptor(), name, value); |
200 | 0 | } |
201 | | enum FieldDescriptorProto_Label : int { |
202 | | FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
203 | | FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
204 | | FieldDescriptorProto_Label_LABEL_REPEATED = 3 |
205 | | }; |
206 | | PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
207 | | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
208 | | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED; |
209 | | constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1; |
210 | | |
211 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor(); |
212 | | template<typename T> |
213 | | inline const std::string& FieldDescriptorProto_Label_Name(T enum_t_value) { |
214 | | static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value || |
215 | | ::std::is_integral<T>::value, |
216 | | "Incorrect type passed to function FieldDescriptorProto_Label_Name."); |
217 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
218 | | FieldDescriptorProto_Label_descriptor(), enum_t_value); |
219 | | } |
220 | | inline bool FieldDescriptorProto_Label_Parse( |
221 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Label* value) { |
222 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
223 | 0 | FieldDescriptorProto_Label_descriptor(), name, value); |
224 | 0 | } |
225 | | enum FileOptions_OptimizeMode : int { |
226 | | FileOptions_OptimizeMode_SPEED = 1, |
227 | | FileOptions_OptimizeMode_CODE_SIZE = 2, |
228 | | FileOptions_OptimizeMode_LITE_RUNTIME = 3 |
229 | | }; |
230 | | PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
231 | | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED; |
232 | | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME; |
233 | | constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1; |
234 | | |
235 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor(); |
236 | | template<typename T> |
237 | | inline const std::string& FileOptions_OptimizeMode_Name(T enum_t_value) { |
238 | | static_assert(::std::is_same<T, FileOptions_OptimizeMode>::value || |
239 | | ::std::is_integral<T>::value, |
240 | | "Incorrect type passed to function FileOptions_OptimizeMode_Name."); |
241 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
242 | | FileOptions_OptimizeMode_descriptor(), enum_t_value); |
243 | | } |
244 | | inline bool FileOptions_OptimizeMode_Parse( |
245 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileOptions_OptimizeMode* value) { |
246 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
247 | 0 | FileOptions_OptimizeMode_descriptor(), name, value); |
248 | 0 | } |
249 | | enum FieldOptions_CType : int { |
250 | | FieldOptions_CType_STRING = 0, |
251 | | FieldOptions_CType_CORD = 1, |
252 | | FieldOptions_CType_STRING_PIECE = 2 |
253 | | }; |
254 | | PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
255 | | constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING; |
256 | | constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE; |
257 | | constexpr int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1; |
258 | | |
259 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor(); |
260 | | template<typename T> |
261 | | inline const std::string& FieldOptions_CType_Name(T enum_t_value) { |
262 | | static_assert(::std::is_same<T, FieldOptions_CType>::value || |
263 | | ::std::is_integral<T>::value, |
264 | | "Incorrect type passed to function FieldOptions_CType_Name."); |
265 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
266 | | FieldOptions_CType_descriptor(), enum_t_value); |
267 | | } |
268 | | inline bool FieldOptions_CType_Parse( |
269 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_CType* value) { |
270 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>( |
271 | 0 | FieldOptions_CType_descriptor(), name, value); |
272 | 0 | } |
273 | | enum FieldOptions_JSType : int { |
274 | | FieldOptions_JSType_JS_NORMAL = 0, |
275 | | FieldOptions_JSType_JS_STRING = 1, |
276 | | FieldOptions_JSType_JS_NUMBER = 2 |
277 | | }; |
278 | | PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); |
279 | | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL; |
280 | | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER; |
281 | | constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1; |
282 | | |
283 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor(); |
284 | | template<typename T> |
285 | | inline const std::string& FieldOptions_JSType_Name(T enum_t_value) { |
286 | | static_assert(::std::is_same<T, FieldOptions_JSType>::value || |
287 | | ::std::is_integral<T>::value, |
288 | | "Incorrect type passed to function FieldOptions_JSType_Name."); |
289 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
290 | | FieldOptions_JSType_descriptor(), enum_t_value); |
291 | | } |
292 | | inline bool FieldOptions_JSType_Parse( |
293 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_JSType* value) { |
294 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>( |
295 | 0 | FieldOptions_JSType_descriptor(), name, value); |
296 | 0 | } |
297 | | enum MethodOptions_IdempotencyLevel : int { |
298 | | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
299 | | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
300 | | MethodOptions_IdempotencyLevel_IDEMPOTENT = 2 |
301 | | }; |
302 | | PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
303 | | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
304 | | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT; |
305 | | constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1; |
306 | | |
307 | | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor(); |
308 | | template<typename T> |
309 | | inline const std::string& MethodOptions_IdempotencyLevel_Name(T enum_t_value) { |
310 | | static_assert(::std::is_same<T, MethodOptions_IdempotencyLevel>::value || |
311 | | ::std::is_integral<T>::value, |
312 | | "Incorrect type passed to function MethodOptions_IdempotencyLevel_Name."); |
313 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
314 | | MethodOptions_IdempotencyLevel_descriptor(), enum_t_value); |
315 | | } |
316 | | inline bool MethodOptions_IdempotencyLevel_Parse( |
317 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MethodOptions_IdempotencyLevel* value) { |
318 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
319 | 0 | MethodOptions_IdempotencyLevel_descriptor(), name, value); |
320 | 0 | } |
321 | | // =================================================================== |
322 | | |
323 | | class PROTOBUF_EXPORT FileDescriptorSet final : |
324 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { |
325 | | public: |
326 | 0 | inline FileDescriptorSet() : FileDescriptorSet(nullptr) {} |
327 | | ~FileDescriptorSet() override; |
328 | | explicit PROTOBUF_CONSTEXPR FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
329 | | |
330 | | FileDescriptorSet(const FileDescriptorSet& from); |
331 | | FileDescriptorSet(FileDescriptorSet&& from) noexcept |
332 | 0 | : FileDescriptorSet() { |
333 | 0 | *this = ::std::move(from); |
334 | 0 | } |
335 | | |
336 | 0 | inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
337 | 0 | CopyFrom(from); |
338 | 0 | return *this; |
339 | 0 | } |
340 | 0 | inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
341 | 0 | if (this == &from) return *this; |
342 | 0 | if (GetOwningArena() == from.GetOwningArena() |
343 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
344 | 0 | && GetOwningArena() != nullptr |
345 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
346 | 0 | ) { |
347 | 0 | InternalSwap(&from); |
348 | 0 | } else { |
349 | 0 | CopyFrom(from); |
350 | 0 | } |
351 | 0 | return *this; |
352 | 0 | } |
353 | | |
354 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
355 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
356 | 0 | } |
357 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
358 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
359 | 0 | } |
360 | | |
361 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
362 | 0 | return GetDescriptor(); |
363 | 0 | } |
364 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
365 | 0 | return default_instance().GetMetadata().descriptor; |
366 | 0 | } |
367 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
368 | 0 | return default_instance().GetMetadata().reflection; |
369 | 0 | } |
370 | 0 | static const FileDescriptorSet& default_instance() { |
371 | 0 | return *internal_default_instance(); |
372 | 0 | } |
373 | 0 | static inline const FileDescriptorSet* internal_default_instance() { |
374 | 0 | return reinterpret_cast<const FileDescriptorSet*>( |
375 | 0 | &_FileDescriptorSet_default_instance_); |
376 | 0 | } |
377 | | static constexpr int kIndexInFileMessages = |
378 | | 0; |
379 | | |
380 | 0 | friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { |
381 | 0 | a.Swap(&b); |
382 | 0 | } |
383 | 0 | inline void Swap(FileDescriptorSet* other) { |
384 | 0 | if (other == this) return; |
385 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
386 | 0 | if (GetOwningArena() != nullptr && |
387 | 0 | GetOwningArena() == other->GetOwningArena()) { |
388 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
389 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
390 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
391 | 0 | InternalSwap(other); |
392 | 0 | } else { |
393 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
394 | 0 | } |
395 | 0 | } |
396 | 0 | void UnsafeArenaSwap(FileDescriptorSet* other) { |
397 | 0 | if (other == this) return; |
398 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
399 | 0 | InternalSwap(other); |
400 | 0 | } |
401 | | |
402 | | // implements Message ---------------------------------------------- |
403 | | |
404 | 0 | FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
405 | 0 | return CreateMaybeMessage<FileDescriptorSet>(arena); |
406 | 0 | } |
407 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
408 | | void CopyFrom(const FileDescriptorSet& from); |
409 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
410 | 0 | void MergeFrom( const FileDescriptorSet& from) { |
411 | 0 | FileDescriptorSet::MergeImpl(*this, from); |
412 | 0 | } |
413 | | private: |
414 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
415 | | public: |
416 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
417 | | bool IsInitialized() const final; |
418 | | |
419 | | size_t ByteSizeLong() const final; |
420 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
421 | | uint8_t* _InternalSerialize( |
422 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
423 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
424 | | |
425 | | private: |
426 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
427 | | void SharedDtor(); |
428 | | void SetCachedSize(int size) const final; |
429 | | void InternalSwap(FileDescriptorSet* other); |
430 | | |
431 | | private: |
432 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
433 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
434 | 0 | return "google.protobuf.FileDescriptorSet"; |
435 | 0 | } |
436 | | protected: |
437 | | explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
438 | | bool is_message_owned = false); |
439 | | public: |
440 | | |
441 | | static const ClassData _class_data_; |
442 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
443 | | |
444 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
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 | | struct Impl_ { |
479 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_; |
480 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
481 | | }; |
482 | | union { Impl_ _impl_; }; |
483 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
484 | | }; |
485 | | // ------------------------------------------------------------------- |
486 | | |
487 | | class PROTOBUF_EXPORT FileDescriptorProto final : |
488 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { |
489 | | public: |
490 | 0 | inline FileDescriptorProto() : FileDescriptorProto(nullptr) {} |
491 | | ~FileDescriptorProto() override; |
492 | | explicit PROTOBUF_CONSTEXPR FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
493 | | |
494 | | FileDescriptorProto(const FileDescriptorProto& from); |
495 | | FileDescriptorProto(FileDescriptorProto&& from) noexcept |
496 | 0 | : FileDescriptorProto() { |
497 | 0 | *this = ::std::move(from); |
498 | 0 | } |
499 | | |
500 | 0 | inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
501 | 0 | CopyFrom(from); |
502 | 0 | return *this; |
503 | 0 | } |
504 | 0 | inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
505 | 0 | if (this == &from) return *this; |
506 | 0 | if (GetOwningArena() == from.GetOwningArena() |
507 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
508 | 0 | && GetOwningArena() != nullptr |
509 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
510 | 0 | ) { |
511 | 0 | InternalSwap(&from); |
512 | 0 | } else { |
513 | 0 | CopyFrom(from); |
514 | 0 | } |
515 | 0 | return *this; |
516 | 0 | } |
517 | | |
518 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
519 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
520 | 0 | } |
521 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
522 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
523 | 0 | } |
524 | | |
525 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
526 | 0 | return GetDescriptor(); |
527 | 0 | } |
528 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
529 | 0 | return default_instance().GetMetadata().descriptor; |
530 | 0 | } |
531 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
532 | 0 | return default_instance().GetMetadata().reflection; |
533 | 0 | } |
534 | 0 | static const FileDescriptorProto& default_instance() { |
535 | 0 | return *internal_default_instance(); |
536 | 0 | } |
537 | 0 | static inline const FileDescriptorProto* internal_default_instance() { |
538 | 0 | return reinterpret_cast<const FileDescriptorProto*>( |
539 | 0 | &_FileDescriptorProto_default_instance_); |
540 | 0 | } |
541 | | static constexpr int kIndexInFileMessages = |
542 | | 1; |
543 | | |
544 | 0 | friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { |
545 | 0 | a.Swap(&b); |
546 | 0 | } |
547 | 0 | inline void Swap(FileDescriptorProto* other) { |
548 | 0 | if (other == this) return; |
549 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
550 | 0 | if (GetOwningArena() != nullptr && |
551 | 0 | GetOwningArena() == other->GetOwningArena()) { |
552 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
553 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
554 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
555 | 0 | InternalSwap(other); |
556 | 0 | } else { |
557 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
558 | 0 | } |
559 | 0 | } |
560 | 0 | void UnsafeArenaSwap(FileDescriptorProto* other) { |
561 | 0 | if (other == this) return; |
562 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
563 | 0 | InternalSwap(other); |
564 | 0 | } |
565 | | |
566 | | // implements Message ---------------------------------------------- |
567 | | |
568 | 0 | FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
569 | 0 | return CreateMaybeMessage<FileDescriptorProto>(arena); |
570 | 0 | } |
571 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
572 | | void CopyFrom(const FileDescriptorProto& from); |
573 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
574 | 0 | void MergeFrom( const FileDescriptorProto& from) { |
575 | 0 | FileDescriptorProto::MergeImpl(*this, from); |
576 | 0 | } |
577 | | private: |
578 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
579 | | public: |
580 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
581 | | bool IsInitialized() const final; |
582 | | |
583 | | size_t ByteSizeLong() const final; |
584 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
585 | | uint8_t* _InternalSerialize( |
586 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
587 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
588 | | |
589 | | private: |
590 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
591 | | void SharedDtor(); |
592 | | void SetCachedSize(int size) const final; |
593 | | void InternalSwap(FileDescriptorProto* other); |
594 | | |
595 | | private: |
596 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
597 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
598 | 0 | return "google.protobuf.FileDescriptorProto"; |
599 | 0 | } |
600 | | protected: |
601 | | explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
602 | | bool is_message_owned = false); |
603 | | public: |
604 | | |
605 | | static const ClassData _class_data_; |
606 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
607 | | |
608 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
609 | | |
610 | | // nested types ---------------------------------------------------- |
611 | | |
612 | | // accessors ------------------------------------------------------- |
613 | | |
614 | | enum : int { |
615 | | kDependencyFieldNumber = 3, |
616 | | kMessageTypeFieldNumber = 4, |
617 | | kEnumTypeFieldNumber = 5, |
618 | | kServiceFieldNumber = 6, |
619 | | kExtensionFieldNumber = 7, |
620 | | kPublicDependencyFieldNumber = 10, |
621 | | kWeakDependencyFieldNumber = 11, |
622 | | kNameFieldNumber = 1, |
623 | | kPackageFieldNumber = 2, |
624 | | kSyntaxFieldNumber = 12, |
625 | | kOptionsFieldNumber = 8, |
626 | | kSourceCodeInfoFieldNumber = 9, |
627 | | }; |
628 | | // repeated string dependency = 3; |
629 | | int dependency_size() const; |
630 | | private: |
631 | | int _internal_dependency_size() const; |
632 | | public: |
633 | | void clear_dependency(); |
634 | | const std::string& dependency(int index) const; |
635 | | std::string* mutable_dependency(int index); |
636 | | void set_dependency(int index, const std::string& value); |
637 | | void set_dependency(int index, std::string&& value); |
638 | | void set_dependency(int index, const char* value); |
639 | | void set_dependency(int index, const char* value, size_t size); |
640 | | std::string* add_dependency(); |
641 | | void add_dependency(const std::string& value); |
642 | | void add_dependency(std::string&& value); |
643 | | void add_dependency(const char* value); |
644 | | void add_dependency(const char* value, size_t size); |
645 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const; |
646 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency(); |
647 | | private: |
648 | | const std::string& _internal_dependency(int index) const; |
649 | | std::string* _internal_add_dependency(); |
650 | | public: |
651 | | |
652 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
653 | | int message_type_size() const; |
654 | | private: |
655 | | int _internal_message_type_size() const; |
656 | | public: |
657 | | void clear_message_type(); |
658 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index); |
659 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
660 | | mutable_message_type(); |
661 | | private: |
662 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const; |
663 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type(); |
664 | | public: |
665 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const; |
666 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type(); |
667 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
668 | | message_type() const; |
669 | | |
670 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
671 | | int enum_type_size() const; |
672 | | private: |
673 | | int _internal_enum_type_size() const; |
674 | | public: |
675 | | void clear_enum_type(); |
676 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); |
677 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
678 | | mutable_enum_type(); |
679 | | private: |
680 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; |
681 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); |
682 | | public: |
683 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; |
684 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); |
685 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
686 | | enum_type() const; |
687 | | |
688 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
689 | | int service_size() const; |
690 | | private: |
691 | | int _internal_service_size() const; |
692 | | public: |
693 | | void clear_service(); |
694 | | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index); |
695 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* |
696 | | mutable_service(); |
697 | | private: |
698 | | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const; |
699 | | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service(); |
700 | | public: |
701 | | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const; |
702 | | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service(); |
703 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& |
704 | | service() const; |
705 | | |
706 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
707 | | int extension_size() const; |
708 | | private: |
709 | | int _internal_extension_size() const; |
710 | | public: |
711 | | void clear_extension(); |
712 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); |
713 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
714 | | mutable_extension(); |
715 | | private: |
716 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; |
717 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); |
718 | | public: |
719 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; |
720 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); |
721 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
722 | | extension() const; |
723 | | |
724 | | // repeated int32 public_dependency = 10; |
725 | | int public_dependency_size() const; |
726 | | private: |
727 | | int _internal_public_dependency_size() const; |
728 | | public: |
729 | | void clear_public_dependency(); |
730 | | private: |
731 | | int32_t _internal_public_dependency(int index) const; |
732 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
733 | | _internal_public_dependency() const; |
734 | | void _internal_add_public_dependency(int32_t value); |
735 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
736 | | _internal_mutable_public_dependency(); |
737 | | public: |
738 | | int32_t public_dependency(int index) const; |
739 | | void set_public_dependency(int index, int32_t value); |
740 | | void add_public_dependency(int32_t value); |
741 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
742 | | public_dependency() const; |
743 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
744 | | mutable_public_dependency(); |
745 | | |
746 | | // repeated int32 weak_dependency = 11; |
747 | | int weak_dependency_size() const; |
748 | | private: |
749 | | int _internal_weak_dependency_size() const; |
750 | | public: |
751 | | void clear_weak_dependency(); |
752 | | private: |
753 | | int32_t _internal_weak_dependency(int index) const; |
754 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
755 | | _internal_weak_dependency() const; |
756 | | void _internal_add_weak_dependency(int32_t value); |
757 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
758 | | _internal_mutable_weak_dependency(); |
759 | | public: |
760 | | int32_t weak_dependency(int index) const; |
761 | | void set_weak_dependency(int index, int32_t value); |
762 | | void add_weak_dependency(int32_t value); |
763 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
764 | | weak_dependency() const; |
765 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
766 | | mutable_weak_dependency(); |
767 | | |
768 | | // optional string name = 1; |
769 | | bool has_name() const; |
770 | | private: |
771 | | bool _internal_has_name() const; |
772 | | public: |
773 | | void clear_name(); |
774 | | const std::string& name() const; |
775 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
776 | | void set_name(ArgT0&& arg0, ArgT... args); |
777 | | std::string* mutable_name(); |
778 | | PROTOBUF_NODISCARD std::string* release_name(); |
779 | | void set_allocated_name(std::string* name); |
780 | | private: |
781 | | const std::string& _internal_name() const; |
782 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
783 | | std::string* _internal_mutable_name(); |
784 | | public: |
785 | | |
786 | | // optional string package = 2; |
787 | | bool has_package() const; |
788 | | private: |
789 | | bool _internal_has_package() const; |
790 | | public: |
791 | | void clear_package(); |
792 | | const std::string& package() const; |
793 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
794 | | void set_package(ArgT0&& arg0, ArgT... args); |
795 | | std::string* mutable_package(); |
796 | | PROTOBUF_NODISCARD std::string* release_package(); |
797 | | void set_allocated_package(std::string* package); |
798 | | private: |
799 | | const std::string& _internal_package() const; |
800 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_package(const std::string& value); |
801 | | std::string* _internal_mutable_package(); |
802 | | public: |
803 | | |
804 | | // optional string syntax = 12; |
805 | | bool has_syntax() const; |
806 | | private: |
807 | | bool _internal_has_syntax() const; |
808 | | public: |
809 | | void clear_syntax(); |
810 | | const std::string& syntax() const; |
811 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
812 | | void set_syntax(ArgT0&& arg0, ArgT... args); |
813 | | std::string* mutable_syntax(); |
814 | | PROTOBUF_NODISCARD std::string* release_syntax(); |
815 | | void set_allocated_syntax(std::string* syntax); |
816 | | private: |
817 | | const std::string& _internal_syntax() const; |
818 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax(const std::string& value); |
819 | | std::string* _internal_mutable_syntax(); |
820 | | public: |
821 | | |
822 | | // optional .google.protobuf.FileOptions options = 8; |
823 | | bool has_options() const; |
824 | | private: |
825 | | bool _internal_has_options() const; |
826 | | public: |
827 | | void clear_options(); |
828 | | const ::PROTOBUF_NAMESPACE_ID::FileOptions& options() const; |
829 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FileOptions* release_options(); |
830 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options(); |
831 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options); |
832 | | private: |
833 | | const ::PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const; |
834 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options(); |
835 | | public: |
836 | | void unsafe_arena_set_allocated_options( |
837 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* options); |
838 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options(); |
839 | | |
840 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
841 | | bool has_source_code_info() const; |
842 | | private: |
843 | | bool _internal_has_source_code_info() const; |
844 | | public: |
845 | | void clear_source_code_info(); |
846 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const; |
847 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info(); |
848 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info(); |
849 | | void set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); |
850 | | private: |
851 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const; |
852 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info(); |
853 | | public: |
854 | | void unsafe_arena_set_allocated_source_code_info( |
855 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); |
856 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info(); |
857 | | |
858 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
859 | | private: |
860 | | class _Internal; |
861 | | |
862 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
863 | | typedef void InternalArenaConstructable_; |
864 | | typedef void DestructorSkippable_; |
865 | | struct Impl_ { |
866 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
867 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
868 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_; |
869 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_; |
870 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; |
871 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_; |
872 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; |
873 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > public_dependency_; |
874 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > weak_dependency_; |
875 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
876 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_; |
877 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_; |
878 | | ::PROTOBUF_NAMESPACE_ID::FileOptions* options_; |
879 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_; |
880 | | }; |
881 | | union { Impl_ _impl_; }; |
882 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
883 | | }; |
884 | | // ------------------------------------------------------------------- |
885 | | |
886 | | class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : |
887 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { |
888 | | public: |
889 | 0 | inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {} |
890 | | ~DescriptorProto_ExtensionRange() override; |
891 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
892 | | |
893 | | DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
894 | | DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept |
895 | 0 | : DescriptorProto_ExtensionRange() { |
896 | 0 | *this = ::std::move(from); |
897 | 0 | } |
898 | | |
899 | 0 | inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
900 | 0 | CopyFrom(from); |
901 | 0 | return *this; |
902 | 0 | } |
903 | 0 | inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
904 | 0 | if (this == &from) return *this; |
905 | 0 | if (GetOwningArena() == from.GetOwningArena() |
906 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
907 | 0 | && GetOwningArena() != nullptr |
908 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
909 | 0 | ) { |
910 | 0 | InternalSwap(&from); |
911 | 0 | } else { |
912 | 0 | CopyFrom(from); |
913 | 0 | } |
914 | 0 | return *this; |
915 | 0 | } |
916 | | |
917 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
918 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
919 | 0 | } |
920 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
921 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
922 | 0 | } |
923 | | |
924 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
925 | 0 | return GetDescriptor(); |
926 | 0 | } |
927 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
928 | 0 | return default_instance().GetMetadata().descriptor; |
929 | 0 | } |
930 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
931 | 0 | return default_instance().GetMetadata().reflection; |
932 | 0 | } |
933 | 0 | static const DescriptorProto_ExtensionRange& default_instance() { |
934 | 0 | return *internal_default_instance(); |
935 | 0 | } |
936 | 0 | static inline const DescriptorProto_ExtensionRange* internal_default_instance() { |
937 | 0 | return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
938 | 0 | &_DescriptorProto_ExtensionRange_default_instance_); |
939 | 0 | } |
940 | | static constexpr int kIndexInFileMessages = |
941 | | 2; |
942 | | |
943 | 0 | friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { |
944 | 0 | a.Swap(&b); |
945 | 0 | } |
946 | 0 | inline void Swap(DescriptorProto_ExtensionRange* other) { |
947 | 0 | if (other == this) return; |
948 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
949 | 0 | if (GetOwningArena() != nullptr && |
950 | 0 | GetOwningArena() == other->GetOwningArena()) { |
951 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
952 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
953 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
954 | 0 | InternalSwap(other); |
955 | 0 | } else { |
956 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
957 | 0 | } |
958 | 0 | } |
959 | 0 | void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) { |
960 | 0 | if (other == this) return; |
961 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
962 | 0 | InternalSwap(other); |
963 | 0 | } |
964 | | |
965 | | // implements Message ---------------------------------------------- |
966 | | |
967 | 0 | DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
968 | 0 | return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena); |
969 | 0 | } |
970 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
971 | | void CopyFrom(const DescriptorProto_ExtensionRange& from); |
972 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
973 | 0 | void MergeFrom( const DescriptorProto_ExtensionRange& from) { |
974 | 0 | DescriptorProto_ExtensionRange::MergeImpl(*this, from); |
975 | 0 | } |
976 | | private: |
977 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
978 | | public: |
979 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
980 | | bool IsInitialized() const final; |
981 | | |
982 | | size_t ByteSizeLong() const final; |
983 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
984 | | uint8_t* _InternalSerialize( |
985 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
986 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
987 | | |
988 | | private: |
989 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
990 | | void SharedDtor(); |
991 | | void SetCachedSize(int size) const final; |
992 | | void InternalSwap(DescriptorProto_ExtensionRange* other); |
993 | | |
994 | | private: |
995 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
996 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
997 | 0 | return "google.protobuf.DescriptorProto.ExtensionRange"; |
998 | 0 | } |
999 | | protected: |
1000 | | explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1001 | | bool is_message_owned = false); |
1002 | | public: |
1003 | | |
1004 | | static const ClassData _class_data_; |
1005 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1006 | | |
1007 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1008 | | |
1009 | | // nested types ---------------------------------------------------- |
1010 | | |
1011 | | // accessors ------------------------------------------------------- |
1012 | | |
1013 | | enum : int { |
1014 | | kOptionsFieldNumber = 3, |
1015 | | kStartFieldNumber = 1, |
1016 | | kEndFieldNumber = 2, |
1017 | | }; |
1018 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
1019 | | bool has_options() const; |
1020 | | private: |
1021 | | bool _internal_has_options() const; |
1022 | | public: |
1023 | | void clear_options(); |
1024 | | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const; |
1025 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options(); |
1026 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options(); |
1027 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); |
1028 | | private: |
1029 | | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const; |
1030 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options(); |
1031 | | public: |
1032 | | void unsafe_arena_set_allocated_options( |
1033 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); |
1034 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options(); |
1035 | | |
1036 | | // optional int32 start = 1; |
1037 | | bool has_start() const; |
1038 | | private: |
1039 | | bool _internal_has_start() const; |
1040 | | public: |
1041 | | void clear_start(); |
1042 | | int32_t start() const; |
1043 | | void set_start(int32_t value); |
1044 | | private: |
1045 | | int32_t _internal_start() const; |
1046 | | void _internal_set_start(int32_t value); |
1047 | | public: |
1048 | | |
1049 | | // optional int32 end = 2; |
1050 | | bool has_end() const; |
1051 | | private: |
1052 | | bool _internal_has_end() const; |
1053 | | public: |
1054 | | void clear_end(); |
1055 | | int32_t end() const; |
1056 | | void set_end(int32_t value); |
1057 | | private: |
1058 | | int32_t _internal_end() const; |
1059 | | void _internal_set_end(int32_t value); |
1060 | | public: |
1061 | | |
1062 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
1063 | | private: |
1064 | | class _Internal; |
1065 | | |
1066 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1067 | | typedef void InternalArenaConstructable_; |
1068 | | typedef void DestructorSkippable_; |
1069 | | struct Impl_ { |
1070 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1071 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1072 | | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_; |
1073 | | int32_t start_; |
1074 | | int32_t end_; |
1075 | | }; |
1076 | | union { Impl_ _impl_; }; |
1077 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1078 | | }; |
1079 | | // ------------------------------------------------------------------- |
1080 | | |
1081 | | class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : |
1082 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ { |
1083 | | public: |
1084 | 0 | inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {} |
1085 | | ~DescriptorProto_ReservedRange() override; |
1086 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1087 | | |
1088 | | DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); |
1089 | | DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept |
1090 | 0 | : DescriptorProto_ReservedRange() { |
1091 | 0 | *this = ::std::move(from); |
1092 | 0 | } |
1093 | | |
1094 | 0 | inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { |
1095 | 0 | CopyFrom(from); |
1096 | 0 | return *this; |
1097 | 0 | } |
1098 | 0 | inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
1099 | 0 | if (this == &from) return *this; |
1100 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1101 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1102 | 0 | && GetOwningArena() != nullptr |
1103 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1104 | 0 | ) { |
1105 | 0 | InternalSwap(&from); |
1106 | 0 | } else { |
1107 | 0 | CopyFrom(from); |
1108 | 0 | } |
1109 | 0 | return *this; |
1110 | 0 | } |
1111 | | |
1112 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1113 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1114 | 0 | } |
1115 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1116 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1117 | 0 | } |
1118 | | |
1119 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1120 | 0 | return GetDescriptor(); |
1121 | 0 | } |
1122 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1123 | 0 | return default_instance().GetMetadata().descriptor; |
1124 | 0 | } |
1125 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1126 | 0 | return default_instance().GetMetadata().reflection; |
1127 | 0 | } |
1128 | 0 | static const DescriptorProto_ReservedRange& default_instance() { |
1129 | 0 | return *internal_default_instance(); |
1130 | 0 | } |
1131 | 0 | static inline const DescriptorProto_ReservedRange* internal_default_instance() { |
1132 | 0 | return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
1133 | 0 | &_DescriptorProto_ReservedRange_default_instance_); |
1134 | 0 | } |
1135 | | static constexpr int kIndexInFileMessages = |
1136 | | 3; |
1137 | | |
1138 | 0 | friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { |
1139 | 0 | a.Swap(&b); |
1140 | 0 | } |
1141 | 0 | inline void Swap(DescriptorProto_ReservedRange* other) { |
1142 | 0 | if (other == this) return; |
1143 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1144 | 0 | if (GetOwningArena() != nullptr && |
1145 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1146 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1147 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1148 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1149 | 0 | InternalSwap(other); |
1150 | 0 | } else { |
1151 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1152 | 0 | } |
1153 | 0 | } |
1154 | 0 | void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) { |
1155 | 0 | if (other == this) return; |
1156 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1157 | 0 | InternalSwap(other); |
1158 | 0 | } |
1159 | | |
1160 | | // implements Message ---------------------------------------------- |
1161 | | |
1162 | 0 | DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1163 | 0 | return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena); |
1164 | 0 | } |
1165 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1166 | | void CopyFrom(const DescriptorProto_ReservedRange& from); |
1167 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1168 | 0 | void MergeFrom( const DescriptorProto_ReservedRange& from) { |
1169 | 0 | DescriptorProto_ReservedRange::MergeImpl(*this, from); |
1170 | 0 | } |
1171 | | private: |
1172 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1173 | | public: |
1174 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1175 | | bool IsInitialized() const final; |
1176 | | |
1177 | | size_t ByteSizeLong() const final; |
1178 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1179 | | uint8_t* _InternalSerialize( |
1180 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1181 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1182 | | |
1183 | | private: |
1184 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1185 | | void SharedDtor(); |
1186 | | void SetCachedSize(int size) const final; |
1187 | | void InternalSwap(DescriptorProto_ReservedRange* other); |
1188 | | |
1189 | | private: |
1190 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1191 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1192 | 0 | return "google.protobuf.DescriptorProto.ReservedRange"; |
1193 | 0 | } |
1194 | | protected: |
1195 | | explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1196 | | bool is_message_owned = false); |
1197 | | public: |
1198 | | |
1199 | | static const ClassData _class_data_; |
1200 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1201 | | |
1202 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1203 | | |
1204 | | // nested types ---------------------------------------------------- |
1205 | | |
1206 | | // accessors ------------------------------------------------------- |
1207 | | |
1208 | | enum : int { |
1209 | | kStartFieldNumber = 1, |
1210 | | kEndFieldNumber = 2, |
1211 | | }; |
1212 | | // optional int32 start = 1; |
1213 | | bool has_start() const; |
1214 | | private: |
1215 | | bool _internal_has_start() const; |
1216 | | public: |
1217 | | void clear_start(); |
1218 | | int32_t start() const; |
1219 | | void set_start(int32_t value); |
1220 | | private: |
1221 | | int32_t _internal_start() const; |
1222 | | void _internal_set_start(int32_t value); |
1223 | | public: |
1224 | | |
1225 | | // optional int32 end = 2; |
1226 | | bool has_end() const; |
1227 | | private: |
1228 | | bool _internal_has_end() const; |
1229 | | public: |
1230 | | void clear_end(); |
1231 | | int32_t end() const; |
1232 | | void set_end(int32_t value); |
1233 | | private: |
1234 | | int32_t _internal_end() const; |
1235 | | void _internal_set_end(int32_t value); |
1236 | | public: |
1237 | | |
1238 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) |
1239 | | private: |
1240 | | class _Internal; |
1241 | | |
1242 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1243 | | typedef void InternalArenaConstructable_; |
1244 | | typedef void DestructorSkippable_; |
1245 | | struct Impl_ { |
1246 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1247 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1248 | | int32_t start_; |
1249 | | int32_t end_; |
1250 | | }; |
1251 | | union { Impl_ _impl_; }; |
1252 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1253 | | }; |
1254 | | // ------------------------------------------------------------------- |
1255 | | |
1256 | | class PROTOBUF_EXPORT DescriptorProto final : |
1257 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
1258 | | public: |
1259 | 0 | inline DescriptorProto() : DescriptorProto(nullptr) {} |
1260 | | ~DescriptorProto() override; |
1261 | | explicit PROTOBUF_CONSTEXPR DescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1262 | | |
1263 | | DescriptorProto(const DescriptorProto& from); |
1264 | | DescriptorProto(DescriptorProto&& from) noexcept |
1265 | 0 | : DescriptorProto() { |
1266 | 0 | *this = ::std::move(from); |
1267 | 0 | } |
1268 | | |
1269 | 0 | inline DescriptorProto& operator=(const DescriptorProto& from) { |
1270 | 0 | CopyFrom(from); |
1271 | 0 | return *this; |
1272 | 0 | } |
1273 | 0 | inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
1274 | 0 | if (this == &from) return *this; |
1275 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1276 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1277 | 0 | && GetOwningArena() != nullptr |
1278 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1279 | 0 | ) { |
1280 | 0 | InternalSwap(&from); |
1281 | 0 | } else { |
1282 | 0 | CopyFrom(from); |
1283 | 0 | } |
1284 | 0 | return *this; |
1285 | 0 | } |
1286 | | |
1287 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1288 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1289 | 0 | } |
1290 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1291 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1292 | 0 | } |
1293 | | |
1294 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1295 | 0 | return GetDescriptor(); |
1296 | 0 | } |
1297 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1298 | 0 | return default_instance().GetMetadata().descriptor; |
1299 | 0 | } |
1300 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1301 | 0 | return default_instance().GetMetadata().reflection; |
1302 | 0 | } |
1303 | 0 | static const DescriptorProto& default_instance() { |
1304 | 0 | return *internal_default_instance(); |
1305 | 0 | } |
1306 | 0 | static inline const DescriptorProto* internal_default_instance() { |
1307 | 0 | return reinterpret_cast<const DescriptorProto*>( |
1308 | 0 | &_DescriptorProto_default_instance_); |
1309 | 0 | } |
1310 | | static constexpr int kIndexInFileMessages = |
1311 | | 4; |
1312 | | |
1313 | 0 | friend void swap(DescriptorProto& a, DescriptorProto& b) { |
1314 | 0 | a.Swap(&b); |
1315 | 0 | } |
1316 | 0 | inline void Swap(DescriptorProto* other) { |
1317 | 0 | if (other == this) return; |
1318 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1319 | 0 | if (GetOwningArena() != nullptr && |
1320 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1321 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1322 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1323 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1324 | 0 | InternalSwap(other); |
1325 | 0 | } else { |
1326 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1327 | 0 | } |
1328 | 0 | } |
1329 | 0 | void UnsafeArenaSwap(DescriptorProto* other) { |
1330 | 0 | if (other == this) return; |
1331 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1332 | 0 | InternalSwap(other); |
1333 | 0 | } |
1334 | | |
1335 | | // implements Message ---------------------------------------------- |
1336 | | |
1337 | 0 | DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1338 | 0 | return CreateMaybeMessage<DescriptorProto>(arena); |
1339 | 0 | } |
1340 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1341 | | void CopyFrom(const DescriptorProto& from); |
1342 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1343 | 0 | void MergeFrom( const DescriptorProto& from) { |
1344 | 0 | DescriptorProto::MergeImpl(*this, from); |
1345 | 0 | } |
1346 | | private: |
1347 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1348 | | public: |
1349 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1350 | | bool IsInitialized() const final; |
1351 | | |
1352 | | size_t ByteSizeLong() const final; |
1353 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1354 | | uint8_t* _InternalSerialize( |
1355 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1356 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1357 | | |
1358 | | private: |
1359 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1360 | | void SharedDtor(); |
1361 | | void SetCachedSize(int size) const final; |
1362 | | void InternalSwap(DescriptorProto* other); |
1363 | | |
1364 | | private: |
1365 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1366 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1367 | 0 | return "google.protobuf.DescriptorProto"; |
1368 | 0 | } |
1369 | | protected: |
1370 | | explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1371 | | bool is_message_owned = false); |
1372 | | public: |
1373 | | |
1374 | | static const ClassData _class_data_; |
1375 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1376 | | |
1377 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1378 | | |
1379 | | // nested types ---------------------------------------------------- |
1380 | | |
1381 | | typedef DescriptorProto_ExtensionRange ExtensionRange; |
1382 | | typedef DescriptorProto_ReservedRange ReservedRange; |
1383 | | |
1384 | | // accessors ------------------------------------------------------- |
1385 | | |
1386 | | enum : int { |
1387 | | kFieldFieldNumber = 2, |
1388 | | kNestedTypeFieldNumber = 3, |
1389 | | kEnumTypeFieldNumber = 4, |
1390 | | kExtensionRangeFieldNumber = 5, |
1391 | | kExtensionFieldNumber = 6, |
1392 | | kOneofDeclFieldNumber = 8, |
1393 | | kReservedRangeFieldNumber = 9, |
1394 | | kReservedNameFieldNumber = 10, |
1395 | | kNameFieldNumber = 1, |
1396 | | kOptionsFieldNumber = 7, |
1397 | | }; |
1398 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
1399 | | int field_size() const; |
1400 | | private: |
1401 | | int _internal_field_size() const; |
1402 | | public: |
1403 | | void clear_field(); |
1404 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index); |
1405 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
1406 | | mutable_field(); |
1407 | | private: |
1408 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const; |
1409 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field(); |
1410 | | public: |
1411 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const; |
1412 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field(); |
1413 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
1414 | | field() const; |
1415 | | |
1416 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
1417 | | int nested_type_size() const; |
1418 | | private: |
1419 | | int _internal_nested_type_size() const; |
1420 | | public: |
1421 | | void clear_nested_type(); |
1422 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index); |
1423 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
1424 | | mutable_nested_type(); |
1425 | | private: |
1426 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const; |
1427 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type(); |
1428 | | public: |
1429 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const; |
1430 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type(); |
1431 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
1432 | | nested_type() const; |
1433 | | |
1434 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
1435 | | int enum_type_size() const; |
1436 | | private: |
1437 | | int _internal_enum_type_size() const; |
1438 | | public: |
1439 | | void clear_enum_type(); |
1440 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); |
1441 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
1442 | | mutable_enum_type(); |
1443 | | private: |
1444 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; |
1445 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); |
1446 | | public: |
1447 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; |
1448 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); |
1449 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
1450 | | enum_type() const; |
1451 | | |
1452 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
1453 | | int extension_range_size() const; |
1454 | | private: |
1455 | | int _internal_extension_range_size() const; |
1456 | | public: |
1457 | | void clear_extension_range(); |
1458 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
1459 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* |
1460 | | mutable_extension_range(); |
1461 | | private: |
1462 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const; |
1463 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range(); |
1464 | | public: |
1465 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const; |
1466 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range(); |
1467 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& |
1468 | | extension_range() const; |
1469 | | |
1470 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
1471 | | int extension_size() const; |
1472 | | private: |
1473 | | int _internal_extension_size() const; |
1474 | | public: |
1475 | | void clear_extension(); |
1476 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); |
1477 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
1478 | | mutable_extension(); |
1479 | | private: |
1480 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; |
1481 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); |
1482 | | public: |
1483 | | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; |
1484 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); |
1485 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
1486 | | extension() const; |
1487 | | |
1488 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
1489 | | int oneof_decl_size() const; |
1490 | | private: |
1491 | | int _internal_oneof_decl_size() const; |
1492 | | public: |
1493 | | void clear_oneof_decl(); |
1494 | | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index); |
1495 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* |
1496 | | mutable_oneof_decl(); |
1497 | | private: |
1498 | | const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const; |
1499 | | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl(); |
1500 | | public: |
1501 | | const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const; |
1502 | | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl(); |
1503 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& |
1504 | | oneof_decl() const; |
1505 | | |
1506 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
1507 | | int reserved_range_size() const; |
1508 | | private: |
1509 | | int _internal_reserved_range_size() const; |
1510 | | public: |
1511 | | void clear_reserved_range(); |
1512 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index); |
1513 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* |
1514 | | mutable_reserved_range(); |
1515 | | private: |
1516 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const; |
1517 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range(); |
1518 | | public: |
1519 | | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const; |
1520 | | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range(); |
1521 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& |
1522 | | reserved_range() const; |
1523 | | |
1524 | | // repeated string reserved_name = 10; |
1525 | | int reserved_name_size() const; |
1526 | | private: |
1527 | | int _internal_reserved_name_size() const; |
1528 | | public: |
1529 | | void clear_reserved_name(); |
1530 | | const std::string& reserved_name(int index) const; |
1531 | | std::string* mutable_reserved_name(int index); |
1532 | | void set_reserved_name(int index, const std::string& value); |
1533 | | void set_reserved_name(int index, std::string&& value); |
1534 | | void set_reserved_name(int index, const char* value); |
1535 | | void set_reserved_name(int index, const char* value, size_t size); |
1536 | | std::string* add_reserved_name(); |
1537 | | void add_reserved_name(const std::string& value); |
1538 | | void add_reserved_name(std::string&& value); |
1539 | | void add_reserved_name(const char* value); |
1540 | | void add_reserved_name(const char* value, size_t size); |
1541 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; |
1542 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); |
1543 | | private: |
1544 | | const std::string& _internal_reserved_name(int index) const; |
1545 | | std::string* _internal_add_reserved_name(); |
1546 | | public: |
1547 | | |
1548 | | // optional string name = 1; |
1549 | | bool has_name() const; |
1550 | | private: |
1551 | | bool _internal_has_name() const; |
1552 | | public: |
1553 | | void clear_name(); |
1554 | | const std::string& name() const; |
1555 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1556 | | void set_name(ArgT0&& arg0, ArgT... args); |
1557 | | std::string* mutable_name(); |
1558 | | PROTOBUF_NODISCARD std::string* release_name(); |
1559 | | void set_allocated_name(std::string* name); |
1560 | | private: |
1561 | | const std::string& _internal_name() const; |
1562 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
1563 | | std::string* _internal_mutable_name(); |
1564 | | public: |
1565 | | |
1566 | | // optional .google.protobuf.MessageOptions options = 7; |
1567 | | bool has_options() const; |
1568 | | private: |
1569 | | bool _internal_has_options() const; |
1570 | | public: |
1571 | | void clear_options(); |
1572 | | const ::PROTOBUF_NAMESPACE_ID::MessageOptions& options() const; |
1573 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MessageOptions* release_options(); |
1574 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options(); |
1575 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options); |
1576 | | private: |
1577 | | const ::PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const; |
1578 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options(); |
1579 | | public: |
1580 | | void unsafe_arena_set_allocated_options( |
1581 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options); |
1582 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options(); |
1583 | | |
1584 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
1585 | | private: |
1586 | | class _Internal; |
1587 | | |
1588 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1589 | | typedef void InternalArenaConstructable_; |
1590 | | typedef void DestructorSkippable_; |
1591 | | struct Impl_ { |
1592 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1593 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1594 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_; |
1595 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_; |
1596 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; |
1597 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_; |
1598 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; |
1599 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_; |
1600 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_; |
1601 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; |
1602 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
1603 | | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options_; |
1604 | | }; |
1605 | | union { Impl_ _impl_; }; |
1606 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1607 | | }; |
1608 | | // ------------------------------------------------------------------- |
1609 | | |
1610 | | class PROTOBUF_EXPORT ExtensionRangeOptions final : |
1611 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ { |
1612 | | public: |
1613 | 0 | inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {} |
1614 | | ~ExtensionRangeOptions() override; |
1615 | | explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1616 | | |
1617 | | ExtensionRangeOptions(const ExtensionRangeOptions& from); |
1618 | | ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept |
1619 | 0 | : ExtensionRangeOptions() { |
1620 | 0 | *this = ::std::move(from); |
1621 | 0 | } |
1622 | | |
1623 | 0 | inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { |
1624 | 0 | CopyFrom(from); |
1625 | 0 | return *this; |
1626 | 0 | } |
1627 | 0 | inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
1628 | 0 | if (this == &from) return *this; |
1629 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1630 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1631 | 0 | && GetOwningArena() != nullptr |
1632 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1633 | 0 | ) { |
1634 | 0 | InternalSwap(&from); |
1635 | 0 | } else { |
1636 | 0 | CopyFrom(from); |
1637 | 0 | } |
1638 | 0 | return *this; |
1639 | 0 | } |
1640 | | |
1641 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1642 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1643 | 0 | } |
1644 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1645 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1646 | 0 | } |
1647 | | |
1648 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1649 | 0 | return GetDescriptor(); |
1650 | 0 | } |
1651 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1652 | 0 | return default_instance().GetMetadata().descriptor; |
1653 | 0 | } |
1654 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1655 | 0 | return default_instance().GetMetadata().reflection; |
1656 | 0 | } |
1657 | 0 | static const ExtensionRangeOptions& default_instance() { |
1658 | 0 | return *internal_default_instance(); |
1659 | 0 | } |
1660 | 0 | static inline const ExtensionRangeOptions* internal_default_instance() { |
1661 | 0 | return reinterpret_cast<const ExtensionRangeOptions*>( |
1662 | 0 | &_ExtensionRangeOptions_default_instance_); |
1663 | 0 | } |
1664 | | static constexpr int kIndexInFileMessages = |
1665 | | 5; |
1666 | | |
1667 | 0 | friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { |
1668 | 0 | a.Swap(&b); |
1669 | 0 | } |
1670 | 0 | inline void Swap(ExtensionRangeOptions* other) { |
1671 | 0 | if (other == this) return; |
1672 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1673 | 0 | if (GetOwningArena() != nullptr && |
1674 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1675 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1676 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1677 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1678 | 0 | InternalSwap(other); |
1679 | 0 | } else { |
1680 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1681 | 0 | } |
1682 | 0 | } |
1683 | 0 | void UnsafeArenaSwap(ExtensionRangeOptions* other) { |
1684 | 0 | if (other == this) return; |
1685 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1686 | 0 | InternalSwap(other); |
1687 | 0 | } |
1688 | | |
1689 | | // implements Message ---------------------------------------------- |
1690 | | |
1691 | 0 | ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1692 | 0 | return CreateMaybeMessage<ExtensionRangeOptions>(arena); |
1693 | 0 | } |
1694 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1695 | | void CopyFrom(const ExtensionRangeOptions& from); |
1696 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1697 | 0 | void MergeFrom( const ExtensionRangeOptions& from) { |
1698 | 0 | ExtensionRangeOptions::MergeImpl(*this, from); |
1699 | 0 | } |
1700 | | private: |
1701 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1702 | | public: |
1703 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1704 | | bool IsInitialized() const final; |
1705 | | |
1706 | | size_t ByteSizeLong() const final; |
1707 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1708 | | uint8_t* _InternalSerialize( |
1709 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1710 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1711 | | |
1712 | | private: |
1713 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1714 | | void SharedDtor(); |
1715 | | void SetCachedSize(int size) const final; |
1716 | | void InternalSwap(ExtensionRangeOptions* other); |
1717 | | |
1718 | | private: |
1719 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1720 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1721 | 0 | return "google.protobuf.ExtensionRangeOptions"; |
1722 | 0 | } |
1723 | | protected: |
1724 | | explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1725 | | bool is_message_owned = false); |
1726 | | public: |
1727 | | |
1728 | | static const ClassData _class_data_; |
1729 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1730 | | |
1731 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1732 | | |
1733 | | // nested types ---------------------------------------------------- |
1734 | | |
1735 | | // accessors ------------------------------------------------------- |
1736 | | |
1737 | | enum : int { |
1738 | | kUninterpretedOptionFieldNumber = 999, |
1739 | | }; |
1740 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
1741 | | int uninterpreted_option_size() const; |
1742 | | private: |
1743 | | int _internal_uninterpreted_option_size() const; |
1744 | | public: |
1745 | | void clear_uninterpreted_option(); |
1746 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
1747 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
1748 | | mutable_uninterpreted_option(); |
1749 | | private: |
1750 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
1751 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
1752 | | public: |
1753 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
1754 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
1755 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
1756 | | uninterpreted_option() const; |
1757 | | |
1758 | | |
1759 | | template <typename _proto_TypeTraits, |
1760 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1761 | | bool _is_packed> |
1762 | | inline bool HasExtension( |
1763 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1764 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
1765 | | |
1766 | | return _impl_._extensions_.Has(id.number()); |
1767 | | } |
1768 | | |
1769 | | template <typename _proto_TypeTraits, |
1770 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1771 | | bool _is_packed> |
1772 | | inline void ClearExtension( |
1773 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1774 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
1775 | | _impl_._extensions_.ClearExtension(id.number()); |
1776 | | |
1777 | | } |
1778 | | |
1779 | | template <typename _proto_TypeTraits, |
1780 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1781 | | bool _is_packed> |
1782 | | inline int ExtensionSize( |
1783 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1784 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
1785 | | |
1786 | | return _impl_._extensions_.ExtensionSize(id.number()); |
1787 | | } |
1788 | | |
1789 | | template <typename _proto_TypeTraits, |
1790 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1791 | | bool _is_packed> |
1792 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
1793 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1794 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
1795 | | |
1796 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
1797 | | id.default_value()); |
1798 | | } |
1799 | | |
1800 | | template <typename _proto_TypeTraits, |
1801 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1802 | | bool _is_packed> |
1803 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
1804 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1805 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
1806 | | |
1807 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
1808 | | &_impl_._extensions_); |
1809 | | } |
1810 | | |
1811 | | template <typename _proto_TypeTraits, |
1812 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1813 | | bool _is_packed> |
1814 | | inline void SetExtension( |
1815 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1816 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1817 | | typename _proto_TypeTraits::Singular::ConstType value) { |
1818 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
1819 | | |
1820 | | } |
1821 | | |
1822 | | template <typename _proto_TypeTraits, |
1823 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1824 | | bool _is_packed> |
1825 | | inline void SetAllocatedExtension( |
1826 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1827 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1828 | | typename _proto_TypeTraits::Singular::MutableType value) { |
1829 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
1830 | | &_impl_._extensions_); |
1831 | | |
1832 | | } |
1833 | | template <typename _proto_TypeTraits, |
1834 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1835 | | bool _is_packed> |
1836 | | inline void UnsafeArenaSetAllocatedExtension( |
1837 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1838 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1839 | | typename _proto_TypeTraits::Singular::MutableType value) { |
1840 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
1841 | | value, &_impl_._extensions_); |
1842 | | |
1843 | | } |
1844 | | template <typename _proto_TypeTraits, |
1845 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1846 | | bool _is_packed> |
1847 | | PROTOBUF_NODISCARD inline |
1848 | | typename _proto_TypeTraits::Singular::MutableType |
1849 | | ReleaseExtension( |
1850 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1851 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
1852 | | |
1853 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
1854 | | &_impl_._extensions_); |
1855 | | } |
1856 | | template <typename _proto_TypeTraits, |
1857 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1858 | | bool _is_packed> |
1859 | | inline typename _proto_TypeTraits::Singular::MutableType |
1860 | | UnsafeArenaReleaseExtension( |
1861 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1862 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
1863 | | |
1864 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
1865 | | &_impl_._extensions_); |
1866 | | } |
1867 | | |
1868 | | template <typename _proto_TypeTraits, |
1869 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1870 | | bool _is_packed> |
1871 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
1872 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1873 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1874 | | int index) const { |
1875 | | |
1876 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
1877 | | } |
1878 | | |
1879 | | template <typename _proto_TypeTraits, |
1880 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1881 | | bool _is_packed> |
1882 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
1883 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1884 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1885 | | int index) { |
1886 | | |
1887 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
1888 | | } |
1889 | | |
1890 | | template <typename _proto_TypeTraits, |
1891 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1892 | | bool _is_packed> |
1893 | | inline void SetExtension( |
1894 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1895 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1896 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
1897 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
1898 | | |
1899 | | } |
1900 | | |
1901 | | template <typename _proto_TypeTraits, |
1902 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1903 | | bool _is_packed> |
1904 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
1905 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1906 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
1907 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
1908 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
1909 | | |
1910 | | return to_add; |
1911 | | } |
1912 | | |
1913 | | template <typename _proto_TypeTraits, |
1914 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1915 | | bool _is_packed> |
1916 | | inline void AddExtension( |
1917 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1918 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
1919 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
1920 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
1921 | | &_impl_._extensions_); |
1922 | | |
1923 | | } |
1924 | | |
1925 | | template <typename _proto_TypeTraits, |
1926 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1927 | | bool _is_packed> |
1928 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
1929 | | GetRepeatedExtension( |
1930 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1931 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
1932 | | |
1933 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
1934 | | } |
1935 | | |
1936 | | template <typename _proto_TypeTraits, |
1937 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
1938 | | bool _is_packed> |
1939 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
1940 | | MutableRepeatedExtension( |
1941 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
1942 | | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
1943 | | |
1944 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
1945 | | _is_packed, &_impl_._extensions_); |
1946 | | } |
1947 | | |
1948 | | // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) |
1949 | | private: |
1950 | | class _Internal; |
1951 | | |
1952 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1953 | | typedef void InternalArenaConstructable_; |
1954 | | typedef void DestructorSkippable_; |
1955 | | struct Impl_ { |
1956 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
1957 | | |
1958 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
1959 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1960 | | }; |
1961 | | union { Impl_ _impl_; }; |
1962 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
1963 | | }; |
1964 | | // ------------------------------------------------------------------- |
1965 | | |
1966 | | class PROTOBUF_EXPORT FieldDescriptorProto final : |
1967 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { |
1968 | | public: |
1969 | 0 | inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {} |
1970 | | ~FieldDescriptorProto() override; |
1971 | | explicit PROTOBUF_CONSTEXPR FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1972 | | |
1973 | | FieldDescriptorProto(const FieldDescriptorProto& from); |
1974 | | FieldDescriptorProto(FieldDescriptorProto&& from) noexcept |
1975 | 0 | : FieldDescriptorProto() { |
1976 | 0 | *this = ::std::move(from); |
1977 | 0 | } |
1978 | | |
1979 | 0 | inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
1980 | 0 | CopyFrom(from); |
1981 | 0 | return *this; |
1982 | 0 | } |
1983 | 0 | inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
1984 | 0 | if (this == &from) return *this; |
1985 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1986 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1987 | 0 | && GetOwningArena() != nullptr |
1988 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1989 | 0 | ) { |
1990 | 0 | InternalSwap(&from); |
1991 | 0 | } else { |
1992 | 0 | CopyFrom(from); |
1993 | 0 | } |
1994 | 0 | return *this; |
1995 | 0 | } |
1996 | | |
1997 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1998 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1999 | 0 | } |
2000 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2001 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2002 | 0 | } |
2003 | | |
2004 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2005 | 0 | return GetDescriptor(); |
2006 | 0 | } |
2007 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2008 | 0 | return default_instance().GetMetadata().descriptor; |
2009 | 0 | } |
2010 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2011 | 0 | return default_instance().GetMetadata().reflection; |
2012 | 0 | } |
2013 | 0 | static const FieldDescriptorProto& default_instance() { |
2014 | 0 | return *internal_default_instance(); |
2015 | 0 | } |
2016 | 0 | static inline const FieldDescriptorProto* internal_default_instance() { |
2017 | 0 | return reinterpret_cast<const FieldDescriptorProto*>( |
2018 | 0 | &_FieldDescriptorProto_default_instance_); |
2019 | 0 | } |
2020 | | static constexpr int kIndexInFileMessages = |
2021 | | 6; |
2022 | | |
2023 | 0 | friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { |
2024 | 0 | a.Swap(&b); |
2025 | 0 | } |
2026 | 0 | inline void Swap(FieldDescriptorProto* other) { |
2027 | 0 | if (other == this) return; |
2028 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2029 | 0 | if (GetOwningArena() != nullptr && |
2030 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2031 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2032 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2033 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2034 | 0 | InternalSwap(other); |
2035 | 0 | } else { |
2036 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2037 | 0 | } |
2038 | 0 | } |
2039 | 0 | void UnsafeArenaSwap(FieldDescriptorProto* other) { |
2040 | 0 | if (other == this) return; |
2041 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2042 | 0 | InternalSwap(other); |
2043 | 0 | } |
2044 | | |
2045 | | // implements Message ---------------------------------------------- |
2046 | | |
2047 | 0 | FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2048 | 0 | return CreateMaybeMessage<FieldDescriptorProto>(arena); |
2049 | 0 | } |
2050 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2051 | | void CopyFrom(const FieldDescriptorProto& from); |
2052 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2053 | 0 | void MergeFrom( const FieldDescriptorProto& from) { |
2054 | 0 | FieldDescriptorProto::MergeImpl(*this, from); |
2055 | 0 | } |
2056 | | private: |
2057 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2058 | | public: |
2059 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2060 | | bool IsInitialized() const final; |
2061 | | |
2062 | | size_t ByteSizeLong() const final; |
2063 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2064 | | uint8_t* _InternalSerialize( |
2065 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2066 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2067 | | |
2068 | | private: |
2069 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2070 | | void SharedDtor(); |
2071 | | void SetCachedSize(int size) const final; |
2072 | | void InternalSwap(FieldDescriptorProto* other); |
2073 | | |
2074 | | private: |
2075 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2076 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2077 | 0 | return "google.protobuf.FieldDescriptorProto"; |
2078 | 0 | } |
2079 | | protected: |
2080 | | explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2081 | | bool is_message_owned = false); |
2082 | | public: |
2083 | | |
2084 | | static const ClassData _class_data_; |
2085 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2086 | | |
2087 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2088 | | |
2089 | | // nested types ---------------------------------------------------- |
2090 | | |
2091 | | typedef FieldDescriptorProto_Type Type; |
2092 | | static constexpr Type TYPE_DOUBLE = |
2093 | | FieldDescriptorProto_Type_TYPE_DOUBLE; |
2094 | | static constexpr Type TYPE_FLOAT = |
2095 | | FieldDescriptorProto_Type_TYPE_FLOAT; |
2096 | | static constexpr Type TYPE_INT64 = |
2097 | | FieldDescriptorProto_Type_TYPE_INT64; |
2098 | | static constexpr Type TYPE_UINT64 = |
2099 | | FieldDescriptorProto_Type_TYPE_UINT64; |
2100 | | static constexpr Type TYPE_INT32 = |
2101 | | FieldDescriptorProto_Type_TYPE_INT32; |
2102 | | static constexpr Type TYPE_FIXED64 = |
2103 | | FieldDescriptorProto_Type_TYPE_FIXED64; |
2104 | | static constexpr Type TYPE_FIXED32 = |
2105 | | FieldDescriptorProto_Type_TYPE_FIXED32; |
2106 | | static constexpr Type TYPE_BOOL = |
2107 | | FieldDescriptorProto_Type_TYPE_BOOL; |
2108 | | static constexpr Type TYPE_STRING = |
2109 | | FieldDescriptorProto_Type_TYPE_STRING; |
2110 | | static constexpr Type TYPE_GROUP = |
2111 | | FieldDescriptorProto_Type_TYPE_GROUP; |
2112 | | static constexpr Type TYPE_MESSAGE = |
2113 | | FieldDescriptorProto_Type_TYPE_MESSAGE; |
2114 | | static constexpr Type TYPE_BYTES = |
2115 | | FieldDescriptorProto_Type_TYPE_BYTES; |
2116 | | static constexpr Type TYPE_UINT32 = |
2117 | | FieldDescriptorProto_Type_TYPE_UINT32; |
2118 | | static constexpr Type TYPE_ENUM = |
2119 | | FieldDescriptorProto_Type_TYPE_ENUM; |
2120 | | static constexpr Type TYPE_SFIXED32 = |
2121 | | FieldDescriptorProto_Type_TYPE_SFIXED32; |
2122 | | static constexpr Type TYPE_SFIXED64 = |
2123 | | FieldDescriptorProto_Type_TYPE_SFIXED64; |
2124 | | static constexpr Type TYPE_SINT32 = |
2125 | | FieldDescriptorProto_Type_TYPE_SINT32; |
2126 | | static constexpr Type TYPE_SINT64 = |
2127 | | FieldDescriptorProto_Type_TYPE_SINT64; |
2128 | 0 | static inline bool Type_IsValid(int value) { |
2129 | 0 | return FieldDescriptorProto_Type_IsValid(value); |
2130 | 0 | } |
2131 | | static constexpr Type Type_MIN = |
2132 | | FieldDescriptorProto_Type_Type_MIN; |
2133 | | static constexpr Type Type_MAX = |
2134 | | FieldDescriptorProto_Type_Type_MAX; |
2135 | | static constexpr int Type_ARRAYSIZE = |
2136 | | FieldDescriptorProto_Type_Type_ARRAYSIZE; |
2137 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2138 | 0 | Type_descriptor() { |
2139 | 0 | return FieldDescriptorProto_Type_descriptor(); |
2140 | 0 | } |
2141 | | template<typename T> |
2142 | | static inline const std::string& Type_Name(T enum_t_value) { |
2143 | | static_assert(::std::is_same<T, Type>::value || |
2144 | | ::std::is_integral<T>::value, |
2145 | | "Incorrect type passed to function Type_Name."); |
2146 | | return FieldDescriptorProto_Type_Name(enum_t_value); |
2147 | | } |
2148 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
2149 | 0 | Type* value) { |
2150 | 0 | return FieldDescriptorProto_Type_Parse(name, value); |
2151 | 0 | } |
2152 | | |
2153 | | typedef FieldDescriptorProto_Label Label; |
2154 | | static constexpr Label LABEL_OPTIONAL = |
2155 | | FieldDescriptorProto_Label_LABEL_OPTIONAL; |
2156 | | static constexpr Label LABEL_REQUIRED = |
2157 | | FieldDescriptorProto_Label_LABEL_REQUIRED; |
2158 | | static constexpr Label LABEL_REPEATED = |
2159 | | FieldDescriptorProto_Label_LABEL_REPEATED; |
2160 | 0 | static inline bool Label_IsValid(int value) { |
2161 | 0 | return FieldDescriptorProto_Label_IsValid(value); |
2162 | 0 | } |
2163 | | static constexpr Label Label_MIN = |
2164 | | FieldDescriptorProto_Label_Label_MIN; |
2165 | | static constexpr Label Label_MAX = |
2166 | | FieldDescriptorProto_Label_Label_MAX; |
2167 | | static constexpr int Label_ARRAYSIZE = |
2168 | | FieldDescriptorProto_Label_Label_ARRAYSIZE; |
2169 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2170 | 0 | Label_descriptor() { |
2171 | 0 | return FieldDescriptorProto_Label_descriptor(); |
2172 | 0 | } |
2173 | | template<typename T> |
2174 | | static inline const std::string& Label_Name(T enum_t_value) { |
2175 | | static_assert(::std::is_same<T, Label>::value || |
2176 | | ::std::is_integral<T>::value, |
2177 | | "Incorrect type passed to function Label_Name."); |
2178 | | return FieldDescriptorProto_Label_Name(enum_t_value); |
2179 | | } |
2180 | | static inline bool Label_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
2181 | 0 | Label* value) { |
2182 | 0 | return FieldDescriptorProto_Label_Parse(name, value); |
2183 | 0 | } |
2184 | | |
2185 | | // accessors ------------------------------------------------------- |
2186 | | |
2187 | | enum : int { |
2188 | | kNameFieldNumber = 1, |
2189 | | kExtendeeFieldNumber = 2, |
2190 | | kTypeNameFieldNumber = 6, |
2191 | | kDefaultValueFieldNumber = 7, |
2192 | | kJsonNameFieldNumber = 10, |
2193 | | kOptionsFieldNumber = 8, |
2194 | | kNumberFieldNumber = 3, |
2195 | | kOneofIndexFieldNumber = 9, |
2196 | | kProto3OptionalFieldNumber = 17, |
2197 | | kLabelFieldNumber = 4, |
2198 | | kTypeFieldNumber = 5, |
2199 | | }; |
2200 | | // optional string name = 1; |
2201 | | bool has_name() const; |
2202 | | private: |
2203 | | bool _internal_has_name() const; |
2204 | | public: |
2205 | | void clear_name(); |
2206 | | const std::string& name() const; |
2207 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2208 | | void set_name(ArgT0&& arg0, ArgT... args); |
2209 | | std::string* mutable_name(); |
2210 | | PROTOBUF_NODISCARD std::string* release_name(); |
2211 | | void set_allocated_name(std::string* name); |
2212 | | private: |
2213 | | const std::string& _internal_name() const; |
2214 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
2215 | | std::string* _internal_mutable_name(); |
2216 | | public: |
2217 | | |
2218 | | // optional string extendee = 2; |
2219 | | bool has_extendee() const; |
2220 | | private: |
2221 | | bool _internal_has_extendee() const; |
2222 | | public: |
2223 | | void clear_extendee(); |
2224 | | const std::string& extendee() const; |
2225 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2226 | | void set_extendee(ArgT0&& arg0, ArgT... args); |
2227 | | std::string* mutable_extendee(); |
2228 | | PROTOBUF_NODISCARD std::string* release_extendee(); |
2229 | | void set_allocated_extendee(std::string* extendee); |
2230 | | private: |
2231 | | const std::string& _internal_extendee() const; |
2232 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee(const std::string& value); |
2233 | | std::string* _internal_mutable_extendee(); |
2234 | | public: |
2235 | | |
2236 | | // optional string type_name = 6; |
2237 | | bool has_type_name() const; |
2238 | | private: |
2239 | | bool _internal_has_type_name() const; |
2240 | | public: |
2241 | | void clear_type_name(); |
2242 | | const std::string& type_name() const; |
2243 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2244 | | void set_type_name(ArgT0&& arg0, ArgT... args); |
2245 | | std::string* mutable_type_name(); |
2246 | | PROTOBUF_NODISCARD std::string* release_type_name(); |
2247 | | void set_allocated_type_name(std::string* type_name); |
2248 | | private: |
2249 | | const std::string& _internal_type_name() const; |
2250 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value); |
2251 | | std::string* _internal_mutable_type_name(); |
2252 | | public: |
2253 | | |
2254 | | // optional string default_value = 7; |
2255 | | bool has_default_value() const; |
2256 | | private: |
2257 | | bool _internal_has_default_value() const; |
2258 | | public: |
2259 | | void clear_default_value(); |
2260 | | const std::string& default_value() const; |
2261 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2262 | | void set_default_value(ArgT0&& arg0, ArgT... args); |
2263 | | std::string* mutable_default_value(); |
2264 | | PROTOBUF_NODISCARD std::string* release_default_value(); |
2265 | | void set_allocated_default_value(std::string* default_value); |
2266 | | private: |
2267 | | const std::string& _internal_default_value() const; |
2268 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value); |
2269 | | std::string* _internal_mutable_default_value(); |
2270 | | public: |
2271 | | |
2272 | | // optional string json_name = 10; |
2273 | | bool has_json_name() const; |
2274 | | private: |
2275 | | bool _internal_has_json_name() const; |
2276 | | public: |
2277 | | void clear_json_name(); |
2278 | | const std::string& json_name() const; |
2279 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2280 | | void set_json_name(ArgT0&& arg0, ArgT... args); |
2281 | | std::string* mutable_json_name(); |
2282 | | PROTOBUF_NODISCARD std::string* release_json_name(); |
2283 | | void set_allocated_json_name(std::string* json_name); |
2284 | | private: |
2285 | | const std::string& _internal_json_name() const; |
2286 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value); |
2287 | | std::string* _internal_mutable_json_name(); |
2288 | | public: |
2289 | | |
2290 | | // optional .google.protobuf.FieldOptions options = 8; |
2291 | | bool has_options() const; |
2292 | | private: |
2293 | | bool _internal_has_options() const; |
2294 | | public: |
2295 | | void clear_options(); |
2296 | | const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const; |
2297 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options(); |
2298 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options(); |
2299 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options); |
2300 | | private: |
2301 | | const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const; |
2302 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options(); |
2303 | | public: |
2304 | | void unsafe_arena_set_allocated_options( |
2305 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options); |
2306 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options(); |
2307 | | |
2308 | | // optional int32 number = 3; |
2309 | | bool has_number() const; |
2310 | | private: |
2311 | | bool _internal_has_number() const; |
2312 | | public: |
2313 | | void clear_number(); |
2314 | | int32_t number() const; |
2315 | | void set_number(int32_t value); |
2316 | | private: |
2317 | | int32_t _internal_number() const; |
2318 | | void _internal_set_number(int32_t value); |
2319 | | public: |
2320 | | |
2321 | | // optional int32 oneof_index = 9; |
2322 | | bool has_oneof_index() const; |
2323 | | private: |
2324 | | bool _internal_has_oneof_index() const; |
2325 | | public: |
2326 | | void clear_oneof_index(); |
2327 | | int32_t oneof_index() const; |
2328 | | void set_oneof_index(int32_t value); |
2329 | | private: |
2330 | | int32_t _internal_oneof_index() const; |
2331 | | void _internal_set_oneof_index(int32_t value); |
2332 | | public: |
2333 | | |
2334 | | // optional bool proto3_optional = 17; |
2335 | | bool has_proto3_optional() const; |
2336 | | private: |
2337 | | bool _internal_has_proto3_optional() const; |
2338 | | public: |
2339 | | void clear_proto3_optional(); |
2340 | | bool proto3_optional() const; |
2341 | | void set_proto3_optional(bool value); |
2342 | | private: |
2343 | | bool _internal_proto3_optional() const; |
2344 | | void _internal_set_proto3_optional(bool value); |
2345 | | public: |
2346 | | |
2347 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
2348 | | bool has_label() const; |
2349 | | private: |
2350 | | bool _internal_has_label() const; |
2351 | | public: |
2352 | | void clear_label(); |
2353 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const; |
2354 | | void set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); |
2355 | | private: |
2356 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const; |
2357 | | void _internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); |
2358 | | public: |
2359 | | |
2360 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
2361 | | bool has_type() const; |
2362 | | private: |
2363 | | bool _internal_has_type() const; |
2364 | | public: |
2365 | | void clear_type(); |
2366 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const; |
2367 | | void set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); |
2368 | | private: |
2369 | | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const; |
2370 | | void _internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); |
2371 | | public: |
2372 | | |
2373 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
2374 | | private: |
2375 | | class _Internal; |
2376 | | |
2377 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2378 | | typedef void InternalArenaConstructable_; |
2379 | | typedef void DestructorSkippable_; |
2380 | | struct Impl_ { |
2381 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2382 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2383 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
2384 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_; |
2385 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_; |
2386 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_; |
2387 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_; |
2388 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options_; |
2389 | | int32_t number_; |
2390 | | int32_t oneof_index_; |
2391 | | bool proto3_optional_; |
2392 | | int label_; |
2393 | | int type_; |
2394 | | }; |
2395 | | union { Impl_ _impl_; }; |
2396 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2397 | | }; |
2398 | | // ------------------------------------------------------------------- |
2399 | | |
2400 | | class PROTOBUF_EXPORT OneofDescriptorProto final : |
2401 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ { |
2402 | | public: |
2403 | 0 | inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {} |
2404 | | ~OneofDescriptorProto() override; |
2405 | | explicit PROTOBUF_CONSTEXPR OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2406 | | |
2407 | | OneofDescriptorProto(const OneofDescriptorProto& from); |
2408 | | OneofDescriptorProto(OneofDescriptorProto&& from) noexcept |
2409 | 0 | : OneofDescriptorProto() { |
2410 | 0 | *this = ::std::move(from); |
2411 | 0 | } |
2412 | | |
2413 | 0 | inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
2414 | 0 | CopyFrom(from); |
2415 | 0 | return *this; |
2416 | 0 | } |
2417 | 0 | inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
2418 | 0 | if (this == &from) return *this; |
2419 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2420 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2421 | 0 | && GetOwningArena() != nullptr |
2422 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2423 | 0 | ) { |
2424 | 0 | InternalSwap(&from); |
2425 | 0 | } else { |
2426 | 0 | CopyFrom(from); |
2427 | 0 | } |
2428 | 0 | return *this; |
2429 | 0 | } |
2430 | | |
2431 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2432 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2433 | 0 | } |
2434 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2435 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2436 | 0 | } |
2437 | | |
2438 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2439 | 0 | return GetDescriptor(); |
2440 | 0 | } |
2441 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2442 | 0 | return default_instance().GetMetadata().descriptor; |
2443 | 0 | } |
2444 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2445 | 0 | return default_instance().GetMetadata().reflection; |
2446 | 0 | } |
2447 | 0 | static const OneofDescriptorProto& default_instance() { |
2448 | 0 | return *internal_default_instance(); |
2449 | 0 | } |
2450 | 0 | static inline const OneofDescriptorProto* internal_default_instance() { |
2451 | 0 | return reinterpret_cast<const OneofDescriptorProto*>( |
2452 | 0 | &_OneofDescriptorProto_default_instance_); |
2453 | 0 | } |
2454 | | static constexpr int kIndexInFileMessages = |
2455 | | 7; |
2456 | | |
2457 | 0 | friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { |
2458 | 0 | a.Swap(&b); |
2459 | 0 | } |
2460 | 0 | inline void Swap(OneofDescriptorProto* other) { |
2461 | 0 | if (other == this) return; |
2462 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2463 | 0 | if (GetOwningArena() != nullptr && |
2464 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2465 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2466 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2467 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2468 | 0 | InternalSwap(other); |
2469 | 0 | } else { |
2470 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2471 | 0 | } |
2472 | 0 | } |
2473 | 0 | void UnsafeArenaSwap(OneofDescriptorProto* other) { |
2474 | 0 | if (other == this) return; |
2475 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2476 | 0 | InternalSwap(other); |
2477 | 0 | } |
2478 | | |
2479 | | // implements Message ---------------------------------------------- |
2480 | | |
2481 | 0 | OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2482 | 0 | return CreateMaybeMessage<OneofDescriptorProto>(arena); |
2483 | 0 | } |
2484 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2485 | | void CopyFrom(const OneofDescriptorProto& from); |
2486 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2487 | 0 | void MergeFrom( const OneofDescriptorProto& from) { |
2488 | 0 | OneofDescriptorProto::MergeImpl(*this, from); |
2489 | 0 | } |
2490 | | private: |
2491 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2492 | | public: |
2493 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2494 | | bool IsInitialized() const final; |
2495 | | |
2496 | | size_t ByteSizeLong() const final; |
2497 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2498 | | uint8_t* _InternalSerialize( |
2499 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2500 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2501 | | |
2502 | | private: |
2503 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2504 | | void SharedDtor(); |
2505 | | void SetCachedSize(int size) const final; |
2506 | | void InternalSwap(OneofDescriptorProto* other); |
2507 | | |
2508 | | private: |
2509 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2510 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2511 | 0 | return "google.protobuf.OneofDescriptorProto"; |
2512 | 0 | } |
2513 | | protected: |
2514 | | explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2515 | | bool is_message_owned = false); |
2516 | | public: |
2517 | | |
2518 | | static const ClassData _class_data_; |
2519 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2520 | | |
2521 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2522 | | |
2523 | | // nested types ---------------------------------------------------- |
2524 | | |
2525 | | // accessors ------------------------------------------------------- |
2526 | | |
2527 | | enum : int { |
2528 | | kNameFieldNumber = 1, |
2529 | | kOptionsFieldNumber = 2, |
2530 | | }; |
2531 | | // optional string name = 1; |
2532 | | bool has_name() const; |
2533 | | private: |
2534 | | bool _internal_has_name() const; |
2535 | | public: |
2536 | | void clear_name(); |
2537 | | const std::string& name() const; |
2538 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2539 | | void set_name(ArgT0&& arg0, ArgT... args); |
2540 | | std::string* mutable_name(); |
2541 | | PROTOBUF_NODISCARD std::string* release_name(); |
2542 | | void set_allocated_name(std::string* name); |
2543 | | private: |
2544 | | const std::string& _internal_name() const; |
2545 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
2546 | | std::string* _internal_mutable_name(); |
2547 | | public: |
2548 | | |
2549 | | // optional .google.protobuf.OneofOptions options = 2; |
2550 | | bool has_options() const; |
2551 | | private: |
2552 | | bool _internal_has_options() const; |
2553 | | public: |
2554 | | void clear_options(); |
2555 | | const ::PROTOBUF_NAMESPACE_ID::OneofOptions& options() const; |
2556 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::OneofOptions* release_options(); |
2557 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options(); |
2558 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options); |
2559 | | private: |
2560 | | const ::PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const; |
2561 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options(); |
2562 | | public: |
2563 | | void unsafe_arena_set_allocated_options( |
2564 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options); |
2565 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options(); |
2566 | | |
2567 | | // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
2568 | | private: |
2569 | | class _Internal; |
2570 | | |
2571 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2572 | | typedef void InternalArenaConstructable_; |
2573 | | typedef void DestructorSkippable_; |
2574 | | struct Impl_ { |
2575 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2576 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2577 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
2578 | | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options_; |
2579 | | }; |
2580 | | union { Impl_ _impl_; }; |
2581 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2582 | | }; |
2583 | | // ------------------------------------------------------------------- |
2584 | | |
2585 | | class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : |
2586 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ { |
2587 | | public: |
2588 | 0 | inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {} |
2589 | | ~EnumDescriptorProto_EnumReservedRange() override; |
2590 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2591 | | |
2592 | | EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from); |
2593 | | EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept |
2594 | 0 | : EnumDescriptorProto_EnumReservedRange() { |
2595 | 0 | *this = ::std::move(from); |
2596 | 0 | } |
2597 | | |
2598 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { |
2599 | 0 | CopyFrom(from); |
2600 | 0 | return *this; |
2601 | 0 | } |
2602 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
2603 | 0 | if (this == &from) return *this; |
2604 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2605 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2606 | 0 | && GetOwningArena() != nullptr |
2607 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2608 | 0 | ) { |
2609 | 0 | InternalSwap(&from); |
2610 | 0 | } else { |
2611 | 0 | CopyFrom(from); |
2612 | 0 | } |
2613 | 0 | return *this; |
2614 | 0 | } |
2615 | | |
2616 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2617 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2618 | 0 | } |
2619 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2620 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2621 | 0 | } |
2622 | | |
2623 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2624 | 0 | return GetDescriptor(); |
2625 | 0 | } |
2626 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2627 | 0 | return default_instance().GetMetadata().descriptor; |
2628 | 0 | } |
2629 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2630 | 0 | return default_instance().GetMetadata().reflection; |
2631 | 0 | } |
2632 | 0 | static const EnumDescriptorProto_EnumReservedRange& default_instance() { |
2633 | 0 | return *internal_default_instance(); |
2634 | 0 | } |
2635 | 0 | static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { |
2636 | 0 | return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( |
2637 | 0 | &_EnumDescriptorProto_EnumReservedRange_default_instance_); |
2638 | 0 | } |
2639 | | static constexpr int kIndexInFileMessages = |
2640 | | 8; |
2641 | | |
2642 | 0 | friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { |
2643 | 0 | a.Swap(&b); |
2644 | 0 | } |
2645 | 0 | inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { |
2646 | 0 | if (other == this) return; |
2647 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2648 | 0 | if (GetOwningArena() != nullptr && |
2649 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2650 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2651 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2652 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2653 | 0 | InternalSwap(other); |
2654 | 0 | } else { |
2655 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2656 | 0 | } |
2657 | 0 | } |
2658 | 0 | void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) { |
2659 | 0 | if (other == this) return; |
2660 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2661 | 0 | InternalSwap(other); |
2662 | 0 | } |
2663 | | |
2664 | | // implements Message ---------------------------------------------- |
2665 | | |
2666 | 0 | EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2667 | 0 | return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena); |
2668 | 0 | } |
2669 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2670 | | void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); |
2671 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2672 | 0 | void MergeFrom( const EnumDescriptorProto_EnumReservedRange& from) { |
2673 | 0 | EnumDescriptorProto_EnumReservedRange::MergeImpl(*this, from); |
2674 | 0 | } |
2675 | | private: |
2676 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2677 | | public: |
2678 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2679 | | bool IsInitialized() const final; |
2680 | | |
2681 | | size_t ByteSizeLong() const final; |
2682 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2683 | | uint8_t* _InternalSerialize( |
2684 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2685 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2686 | | |
2687 | | private: |
2688 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2689 | | void SharedDtor(); |
2690 | | void SetCachedSize(int size) const final; |
2691 | | void InternalSwap(EnumDescriptorProto_EnumReservedRange* other); |
2692 | | |
2693 | | private: |
2694 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2695 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2696 | 0 | return "google.protobuf.EnumDescriptorProto.EnumReservedRange"; |
2697 | 0 | } |
2698 | | protected: |
2699 | | explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2700 | | bool is_message_owned = false); |
2701 | | public: |
2702 | | |
2703 | | static const ClassData _class_data_; |
2704 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2705 | | |
2706 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2707 | | |
2708 | | // nested types ---------------------------------------------------- |
2709 | | |
2710 | | // accessors ------------------------------------------------------- |
2711 | | |
2712 | | enum : int { |
2713 | | kStartFieldNumber = 1, |
2714 | | kEndFieldNumber = 2, |
2715 | | }; |
2716 | | // optional int32 start = 1; |
2717 | | bool has_start() const; |
2718 | | private: |
2719 | | bool _internal_has_start() const; |
2720 | | public: |
2721 | | void clear_start(); |
2722 | | int32_t start() const; |
2723 | | void set_start(int32_t value); |
2724 | | private: |
2725 | | int32_t _internal_start() const; |
2726 | | void _internal_set_start(int32_t value); |
2727 | | public: |
2728 | | |
2729 | | // optional int32 end = 2; |
2730 | | bool has_end() const; |
2731 | | private: |
2732 | | bool _internal_has_end() const; |
2733 | | public: |
2734 | | void clear_end(); |
2735 | | int32_t end() const; |
2736 | | void set_end(int32_t value); |
2737 | | private: |
2738 | | int32_t _internal_end() const; |
2739 | | void _internal_set_end(int32_t value); |
2740 | | public: |
2741 | | |
2742 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange) |
2743 | | private: |
2744 | | class _Internal; |
2745 | | |
2746 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2747 | | typedef void InternalArenaConstructable_; |
2748 | | typedef void DestructorSkippable_; |
2749 | | struct Impl_ { |
2750 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2751 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2752 | | int32_t start_; |
2753 | | int32_t end_; |
2754 | | }; |
2755 | | union { Impl_ _impl_; }; |
2756 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
2757 | | }; |
2758 | | // ------------------------------------------------------------------- |
2759 | | |
2760 | | class PROTOBUF_EXPORT EnumDescriptorProto final : |
2761 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { |
2762 | | public: |
2763 | 0 | inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} |
2764 | | ~EnumDescriptorProto() override; |
2765 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2766 | | |
2767 | | EnumDescriptorProto(const EnumDescriptorProto& from); |
2768 | | EnumDescriptorProto(EnumDescriptorProto&& from) noexcept |
2769 | 0 | : EnumDescriptorProto() { |
2770 | 0 | *this = ::std::move(from); |
2771 | 0 | } |
2772 | | |
2773 | 0 | inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
2774 | 0 | CopyFrom(from); |
2775 | 0 | return *this; |
2776 | 0 | } |
2777 | 0 | inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
2778 | 0 | if (this == &from) return *this; |
2779 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2780 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2781 | 0 | && GetOwningArena() != nullptr |
2782 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2783 | 0 | ) { |
2784 | 0 | InternalSwap(&from); |
2785 | 0 | } else { |
2786 | 0 | CopyFrom(from); |
2787 | 0 | } |
2788 | 0 | return *this; |
2789 | 0 | } |
2790 | | |
2791 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2792 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2793 | 0 | } |
2794 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2795 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2796 | 0 | } |
2797 | | |
2798 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2799 | 0 | return GetDescriptor(); |
2800 | 0 | } |
2801 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2802 | 0 | return default_instance().GetMetadata().descriptor; |
2803 | 0 | } |
2804 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2805 | 0 | return default_instance().GetMetadata().reflection; |
2806 | 0 | } |
2807 | 0 | static const EnumDescriptorProto& default_instance() { |
2808 | 0 | return *internal_default_instance(); |
2809 | 0 | } |
2810 | 0 | static inline const EnumDescriptorProto* internal_default_instance() { |
2811 | 0 | return reinterpret_cast<const EnumDescriptorProto*>( |
2812 | 0 | &_EnumDescriptorProto_default_instance_); |
2813 | 0 | } |
2814 | | static constexpr int kIndexInFileMessages = |
2815 | | 9; |
2816 | | |
2817 | 0 | friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { |
2818 | 0 | a.Swap(&b); |
2819 | 0 | } |
2820 | 0 | inline void Swap(EnumDescriptorProto* other) { |
2821 | 0 | if (other == this) return; |
2822 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2823 | 0 | if (GetOwningArena() != nullptr && |
2824 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2825 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2826 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2827 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2828 | 0 | InternalSwap(other); |
2829 | 0 | } else { |
2830 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2831 | 0 | } |
2832 | 0 | } |
2833 | 0 | void UnsafeArenaSwap(EnumDescriptorProto* other) { |
2834 | 0 | if (other == this) return; |
2835 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2836 | 0 | InternalSwap(other); |
2837 | 0 | } |
2838 | | |
2839 | | // implements Message ---------------------------------------------- |
2840 | | |
2841 | 0 | EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2842 | 0 | return CreateMaybeMessage<EnumDescriptorProto>(arena); |
2843 | 0 | } |
2844 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2845 | | void CopyFrom(const EnumDescriptorProto& from); |
2846 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2847 | 0 | void MergeFrom( const EnumDescriptorProto& from) { |
2848 | 0 | EnumDescriptorProto::MergeImpl(*this, from); |
2849 | 0 | } |
2850 | | private: |
2851 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2852 | | public: |
2853 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2854 | | bool IsInitialized() const final; |
2855 | | |
2856 | | size_t ByteSizeLong() const final; |
2857 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2858 | | uint8_t* _InternalSerialize( |
2859 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2860 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2861 | | |
2862 | | private: |
2863 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2864 | | void SharedDtor(); |
2865 | | void SetCachedSize(int size) const final; |
2866 | | void InternalSwap(EnumDescriptorProto* other); |
2867 | | |
2868 | | private: |
2869 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2870 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2871 | 0 | return "google.protobuf.EnumDescriptorProto"; |
2872 | 0 | } |
2873 | | protected: |
2874 | | explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2875 | | bool is_message_owned = false); |
2876 | | public: |
2877 | | |
2878 | | static const ClassData _class_data_; |
2879 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2880 | | |
2881 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2882 | | |
2883 | | // nested types ---------------------------------------------------- |
2884 | | |
2885 | | typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange; |
2886 | | |
2887 | | // accessors ------------------------------------------------------- |
2888 | | |
2889 | | enum : int { |
2890 | | kValueFieldNumber = 2, |
2891 | | kReservedRangeFieldNumber = 4, |
2892 | | kReservedNameFieldNumber = 5, |
2893 | | kNameFieldNumber = 1, |
2894 | | kOptionsFieldNumber = 3, |
2895 | | }; |
2896 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
2897 | | int value_size() const; |
2898 | | private: |
2899 | | int _internal_value_size() const; |
2900 | | public: |
2901 | | void clear_value(); |
2902 | | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index); |
2903 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* |
2904 | | mutable_value(); |
2905 | | private: |
2906 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const; |
2907 | | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value(); |
2908 | | public: |
2909 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const; |
2910 | | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value(); |
2911 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& |
2912 | | value() const; |
2913 | | |
2914 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
2915 | | int reserved_range_size() const; |
2916 | | private: |
2917 | | int _internal_reserved_range_size() const; |
2918 | | public: |
2919 | | void clear_reserved_range(); |
2920 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); |
2921 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* |
2922 | | mutable_reserved_range(); |
2923 | | private: |
2924 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const; |
2925 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range(); |
2926 | | public: |
2927 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; |
2928 | | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); |
2929 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& |
2930 | | reserved_range() const; |
2931 | | |
2932 | | // repeated string reserved_name = 5; |
2933 | | int reserved_name_size() const; |
2934 | | private: |
2935 | | int _internal_reserved_name_size() const; |
2936 | | public: |
2937 | | void clear_reserved_name(); |
2938 | | const std::string& reserved_name(int index) const; |
2939 | | std::string* mutable_reserved_name(int index); |
2940 | | void set_reserved_name(int index, const std::string& value); |
2941 | | void set_reserved_name(int index, std::string&& value); |
2942 | | void set_reserved_name(int index, const char* value); |
2943 | | void set_reserved_name(int index, const char* value, size_t size); |
2944 | | std::string* add_reserved_name(); |
2945 | | void add_reserved_name(const std::string& value); |
2946 | | void add_reserved_name(std::string&& value); |
2947 | | void add_reserved_name(const char* value); |
2948 | | void add_reserved_name(const char* value, size_t size); |
2949 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; |
2950 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); |
2951 | | private: |
2952 | | const std::string& _internal_reserved_name(int index) const; |
2953 | | std::string* _internal_add_reserved_name(); |
2954 | | public: |
2955 | | |
2956 | | // optional string name = 1; |
2957 | | bool has_name() const; |
2958 | | private: |
2959 | | bool _internal_has_name() const; |
2960 | | public: |
2961 | | void clear_name(); |
2962 | | const std::string& name() const; |
2963 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2964 | | void set_name(ArgT0&& arg0, ArgT... args); |
2965 | | std::string* mutable_name(); |
2966 | | PROTOBUF_NODISCARD std::string* release_name(); |
2967 | | void set_allocated_name(std::string* name); |
2968 | | private: |
2969 | | const std::string& _internal_name() const; |
2970 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
2971 | | std::string* _internal_mutable_name(); |
2972 | | public: |
2973 | | |
2974 | | // optional .google.protobuf.EnumOptions options = 3; |
2975 | | bool has_options() const; |
2976 | | private: |
2977 | | bool _internal_has_options() const; |
2978 | | public: |
2979 | | void clear_options(); |
2980 | | const ::PROTOBUF_NAMESPACE_ID::EnumOptions& options() const; |
2981 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumOptions* release_options(); |
2982 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options(); |
2983 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options); |
2984 | | private: |
2985 | | const ::PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const; |
2986 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options(); |
2987 | | public: |
2988 | | void unsafe_arena_set_allocated_options( |
2989 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options); |
2990 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options(); |
2991 | | |
2992 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
2993 | | private: |
2994 | | class _Internal; |
2995 | | |
2996 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2997 | | typedef void InternalArenaConstructable_; |
2998 | | typedef void DestructorSkippable_; |
2999 | | struct Impl_ { |
3000 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3001 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3002 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_; |
3003 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_; |
3004 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; |
3005 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3006 | | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options_; |
3007 | | }; |
3008 | | union { Impl_ _impl_; }; |
3009 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3010 | | }; |
3011 | | // ------------------------------------------------------------------- |
3012 | | |
3013 | | class PROTOBUF_EXPORT EnumValueDescriptorProto final : |
3014 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { |
3015 | | public: |
3016 | 0 | inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {} |
3017 | | ~EnumValueDescriptorProto() override; |
3018 | | explicit PROTOBUF_CONSTEXPR EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3019 | | |
3020 | | EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
3021 | | EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept |
3022 | 0 | : EnumValueDescriptorProto() { |
3023 | 0 | *this = ::std::move(from); |
3024 | 0 | } |
3025 | | |
3026 | 0 | inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
3027 | 0 | CopyFrom(from); |
3028 | 0 | return *this; |
3029 | 0 | } |
3030 | 0 | inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
3031 | 0 | if (this == &from) return *this; |
3032 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3033 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3034 | 0 | && GetOwningArena() != nullptr |
3035 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3036 | 0 | ) { |
3037 | 0 | InternalSwap(&from); |
3038 | 0 | } else { |
3039 | 0 | CopyFrom(from); |
3040 | 0 | } |
3041 | 0 | return *this; |
3042 | 0 | } |
3043 | | |
3044 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3045 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3046 | 0 | } |
3047 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3048 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3049 | 0 | } |
3050 | | |
3051 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3052 | 0 | return GetDescriptor(); |
3053 | 0 | } |
3054 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3055 | 0 | return default_instance().GetMetadata().descriptor; |
3056 | 0 | } |
3057 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3058 | 0 | return default_instance().GetMetadata().reflection; |
3059 | 0 | } |
3060 | 0 | static const EnumValueDescriptorProto& default_instance() { |
3061 | 0 | return *internal_default_instance(); |
3062 | 0 | } |
3063 | 0 | static inline const EnumValueDescriptorProto* internal_default_instance() { |
3064 | 0 | return reinterpret_cast<const EnumValueDescriptorProto*>( |
3065 | 0 | &_EnumValueDescriptorProto_default_instance_); |
3066 | 0 | } |
3067 | | static constexpr int kIndexInFileMessages = |
3068 | | 10; |
3069 | | |
3070 | 0 | friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { |
3071 | 0 | a.Swap(&b); |
3072 | 0 | } |
3073 | 0 | inline void Swap(EnumValueDescriptorProto* other) { |
3074 | 0 | if (other == this) return; |
3075 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3076 | 0 | if (GetOwningArena() != nullptr && |
3077 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3078 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3079 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3080 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3081 | 0 | InternalSwap(other); |
3082 | 0 | } else { |
3083 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3084 | 0 | } |
3085 | 0 | } |
3086 | 0 | void UnsafeArenaSwap(EnumValueDescriptorProto* other) { |
3087 | 0 | if (other == this) return; |
3088 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3089 | 0 | InternalSwap(other); |
3090 | 0 | } |
3091 | | |
3092 | | // implements Message ---------------------------------------------- |
3093 | | |
3094 | 0 | EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3095 | 0 | return CreateMaybeMessage<EnumValueDescriptorProto>(arena); |
3096 | 0 | } |
3097 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3098 | | void CopyFrom(const EnumValueDescriptorProto& from); |
3099 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3100 | 0 | void MergeFrom( const EnumValueDescriptorProto& from) { |
3101 | 0 | EnumValueDescriptorProto::MergeImpl(*this, from); |
3102 | 0 | } |
3103 | | private: |
3104 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3105 | | public: |
3106 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3107 | | bool IsInitialized() const final; |
3108 | | |
3109 | | size_t ByteSizeLong() const final; |
3110 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3111 | | uint8_t* _InternalSerialize( |
3112 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3113 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3114 | | |
3115 | | private: |
3116 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3117 | | void SharedDtor(); |
3118 | | void SetCachedSize(int size) const final; |
3119 | | void InternalSwap(EnumValueDescriptorProto* other); |
3120 | | |
3121 | | private: |
3122 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3123 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3124 | 0 | return "google.protobuf.EnumValueDescriptorProto"; |
3125 | 0 | } |
3126 | | protected: |
3127 | | explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3128 | | bool is_message_owned = false); |
3129 | | public: |
3130 | | |
3131 | | static const ClassData _class_data_; |
3132 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3133 | | |
3134 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3135 | | |
3136 | | // nested types ---------------------------------------------------- |
3137 | | |
3138 | | // accessors ------------------------------------------------------- |
3139 | | |
3140 | | enum : int { |
3141 | | kNameFieldNumber = 1, |
3142 | | kOptionsFieldNumber = 3, |
3143 | | kNumberFieldNumber = 2, |
3144 | | }; |
3145 | | // optional string name = 1; |
3146 | | bool has_name() const; |
3147 | | private: |
3148 | | bool _internal_has_name() const; |
3149 | | public: |
3150 | | void clear_name(); |
3151 | | const std::string& name() const; |
3152 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3153 | | void set_name(ArgT0&& arg0, ArgT... args); |
3154 | | std::string* mutable_name(); |
3155 | | PROTOBUF_NODISCARD std::string* release_name(); |
3156 | | void set_allocated_name(std::string* name); |
3157 | | private: |
3158 | | const std::string& _internal_name() const; |
3159 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
3160 | | std::string* _internal_mutable_name(); |
3161 | | public: |
3162 | | |
3163 | | // optional .google.protobuf.EnumValueOptions options = 3; |
3164 | | bool has_options() const; |
3165 | | private: |
3166 | | bool _internal_has_options() const; |
3167 | | public: |
3168 | | void clear_options(); |
3169 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const; |
3170 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options(); |
3171 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options(); |
3172 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); |
3173 | | private: |
3174 | | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const; |
3175 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options(); |
3176 | | public: |
3177 | | void unsafe_arena_set_allocated_options( |
3178 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); |
3179 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options(); |
3180 | | |
3181 | | // optional int32 number = 2; |
3182 | | bool has_number() const; |
3183 | | private: |
3184 | | bool _internal_has_number() const; |
3185 | | public: |
3186 | | void clear_number(); |
3187 | | int32_t number() const; |
3188 | | void set_number(int32_t value); |
3189 | | private: |
3190 | | int32_t _internal_number() const; |
3191 | | void _internal_set_number(int32_t value); |
3192 | | public: |
3193 | | |
3194 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
3195 | | private: |
3196 | | class _Internal; |
3197 | | |
3198 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3199 | | typedef void InternalArenaConstructable_; |
3200 | | typedef void DestructorSkippable_; |
3201 | | struct Impl_ { |
3202 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3203 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3204 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3205 | | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_; |
3206 | | int32_t number_; |
3207 | | }; |
3208 | | union { Impl_ _impl_; }; |
3209 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3210 | | }; |
3211 | | // ------------------------------------------------------------------- |
3212 | | |
3213 | | class PROTOBUF_EXPORT ServiceDescriptorProto final : |
3214 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { |
3215 | | public: |
3216 | 0 | inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {} |
3217 | | ~ServiceDescriptorProto() override; |
3218 | | explicit PROTOBUF_CONSTEXPR ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3219 | | |
3220 | | ServiceDescriptorProto(const ServiceDescriptorProto& from); |
3221 | | ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept |
3222 | 0 | : ServiceDescriptorProto() { |
3223 | 0 | *this = ::std::move(from); |
3224 | 0 | } |
3225 | | |
3226 | 0 | inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
3227 | 0 | CopyFrom(from); |
3228 | 0 | return *this; |
3229 | 0 | } |
3230 | 0 | inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
3231 | 0 | if (this == &from) return *this; |
3232 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3233 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3234 | 0 | && GetOwningArena() != nullptr |
3235 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3236 | 0 | ) { |
3237 | 0 | InternalSwap(&from); |
3238 | 0 | } else { |
3239 | 0 | CopyFrom(from); |
3240 | 0 | } |
3241 | 0 | return *this; |
3242 | 0 | } |
3243 | | |
3244 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3245 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3246 | 0 | } |
3247 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3248 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3249 | 0 | } |
3250 | | |
3251 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3252 | 0 | return GetDescriptor(); |
3253 | 0 | } |
3254 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3255 | 0 | return default_instance().GetMetadata().descriptor; |
3256 | 0 | } |
3257 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3258 | 0 | return default_instance().GetMetadata().reflection; |
3259 | 0 | } |
3260 | 0 | static const ServiceDescriptorProto& default_instance() { |
3261 | 0 | return *internal_default_instance(); |
3262 | 0 | } |
3263 | 0 | static inline const ServiceDescriptorProto* internal_default_instance() { |
3264 | 0 | return reinterpret_cast<const ServiceDescriptorProto*>( |
3265 | 0 | &_ServiceDescriptorProto_default_instance_); |
3266 | 0 | } |
3267 | | static constexpr int kIndexInFileMessages = |
3268 | | 11; |
3269 | | |
3270 | 0 | friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { |
3271 | 0 | a.Swap(&b); |
3272 | 0 | } |
3273 | 0 | inline void Swap(ServiceDescriptorProto* other) { |
3274 | 0 | if (other == this) return; |
3275 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3276 | 0 | if (GetOwningArena() != nullptr && |
3277 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3278 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3279 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3280 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3281 | 0 | InternalSwap(other); |
3282 | 0 | } else { |
3283 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3284 | 0 | } |
3285 | 0 | } |
3286 | 0 | void UnsafeArenaSwap(ServiceDescriptorProto* other) { |
3287 | 0 | if (other == this) return; |
3288 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3289 | 0 | InternalSwap(other); |
3290 | 0 | } |
3291 | | |
3292 | | // implements Message ---------------------------------------------- |
3293 | | |
3294 | 0 | ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3295 | 0 | return CreateMaybeMessage<ServiceDescriptorProto>(arena); |
3296 | 0 | } |
3297 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3298 | | void CopyFrom(const ServiceDescriptorProto& from); |
3299 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3300 | 0 | void MergeFrom( const ServiceDescriptorProto& from) { |
3301 | 0 | ServiceDescriptorProto::MergeImpl(*this, from); |
3302 | 0 | } |
3303 | | private: |
3304 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3305 | | public: |
3306 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3307 | | bool IsInitialized() const final; |
3308 | | |
3309 | | size_t ByteSizeLong() const final; |
3310 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3311 | | uint8_t* _InternalSerialize( |
3312 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3313 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3314 | | |
3315 | | private: |
3316 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3317 | | void SharedDtor(); |
3318 | | void SetCachedSize(int size) const final; |
3319 | | void InternalSwap(ServiceDescriptorProto* other); |
3320 | | |
3321 | | private: |
3322 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3323 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3324 | 0 | return "google.protobuf.ServiceDescriptorProto"; |
3325 | 0 | } |
3326 | | protected: |
3327 | | explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3328 | | bool is_message_owned = false); |
3329 | | public: |
3330 | | |
3331 | | static const ClassData _class_data_; |
3332 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3333 | | |
3334 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3335 | | |
3336 | | // nested types ---------------------------------------------------- |
3337 | | |
3338 | | // accessors ------------------------------------------------------- |
3339 | | |
3340 | | enum : int { |
3341 | | kMethodFieldNumber = 2, |
3342 | | kNameFieldNumber = 1, |
3343 | | kOptionsFieldNumber = 3, |
3344 | | }; |
3345 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
3346 | | int method_size() const; |
3347 | | private: |
3348 | | int _internal_method_size() const; |
3349 | | public: |
3350 | | void clear_method(); |
3351 | | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index); |
3352 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* |
3353 | | mutable_method(); |
3354 | | private: |
3355 | | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const; |
3356 | | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method(); |
3357 | | public: |
3358 | | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const; |
3359 | | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method(); |
3360 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& |
3361 | | method() const; |
3362 | | |
3363 | | // optional string name = 1; |
3364 | | bool has_name() const; |
3365 | | private: |
3366 | | bool _internal_has_name() const; |
3367 | | public: |
3368 | | void clear_name(); |
3369 | | const std::string& name() const; |
3370 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3371 | | void set_name(ArgT0&& arg0, ArgT... args); |
3372 | | std::string* mutable_name(); |
3373 | | PROTOBUF_NODISCARD std::string* release_name(); |
3374 | | void set_allocated_name(std::string* name); |
3375 | | private: |
3376 | | const std::string& _internal_name() const; |
3377 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
3378 | | std::string* _internal_mutable_name(); |
3379 | | public: |
3380 | | |
3381 | | // optional .google.protobuf.ServiceOptions options = 3; |
3382 | | bool has_options() const; |
3383 | | private: |
3384 | | bool _internal_has_options() const; |
3385 | | public: |
3386 | | void clear_options(); |
3387 | | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const; |
3388 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options(); |
3389 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options(); |
3390 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options); |
3391 | | private: |
3392 | | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const; |
3393 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options(); |
3394 | | public: |
3395 | | void unsafe_arena_set_allocated_options( |
3396 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options); |
3397 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options(); |
3398 | | |
3399 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
3400 | | private: |
3401 | | class _Internal; |
3402 | | |
3403 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3404 | | typedef void InternalArenaConstructable_; |
3405 | | typedef void DestructorSkippable_; |
3406 | | struct Impl_ { |
3407 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3408 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3409 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_; |
3410 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3411 | | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options_; |
3412 | | }; |
3413 | | union { Impl_ _impl_; }; |
3414 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3415 | | }; |
3416 | | // ------------------------------------------------------------------- |
3417 | | |
3418 | | class PROTOBUF_EXPORT MethodDescriptorProto final : |
3419 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ { |
3420 | | public: |
3421 | 0 | inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {} |
3422 | | ~MethodDescriptorProto() override; |
3423 | | explicit PROTOBUF_CONSTEXPR MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3424 | | |
3425 | | MethodDescriptorProto(const MethodDescriptorProto& from); |
3426 | | MethodDescriptorProto(MethodDescriptorProto&& from) noexcept |
3427 | 0 | : MethodDescriptorProto() { |
3428 | 0 | *this = ::std::move(from); |
3429 | 0 | } |
3430 | | |
3431 | 0 | inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
3432 | 0 | CopyFrom(from); |
3433 | 0 | return *this; |
3434 | 0 | } |
3435 | 0 | inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
3436 | 0 | if (this == &from) return *this; |
3437 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3438 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3439 | 0 | && GetOwningArena() != nullptr |
3440 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3441 | 0 | ) { |
3442 | 0 | InternalSwap(&from); |
3443 | 0 | } else { |
3444 | 0 | CopyFrom(from); |
3445 | 0 | } |
3446 | 0 | return *this; |
3447 | 0 | } |
3448 | | |
3449 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3450 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3451 | 0 | } |
3452 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3453 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3454 | 0 | } |
3455 | | |
3456 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3457 | 0 | return GetDescriptor(); |
3458 | 0 | } |
3459 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3460 | 0 | return default_instance().GetMetadata().descriptor; |
3461 | 0 | } |
3462 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3463 | 0 | return default_instance().GetMetadata().reflection; |
3464 | 0 | } |
3465 | 0 | static const MethodDescriptorProto& default_instance() { |
3466 | 0 | return *internal_default_instance(); |
3467 | 0 | } |
3468 | 0 | static inline const MethodDescriptorProto* internal_default_instance() { |
3469 | 0 | return reinterpret_cast<const MethodDescriptorProto*>( |
3470 | 0 | &_MethodDescriptorProto_default_instance_); |
3471 | 0 | } |
3472 | | static constexpr int kIndexInFileMessages = |
3473 | | 12; |
3474 | | |
3475 | 0 | friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { |
3476 | 0 | a.Swap(&b); |
3477 | 0 | } |
3478 | 0 | inline void Swap(MethodDescriptorProto* other) { |
3479 | 0 | if (other == this) return; |
3480 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3481 | 0 | if (GetOwningArena() != nullptr && |
3482 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3483 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3484 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3485 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3486 | 0 | InternalSwap(other); |
3487 | 0 | } else { |
3488 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3489 | 0 | } |
3490 | 0 | } |
3491 | 0 | void UnsafeArenaSwap(MethodDescriptorProto* other) { |
3492 | 0 | if (other == this) return; |
3493 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3494 | 0 | InternalSwap(other); |
3495 | 0 | } |
3496 | | |
3497 | | // implements Message ---------------------------------------------- |
3498 | | |
3499 | 0 | MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3500 | 0 | return CreateMaybeMessage<MethodDescriptorProto>(arena); |
3501 | 0 | } |
3502 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3503 | | void CopyFrom(const MethodDescriptorProto& from); |
3504 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3505 | 0 | void MergeFrom( const MethodDescriptorProto& from) { |
3506 | 0 | MethodDescriptorProto::MergeImpl(*this, from); |
3507 | 0 | } |
3508 | | private: |
3509 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3510 | | public: |
3511 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3512 | | bool IsInitialized() const final; |
3513 | | |
3514 | | size_t ByteSizeLong() const final; |
3515 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3516 | | uint8_t* _InternalSerialize( |
3517 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3518 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3519 | | |
3520 | | private: |
3521 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3522 | | void SharedDtor(); |
3523 | | void SetCachedSize(int size) const final; |
3524 | | void InternalSwap(MethodDescriptorProto* other); |
3525 | | |
3526 | | private: |
3527 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3528 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3529 | 0 | return "google.protobuf.MethodDescriptorProto"; |
3530 | 0 | } |
3531 | | protected: |
3532 | | explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3533 | | bool is_message_owned = false); |
3534 | | public: |
3535 | | |
3536 | | static const ClassData _class_data_; |
3537 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3538 | | |
3539 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3540 | | |
3541 | | // nested types ---------------------------------------------------- |
3542 | | |
3543 | | // accessors ------------------------------------------------------- |
3544 | | |
3545 | | enum : int { |
3546 | | kNameFieldNumber = 1, |
3547 | | kInputTypeFieldNumber = 2, |
3548 | | kOutputTypeFieldNumber = 3, |
3549 | | kOptionsFieldNumber = 4, |
3550 | | kClientStreamingFieldNumber = 5, |
3551 | | kServerStreamingFieldNumber = 6, |
3552 | | }; |
3553 | | // optional string name = 1; |
3554 | | bool has_name() const; |
3555 | | private: |
3556 | | bool _internal_has_name() const; |
3557 | | public: |
3558 | | void clear_name(); |
3559 | | const std::string& name() const; |
3560 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3561 | | void set_name(ArgT0&& arg0, ArgT... args); |
3562 | | std::string* mutable_name(); |
3563 | | PROTOBUF_NODISCARD std::string* release_name(); |
3564 | | void set_allocated_name(std::string* name); |
3565 | | private: |
3566 | | const std::string& _internal_name() const; |
3567 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
3568 | | std::string* _internal_mutable_name(); |
3569 | | public: |
3570 | | |
3571 | | // optional string input_type = 2; |
3572 | | bool has_input_type() const; |
3573 | | private: |
3574 | | bool _internal_has_input_type() const; |
3575 | | public: |
3576 | | void clear_input_type(); |
3577 | | const std::string& input_type() const; |
3578 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3579 | | void set_input_type(ArgT0&& arg0, ArgT... args); |
3580 | | std::string* mutable_input_type(); |
3581 | | PROTOBUF_NODISCARD std::string* release_input_type(); |
3582 | | void set_allocated_input_type(std::string* input_type); |
3583 | | private: |
3584 | | const std::string& _internal_input_type() const; |
3585 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type(const std::string& value); |
3586 | | std::string* _internal_mutable_input_type(); |
3587 | | public: |
3588 | | |
3589 | | // optional string output_type = 3; |
3590 | | bool has_output_type() const; |
3591 | | private: |
3592 | | bool _internal_has_output_type() const; |
3593 | | public: |
3594 | | void clear_output_type(); |
3595 | | const std::string& output_type() const; |
3596 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3597 | | void set_output_type(ArgT0&& arg0, ArgT... args); |
3598 | | std::string* mutable_output_type(); |
3599 | | PROTOBUF_NODISCARD std::string* release_output_type(); |
3600 | | void set_allocated_output_type(std::string* output_type); |
3601 | | private: |
3602 | | const std::string& _internal_output_type() const; |
3603 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type(const std::string& value); |
3604 | | std::string* _internal_mutable_output_type(); |
3605 | | public: |
3606 | | |
3607 | | // optional .google.protobuf.MethodOptions options = 4; |
3608 | | bool has_options() const; |
3609 | | private: |
3610 | | bool _internal_has_options() const; |
3611 | | public: |
3612 | | void clear_options(); |
3613 | | const ::PROTOBUF_NAMESPACE_ID::MethodOptions& options() const; |
3614 | | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MethodOptions* release_options(); |
3615 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options(); |
3616 | | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options); |
3617 | | private: |
3618 | | const ::PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const; |
3619 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options(); |
3620 | | public: |
3621 | | void unsafe_arena_set_allocated_options( |
3622 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options); |
3623 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options(); |
3624 | | |
3625 | | // optional bool client_streaming = 5 [default = false]; |
3626 | | bool has_client_streaming() const; |
3627 | | private: |
3628 | | bool _internal_has_client_streaming() const; |
3629 | | public: |
3630 | | void clear_client_streaming(); |
3631 | | bool client_streaming() const; |
3632 | | void set_client_streaming(bool value); |
3633 | | private: |
3634 | | bool _internal_client_streaming() const; |
3635 | | void _internal_set_client_streaming(bool value); |
3636 | | public: |
3637 | | |
3638 | | // optional bool server_streaming = 6 [default = false]; |
3639 | | bool has_server_streaming() const; |
3640 | | private: |
3641 | | bool _internal_has_server_streaming() const; |
3642 | | public: |
3643 | | void clear_server_streaming(); |
3644 | | bool server_streaming() const; |
3645 | | void set_server_streaming(bool value); |
3646 | | private: |
3647 | | bool _internal_server_streaming() const; |
3648 | | void _internal_set_server_streaming(bool value); |
3649 | | public: |
3650 | | |
3651 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
3652 | | private: |
3653 | | class _Internal; |
3654 | | |
3655 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3656 | | typedef void InternalArenaConstructable_; |
3657 | | typedef void DestructorSkippable_; |
3658 | | struct Impl_ { |
3659 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
3660 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3661 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3662 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_; |
3663 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_; |
3664 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options_; |
3665 | | bool client_streaming_; |
3666 | | bool server_streaming_; |
3667 | | }; |
3668 | | union { Impl_ _impl_; }; |
3669 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
3670 | | }; |
3671 | | // ------------------------------------------------------------------- |
3672 | | |
3673 | | class PROTOBUF_EXPORT FileOptions final : |
3674 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { |
3675 | | public: |
3676 | 0 | inline FileOptions() : FileOptions(nullptr) {} |
3677 | | ~FileOptions() override; |
3678 | | explicit PROTOBUF_CONSTEXPR FileOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3679 | | |
3680 | | FileOptions(const FileOptions& from); |
3681 | | FileOptions(FileOptions&& from) noexcept |
3682 | 0 | : FileOptions() { |
3683 | 0 | *this = ::std::move(from); |
3684 | 0 | } |
3685 | | |
3686 | 0 | inline FileOptions& operator=(const FileOptions& from) { |
3687 | 0 | CopyFrom(from); |
3688 | 0 | return *this; |
3689 | 0 | } |
3690 | 0 | inline FileOptions& operator=(FileOptions&& from) noexcept { |
3691 | 0 | if (this == &from) return *this; |
3692 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3693 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3694 | 0 | && GetOwningArena() != nullptr |
3695 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3696 | 0 | ) { |
3697 | 0 | InternalSwap(&from); |
3698 | 0 | } else { |
3699 | 0 | CopyFrom(from); |
3700 | 0 | } |
3701 | 0 | return *this; |
3702 | 0 | } |
3703 | | |
3704 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
3705 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
3706 | 0 | } |
3707 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
3708 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3709 | 0 | } |
3710 | | |
3711 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3712 | 0 | return GetDescriptor(); |
3713 | 0 | } |
3714 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3715 | 0 | return default_instance().GetMetadata().descriptor; |
3716 | 0 | } |
3717 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3718 | 0 | return default_instance().GetMetadata().reflection; |
3719 | 0 | } |
3720 | 0 | static const FileOptions& default_instance() { |
3721 | 0 | return *internal_default_instance(); |
3722 | 0 | } |
3723 | 0 | static inline const FileOptions* internal_default_instance() { |
3724 | 0 | return reinterpret_cast<const FileOptions*>( |
3725 | 0 | &_FileOptions_default_instance_); |
3726 | 0 | } |
3727 | | static constexpr int kIndexInFileMessages = |
3728 | | 13; |
3729 | | |
3730 | 0 | friend void swap(FileOptions& a, FileOptions& b) { |
3731 | 0 | a.Swap(&b); |
3732 | 0 | } |
3733 | 0 | inline void Swap(FileOptions* other) { |
3734 | 0 | if (other == this) return; |
3735 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3736 | 0 | if (GetOwningArena() != nullptr && |
3737 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3738 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3739 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3740 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3741 | 0 | InternalSwap(other); |
3742 | 0 | } else { |
3743 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3744 | 0 | } |
3745 | 0 | } |
3746 | 0 | void UnsafeArenaSwap(FileOptions* other) { |
3747 | 0 | if (other == this) return; |
3748 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3749 | 0 | InternalSwap(other); |
3750 | 0 | } |
3751 | | |
3752 | | // implements Message ---------------------------------------------- |
3753 | | |
3754 | 0 | FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3755 | 0 | return CreateMaybeMessage<FileOptions>(arena); |
3756 | 0 | } |
3757 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3758 | | void CopyFrom(const FileOptions& from); |
3759 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3760 | 0 | void MergeFrom( const FileOptions& from) { |
3761 | 0 | FileOptions::MergeImpl(*this, from); |
3762 | 0 | } |
3763 | | private: |
3764 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3765 | | public: |
3766 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3767 | | bool IsInitialized() const final; |
3768 | | |
3769 | | size_t ByteSizeLong() const final; |
3770 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3771 | | uint8_t* _InternalSerialize( |
3772 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3773 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3774 | | |
3775 | | private: |
3776 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3777 | | void SharedDtor(); |
3778 | | void SetCachedSize(int size) const final; |
3779 | | void InternalSwap(FileOptions* other); |
3780 | | |
3781 | | private: |
3782 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3783 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3784 | 0 | return "google.protobuf.FileOptions"; |
3785 | 0 | } |
3786 | | protected: |
3787 | | explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3788 | | bool is_message_owned = false); |
3789 | | public: |
3790 | | |
3791 | | static const ClassData _class_data_; |
3792 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3793 | | |
3794 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3795 | | |
3796 | | // nested types ---------------------------------------------------- |
3797 | | |
3798 | | typedef FileOptions_OptimizeMode OptimizeMode; |
3799 | | static constexpr OptimizeMode SPEED = |
3800 | | FileOptions_OptimizeMode_SPEED; |
3801 | | static constexpr OptimizeMode CODE_SIZE = |
3802 | | FileOptions_OptimizeMode_CODE_SIZE; |
3803 | | static constexpr OptimizeMode LITE_RUNTIME = |
3804 | | FileOptions_OptimizeMode_LITE_RUNTIME; |
3805 | 0 | static inline bool OptimizeMode_IsValid(int value) { |
3806 | 0 | return FileOptions_OptimizeMode_IsValid(value); |
3807 | 0 | } |
3808 | | static constexpr OptimizeMode OptimizeMode_MIN = |
3809 | | FileOptions_OptimizeMode_OptimizeMode_MIN; |
3810 | | static constexpr OptimizeMode OptimizeMode_MAX = |
3811 | | FileOptions_OptimizeMode_OptimizeMode_MAX; |
3812 | | static constexpr int OptimizeMode_ARRAYSIZE = |
3813 | | FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; |
3814 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
3815 | 0 | OptimizeMode_descriptor() { |
3816 | 0 | return FileOptions_OptimizeMode_descriptor(); |
3817 | 0 | } |
3818 | | template<typename T> |
3819 | | static inline const std::string& OptimizeMode_Name(T enum_t_value) { |
3820 | | static_assert(::std::is_same<T, OptimizeMode>::value || |
3821 | | ::std::is_integral<T>::value, |
3822 | | "Incorrect type passed to function OptimizeMode_Name."); |
3823 | | return FileOptions_OptimizeMode_Name(enum_t_value); |
3824 | | } |
3825 | | static inline bool OptimizeMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
3826 | 0 | OptimizeMode* value) { |
3827 | 0 | return FileOptions_OptimizeMode_Parse(name, value); |
3828 | 0 | } |
3829 | | |
3830 | | // accessors ------------------------------------------------------- |
3831 | | |
3832 | | enum : int { |
3833 | | kUninterpretedOptionFieldNumber = 999, |
3834 | | kJavaPackageFieldNumber = 1, |
3835 | | kJavaOuterClassnameFieldNumber = 8, |
3836 | | kGoPackageFieldNumber = 11, |
3837 | | kObjcClassPrefixFieldNumber = 36, |
3838 | | kCsharpNamespaceFieldNumber = 37, |
3839 | | kSwiftPrefixFieldNumber = 39, |
3840 | | kPhpClassPrefixFieldNumber = 40, |
3841 | | kPhpNamespaceFieldNumber = 41, |
3842 | | kPhpMetadataNamespaceFieldNumber = 44, |
3843 | | kRubyPackageFieldNumber = 45, |
3844 | | kJavaMultipleFilesFieldNumber = 10, |
3845 | | kJavaGenerateEqualsAndHashFieldNumber = 20, |
3846 | | kJavaStringCheckUtf8FieldNumber = 27, |
3847 | | kCcGenericServicesFieldNumber = 16, |
3848 | | kJavaGenericServicesFieldNumber = 17, |
3849 | | kPyGenericServicesFieldNumber = 18, |
3850 | | kPhpGenericServicesFieldNumber = 42, |
3851 | | kDeprecatedFieldNumber = 23, |
3852 | | kOptimizeForFieldNumber = 9, |
3853 | | kCcEnableArenasFieldNumber = 31, |
3854 | | }; |
3855 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
3856 | | int uninterpreted_option_size() const; |
3857 | | private: |
3858 | | int _internal_uninterpreted_option_size() const; |
3859 | | public: |
3860 | | void clear_uninterpreted_option(); |
3861 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
3862 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
3863 | | mutable_uninterpreted_option(); |
3864 | | private: |
3865 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
3866 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
3867 | | public: |
3868 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
3869 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
3870 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
3871 | | uninterpreted_option() const; |
3872 | | |
3873 | | // optional string java_package = 1; |
3874 | | bool has_java_package() const; |
3875 | | private: |
3876 | | bool _internal_has_java_package() const; |
3877 | | public: |
3878 | | void clear_java_package(); |
3879 | | const std::string& java_package() const; |
3880 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3881 | | void set_java_package(ArgT0&& arg0, ArgT... args); |
3882 | | std::string* mutable_java_package(); |
3883 | | PROTOBUF_NODISCARD std::string* release_java_package(); |
3884 | | void set_allocated_java_package(std::string* java_package); |
3885 | | private: |
3886 | | const std::string& _internal_java_package() const; |
3887 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(const std::string& value); |
3888 | | std::string* _internal_mutable_java_package(); |
3889 | | public: |
3890 | | |
3891 | | // optional string java_outer_classname = 8; |
3892 | | bool has_java_outer_classname() const; |
3893 | | private: |
3894 | | bool _internal_has_java_outer_classname() const; |
3895 | | public: |
3896 | | void clear_java_outer_classname(); |
3897 | | const std::string& java_outer_classname() const; |
3898 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3899 | | void set_java_outer_classname(ArgT0&& arg0, ArgT... args); |
3900 | | std::string* mutable_java_outer_classname(); |
3901 | | PROTOBUF_NODISCARD std::string* release_java_outer_classname(); |
3902 | | void set_allocated_java_outer_classname(std::string* java_outer_classname); |
3903 | | private: |
3904 | | const std::string& _internal_java_outer_classname() const; |
3905 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(const std::string& value); |
3906 | | std::string* _internal_mutable_java_outer_classname(); |
3907 | | public: |
3908 | | |
3909 | | // optional string go_package = 11; |
3910 | | bool has_go_package() const; |
3911 | | private: |
3912 | | bool _internal_has_go_package() const; |
3913 | | public: |
3914 | | void clear_go_package(); |
3915 | | const std::string& go_package() const; |
3916 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3917 | | void set_go_package(ArgT0&& arg0, ArgT... args); |
3918 | | std::string* mutable_go_package(); |
3919 | | PROTOBUF_NODISCARD std::string* release_go_package(); |
3920 | | void set_allocated_go_package(std::string* go_package); |
3921 | | private: |
3922 | | const std::string& _internal_go_package() const; |
3923 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(const std::string& value); |
3924 | | std::string* _internal_mutable_go_package(); |
3925 | | public: |
3926 | | |
3927 | | // optional string objc_class_prefix = 36; |
3928 | | bool has_objc_class_prefix() const; |
3929 | | private: |
3930 | | bool _internal_has_objc_class_prefix() const; |
3931 | | public: |
3932 | | void clear_objc_class_prefix(); |
3933 | | const std::string& objc_class_prefix() const; |
3934 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3935 | | void set_objc_class_prefix(ArgT0&& arg0, ArgT... args); |
3936 | | std::string* mutable_objc_class_prefix(); |
3937 | | PROTOBUF_NODISCARD std::string* release_objc_class_prefix(); |
3938 | | void set_allocated_objc_class_prefix(std::string* objc_class_prefix); |
3939 | | private: |
3940 | | const std::string& _internal_objc_class_prefix() const; |
3941 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(const std::string& value); |
3942 | | std::string* _internal_mutable_objc_class_prefix(); |
3943 | | public: |
3944 | | |
3945 | | // optional string csharp_namespace = 37; |
3946 | | bool has_csharp_namespace() const; |
3947 | | private: |
3948 | | bool _internal_has_csharp_namespace() const; |
3949 | | public: |
3950 | | void clear_csharp_namespace(); |
3951 | | const std::string& csharp_namespace() const; |
3952 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3953 | | void set_csharp_namespace(ArgT0&& arg0, ArgT... args); |
3954 | | std::string* mutable_csharp_namespace(); |
3955 | | PROTOBUF_NODISCARD std::string* release_csharp_namespace(); |
3956 | | void set_allocated_csharp_namespace(std::string* csharp_namespace); |
3957 | | private: |
3958 | | const std::string& _internal_csharp_namespace() const; |
3959 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(const std::string& value); |
3960 | | std::string* _internal_mutable_csharp_namespace(); |
3961 | | public: |
3962 | | |
3963 | | // optional string swift_prefix = 39; |
3964 | | bool has_swift_prefix() const; |
3965 | | private: |
3966 | | bool _internal_has_swift_prefix() const; |
3967 | | public: |
3968 | | void clear_swift_prefix(); |
3969 | | const std::string& swift_prefix() const; |
3970 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3971 | | void set_swift_prefix(ArgT0&& arg0, ArgT... args); |
3972 | | std::string* mutable_swift_prefix(); |
3973 | | PROTOBUF_NODISCARD std::string* release_swift_prefix(); |
3974 | | void set_allocated_swift_prefix(std::string* swift_prefix); |
3975 | | private: |
3976 | | const std::string& _internal_swift_prefix() const; |
3977 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(const std::string& value); |
3978 | | std::string* _internal_mutable_swift_prefix(); |
3979 | | public: |
3980 | | |
3981 | | // optional string php_class_prefix = 40; |
3982 | | bool has_php_class_prefix() const; |
3983 | | private: |
3984 | | bool _internal_has_php_class_prefix() const; |
3985 | | public: |
3986 | | void clear_php_class_prefix(); |
3987 | | const std::string& php_class_prefix() const; |
3988 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3989 | | void set_php_class_prefix(ArgT0&& arg0, ArgT... args); |
3990 | | std::string* mutable_php_class_prefix(); |
3991 | | PROTOBUF_NODISCARD std::string* release_php_class_prefix(); |
3992 | | void set_allocated_php_class_prefix(std::string* php_class_prefix); |
3993 | | private: |
3994 | | const std::string& _internal_php_class_prefix() const; |
3995 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(const std::string& value); |
3996 | | std::string* _internal_mutable_php_class_prefix(); |
3997 | | public: |
3998 | | |
3999 | | // optional string php_namespace = 41; |
4000 | | bool has_php_namespace() const; |
4001 | | private: |
4002 | | bool _internal_has_php_namespace() const; |
4003 | | public: |
4004 | | void clear_php_namespace(); |
4005 | | const std::string& php_namespace() const; |
4006 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
4007 | | void set_php_namespace(ArgT0&& arg0, ArgT... args); |
4008 | | std::string* mutable_php_namespace(); |
4009 | | PROTOBUF_NODISCARD std::string* release_php_namespace(); |
4010 | | void set_allocated_php_namespace(std::string* php_namespace); |
4011 | | private: |
4012 | | const std::string& _internal_php_namespace() const; |
4013 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(const std::string& value); |
4014 | | std::string* _internal_mutable_php_namespace(); |
4015 | | public: |
4016 | | |
4017 | | // optional string php_metadata_namespace = 44; |
4018 | | bool has_php_metadata_namespace() const; |
4019 | | private: |
4020 | | bool _internal_has_php_metadata_namespace() const; |
4021 | | public: |
4022 | | void clear_php_metadata_namespace(); |
4023 | | const std::string& php_metadata_namespace() const; |
4024 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
4025 | | void set_php_metadata_namespace(ArgT0&& arg0, ArgT... args); |
4026 | | std::string* mutable_php_metadata_namespace(); |
4027 | | PROTOBUF_NODISCARD std::string* release_php_metadata_namespace(); |
4028 | | void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace); |
4029 | | private: |
4030 | | const std::string& _internal_php_metadata_namespace() const; |
4031 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(const std::string& value); |
4032 | | std::string* _internal_mutable_php_metadata_namespace(); |
4033 | | public: |
4034 | | |
4035 | | // optional string ruby_package = 45; |
4036 | | bool has_ruby_package() const; |
4037 | | private: |
4038 | | bool _internal_has_ruby_package() const; |
4039 | | public: |
4040 | | void clear_ruby_package(); |
4041 | | const std::string& ruby_package() const; |
4042 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
4043 | | void set_ruby_package(ArgT0&& arg0, ArgT... args); |
4044 | | std::string* mutable_ruby_package(); |
4045 | | PROTOBUF_NODISCARD std::string* release_ruby_package(); |
4046 | | void set_allocated_ruby_package(std::string* ruby_package); |
4047 | | private: |
4048 | | const std::string& _internal_ruby_package() const; |
4049 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(const std::string& value); |
4050 | | std::string* _internal_mutable_ruby_package(); |
4051 | | public: |
4052 | | |
4053 | | // optional bool java_multiple_files = 10 [default = false]; |
4054 | | bool has_java_multiple_files() const; |
4055 | | private: |
4056 | | bool _internal_has_java_multiple_files() const; |
4057 | | public: |
4058 | | void clear_java_multiple_files(); |
4059 | | bool java_multiple_files() const; |
4060 | | void set_java_multiple_files(bool value); |
4061 | | private: |
4062 | | bool _internal_java_multiple_files() const; |
4063 | | void _internal_set_java_multiple_files(bool value); |
4064 | | public: |
4065 | | |
4066 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
4067 | | PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const; |
4068 | | private: |
4069 | | bool _internal_has_java_generate_equals_and_hash() const; |
4070 | | public: |
4071 | | PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash(); |
4072 | | PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const; |
4073 | | PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value); |
4074 | | private: |
4075 | | bool _internal_java_generate_equals_and_hash() const; |
4076 | | void _internal_set_java_generate_equals_and_hash(bool value); |
4077 | | public: |
4078 | | |
4079 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
4080 | | bool has_java_string_check_utf8() const; |
4081 | | private: |
4082 | | bool _internal_has_java_string_check_utf8() const; |
4083 | | public: |
4084 | | void clear_java_string_check_utf8(); |
4085 | | bool java_string_check_utf8() const; |
4086 | | void set_java_string_check_utf8(bool value); |
4087 | | private: |
4088 | | bool _internal_java_string_check_utf8() const; |
4089 | | void _internal_set_java_string_check_utf8(bool value); |
4090 | | public: |
4091 | | |
4092 | | // optional bool cc_generic_services = 16 [default = false]; |
4093 | | bool has_cc_generic_services() const; |
4094 | | private: |
4095 | | bool _internal_has_cc_generic_services() const; |
4096 | | public: |
4097 | | void clear_cc_generic_services(); |
4098 | | bool cc_generic_services() const; |
4099 | | void set_cc_generic_services(bool value); |
4100 | | private: |
4101 | | bool _internal_cc_generic_services() const; |
4102 | | void _internal_set_cc_generic_services(bool value); |
4103 | | public: |
4104 | | |
4105 | | // optional bool java_generic_services = 17 [default = false]; |
4106 | | bool has_java_generic_services() const; |
4107 | | private: |
4108 | | bool _internal_has_java_generic_services() const; |
4109 | | public: |
4110 | | void clear_java_generic_services(); |
4111 | | bool java_generic_services() const; |
4112 | | void set_java_generic_services(bool value); |
4113 | | private: |
4114 | | bool _internal_java_generic_services() const; |
4115 | | void _internal_set_java_generic_services(bool value); |
4116 | | public: |
4117 | | |
4118 | | // optional bool py_generic_services = 18 [default = false]; |
4119 | | bool has_py_generic_services() const; |
4120 | | private: |
4121 | | bool _internal_has_py_generic_services() const; |
4122 | | public: |
4123 | | void clear_py_generic_services(); |
4124 | | bool py_generic_services() const; |
4125 | | void set_py_generic_services(bool value); |
4126 | | private: |
4127 | | bool _internal_py_generic_services() const; |
4128 | | void _internal_set_py_generic_services(bool value); |
4129 | | public: |
4130 | | |
4131 | | // optional bool php_generic_services = 42 [default = false]; |
4132 | | bool has_php_generic_services() const; |
4133 | | private: |
4134 | | bool _internal_has_php_generic_services() const; |
4135 | | public: |
4136 | | void clear_php_generic_services(); |
4137 | | bool php_generic_services() const; |
4138 | | void set_php_generic_services(bool value); |
4139 | | private: |
4140 | | bool _internal_php_generic_services() const; |
4141 | | void _internal_set_php_generic_services(bool value); |
4142 | | public: |
4143 | | |
4144 | | // optional bool deprecated = 23 [default = false]; |
4145 | | bool has_deprecated() const; |
4146 | | private: |
4147 | | bool _internal_has_deprecated() const; |
4148 | | public: |
4149 | | void clear_deprecated(); |
4150 | | bool deprecated() const; |
4151 | | void set_deprecated(bool value); |
4152 | | private: |
4153 | | bool _internal_deprecated() const; |
4154 | | void _internal_set_deprecated(bool value); |
4155 | | public: |
4156 | | |
4157 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
4158 | | bool has_optimize_for() const; |
4159 | | private: |
4160 | | bool _internal_has_optimize_for() const; |
4161 | | public: |
4162 | | void clear_optimize_for(); |
4163 | | ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const; |
4164 | | void set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); |
4165 | | private: |
4166 | | ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const; |
4167 | | void _internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); |
4168 | | public: |
4169 | | |
4170 | | // optional bool cc_enable_arenas = 31 [default = true]; |
4171 | | bool has_cc_enable_arenas() const; |
4172 | | private: |
4173 | | bool _internal_has_cc_enable_arenas() const; |
4174 | | public: |
4175 | | void clear_cc_enable_arenas(); |
4176 | | bool cc_enable_arenas() const; |
4177 | | void set_cc_enable_arenas(bool value); |
4178 | | private: |
4179 | | bool _internal_cc_enable_arenas() const; |
4180 | | void _internal_set_cc_enable_arenas(bool value); |
4181 | | public: |
4182 | | |
4183 | | |
4184 | | template <typename _proto_TypeTraits, |
4185 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4186 | | bool _is_packed> |
4187 | | inline bool HasExtension( |
4188 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4189 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4190 | | |
4191 | | return _impl_._extensions_.Has(id.number()); |
4192 | | } |
4193 | | |
4194 | | template <typename _proto_TypeTraits, |
4195 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4196 | | bool _is_packed> |
4197 | | inline void ClearExtension( |
4198 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4199 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4200 | | _impl_._extensions_.ClearExtension(id.number()); |
4201 | | |
4202 | | } |
4203 | | |
4204 | | template <typename _proto_TypeTraits, |
4205 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4206 | | bool _is_packed> |
4207 | | inline int ExtensionSize( |
4208 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4209 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4210 | | |
4211 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4212 | | } |
4213 | | |
4214 | | template <typename _proto_TypeTraits, |
4215 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4216 | | bool _is_packed> |
4217 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4218 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4219 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4220 | | |
4221 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
4222 | | id.default_value()); |
4223 | | } |
4224 | | |
4225 | | template <typename _proto_TypeTraits, |
4226 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4227 | | bool _is_packed> |
4228 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4229 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4230 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4231 | | |
4232 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
4233 | | &_impl_._extensions_); |
4234 | | } |
4235 | | |
4236 | | template <typename _proto_TypeTraits, |
4237 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4238 | | bool _is_packed> |
4239 | | inline void SetExtension( |
4240 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4241 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4242 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4243 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4244 | | |
4245 | | } |
4246 | | |
4247 | | template <typename _proto_TypeTraits, |
4248 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4249 | | bool _is_packed> |
4250 | | inline void SetAllocatedExtension( |
4251 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4252 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4253 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4254 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4255 | | &_impl_._extensions_); |
4256 | | |
4257 | | } |
4258 | | template <typename _proto_TypeTraits, |
4259 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4260 | | bool _is_packed> |
4261 | | inline void UnsafeArenaSetAllocatedExtension( |
4262 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4263 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4264 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4265 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4266 | | value, &_impl_._extensions_); |
4267 | | |
4268 | | } |
4269 | | template <typename _proto_TypeTraits, |
4270 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4271 | | bool _is_packed> |
4272 | | PROTOBUF_NODISCARD inline |
4273 | | typename _proto_TypeTraits::Singular::MutableType |
4274 | | ReleaseExtension( |
4275 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4276 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4277 | | |
4278 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
4279 | | &_impl_._extensions_); |
4280 | | } |
4281 | | template <typename _proto_TypeTraits, |
4282 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4283 | | bool _is_packed> |
4284 | | inline typename _proto_TypeTraits::Singular::MutableType |
4285 | | UnsafeArenaReleaseExtension( |
4286 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4287 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4288 | | |
4289 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4290 | | &_impl_._extensions_); |
4291 | | } |
4292 | | |
4293 | | template <typename _proto_TypeTraits, |
4294 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4295 | | bool _is_packed> |
4296 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4297 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4298 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4299 | | int index) const { |
4300 | | |
4301 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4302 | | } |
4303 | | |
4304 | | template <typename _proto_TypeTraits, |
4305 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4306 | | bool _is_packed> |
4307 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4308 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4309 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4310 | | int index) { |
4311 | | |
4312 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4313 | | } |
4314 | | |
4315 | | template <typename _proto_TypeTraits, |
4316 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4317 | | bool _is_packed> |
4318 | | inline void SetExtension( |
4319 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4320 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4321 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4322 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4323 | | |
4324 | | } |
4325 | | |
4326 | | template <typename _proto_TypeTraits, |
4327 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4328 | | bool _is_packed> |
4329 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4330 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4331 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4332 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4333 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4334 | | |
4335 | | return to_add; |
4336 | | } |
4337 | | |
4338 | | template <typename _proto_TypeTraits, |
4339 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4340 | | bool _is_packed> |
4341 | | inline void AddExtension( |
4342 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4343 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4344 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4345 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4346 | | &_impl_._extensions_); |
4347 | | |
4348 | | } |
4349 | | |
4350 | | template <typename _proto_TypeTraits, |
4351 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4352 | | bool _is_packed> |
4353 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4354 | | GetRepeatedExtension( |
4355 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4356 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4357 | | |
4358 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4359 | | } |
4360 | | |
4361 | | template <typename _proto_TypeTraits, |
4362 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4363 | | bool _is_packed> |
4364 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4365 | | MutableRepeatedExtension( |
4366 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4367 | | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4368 | | |
4369 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
4370 | | _is_packed, &_impl_._extensions_); |
4371 | | } |
4372 | | |
4373 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
4374 | | private: |
4375 | | class _Internal; |
4376 | | |
4377 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4378 | | typedef void InternalArenaConstructable_; |
4379 | | typedef void DestructorSkippable_; |
4380 | | struct Impl_ { |
4381 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
4382 | | |
4383 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
4384 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4385 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
4386 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_; |
4387 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_; |
4388 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_; |
4389 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_; |
4390 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_; |
4391 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_; |
4392 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_; |
4393 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_; |
4394 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_; |
4395 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_; |
4396 | | bool java_multiple_files_; |
4397 | | bool java_generate_equals_and_hash_; |
4398 | | bool java_string_check_utf8_; |
4399 | | bool cc_generic_services_; |
4400 | | bool java_generic_services_; |
4401 | | bool py_generic_services_; |
4402 | | bool php_generic_services_; |
4403 | | bool deprecated_; |
4404 | | int optimize_for_; |
4405 | | bool cc_enable_arenas_; |
4406 | | }; |
4407 | | union { Impl_ _impl_; }; |
4408 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
4409 | | }; |
4410 | | // ------------------------------------------------------------------- |
4411 | | |
4412 | | class PROTOBUF_EXPORT MessageOptions final : |
4413 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { |
4414 | | public: |
4415 | 0 | inline MessageOptions() : MessageOptions(nullptr) {} |
4416 | | ~MessageOptions() override; |
4417 | | explicit PROTOBUF_CONSTEXPR MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4418 | | |
4419 | | MessageOptions(const MessageOptions& from); |
4420 | | MessageOptions(MessageOptions&& from) noexcept |
4421 | 0 | : MessageOptions() { |
4422 | 0 | *this = ::std::move(from); |
4423 | 0 | } |
4424 | | |
4425 | 0 | inline MessageOptions& operator=(const MessageOptions& from) { |
4426 | 0 | CopyFrom(from); |
4427 | 0 | return *this; |
4428 | 0 | } |
4429 | 0 | inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
4430 | 0 | if (this == &from) return *this; |
4431 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4432 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4433 | 0 | && GetOwningArena() != nullptr |
4434 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4435 | 0 | ) { |
4436 | 0 | InternalSwap(&from); |
4437 | 0 | } else { |
4438 | 0 | CopyFrom(from); |
4439 | 0 | } |
4440 | 0 | return *this; |
4441 | 0 | } |
4442 | | |
4443 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
4444 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
4445 | 0 | } |
4446 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
4447 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4448 | 0 | } |
4449 | | |
4450 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4451 | 0 | return GetDescriptor(); |
4452 | 0 | } |
4453 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4454 | 0 | return default_instance().GetMetadata().descriptor; |
4455 | 0 | } |
4456 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4457 | 0 | return default_instance().GetMetadata().reflection; |
4458 | 0 | } |
4459 | 0 | static const MessageOptions& default_instance() { |
4460 | 0 | return *internal_default_instance(); |
4461 | 0 | } |
4462 | 0 | static inline const MessageOptions* internal_default_instance() { |
4463 | 0 | return reinterpret_cast<const MessageOptions*>( |
4464 | 0 | &_MessageOptions_default_instance_); |
4465 | 0 | } |
4466 | | static constexpr int kIndexInFileMessages = |
4467 | | 14; |
4468 | | |
4469 | 0 | friend void swap(MessageOptions& a, MessageOptions& b) { |
4470 | 0 | a.Swap(&b); |
4471 | 0 | } |
4472 | 0 | inline void Swap(MessageOptions* other) { |
4473 | 0 | if (other == this) return; |
4474 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4475 | 0 | if (GetOwningArena() != nullptr && |
4476 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4477 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4478 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4479 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4480 | 0 | InternalSwap(other); |
4481 | 0 | } else { |
4482 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4483 | 0 | } |
4484 | 0 | } |
4485 | 0 | void UnsafeArenaSwap(MessageOptions* other) { |
4486 | 0 | if (other == this) return; |
4487 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4488 | 0 | InternalSwap(other); |
4489 | 0 | } |
4490 | | |
4491 | | // implements Message ---------------------------------------------- |
4492 | | |
4493 | 0 | MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4494 | 0 | return CreateMaybeMessage<MessageOptions>(arena); |
4495 | 0 | } |
4496 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4497 | | void CopyFrom(const MessageOptions& from); |
4498 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4499 | 0 | void MergeFrom( const MessageOptions& from) { |
4500 | 0 | MessageOptions::MergeImpl(*this, from); |
4501 | 0 | } |
4502 | | private: |
4503 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4504 | | public: |
4505 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4506 | | bool IsInitialized() const final; |
4507 | | |
4508 | | size_t ByteSizeLong() const final; |
4509 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4510 | | uint8_t* _InternalSerialize( |
4511 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4512 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4513 | | |
4514 | | private: |
4515 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4516 | | void SharedDtor(); |
4517 | | void SetCachedSize(int size) const final; |
4518 | | void InternalSwap(MessageOptions* other); |
4519 | | |
4520 | | private: |
4521 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4522 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4523 | 0 | return "google.protobuf.MessageOptions"; |
4524 | 0 | } |
4525 | | protected: |
4526 | | explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4527 | | bool is_message_owned = false); |
4528 | | public: |
4529 | | |
4530 | | static const ClassData _class_data_; |
4531 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4532 | | |
4533 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4534 | | |
4535 | | // nested types ---------------------------------------------------- |
4536 | | |
4537 | | // accessors ------------------------------------------------------- |
4538 | | |
4539 | | enum : int { |
4540 | | kUninterpretedOptionFieldNumber = 999, |
4541 | | kMessageSetWireFormatFieldNumber = 1, |
4542 | | kNoStandardDescriptorAccessorFieldNumber = 2, |
4543 | | kDeprecatedFieldNumber = 3, |
4544 | | kMapEntryFieldNumber = 7, |
4545 | | }; |
4546 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
4547 | | int uninterpreted_option_size() const; |
4548 | | private: |
4549 | | int _internal_uninterpreted_option_size() const; |
4550 | | public: |
4551 | | void clear_uninterpreted_option(); |
4552 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
4553 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
4554 | | mutable_uninterpreted_option(); |
4555 | | private: |
4556 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
4557 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
4558 | | public: |
4559 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
4560 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
4561 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
4562 | | uninterpreted_option() const; |
4563 | | |
4564 | | // optional bool message_set_wire_format = 1 [default = false]; |
4565 | | bool has_message_set_wire_format() const; |
4566 | | private: |
4567 | | bool _internal_has_message_set_wire_format() const; |
4568 | | public: |
4569 | | void clear_message_set_wire_format(); |
4570 | | bool message_set_wire_format() const; |
4571 | | void set_message_set_wire_format(bool value); |
4572 | | private: |
4573 | | bool _internal_message_set_wire_format() const; |
4574 | | void _internal_set_message_set_wire_format(bool value); |
4575 | | public: |
4576 | | |
4577 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
4578 | | bool has_no_standard_descriptor_accessor() const; |
4579 | | private: |
4580 | | bool _internal_has_no_standard_descriptor_accessor() const; |
4581 | | public: |
4582 | | void clear_no_standard_descriptor_accessor(); |
4583 | | bool no_standard_descriptor_accessor() const; |
4584 | | void set_no_standard_descriptor_accessor(bool value); |
4585 | | private: |
4586 | | bool _internal_no_standard_descriptor_accessor() const; |
4587 | | void _internal_set_no_standard_descriptor_accessor(bool value); |
4588 | | public: |
4589 | | |
4590 | | // optional bool deprecated = 3 [default = false]; |
4591 | | bool has_deprecated() const; |
4592 | | private: |
4593 | | bool _internal_has_deprecated() const; |
4594 | | public: |
4595 | | void clear_deprecated(); |
4596 | | bool deprecated() const; |
4597 | | void set_deprecated(bool value); |
4598 | | private: |
4599 | | bool _internal_deprecated() const; |
4600 | | void _internal_set_deprecated(bool value); |
4601 | | public: |
4602 | | |
4603 | | // optional bool map_entry = 7; |
4604 | | bool has_map_entry() const; |
4605 | | private: |
4606 | | bool _internal_has_map_entry() const; |
4607 | | public: |
4608 | | void clear_map_entry(); |
4609 | | bool map_entry() const; |
4610 | | void set_map_entry(bool value); |
4611 | | private: |
4612 | | bool _internal_map_entry() const; |
4613 | | void _internal_set_map_entry(bool value); |
4614 | | public: |
4615 | | |
4616 | | |
4617 | | template <typename _proto_TypeTraits, |
4618 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4619 | | bool _is_packed> |
4620 | | inline bool HasExtension( |
4621 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4622 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4623 | | |
4624 | | return _impl_._extensions_.Has(id.number()); |
4625 | | } |
4626 | | |
4627 | | template <typename _proto_TypeTraits, |
4628 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4629 | | bool _is_packed> |
4630 | | inline void ClearExtension( |
4631 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4632 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4633 | | _impl_._extensions_.ClearExtension(id.number()); |
4634 | | |
4635 | | } |
4636 | | |
4637 | | template <typename _proto_TypeTraits, |
4638 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4639 | | bool _is_packed> |
4640 | | inline int ExtensionSize( |
4641 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4642 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4643 | | |
4644 | | return _impl_._extensions_.ExtensionSize(id.number()); |
4645 | | } |
4646 | | |
4647 | | template <typename _proto_TypeTraits, |
4648 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4649 | | bool _is_packed> |
4650 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
4651 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4652 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4653 | | |
4654 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
4655 | | id.default_value()); |
4656 | | } |
4657 | | |
4658 | | template <typename _proto_TypeTraits, |
4659 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4660 | | bool _is_packed> |
4661 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
4662 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4663 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4664 | | |
4665 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
4666 | | &_impl_._extensions_); |
4667 | | } |
4668 | | |
4669 | | template <typename _proto_TypeTraits, |
4670 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4671 | | bool _is_packed> |
4672 | | inline void SetExtension( |
4673 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4674 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4675 | | typename _proto_TypeTraits::Singular::ConstType value) { |
4676 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
4677 | | |
4678 | | } |
4679 | | |
4680 | | template <typename _proto_TypeTraits, |
4681 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4682 | | bool _is_packed> |
4683 | | inline void SetAllocatedExtension( |
4684 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4685 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4686 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4687 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
4688 | | &_impl_._extensions_); |
4689 | | |
4690 | | } |
4691 | | template <typename _proto_TypeTraits, |
4692 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4693 | | bool _is_packed> |
4694 | | inline void UnsafeArenaSetAllocatedExtension( |
4695 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4696 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4697 | | typename _proto_TypeTraits::Singular::MutableType value) { |
4698 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
4699 | | value, &_impl_._extensions_); |
4700 | | |
4701 | | } |
4702 | | template <typename _proto_TypeTraits, |
4703 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4704 | | bool _is_packed> |
4705 | | PROTOBUF_NODISCARD inline |
4706 | | typename _proto_TypeTraits::Singular::MutableType |
4707 | | ReleaseExtension( |
4708 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4709 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4710 | | |
4711 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
4712 | | &_impl_._extensions_); |
4713 | | } |
4714 | | template <typename _proto_TypeTraits, |
4715 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4716 | | bool _is_packed> |
4717 | | inline typename _proto_TypeTraits::Singular::MutableType |
4718 | | UnsafeArenaReleaseExtension( |
4719 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4720 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4721 | | |
4722 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
4723 | | &_impl_._extensions_); |
4724 | | } |
4725 | | |
4726 | | template <typename _proto_TypeTraits, |
4727 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4728 | | bool _is_packed> |
4729 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
4730 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4731 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4732 | | int index) const { |
4733 | | |
4734 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
4735 | | } |
4736 | | |
4737 | | template <typename _proto_TypeTraits, |
4738 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4739 | | bool _is_packed> |
4740 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
4741 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4742 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4743 | | int index) { |
4744 | | |
4745 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
4746 | | } |
4747 | | |
4748 | | template <typename _proto_TypeTraits, |
4749 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4750 | | bool _is_packed> |
4751 | | inline void SetExtension( |
4752 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4753 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4754 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
4755 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
4756 | | |
4757 | | } |
4758 | | |
4759 | | template <typename _proto_TypeTraits, |
4760 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4761 | | bool _is_packed> |
4762 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
4763 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4764 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4765 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
4766 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
4767 | | |
4768 | | return to_add; |
4769 | | } |
4770 | | |
4771 | | template <typename _proto_TypeTraits, |
4772 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4773 | | bool _is_packed> |
4774 | | inline void AddExtension( |
4775 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4776 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
4777 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
4778 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
4779 | | &_impl_._extensions_); |
4780 | | |
4781 | | } |
4782 | | |
4783 | | template <typename _proto_TypeTraits, |
4784 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4785 | | bool _is_packed> |
4786 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
4787 | | GetRepeatedExtension( |
4788 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4789 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
4790 | | |
4791 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
4792 | | } |
4793 | | |
4794 | | template <typename _proto_TypeTraits, |
4795 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
4796 | | bool _is_packed> |
4797 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
4798 | | MutableRepeatedExtension( |
4799 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
4800 | | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
4801 | | |
4802 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
4803 | | _is_packed, &_impl_._extensions_); |
4804 | | } |
4805 | | |
4806 | | // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
4807 | | private: |
4808 | | class _Internal; |
4809 | | |
4810 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4811 | | typedef void InternalArenaConstructable_; |
4812 | | typedef void DestructorSkippable_; |
4813 | | struct Impl_ { |
4814 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
4815 | | |
4816 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
4817 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4818 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
4819 | | bool message_set_wire_format_; |
4820 | | bool no_standard_descriptor_accessor_; |
4821 | | bool deprecated_; |
4822 | | bool map_entry_; |
4823 | | }; |
4824 | | union { Impl_ _impl_; }; |
4825 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
4826 | | }; |
4827 | | // ------------------------------------------------------------------- |
4828 | | |
4829 | | class PROTOBUF_EXPORT FieldOptions final : |
4830 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { |
4831 | | public: |
4832 | 0 | inline FieldOptions() : FieldOptions(nullptr) {} |
4833 | | ~FieldOptions() override; |
4834 | | explicit PROTOBUF_CONSTEXPR FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4835 | | |
4836 | | FieldOptions(const FieldOptions& from); |
4837 | | FieldOptions(FieldOptions&& from) noexcept |
4838 | 0 | : FieldOptions() { |
4839 | 0 | *this = ::std::move(from); |
4840 | 0 | } |
4841 | | |
4842 | 0 | inline FieldOptions& operator=(const FieldOptions& from) { |
4843 | 0 | CopyFrom(from); |
4844 | 0 | return *this; |
4845 | 0 | } |
4846 | 0 | inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
4847 | 0 | if (this == &from) return *this; |
4848 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4849 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4850 | 0 | && GetOwningArena() != nullptr |
4851 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4852 | 0 | ) { |
4853 | 0 | InternalSwap(&from); |
4854 | 0 | } else { |
4855 | 0 | CopyFrom(from); |
4856 | 0 | } |
4857 | 0 | return *this; |
4858 | 0 | } |
4859 | | |
4860 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
4861 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
4862 | 0 | } |
4863 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
4864 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4865 | 0 | } |
4866 | | |
4867 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4868 | 0 | return GetDescriptor(); |
4869 | 0 | } |
4870 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4871 | 0 | return default_instance().GetMetadata().descriptor; |
4872 | 0 | } |
4873 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4874 | 0 | return default_instance().GetMetadata().reflection; |
4875 | 0 | } |
4876 | 0 | static const FieldOptions& default_instance() { |
4877 | 0 | return *internal_default_instance(); |
4878 | 0 | } |
4879 | 0 | static inline const FieldOptions* internal_default_instance() { |
4880 | 0 | return reinterpret_cast<const FieldOptions*>( |
4881 | 0 | &_FieldOptions_default_instance_); |
4882 | 0 | } |
4883 | | static constexpr int kIndexInFileMessages = |
4884 | | 15; |
4885 | | |
4886 | 0 | friend void swap(FieldOptions& a, FieldOptions& b) { |
4887 | 0 | a.Swap(&b); |
4888 | 0 | } |
4889 | 0 | inline void Swap(FieldOptions* other) { |
4890 | 0 | if (other == this) return; |
4891 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4892 | 0 | if (GetOwningArena() != nullptr && |
4893 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4894 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4895 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4896 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4897 | 0 | InternalSwap(other); |
4898 | 0 | } else { |
4899 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4900 | 0 | } |
4901 | 0 | } |
4902 | 0 | void UnsafeArenaSwap(FieldOptions* other) { |
4903 | 0 | if (other == this) return; |
4904 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4905 | 0 | InternalSwap(other); |
4906 | 0 | } |
4907 | | |
4908 | | // implements Message ---------------------------------------------- |
4909 | | |
4910 | 0 | FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4911 | 0 | return CreateMaybeMessage<FieldOptions>(arena); |
4912 | 0 | } |
4913 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4914 | | void CopyFrom(const FieldOptions& from); |
4915 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4916 | 0 | void MergeFrom( const FieldOptions& from) { |
4917 | 0 | FieldOptions::MergeImpl(*this, from); |
4918 | 0 | } |
4919 | | private: |
4920 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4921 | | public: |
4922 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4923 | | bool IsInitialized() const final; |
4924 | | |
4925 | | size_t ByteSizeLong() const final; |
4926 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4927 | | uint8_t* _InternalSerialize( |
4928 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4929 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4930 | | |
4931 | | private: |
4932 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4933 | | void SharedDtor(); |
4934 | | void SetCachedSize(int size) const final; |
4935 | | void InternalSwap(FieldOptions* other); |
4936 | | |
4937 | | private: |
4938 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4939 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4940 | 0 | return "google.protobuf.FieldOptions"; |
4941 | 0 | } |
4942 | | protected: |
4943 | | explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4944 | | bool is_message_owned = false); |
4945 | | public: |
4946 | | |
4947 | | static const ClassData _class_data_; |
4948 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4949 | | |
4950 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4951 | | |
4952 | | // nested types ---------------------------------------------------- |
4953 | | |
4954 | | typedef FieldOptions_CType CType; |
4955 | | static constexpr CType STRING = |
4956 | | FieldOptions_CType_STRING; |
4957 | | static constexpr CType CORD = |
4958 | | FieldOptions_CType_CORD; |
4959 | | static constexpr CType STRING_PIECE = |
4960 | | FieldOptions_CType_STRING_PIECE; |
4961 | 0 | static inline bool CType_IsValid(int value) { |
4962 | 0 | return FieldOptions_CType_IsValid(value); |
4963 | 0 | } |
4964 | | static constexpr CType CType_MIN = |
4965 | | FieldOptions_CType_CType_MIN; |
4966 | | static constexpr CType CType_MAX = |
4967 | | FieldOptions_CType_CType_MAX; |
4968 | | static constexpr int CType_ARRAYSIZE = |
4969 | | FieldOptions_CType_CType_ARRAYSIZE; |
4970 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
4971 | 0 | CType_descriptor() { |
4972 | 0 | return FieldOptions_CType_descriptor(); |
4973 | 0 | } |
4974 | | template<typename T> |
4975 | | static inline const std::string& CType_Name(T enum_t_value) { |
4976 | | static_assert(::std::is_same<T, CType>::value || |
4977 | | ::std::is_integral<T>::value, |
4978 | | "Incorrect type passed to function CType_Name."); |
4979 | | return FieldOptions_CType_Name(enum_t_value); |
4980 | | } |
4981 | | static inline bool CType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
4982 | 0 | CType* value) { |
4983 | 0 | return FieldOptions_CType_Parse(name, value); |
4984 | 0 | } |
4985 | | |
4986 | | typedef FieldOptions_JSType JSType; |
4987 | | static constexpr JSType JS_NORMAL = |
4988 | | FieldOptions_JSType_JS_NORMAL; |
4989 | | static constexpr JSType JS_STRING = |
4990 | | FieldOptions_JSType_JS_STRING; |
4991 | | static constexpr JSType JS_NUMBER = |
4992 | | FieldOptions_JSType_JS_NUMBER; |
4993 | 0 | static inline bool JSType_IsValid(int value) { |
4994 | 0 | return FieldOptions_JSType_IsValid(value); |
4995 | 0 | } |
4996 | | static constexpr JSType JSType_MIN = |
4997 | | FieldOptions_JSType_JSType_MIN; |
4998 | | static constexpr JSType JSType_MAX = |
4999 | | FieldOptions_JSType_JSType_MAX; |
5000 | | static constexpr int JSType_ARRAYSIZE = |
5001 | | FieldOptions_JSType_JSType_ARRAYSIZE; |
5002 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
5003 | 0 | JSType_descriptor() { |
5004 | 0 | return FieldOptions_JSType_descriptor(); |
5005 | 0 | } |
5006 | | template<typename T> |
5007 | | static inline const std::string& JSType_Name(T enum_t_value) { |
5008 | | static_assert(::std::is_same<T, JSType>::value || |
5009 | | ::std::is_integral<T>::value, |
5010 | | "Incorrect type passed to function JSType_Name."); |
5011 | | return FieldOptions_JSType_Name(enum_t_value); |
5012 | | } |
5013 | | static inline bool JSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
5014 | 0 | JSType* value) { |
5015 | 0 | return FieldOptions_JSType_Parse(name, value); |
5016 | 0 | } |
5017 | | |
5018 | | // accessors ------------------------------------------------------- |
5019 | | |
5020 | | enum : int { |
5021 | | kUninterpretedOptionFieldNumber = 999, |
5022 | | kCtypeFieldNumber = 1, |
5023 | | kJstypeFieldNumber = 6, |
5024 | | kPackedFieldNumber = 2, |
5025 | | kLazyFieldNumber = 5, |
5026 | | kUnverifiedLazyFieldNumber = 15, |
5027 | | kDeprecatedFieldNumber = 3, |
5028 | | kWeakFieldNumber = 10, |
5029 | | }; |
5030 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5031 | | int uninterpreted_option_size() const; |
5032 | | private: |
5033 | | int _internal_uninterpreted_option_size() const; |
5034 | | public: |
5035 | | void clear_uninterpreted_option(); |
5036 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
5037 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
5038 | | mutable_uninterpreted_option(); |
5039 | | private: |
5040 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
5041 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
5042 | | public: |
5043 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
5044 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
5045 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
5046 | | uninterpreted_option() const; |
5047 | | |
5048 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
5049 | | bool has_ctype() const; |
5050 | | private: |
5051 | | bool _internal_has_ctype() const; |
5052 | | public: |
5053 | | void clear_ctype(); |
5054 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const; |
5055 | | void set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); |
5056 | | private: |
5057 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const; |
5058 | | void _internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); |
5059 | | public: |
5060 | | |
5061 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
5062 | | bool has_jstype() const; |
5063 | | private: |
5064 | | bool _internal_has_jstype() const; |
5065 | | public: |
5066 | | void clear_jstype(); |
5067 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const; |
5068 | | void set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); |
5069 | | private: |
5070 | | ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const; |
5071 | | void _internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); |
5072 | | public: |
5073 | | |
5074 | | // optional bool packed = 2; |
5075 | | bool has_packed() const; |
5076 | | private: |
5077 | | bool _internal_has_packed() const; |
5078 | | public: |
5079 | | void clear_packed(); |
5080 | | bool packed() const; |
5081 | | void set_packed(bool value); |
5082 | | private: |
5083 | | bool _internal_packed() const; |
5084 | | void _internal_set_packed(bool value); |
5085 | | public: |
5086 | | |
5087 | | // optional bool lazy = 5 [default = false]; |
5088 | | bool has_lazy() const; |
5089 | | private: |
5090 | | bool _internal_has_lazy() const; |
5091 | | public: |
5092 | | void clear_lazy(); |
5093 | | bool lazy() const; |
5094 | | void set_lazy(bool value); |
5095 | | private: |
5096 | | bool _internal_lazy() const; |
5097 | | void _internal_set_lazy(bool value); |
5098 | | public: |
5099 | | |
5100 | | // optional bool unverified_lazy = 15 [default = false]; |
5101 | | bool has_unverified_lazy() const; |
5102 | | private: |
5103 | | bool _internal_has_unverified_lazy() const; |
5104 | | public: |
5105 | | void clear_unverified_lazy(); |
5106 | | bool unverified_lazy() const; |
5107 | | void set_unverified_lazy(bool value); |
5108 | | private: |
5109 | | bool _internal_unverified_lazy() const; |
5110 | | void _internal_set_unverified_lazy(bool value); |
5111 | | public: |
5112 | | |
5113 | | // optional bool deprecated = 3 [default = false]; |
5114 | | bool has_deprecated() const; |
5115 | | private: |
5116 | | bool _internal_has_deprecated() const; |
5117 | | public: |
5118 | | void clear_deprecated(); |
5119 | | bool deprecated() const; |
5120 | | void set_deprecated(bool value); |
5121 | | private: |
5122 | | bool _internal_deprecated() const; |
5123 | | void _internal_set_deprecated(bool value); |
5124 | | public: |
5125 | | |
5126 | | // optional bool weak = 10 [default = false]; |
5127 | | bool has_weak() const; |
5128 | | private: |
5129 | | bool _internal_has_weak() const; |
5130 | | public: |
5131 | | void clear_weak(); |
5132 | | bool weak() const; |
5133 | | void set_weak(bool value); |
5134 | | private: |
5135 | | bool _internal_weak() const; |
5136 | | void _internal_set_weak(bool value); |
5137 | | public: |
5138 | | |
5139 | | |
5140 | | template <typename _proto_TypeTraits, |
5141 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5142 | | bool _is_packed> |
5143 | | inline bool HasExtension( |
5144 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5145 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5146 | | |
5147 | | return _impl_._extensions_.Has(id.number()); |
5148 | | } |
5149 | | |
5150 | | template <typename _proto_TypeTraits, |
5151 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5152 | | bool _is_packed> |
5153 | | inline void ClearExtension( |
5154 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5155 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5156 | | _impl_._extensions_.ClearExtension(id.number()); |
5157 | | |
5158 | | } |
5159 | | |
5160 | | template <typename _proto_TypeTraits, |
5161 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5162 | | bool _is_packed> |
5163 | | inline int ExtensionSize( |
5164 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5165 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5166 | | |
5167 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5168 | | } |
5169 | | |
5170 | | template <typename _proto_TypeTraits, |
5171 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5172 | | bool _is_packed> |
5173 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5174 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5175 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5176 | | |
5177 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
5178 | | id.default_value()); |
5179 | | } |
5180 | | |
5181 | | template <typename _proto_TypeTraits, |
5182 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5183 | | bool _is_packed> |
5184 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5185 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5186 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5187 | | |
5188 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
5189 | | &_impl_._extensions_); |
5190 | | } |
5191 | | |
5192 | | template <typename _proto_TypeTraits, |
5193 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5194 | | bool _is_packed> |
5195 | | inline void SetExtension( |
5196 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5197 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5198 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5199 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5200 | | |
5201 | | } |
5202 | | |
5203 | | template <typename _proto_TypeTraits, |
5204 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5205 | | bool _is_packed> |
5206 | | inline void SetAllocatedExtension( |
5207 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5208 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5209 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5210 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5211 | | &_impl_._extensions_); |
5212 | | |
5213 | | } |
5214 | | template <typename _proto_TypeTraits, |
5215 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5216 | | bool _is_packed> |
5217 | | inline void UnsafeArenaSetAllocatedExtension( |
5218 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5219 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5220 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5221 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5222 | | value, &_impl_._extensions_); |
5223 | | |
5224 | | } |
5225 | | template <typename _proto_TypeTraits, |
5226 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5227 | | bool _is_packed> |
5228 | | PROTOBUF_NODISCARD inline |
5229 | | typename _proto_TypeTraits::Singular::MutableType |
5230 | | ReleaseExtension( |
5231 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5232 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5233 | | |
5234 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
5235 | | &_impl_._extensions_); |
5236 | | } |
5237 | | template <typename _proto_TypeTraits, |
5238 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5239 | | bool _is_packed> |
5240 | | inline typename _proto_TypeTraits::Singular::MutableType |
5241 | | UnsafeArenaReleaseExtension( |
5242 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5243 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5244 | | |
5245 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5246 | | &_impl_._extensions_); |
5247 | | } |
5248 | | |
5249 | | template <typename _proto_TypeTraits, |
5250 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5251 | | bool _is_packed> |
5252 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5253 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5254 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5255 | | int index) const { |
5256 | | |
5257 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5258 | | } |
5259 | | |
5260 | | template <typename _proto_TypeTraits, |
5261 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5262 | | bool _is_packed> |
5263 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
5264 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5265 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5266 | | int index) { |
5267 | | |
5268 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
5269 | | } |
5270 | | |
5271 | | template <typename _proto_TypeTraits, |
5272 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5273 | | bool _is_packed> |
5274 | | inline void SetExtension( |
5275 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5276 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5277 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
5278 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
5279 | | |
5280 | | } |
5281 | | |
5282 | | template <typename _proto_TypeTraits, |
5283 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5284 | | bool _is_packed> |
5285 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
5286 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5287 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5288 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
5289 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
5290 | | |
5291 | | return to_add; |
5292 | | } |
5293 | | |
5294 | | template <typename _proto_TypeTraits, |
5295 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5296 | | bool _is_packed> |
5297 | | inline void AddExtension( |
5298 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5299 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5300 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
5301 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
5302 | | &_impl_._extensions_); |
5303 | | |
5304 | | } |
5305 | | |
5306 | | template <typename _proto_TypeTraits, |
5307 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5308 | | bool _is_packed> |
5309 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
5310 | | GetRepeatedExtension( |
5311 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5312 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5313 | | |
5314 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
5315 | | } |
5316 | | |
5317 | | template <typename _proto_TypeTraits, |
5318 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5319 | | bool _is_packed> |
5320 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
5321 | | MutableRepeatedExtension( |
5322 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5323 | | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5324 | | |
5325 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
5326 | | _is_packed, &_impl_._extensions_); |
5327 | | } |
5328 | | |
5329 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
5330 | | private: |
5331 | | class _Internal; |
5332 | | |
5333 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5334 | | typedef void InternalArenaConstructable_; |
5335 | | typedef void DestructorSkippable_; |
5336 | | struct Impl_ { |
5337 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
5338 | | |
5339 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
5340 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5341 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
5342 | | int ctype_; |
5343 | | int jstype_; |
5344 | | bool packed_; |
5345 | | bool lazy_; |
5346 | | bool unverified_lazy_; |
5347 | | bool deprecated_; |
5348 | | bool weak_; |
5349 | | }; |
5350 | | union { Impl_ _impl_; }; |
5351 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
5352 | | }; |
5353 | | // ------------------------------------------------------------------- |
5354 | | |
5355 | | class PROTOBUF_EXPORT OneofOptions final : |
5356 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { |
5357 | | public: |
5358 | 0 | inline OneofOptions() : OneofOptions(nullptr) {} |
5359 | | ~OneofOptions() override; |
5360 | | explicit PROTOBUF_CONSTEXPR OneofOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5361 | | |
5362 | | OneofOptions(const OneofOptions& from); |
5363 | | OneofOptions(OneofOptions&& from) noexcept |
5364 | 0 | : OneofOptions() { |
5365 | 0 | *this = ::std::move(from); |
5366 | 0 | } |
5367 | | |
5368 | 0 | inline OneofOptions& operator=(const OneofOptions& from) { |
5369 | 0 | CopyFrom(from); |
5370 | 0 | return *this; |
5371 | 0 | } |
5372 | 0 | inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
5373 | 0 | if (this == &from) return *this; |
5374 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5375 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5376 | 0 | && GetOwningArena() != nullptr |
5377 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5378 | 0 | ) { |
5379 | 0 | InternalSwap(&from); |
5380 | 0 | } else { |
5381 | 0 | CopyFrom(from); |
5382 | 0 | } |
5383 | 0 | return *this; |
5384 | 0 | } |
5385 | | |
5386 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
5387 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
5388 | 0 | } |
5389 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
5390 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5391 | 0 | } |
5392 | | |
5393 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5394 | 0 | return GetDescriptor(); |
5395 | 0 | } |
5396 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5397 | 0 | return default_instance().GetMetadata().descriptor; |
5398 | 0 | } |
5399 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5400 | 0 | return default_instance().GetMetadata().reflection; |
5401 | 0 | } |
5402 | 0 | static const OneofOptions& default_instance() { |
5403 | 0 | return *internal_default_instance(); |
5404 | 0 | } |
5405 | 0 | static inline const OneofOptions* internal_default_instance() { |
5406 | 0 | return reinterpret_cast<const OneofOptions*>( |
5407 | 0 | &_OneofOptions_default_instance_); |
5408 | 0 | } |
5409 | | static constexpr int kIndexInFileMessages = |
5410 | | 16; |
5411 | | |
5412 | 0 | friend void swap(OneofOptions& a, OneofOptions& b) { |
5413 | 0 | a.Swap(&b); |
5414 | 0 | } |
5415 | 0 | inline void Swap(OneofOptions* other) { |
5416 | 0 | if (other == this) return; |
5417 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5418 | 0 | if (GetOwningArena() != nullptr && |
5419 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5420 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5421 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5422 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5423 | 0 | InternalSwap(other); |
5424 | 0 | } else { |
5425 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5426 | 0 | } |
5427 | 0 | } |
5428 | 0 | void UnsafeArenaSwap(OneofOptions* other) { |
5429 | 0 | if (other == this) return; |
5430 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5431 | 0 | InternalSwap(other); |
5432 | 0 | } |
5433 | | |
5434 | | // implements Message ---------------------------------------------- |
5435 | | |
5436 | 0 | OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5437 | 0 | return CreateMaybeMessage<OneofOptions>(arena); |
5438 | 0 | } |
5439 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5440 | | void CopyFrom(const OneofOptions& from); |
5441 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5442 | 0 | void MergeFrom( const OneofOptions& from) { |
5443 | 0 | OneofOptions::MergeImpl(*this, from); |
5444 | 0 | } |
5445 | | private: |
5446 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5447 | | public: |
5448 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5449 | | bool IsInitialized() const final; |
5450 | | |
5451 | | size_t ByteSizeLong() const final; |
5452 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5453 | | uint8_t* _InternalSerialize( |
5454 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5455 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5456 | | |
5457 | | private: |
5458 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5459 | | void SharedDtor(); |
5460 | | void SetCachedSize(int size) const final; |
5461 | | void InternalSwap(OneofOptions* other); |
5462 | | |
5463 | | private: |
5464 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5465 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5466 | 0 | return "google.protobuf.OneofOptions"; |
5467 | 0 | } |
5468 | | protected: |
5469 | | explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5470 | | bool is_message_owned = false); |
5471 | | public: |
5472 | | |
5473 | | static const ClassData _class_data_; |
5474 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5475 | | |
5476 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5477 | | |
5478 | | // nested types ---------------------------------------------------- |
5479 | | |
5480 | | // accessors ------------------------------------------------------- |
5481 | | |
5482 | | enum : int { |
5483 | | kUninterpretedOptionFieldNumber = 999, |
5484 | | }; |
5485 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5486 | | int uninterpreted_option_size() const; |
5487 | | private: |
5488 | | int _internal_uninterpreted_option_size() const; |
5489 | | public: |
5490 | | void clear_uninterpreted_option(); |
5491 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
5492 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
5493 | | mutable_uninterpreted_option(); |
5494 | | private: |
5495 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
5496 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
5497 | | public: |
5498 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
5499 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
5500 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
5501 | | uninterpreted_option() const; |
5502 | | |
5503 | | |
5504 | | template <typename _proto_TypeTraits, |
5505 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5506 | | bool _is_packed> |
5507 | | inline bool HasExtension( |
5508 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5509 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5510 | | |
5511 | | return _impl_._extensions_.Has(id.number()); |
5512 | | } |
5513 | | |
5514 | | template <typename _proto_TypeTraits, |
5515 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5516 | | bool _is_packed> |
5517 | | inline void ClearExtension( |
5518 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5519 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5520 | | _impl_._extensions_.ClearExtension(id.number()); |
5521 | | |
5522 | | } |
5523 | | |
5524 | | template <typename _proto_TypeTraits, |
5525 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5526 | | bool _is_packed> |
5527 | | inline int ExtensionSize( |
5528 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5529 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5530 | | |
5531 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5532 | | } |
5533 | | |
5534 | | template <typename _proto_TypeTraits, |
5535 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5536 | | bool _is_packed> |
5537 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5538 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5539 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5540 | | |
5541 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
5542 | | id.default_value()); |
5543 | | } |
5544 | | |
5545 | | template <typename _proto_TypeTraits, |
5546 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5547 | | bool _is_packed> |
5548 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5549 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5550 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5551 | | |
5552 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
5553 | | &_impl_._extensions_); |
5554 | | } |
5555 | | |
5556 | | template <typename _proto_TypeTraits, |
5557 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5558 | | bool _is_packed> |
5559 | | inline void SetExtension( |
5560 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5561 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5562 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5563 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5564 | | |
5565 | | } |
5566 | | |
5567 | | template <typename _proto_TypeTraits, |
5568 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5569 | | bool _is_packed> |
5570 | | inline void SetAllocatedExtension( |
5571 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5572 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5573 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5574 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5575 | | &_impl_._extensions_); |
5576 | | |
5577 | | } |
5578 | | template <typename _proto_TypeTraits, |
5579 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5580 | | bool _is_packed> |
5581 | | inline void UnsafeArenaSetAllocatedExtension( |
5582 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5583 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5584 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5585 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5586 | | value, &_impl_._extensions_); |
5587 | | |
5588 | | } |
5589 | | template <typename _proto_TypeTraits, |
5590 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5591 | | bool _is_packed> |
5592 | | PROTOBUF_NODISCARD inline |
5593 | | typename _proto_TypeTraits::Singular::MutableType |
5594 | | ReleaseExtension( |
5595 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5596 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5597 | | |
5598 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
5599 | | &_impl_._extensions_); |
5600 | | } |
5601 | | template <typename _proto_TypeTraits, |
5602 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5603 | | bool _is_packed> |
5604 | | inline typename _proto_TypeTraits::Singular::MutableType |
5605 | | UnsafeArenaReleaseExtension( |
5606 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5607 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5608 | | |
5609 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5610 | | &_impl_._extensions_); |
5611 | | } |
5612 | | |
5613 | | template <typename _proto_TypeTraits, |
5614 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5615 | | bool _is_packed> |
5616 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
5617 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5618 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5619 | | int index) const { |
5620 | | |
5621 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
5622 | | } |
5623 | | |
5624 | | template <typename _proto_TypeTraits, |
5625 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5626 | | bool _is_packed> |
5627 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
5628 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5629 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5630 | | int index) { |
5631 | | |
5632 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
5633 | | } |
5634 | | |
5635 | | template <typename _proto_TypeTraits, |
5636 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5637 | | bool _is_packed> |
5638 | | inline void SetExtension( |
5639 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5640 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5641 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
5642 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
5643 | | |
5644 | | } |
5645 | | |
5646 | | template <typename _proto_TypeTraits, |
5647 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5648 | | bool _is_packed> |
5649 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
5650 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5651 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5652 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
5653 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
5654 | | |
5655 | | return to_add; |
5656 | | } |
5657 | | |
5658 | | template <typename _proto_TypeTraits, |
5659 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5660 | | bool _is_packed> |
5661 | | inline void AddExtension( |
5662 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5663 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5664 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
5665 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
5666 | | &_impl_._extensions_); |
5667 | | |
5668 | | } |
5669 | | |
5670 | | template <typename _proto_TypeTraits, |
5671 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5672 | | bool _is_packed> |
5673 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
5674 | | GetRepeatedExtension( |
5675 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5676 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5677 | | |
5678 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
5679 | | } |
5680 | | |
5681 | | template <typename _proto_TypeTraits, |
5682 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5683 | | bool _is_packed> |
5684 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
5685 | | MutableRepeatedExtension( |
5686 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5687 | | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5688 | | |
5689 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
5690 | | _is_packed, &_impl_._extensions_); |
5691 | | } |
5692 | | |
5693 | | // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) |
5694 | | private: |
5695 | | class _Internal; |
5696 | | |
5697 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5698 | | typedef void InternalArenaConstructable_; |
5699 | | typedef void DestructorSkippable_; |
5700 | | struct Impl_ { |
5701 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
5702 | | |
5703 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
5704 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5705 | | }; |
5706 | | union { Impl_ _impl_; }; |
5707 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
5708 | | }; |
5709 | | // ------------------------------------------------------------------- |
5710 | | |
5711 | | class PROTOBUF_EXPORT EnumOptions final : |
5712 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { |
5713 | | public: |
5714 | 0 | inline EnumOptions() : EnumOptions(nullptr) {} |
5715 | | ~EnumOptions() override; |
5716 | | explicit PROTOBUF_CONSTEXPR EnumOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5717 | | |
5718 | | EnumOptions(const EnumOptions& from); |
5719 | | EnumOptions(EnumOptions&& from) noexcept |
5720 | 0 | : EnumOptions() { |
5721 | 0 | *this = ::std::move(from); |
5722 | 0 | } |
5723 | | |
5724 | 0 | inline EnumOptions& operator=(const EnumOptions& from) { |
5725 | 0 | CopyFrom(from); |
5726 | 0 | return *this; |
5727 | 0 | } |
5728 | 0 | inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
5729 | 0 | if (this == &from) return *this; |
5730 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5731 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5732 | 0 | && GetOwningArena() != nullptr |
5733 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5734 | 0 | ) { |
5735 | 0 | InternalSwap(&from); |
5736 | 0 | } else { |
5737 | 0 | CopyFrom(from); |
5738 | 0 | } |
5739 | 0 | return *this; |
5740 | 0 | } |
5741 | | |
5742 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
5743 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
5744 | 0 | } |
5745 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
5746 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5747 | 0 | } |
5748 | | |
5749 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5750 | 0 | return GetDescriptor(); |
5751 | 0 | } |
5752 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5753 | 0 | return default_instance().GetMetadata().descriptor; |
5754 | 0 | } |
5755 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5756 | 0 | return default_instance().GetMetadata().reflection; |
5757 | 0 | } |
5758 | 0 | static const EnumOptions& default_instance() { |
5759 | 0 | return *internal_default_instance(); |
5760 | 0 | } |
5761 | 0 | static inline const EnumOptions* internal_default_instance() { |
5762 | 0 | return reinterpret_cast<const EnumOptions*>( |
5763 | 0 | &_EnumOptions_default_instance_); |
5764 | 0 | } |
5765 | | static constexpr int kIndexInFileMessages = |
5766 | | 17; |
5767 | | |
5768 | 0 | friend void swap(EnumOptions& a, EnumOptions& b) { |
5769 | 0 | a.Swap(&b); |
5770 | 0 | } |
5771 | 0 | inline void Swap(EnumOptions* other) { |
5772 | 0 | if (other == this) return; |
5773 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5774 | 0 | if (GetOwningArena() != nullptr && |
5775 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5776 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5777 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5778 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5779 | 0 | InternalSwap(other); |
5780 | 0 | } else { |
5781 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5782 | 0 | } |
5783 | 0 | } |
5784 | 0 | void UnsafeArenaSwap(EnumOptions* other) { |
5785 | 0 | if (other == this) return; |
5786 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5787 | 0 | InternalSwap(other); |
5788 | 0 | } |
5789 | | |
5790 | | // implements Message ---------------------------------------------- |
5791 | | |
5792 | 0 | EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5793 | 0 | return CreateMaybeMessage<EnumOptions>(arena); |
5794 | 0 | } |
5795 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5796 | | void CopyFrom(const EnumOptions& from); |
5797 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5798 | 0 | void MergeFrom( const EnumOptions& from) { |
5799 | 0 | EnumOptions::MergeImpl(*this, from); |
5800 | 0 | } |
5801 | | private: |
5802 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5803 | | public: |
5804 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5805 | | bool IsInitialized() const final; |
5806 | | |
5807 | | size_t ByteSizeLong() const final; |
5808 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5809 | | uint8_t* _InternalSerialize( |
5810 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5811 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5812 | | |
5813 | | private: |
5814 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5815 | | void SharedDtor(); |
5816 | | void SetCachedSize(int size) const final; |
5817 | | void InternalSwap(EnumOptions* other); |
5818 | | |
5819 | | private: |
5820 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5821 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5822 | 0 | return "google.protobuf.EnumOptions"; |
5823 | 0 | } |
5824 | | protected: |
5825 | | explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5826 | | bool is_message_owned = false); |
5827 | | public: |
5828 | | |
5829 | | static const ClassData _class_data_; |
5830 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5831 | | |
5832 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5833 | | |
5834 | | // nested types ---------------------------------------------------- |
5835 | | |
5836 | | // accessors ------------------------------------------------------- |
5837 | | |
5838 | | enum : int { |
5839 | | kUninterpretedOptionFieldNumber = 999, |
5840 | | kAllowAliasFieldNumber = 2, |
5841 | | kDeprecatedFieldNumber = 3, |
5842 | | }; |
5843 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
5844 | | int uninterpreted_option_size() const; |
5845 | | private: |
5846 | | int _internal_uninterpreted_option_size() const; |
5847 | | public: |
5848 | | void clear_uninterpreted_option(); |
5849 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
5850 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
5851 | | mutable_uninterpreted_option(); |
5852 | | private: |
5853 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
5854 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
5855 | | public: |
5856 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
5857 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
5858 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
5859 | | uninterpreted_option() const; |
5860 | | |
5861 | | // optional bool allow_alias = 2; |
5862 | | bool has_allow_alias() const; |
5863 | | private: |
5864 | | bool _internal_has_allow_alias() const; |
5865 | | public: |
5866 | | void clear_allow_alias(); |
5867 | | bool allow_alias() const; |
5868 | | void set_allow_alias(bool value); |
5869 | | private: |
5870 | | bool _internal_allow_alias() const; |
5871 | | void _internal_set_allow_alias(bool value); |
5872 | | public: |
5873 | | |
5874 | | // optional bool deprecated = 3 [default = false]; |
5875 | | bool has_deprecated() const; |
5876 | | private: |
5877 | | bool _internal_has_deprecated() const; |
5878 | | public: |
5879 | | void clear_deprecated(); |
5880 | | bool deprecated() const; |
5881 | | void set_deprecated(bool value); |
5882 | | private: |
5883 | | bool _internal_deprecated() const; |
5884 | | void _internal_set_deprecated(bool value); |
5885 | | public: |
5886 | | |
5887 | | |
5888 | | template <typename _proto_TypeTraits, |
5889 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5890 | | bool _is_packed> |
5891 | | inline bool HasExtension( |
5892 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5893 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5894 | | |
5895 | | return _impl_._extensions_.Has(id.number()); |
5896 | | } |
5897 | | |
5898 | | template <typename _proto_TypeTraits, |
5899 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5900 | | bool _is_packed> |
5901 | | inline void ClearExtension( |
5902 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5903 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5904 | | _impl_._extensions_.ClearExtension(id.number()); |
5905 | | |
5906 | | } |
5907 | | |
5908 | | template <typename _proto_TypeTraits, |
5909 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5910 | | bool _is_packed> |
5911 | | inline int ExtensionSize( |
5912 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5913 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5914 | | |
5915 | | return _impl_._extensions_.ExtensionSize(id.number()); |
5916 | | } |
5917 | | |
5918 | | template <typename _proto_TypeTraits, |
5919 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5920 | | bool _is_packed> |
5921 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
5922 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5923 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
5924 | | |
5925 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
5926 | | id.default_value()); |
5927 | | } |
5928 | | |
5929 | | template <typename _proto_TypeTraits, |
5930 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5931 | | bool _is_packed> |
5932 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
5933 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5934 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5935 | | |
5936 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
5937 | | &_impl_._extensions_); |
5938 | | } |
5939 | | |
5940 | | template <typename _proto_TypeTraits, |
5941 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5942 | | bool _is_packed> |
5943 | | inline void SetExtension( |
5944 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5945 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5946 | | typename _proto_TypeTraits::Singular::ConstType value) { |
5947 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
5948 | | |
5949 | | } |
5950 | | |
5951 | | template <typename _proto_TypeTraits, |
5952 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5953 | | bool _is_packed> |
5954 | | inline void SetAllocatedExtension( |
5955 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5956 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5957 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5958 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
5959 | | &_impl_._extensions_); |
5960 | | |
5961 | | } |
5962 | | template <typename _proto_TypeTraits, |
5963 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5964 | | bool _is_packed> |
5965 | | inline void UnsafeArenaSetAllocatedExtension( |
5966 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5967 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
5968 | | typename _proto_TypeTraits::Singular::MutableType value) { |
5969 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
5970 | | value, &_impl_._extensions_); |
5971 | | |
5972 | | } |
5973 | | template <typename _proto_TypeTraits, |
5974 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5975 | | bool _is_packed> |
5976 | | PROTOBUF_NODISCARD inline |
5977 | | typename _proto_TypeTraits::Singular::MutableType |
5978 | | ReleaseExtension( |
5979 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5980 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5981 | | |
5982 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
5983 | | &_impl_._extensions_); |
5984 | | } |
5985 | | template <typename _proto_TypeTraits, |
5986 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5987 | | bool _is_packed> |
5988 | | inline typename _proto_TypeTraits::Singular::MutableType |
5989 | | UnsafeArenaReleaseExtension( |
5990 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
5991 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
5992 | | |
5993 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
5994 | | &_impl_._extensions_); |
5995 | | } |
5996 | | |
5997 | | template <typename _proto_TypeTraits, |
5998 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
5999 | | bool _is_packed> |
6000 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6001 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6002 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6003 | | int index) const { |
6004 | | |
6005 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6006 | | } |
6007 | | |
6008 | | template <typename _proto_TypeTraits, |
6009 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6010 | | bool _is_packed> |
6011 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6012 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6013 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6014 | | int index) { |
6015 | | |
6016 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6017 | | } |
6018 | | |
6019 | | template <typename _proto_TypeTraits, |
6020 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6021 | | bool _is_packed> |
6022 | | inline void SetExtension( |
6023 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6024 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6025 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6026 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6027 | | |
6028 | | } |
6029 | | |
6030 | | template <typename _proto_TypeTraits, |
6031 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6032 | | bool _is_packed> |
6033 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6034 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6035 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6036 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6037 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6038 | | |
6039 | | return to_add; |
6040 | | } |
6041 | | |
6042 | | template <typename _proto_TypeTraits, |
6043 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6044 | | bool _is_packed> |
6045 | | inline void AddExtension( |
6046 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6047 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6048 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6049 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6050 | | &_impl_._extensions_); |
6051 | | |
6052 | | } |
6053 | | |
6054 | | template <typename _proto_TypeTraits, |
6055 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6056 | | bool _is_packed> |
6057 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6058 | | GetRepeatedExtension( |
6059 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6060 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6061 | | |
6062 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6063 | | } |
6064 | | |
6065 | | template <typename _proto_TypeTraits, |
6066 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6067 | | bool _is_packed> |
6068 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6069 | | MutableRepeatedExtension( |
6070 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6071 | | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6072 | | |
6073 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6074 | | _is_packed, &_impl_._extensions_); |
6075 | | } |
6076 | | |
6077 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
6078 | | private: |
6079 | | class _Internal; |
6080 | | |
6081 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6082 | | typedef void InternalArenaConstructable_; |
6083 | | typedef void DestructorSkippable_; |
6084 | | struct Impl_ { |
6085 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
6086 | | |
6087 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
6088 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6089 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
6090 | | bool allow_alias_; |
6091 | | bool deprecated_; |
6092 | | }; |
6093 | | union { Impl_ _impl_; }; |
6094 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6095 | | }; |
6096 | | // ------------------------------------------------------------------- |
6097 | | |
6098 | | class PROTOBUF_EXPORT EnumValueOptions final : |
6099 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { |
6100 | | public: |
6101 | 0 | inline EnumValueOptions() : EnumValueOptions(nullptr) {} |
6102 | | ~EnumValueOptions() override; |
6103 | | explicit PROTOBUF_CONSTEXPR EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6104 | | |
6105 | | EnumValueOptions(const EnumValueOptions& from); |
6106 | | EnumValueOptions(EnumValueOptions&& from) noexcept |
6107 | 0 | : EnumValueOptions() { |
6108 | 0 | *this = ::std::move(from); |
6109 | 0 | } |
6110 | | |
6111 | 0 | inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
6112 | 0 | CopyFrom(from); |
6113 | 0 | return *this; |
6114 | 0 | } |
6115 | 0 | inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
6116 | 0 | if (this == &from) return *this; |
6117 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6118 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6119 | 0 | && GetOwningArena() != nullptr |
6120 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6121 | 0 | ) { |
6122 | 0 | InternalSwap(&from); |
6123 | 0 | } else { |
6124 | 0 | CopyFrom(from); |
6125 | 0 | } |
6126 | 0 | return *this; |
6127 | 0 | } |
6128 | | |
6129 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
6130 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
6131 | 0 | } |
6132 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
6133 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6134 | 0 | } |
6135 | | |
6136 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6137 | 0 | return GetDescriptor(); |
6138 | 0 | } |
6139 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6140 | 0 | return default_instance().GetMetadata().descriptor; |
6141 | 0 | } |
6142 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6143 | 0 | return default_instance().GetMetadata().reflection; |
6144 | 0 | } |
6145 | 0 | static const EnumValueOptions& default_instance() { |
6146 | 0 | return *internal_default_instance(); |
6147 | 0 | } |
6148 | 0 | static inline const EnumValueOptions* internal_default_instance() { |
6149 | 0 | return reinterpret_cast<const EnumValueOptions*>( |
6150 | 0 | &_EnumValueOptions_default_instance_); |
6151 | 0 | } |
6152 | | static constexpr int kIndexInFileMessages = |
6153 | | 18; |
6154 | | |
6155 | 0 | friend void swap(EnumValueOptions& a, EnumValueOptions& b) { |
6156 | 0 | a.Swap(&b); |
6157 | 0 | } |
6158 | 0 | inline void Swap(EnumValueOptions* other) { |
6159 | 0 | if (other == this) return; |
6160 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6161 | 0 | if (GetOwningArena() != nullptr && |
6162 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6163 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6164 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6165 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6166 | 0 | InternalSwap(other); |
6167 | 0 | } else { |
6168 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6169 | 0 | } |
6170 | 0 | } |
6171 | 0 | void UnsafeArenaSwap(EnumValueOptions* other) { |
6172 | 0 | if (other == this) return; |
6173 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6174 | 0 | InternalSwap(other); |
6175 | 0 | } |
6176 | | |
6177 | | // implements Message ---------------------------------------------- |
6178 | | |
6179 | 0 | EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6180 | 0 | return CreateMaybeMessage<EnumValueOptions>(arena); |
6181 | 0 | } |
6182 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6183 | | void CopyFrom(const EnumValueOptions& from); |
6184 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6185 | 0 | void MergeFrom( const EnumValueOptions& from) { |
6186 | 0 | EnumValueOptions::MergeImpl(*this, from); |
6187 | 0 | } |
6188 | | private: |
6189 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6190 | | public: |
6191 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6192 | | bool IsInitialized() const final; |
6193 | | |
6194 | | size_t ByteSizeLong() const final; |
6195 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6196 | | uint8_t* _InternalSerialize( |
6197 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6198 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6199 | | |
6200 | | private: |
6201 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6202 | | void SharedDtor(); |
6203 | | void SetCachedSize(int size) const final; |
6204 | | void InternalSwap(EnumValueOptions* other); |
6205 | | |
6206 | | private: |
6207 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6208 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6209 | 0 | return "google.protobuf.EnumValueOptions"; |
6210 | 0 | } |
6211 | | protected: |
6212 | | explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6213 | | bool is_message_owned = false); |
6214 | | public: |
6215 | | |
6216 | | static const ClassData _class_data_; |
6217 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6218 | | |
6219 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6220 | | |
6221 | | // nested types ---------------------------------------------------- |
6222 | | |
6223 | | // accessors ------------------------------------------------------- |
6224 | | |
6225 | | enum : int { |
6226 | | kUninterpretedOptionFieldNumber = 999, |
6227 | | kDeprecatedFieldNumber = 1, |
6228 | | }; |
6229 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6230 | | int uninterpreted_option_size() const; |
6231 | | private: |
6232 | | int _internal_uninterpreted_option_size() const; |
6233 | | public: |
6234 | | void clear_uninterpreted_option(); |
6235 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
6236 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
6237 | | mutable_uninterpreted_option(); |
6238 | | private: |
6239 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
6240 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
6241 | | public: |
6242 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
6243 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
6244 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
6245 | | uninterpreted_option() const; |
6246 | | |
6247 | | // optional bool deprecated = 1 [default = false]; |
6248 | | bool has_deprecated() const; |
6249 | | private: |
6250 | | bool _internal_has_deprecated() const; |
6251 | | public: |
6252 | | void clear_deprecated(); |
6253 | | bool deprecated() const; |
6254 | | void set_deprecated(bool value); |
6255 | | private: |
6256 | | bool _internal_deprecated() const; |
6257 | | void _internal_set_deprecated(bool value); |
6258 | | public: |
6259 | | |
6260 | | |
6261 | | template <typename _proto_TypeTraits, |
6262 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6263 | | bool _is_packed> |
6264 | | inline bool HasExtension( |
6265 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6266 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6267 | | |
6268 | | return _impl_._extensions_.Has(id.number()); |
6269 | | } |
6270 | | |
6271 | | template <typename _proto_TypeTraits, |
6272 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6273 | | bool _is_packed> |
6274 | | inline void ClearExtension( |
6275 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6276 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6277 | | _impl_._extensions_.ClearExtension(id.number()); |
6278 | | |
6279 | | } |
6280 | | |
6281 | | template <typename _proto_TypeTraits, |
6282 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6283 | | bool _is_packed> |
6284 | | inline int ExtensionSize( |
6285 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6286 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6287 | | |
6288 | | return _impl_._extensions_.ExtensionSize(id.number()); |
6289 | | } |
6290 | | |
6291 | | template <typename _proto_TypeTraits, |
6292 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6293 | | bool _is_packed> |
6294 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6295 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6296 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6297 | | |
6298 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
6299 | | id.default_value()); |
6300 | | } |
6301 | | |
6302 | | template <typename _proto_TypeTraits, |
6303 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6304 | | bool _is_packed> |
6305 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6306 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6307 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6308 | | |
6309 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
6310 | | &_impl_._extensions_); |
6311 | | } |
6312 | | |
6313 | | template <typename _proto_TypeTraits, |
6314 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6315 | | bool _is_packed> |
6316 | | inline void SetExtension( |
6317 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6318 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6319 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6320 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6321 | | |
6322 | | } |
6323 | | |
6324 | | template <typename _proto_TypeTraits, |
6325 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6326 | | bool _is_packed> |
6327 | | inline void SetAllocatedExtension( |
6328 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6329 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6330 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6331 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6332 | | &_impl_._extensions_); |
6333 | | |
6334 | | } |
6335 | | template <typename _proto_TypeTraits, |
6336 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6337 | | bool _is_packed> |
6338 | | inline void UnsafeArenaSetAllocatedExtension( |
6339 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6340 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6341 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6342 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6343 | | value, &_impl_._extensions_); |
6344 | | |
6345 | | } |
6346 | | template <typename _proto_TypeTraits, |
6347 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6348 | | bool _is_packed> |
6349 | | PROTOBUF_NODISCARD inline |
6350 | | typename _proto_TypeTraits::Singular::MutableType |
6351 | | ReleaseExtension( |
6352 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6353 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6354 | | |
6355 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
6356 | | &_impl_._extensions_); |
6357 | | } |
6358 | | template <typename _proto_TypeTraits, |
6359 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6360 | | bool _is_packed> |
6361 | | inline typename _proto_TypeTraits::Singular::MutableType |
6362 | | UnsafeArenaReleaseExtension( |
6363 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6364 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6365 | | |
6366 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6367 | | &_impl_._extensions_); |
6368 | | } |
6369 | | |
6370 | | template <typename _proto_TypeTraits, |
6371 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6372 | | bool _is_packed> |
6373 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6374 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6375 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6376 | | int index) const { |
6377 | | |
6378 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6379 | | } |
6380 | | |
6381 | | template <typename _proto_TypeTraits, |
6382 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6383 | | bool _is_packed> |
6384 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6385 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6386 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6387 | | int index) { |
6388 | | |
6389 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6390 | | } |
6391 | | |
6392 | | template <typename _proto_TypeTraits, |
6393 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6394 | | bool _is_packed> |
6395 | | inline void SetExtension( |
6396 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6397 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6398 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6399 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6400 | | |
6401 | | } |
6402 | | |
6403 | | template <typename _proto_TypeTraits, |
6404 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6405 | | bool _is_packed> |
6406 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6407 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6408 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6409 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6410 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6411 | | |
6412 | | return to_add; |
6413 | | } |
6414 | | |
6415 | | template <typename _proto_TypeTraits, |
6416 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6417 | | bool _is_packed> |
6418 | | inline void AddExtension( |
6419 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6420 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6421 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6422 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6423 | | &_impl_._extensions_); |
6424 | | |
6425 | | } |
6426 | | |
6427 | | template <typename _proto_TypeTraits, |
6428 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6429 | | bool _is_packed> |
6430 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6431 | | GetRepeatedExtension( |
6432 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6433 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6434 | | |
6435 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6436 | | } |
6437 | | |
6438 | | template <typename _proto_TypeTraits, |
6439 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6440 | | bool _is_packed> |
6441 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6442 | | MutableRepeatedExtension( |
6443 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6444 | | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6445 | | |
6446 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6447 | | _is_packed, &_impl_._extensions_); |
6448 | | } |
6449 | | |
6450 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
6451 | | private: |
6452 | | class _Internal; |
6453 | | |
6454 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6455 | | typedef void InternalArenaConstructable_; |
6456 | | typedef void DestructorSkippable_; |
6457 | | struct Impl_ { |
6458 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
6459 | | |
6460 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
6461 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6462 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
6463 | | bool deprecated_; |
6464 | | }; |
6465 | | union { Impl_ _impl_; }; |
6466 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6467 | | }; |
6468 | | // ------------------------------------------------------------------- |
6469 | | |
6470 | | class PROTOBUF_EXPORT ServiceOptions final : |
6471 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { |
6472 | | public: |
6473 | 0 | inline ServiceOptions() : ServiceOptions(nullptr) {} |
6474 | | ~ServiceOptions() override; |
6475 | | explicit PROTOBUF_CONSTEXPR ServiceOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6476 | | |
6477 | | ServiceOptions(const ServiceOptions& from); |
6478 | | ServiceOptions(ServiceOptions&& from) noexcept |
6479 | 0 | : ServiceOptions() { |
6480 | 0 | *this = ::std::move(from); |
6481 | 0 | } |
6482 | | |
6483 | 0 | inline ServiceOptions& operator=(const ServiceOptions& from) { |
6484 | 0 | CopyFrom(from); |
6485 | 0 | return *this; |
6486 | 0 | } |
6487 | 0 | inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
6488 | 0 | if (this == &from) return *this; |
6489 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6490 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6491 | 0 | && GetOwningArena() != nullptr |
6492 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6493 | 0 | ) { |
6494 | 0 | InternalSwap(&from); |
6495 | 0 | } else { |
6496 | 0 | CopyFrom(from); |
6497 | 0 | } |
6498 | 0 | return *this; |
6499 | 0 | } |
6500 | | |
6501 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
6502 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
6503 | 0 | } |
6504 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
6505 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6506 | 0 | } |
6507 | | |
6508 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6509 | 0 | return GetDescriptor(); |
6510 | 0 | } |
6511 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6512 | 0 | return default_instance().GetMetadata().descriptor; |
6513 | 0 | } |
6514 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6515 | 0 | return default_instance().GetMetadata().reflection; |
6516 | 0 | } |
6517 | 0 | static const ServiceOptions& default_instance() { |
6518 | 0 | return *internal_default_instance(); |
6519 | 0 | } |
6520 | 0 | static inline const ServiceOptions* internal_default_instance() { |
6521 | 0 | return reinterpret_cast<const ServiceOptions*>( |
6522 | 0 | &_ServiceOptions_default_instance_); |
6523 | 0 | } |
6524 | | static constexpr int kIndexInFileMessages = |
6525 | | 19; |
6526 | | |
6527 | 0 | friend void swap(ServiceOptions& a, ServiceOptions& b) { |
6528 | 0 | a.Swap(&b); |
6529 | 0 | } |
6530 | 0 | inline void Swap(ServiceOptions* other) { |
6531 | 0 | if (other == this) return; |
6532 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6533 | 0 | if (GetOwningArena() != nullptr && |
6534 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6535 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6536 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6537 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6538 | 0 | InternalSwap(other); |
6539 | 0 | } else { |
6540 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6541 | 0 | } |
6542 | 0 | } |
6543 | 0 | void UnsafeArenaSwap(ServiceOptions* other) { |
6544 | 0 | if (other == this) return; |
6545 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6546 | 0 | InternalSwap(other); |
6547 | 0 | } |
6548 | | |
6549 | | // implements Message ---------------------------------------------- |
6550 | | |
6551 | 0 | ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6552 | 0 | return CreateMaybeMessage<ServiceOptions>(arena); |
6553 | 0 | } |
6554 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6555 | | void CopyFrom(const ServiceOptions& from); |
6556 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6557 | 0 | void MergeFrom( const ServiceOptions& from) { |
6558 | 0 | ServiceOptions::MergeImpl(*this, from); |
6559 | 0 | } |
6560 | | private: |
6561 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6562 | | public: |
6563 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6564 | | bool IsInitialized() const final; |
6565 | | |
6566 | | size_t ByteSizeLong() const final; |
6567 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6568 | | uint8_t* _InternalSerialize( |
6569 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6570 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6571 | | |
6572 | | private: |
6573 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6574 | | void SharedDtor(); |
6575 | | void SetCachedSize(int size) const final; |
6576 | | void InternalSwap(ServiceOptions* other); |
6577 | | |
6578 | | private: |
6579 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6580 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6581 | 0 | return "google.protobuf.ServiceOptions"; |
6582 | 0 | } |
6583 | | protected: |
6584 | | explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6585 | | bool is_message_owned = false); |
6586 | | public: |
6587 | | |
6588 | | static const ClassData _class_data_; |
6589 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6590 | | |
6591 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6592 | | |
6593 | | // nested types ---------------------------------------------------- |
6594 | | |
6595 | | // accessors ------------------------------------------------------- |
6596 | | |
6597 | | enum : int { |
6598 | | kUninterpretedOptionFieldNumber = 999, |
6599 | | kDeprecatedFieldNumber = 33, |
6600 | | }; |
6601 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
6602 | | int uninterpreted_option_size() const; |
6603 | | private: |
6604 | | int _internal_uninterpreted_option_size() const; |
6605 | | public: |
6606 | | void clear_uninterpreted_option(); |
6607 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
6608 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
6609 | | mutable_uninterpreted_option(); |
6610 | | private: |
6611 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
6612 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
6613 | | public: |
6614 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
6615 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
6616 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
6617 | | uninterpreted_option() const; |
6618 | | |
6619 | | // optional bool deprecated = 33 [default = false]; |
6620 | | bool has_deprecated() const; |
6621 | | private: |
6622 | | bool _internal_has_deprecated() const; |
6623 | | public: |
6624 | | void clear_deprecated(); |
6625 | | bool deprecated() const; |
6626 | | void set_deprecated(bool value); |
6627 | | private: |
6628 | | bool _internal_deprecated() const; |
6629 | | void _internal_set_deprecated(bool value); |
6630 | | public: |
6631 | | |
6632 | | |
6633 | | template <typename _proto_TypeTraits, |
6634 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6635 | | bool _is_packed> |
6636 | | inline bool HasExtension( |
6637 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6638 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6639 | | |
6640 | | return _impl_._extensions_.Has(id.number()); |
6641 | | } |
6642 | | |
6643 | | template <typename _proto_TypeTraits, |
6644 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6645 | | bool _is_packed> |
6646 | | inline void ClearExtension( |
6647 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6648 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6649 | | _impl_._extensions_.ClearExtension(id.number()); |
6650 | | |
6651 | | } |
6652 | | |
6653 | | template <typename _proto_TypeTraits, |
6654 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6655 | | bool _is_packed> |
6656 | | inline int ExtensionSize( |
6657 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6658 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6659 | | |
6660 | | return _impl_._extensions_.ExtensionSize(id.number()); |
6661 | | } |
6662 | | |
6663 | | template <typename _proto_TypeTraits, |
6664 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6665 | | bool _is_packed> |
6666 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
6667 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6668 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6669 | | |
6670 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
6671 | | id.default_value()); |
6672 | | } |
6673 | | |
6674 | | template <typename _proto_TypeTraits, |
6675 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6676 | | bool _is_packed> |
6677 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
6678 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6679 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6680 | | |
6681 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
6682 | | &_impl_._extensions_); |
6683 | | } |
6684 | | |
6685 | | template <typename _proto_TypeTraits, |
6686 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6687 | | bool _is_packed> |
6688 | | inline void SetExtension( |
6689 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6690 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6691 | | typename _proto_TypeTraits::Singular::ConstType value) { |
6692 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
6693 | | |
6694 | | } |
6695 | | |
6696 | | template <typename _proto_TypeTraits, |
6697 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6698 | | bool _is_packed> |
6699 | | inline void SetAllocatedExtension( |
6700 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6701 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6702 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6703 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
6704 | | &_impl_._extensions_); |
6705 | | |
6706 | | } |
6707 | | template <typename _proto_TypeTraits, |
6708 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6709 | | bool _is_packed> |
6710 | | inline void UnsafeArenaSetAllocatedExtension( |
6711 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6712 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6713 | | typename _proto_TypeTraits::Singular::MutableType value) { |
6714 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
6715 | | value, &_impl_._extensions_); |
6716 | | |
6717 | | } |
6718 | | template <typename _proto_TypeTraits, |
6719 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6720 | | bool _is_packed> |
6721 | | PROTOBUF_NODISCARD inline |
6722 | | typename _proto_TypeTraits::Singular::MutableType |
6723 | | ReleaseExtension( |
6724 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6725 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6726 | | |
6727 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
6728 | | &_impl_._extensions_); |
6729 | | } |
6730 | | template <typename _proto_TypeTraits, |
6731 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6732 | | bool _is_packed> |
6733 | | inline typename _proto_TypeTraits::Singular::MutableType |
6734 | | UnsafeArenaReleaseExtension( |
6735 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6736 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6737 | | |
6738 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
6739 | | &_impl_._extensions_); |
6740 | | } |
6741 | | |
6742 | | template <typename _proto_TypeTraits, |
6743 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6744 | | bool _is_packed> |
6745 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
6746 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6747 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6748 | | int index) const { |
6749 | | |
6750 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
6751 | | } |
6752 | | |
6753 | | template <typename _proto_TypeTraits, |
6754 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6755 | | bool _is_packed> |
6756 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
6757 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6758 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6759 | | int index) { |
6760 | | |
6761 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
6762 | | } |
6763 | | |
6764 | | template <typename _proto_TypeTraits, |
6765 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6766 | | bool _is_packed> |
6767 | | inline void SetExtension( |
6768 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6769 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6770 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
6771 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
6772 | | |
6773 | | } |
6774 | | |
6775 | | template <typename _proto_TypeTraits, |
6776 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6777 | | bool _is_packed> |
6778 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
6779 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6780 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6781 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
6782 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
6783 | | |
6784 | | return to_add; |
6785 | | } |
6786 | | |
6787 | | template <typename _proto_TypeTraits, |
6788 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6789 | | bool _is_packed> |
6790 | | inline void AddExtension( |
6791 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6792 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
6793 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
6794 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
6795 | | &_impl_._extensions_); |
6796 | | |
6797 | | } |
6798 | | |
6799 | | template <typename _proto_TypeTraits, |
6800 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6801 | | bool _is_packed> |
6802 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
6803 | | GetRepeatedExtension( |
6804 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6805 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
6806 | | |
6807 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
6808 | | } |
6809 | | |
6810 | | template <typename _proto_TypeTraits, |
6811 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
6812 | | bool _is_packed> |
6813 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
6814 | | MutableRepeatedExtension( |
6815 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
6816 | | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
6817 | | |
6818 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
6819 | | _is_packed, &_impl_._extensions_); |
6820 | | } |
6821 | | |
6822 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
6823 | | private: |
6824 | | class _Internal; |
6825 | | |
6826 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6827 | | typedef void InternalArenaConstructable_; |
6828 | | typedef void DestructorSkippable_; |
6829 | | struct Impl_ { |
6830 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
6831 | | |
6832 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
6833 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6834 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
6835 | | bool deprecated_; |
6836 | | }; |
6837 | | union { Impl_ _impl_; }; |
6838 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
6839 | | }; |
6840 | | // ------------------------------------------------------------------- |
6841 | | |
6842 | | class PROTOBUF_EXPORT MethodOptions final : |
6843 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { |
6844 | | public: |
6845 | 0 | inline MethodOptions() : MethodOptions(nullptr) {} |
6846 | | ~MethodOptions() override; |
6847 | | explicit PROTOBUF_CONSTEXPR MethodOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6848 | | |
6849 | | MethodOptions(const MethodOptions& from); |
6850 | | MethodOptions(MethodOptions&& from) noexcept |
6851 | 0 | : MethodOptions() { |
6852 | 0 | *this = ::std::move(from); |
6853 | 0 | } |
6854 | | |
6855 | 0 | inline MethodOptions& operator=(const MethodOptions& from) { |
6856 | 0 | CopyFrom(from); |
6857 | 0 | return *this; |
6858 | 0 | } |
6859 | 0 | inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
6860 | 0 | if (this == &from) return *this; |
6861 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6862 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6863 | 0 | && GetOwningArena() != nullptr |
6864 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6865 | 0 | ) { |
6866 | 0 | InternalSwap(&from); |
6867 | 0 | } else { |
6868 | 0 | CopyFrom(from); |
6869 | 0 | } |
6870 | 0 | return *this; |
6871 | 0 | } |
6872 | | |
6873 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
6874 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
6875 | 0 | } |
6876 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
6877 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6878 | 0 | } |
6879 | | |
6880 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6881 | 0 | return GetDescriptor(); |
6882 | 0 | } |
6883 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6884 | 0 | return default_instance().GetMetadata().descriptor; |
6885 | 0 | } |
6886 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6887 | 0 | return default_instance().GetMetadata().reflection; |
6888 | 0 | } |
6889 | 0 | static const MethodOptions& default_instance() { |
6890 | 0 | return *internal_default_instance(); |
6891 | 0 | } |
6892 | 0 | static inline const MethodOptions* internal_default_instance() { |
6893 | 0 | return reinterpret_cast<const MethodOptions*>( |
6894 | 0 | &_MethodOptions_default_instance_); |
6895 | 0 | } |
6896 | | static constexpr int kIndexInFileMessages = |
6897 | | 20; |
6898 | | |
6899 | 0 | friend void swap(MethodOptions& a, MethodOptions& b) { |
6900 | 0 | a.Swap(&b); |
6901 | 0 | } |
6902 | 0 | inline void Swap(MethodOptions* other) { |
6903 | 0 | if (other == this) return; |
6904 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6905 | 0 | if (GetOwningArena() != nullptr && |
6906 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6907 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6908 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6909 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6910 | 0 | InternalSwap(other); |
6911 | 0 | } else { |
6912 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6913 | 0 | } |
6914 | 0 | } |
6915 | 0 | void UnsafeArenaSwap(MethodOptions* other) { |
6916 | 0 | if (other == this) return; |
6917 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6918 | 0 | InternalSwap(other); |
6919 | 0 | } |
6920 | | |
6921 | | // implements Message ---------------------------------------------- |
6922 | | |
6923 | 0 | MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6924 | 0 | return CreateMaybeMessage<MethodOptions>(arena); |
6925 | 0 | } |
6926 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6927 | | void CopyFrom(const MethodOptions& from); |
6928 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6929 | 0 | void MergeFrom( const MethodOptions& from) { |
6930 | 0 | MethodOptions::MergeImpl(*this, from); |
6931 | 0 | } |
6932 | | private: |
6933 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6934 | | public: |
6935 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6936 | | bool IsInitialized() const final; |
6937 | | |
6938 | | size_t ByteSizeLong() const final; |
6939 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6940 | | uint8_t* _InternalSerialize( |
6941 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6942 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6943 | | |
6944 | | private: |
6945 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6946 | | void SharedDtor(); |
6947 | | void SetCachedSize(int size) const final; |
6948 | | void InternalSwap(MethodOptions* other); |
6949 | | |
6950 | | private: |
6951 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6952 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6953 | 0 | return "google.protobuf.MethodOptions"; |
6954 | 0 | } |
6955 | | protected: |
6956 | | explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6957 | | bool is_message_owned = false); |
6958 | | public: |
6959 | | |
6960 | | static const ClassData _class_data_; |
6961 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6962 | | |
6963 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6964 | | |
6965 | | // nested types ---------------------------------------------------- |
6966 | | |
6967 | | typedef MethodOptions_IdempotencyLevel IdempotencyLevel; |
6968 | | static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = |
6969 | | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
6970 | | static constexpr IdempotencyLevel NO_SIDE_EFFECTS = |
6971 | | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; |
6972 | | static constexpr IdempotencyLevel IDEMPOTENT = |
6973 | | MethodOptions_IdempotencyLevel_IDEMPOTENT; |
6974 | 0 | static inline bool IdempotencyLevel_IsValid(int value) { |
6975 | 0 | return MethodOptions_IdempotencyLevel_IsValid(value); |
6976 | 0 | } |
6977 | | static constexpr IdempotencyLevel IdempotencyLevel_MIN = |
6978 | | MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; |
6979 | | static constexpr IdempotencyLevel IdempotencyLevel_MAX = |
6980 | | MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; |
6981 | | static constexpr int IdempotencyLevel_ARRAYSIZE = |
6982 | | MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; |
6983 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
6984 | 0 | IdempotencyLevel_descriptor() { |
6985 | 0 | return MethodOptions_IdempotencyLevel_descriptor(); |
6986 | 0 | } |
6987 | | template<typename T> |
6988 | | static inline const std::string& IdempotencyLevel_Name(T enum_t_value) { |
6989 | | static_assert(::std::is_same<T, IdempotencyLevel>::value || |
6990 | | ::std::is_integral<T>::value, |
6991 | | "Incorrect type passed to function IdempotencyLevel_Name."); |
6992 | | return MethodOptions_IdempotencyLevel_Name(enum_t_value); |
6993 | | } |
6994 | | static inline bool IdempotencyLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
6995 | 0 | IdempotencyLevel* value) { |
6996 | 0 | return MethodOptions_IdempotencyLevel_Parse(name, value); |
6997 | 0 | } |
6998 | | |
6999 | | // accessors ------------------------------------------------------- |
7000 | | |
7001 | | enum : int { |
7002 | | kUninterpretedOptionFieldNumber = 999, |
7003 | | kDeprecatedFieldNumber = 33, |
7004 | | kIdempotencyLevelFieldNumber = 34, |
7005 | | }; |
7006 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
7007 | | int uninterpreted_option_size() const; |
7008 | | private: |
7009 | | int _internal_uninterpreted_option_size() const; |
7010 | | public: |
7011 | | void clear_uninterpreted_option(); |
7012 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
7013 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
7014 | | mutable_uninterpreted_option(); |
7015 | | private: |
7016 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
7017 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
7018 | | public: |
7019 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
7020 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
7021 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
7022 | | uninterpreted_option() const; |
7023 | | |
7024 | | // optional bool deprecated = 33 [default = false]; |
7025 | | bool has_deprecated() const; |
7026 | | private: |
7027 | | bool _internal_has_deprecated() const; |
7028 | | public: |
7029 | | void clear_deprecated(); |
7030 | | bool deprecated() const; |
7031 | | void set_deprecated(bool value); |
7032 | | private: |
7033 | | bool _internal_deprecated() const; |
7034 | | void _internal_set_deprecated(bool value); |
7035 | | public: |
7036 | | |
7037 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
7038 | | bool has_idempotency_level() const; |
7039 | | private: |
7040 | | bool _internal_has_idempotency_level() const; |
7041 | | public: |
7042 | | void clear_idempotency_level(); |
7043 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const; |
7044 | | void set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); |
7045 | | private: |
7046 | | ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const; |
7047 | | void _internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); |
7048 | | public: |
7049 | | |
7050 | | |
7051 | | template <typename _proto_TypeTraits, |
7052 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7053 | | bool _is_packed> |
7054 | | inline bool HasExtension( |
7055 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7056 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
7057 | | |
7058 | | return _impl_._extensions_.Has(id.number()); |
7059 | | } |
7060 | | |
7061 | | template <typename _proto_TypeTraits, |
7062 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7063 | | bool _is_packed> |
7064 | | inline void ClearExtension( |
7065 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7066 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
7067 | | _impl_._extensions_.ClearExtension(id.number()); |
7068 | | |
7069 | | } |
7070 | | |
7071 | | template <typename _proto_TypeTraits, |
7072 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7073 | | bool _is_packed> |
7074 | | inline int ExtensionSize( |
7075 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7076 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
7077 | | |
7078 | | return _impl_._extensions_.ExtensionSize(id.number()); |
7079 | | } |
7080 | | |
7081 | | template <typename _proto_TypeTraits, |
7082 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7083 | | bool _is_packed> |
7084 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
7085 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7086 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
7087 | | |
7088 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
7089 | | id.default_value()); |
7090 | | } |
7091 | | |
7092 | | template <typename _proto_TypeTraits, |
7093 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7094 | | bool _is_packed> |
7095 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
7096 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7097 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
7098 | | |
7099 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
7100 | | &_impl_._extensions_); |
7101 | | } |
7102 | | |
7103 | | template <typename _proto_TypeTraits, |
7104 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7105 | | bool _is_packed> |
7106 | | inline void SetExtension( |
7107 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7108 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7109 | | typename _proto_TypeTraits::Singular::ConstType value) { |
7110 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
7111 | | |
7112 | | } |
7113 | | |
7114 | | template <typename _proto_TypeTraits, |
7115 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7116 | | bool _is_packed> |
7117 | | inline void SetAllocatedExtension( |
7118 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7119 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7120 | | typename _proto_TypeTraits::Singular::MutableType value) { |
7121 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
7122 | | &_impl_._extensions_); |
7123 | | |
7124 | | } |
7125 | | template <typename _proto_TypeTraits, |
7126 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7127 | | bool _is_packed> |
7128 | | inline void UnsafeArenaSetAllocatedExtension( |
7129 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7130 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7131 | | typename _proto_TypeTraits::Singular::MutableType value) { |
7132 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
7133 | | value, &_impl_._extensions_); |
7134 | | |
7135 | | } |
7136 | | template <typename _proto_TypeTraits, |
7137 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7138 | | bool _is_packed> |
7139 | | PROTOBUF_NODISCARD inline |
7140 | | typename _proto_TypeTraits::Singular::MutableType |
7141 | | ReleaseExtension( |
7142 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7143 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
7144 | | |
7145 | | return _proto_TypeTraits::Release(id.number(), _field_type, |
7146 | | &_impl_._extensions_); |
7147 | | } |
7148 | | template <typename _proto_TypeTraits, |
7149 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7150 | | bool _is_packed> |
7151 | | inline typename _proto_TypeTraits::Singular::MutableType |
7152 | | UnsafeArenaReleaseExtension( |
7153 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7154 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
7155 | | |
7156 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
7157 | | &_impl_._extensions_); |
7158 | | } |
7159 | | |
7160 | | template <typename _proto_TypeTraits, |
7161 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7162 | | bool _is_packed> |
7163 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
7164 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7165 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7166 | | int index) const { |
7167 | | |
7168 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
7169 | | } |
7170 | | |
7171 | | template <typename _proto_TypeTraits, |
7172 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7173 | | bool _is_packed> |
7174 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
7175 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7176 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7177 | | int index) { |
7178 | | |
7179 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
7180 | | } |
7181 | | |
7182 | | template <typename _proto_TypeTraits, |
7183 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7184 | | bool _is_packed> |
7185 | | inline void SetExtension( |
7186 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7187 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7188 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
7189 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
7190 | | |
7191 | | } |
7192 | | |
7193 | | template <typename _proto_TypeTraits, |
7194 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7195 | | bool _is_packed> |
7196 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
7197 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7198 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
7199 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
7200 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
7201 | | |
7202 | | return to_add; |
7203 | | } |
7204 | | |
7205 | | template <typename _proto_TypeTraits, |
7206 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7207 | | bool _is_packed> |
7208 | | inline void AddExtension( |
7209 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7210 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
7211 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
7212 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
7213 | | &_impl_._extensions_); |
7214 | | |
7215 | | } |
7216 | | |
7217 | | template <typename _proto_TypeTraits, |
7218 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7219 | | bool _is_packed> |
7220 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
7221 | | GetRepeatedExtension( |
7222 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7223 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
7224 | | |
7225 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
7226 | | } |
7227 | | |
7228 | | template <typename _proto_TypeTraits, |
7229 | | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
7230 | | bool _is_packed> |
7231 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
7232 | | MutableRepeatedExtension( |
7233 | | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
7234 | | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
7235 | | |
7236 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
7237 | | _is_packed, &_impl_._extensions_); |
7238 | | } |
7239 | | |
7240 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
7241 | | private: |
7242 | | class _Internal; |
7243 | | |
7244 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7245 | | typedef void InternalArenaConstructable_; |
7246 | | typedef void DestructorSkippable_; |
7247 | | struct Impl_ { |
7248 | | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
7249 | | |
7250 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7251 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7252 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
7253 | | bool deprecated_; |
7254 | | int idempotency_level_; |
7255 | | }; |
7256 | | union { Impl_ _impl_; }; |
7257 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7258 | | }; |
7259 | | // ------------------------------------------------------------------- |
7260 | | |
7261 | | class PROTOBUF_EXPORT UninterpretedOption_NamePart final : |
7262 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { |
7263 | | public: |
7264 | 0 | inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} |
7265 | | ~UninterpretedOption_NamePart() override; |
7266 | | explicit PROTOBUF_CONSTEXPR UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7267 | | |
7268 | | UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
7269 | | UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
7270 | 0 | : UninterpretedOption_NamePart() { |
7271 | 0 | *this = ::std::move(from); |
7272 | 0 | } |
7273 | | |
7274 | 0 | inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
7275 | 0 | CopyFrom(from); |
7276 | 0 | return *this; |
7277 | 0 | } |
7278 | 0 | inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
7279 | 0 | if (this == &from) return *this; |
7280 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7281 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7282 | 0 | && GetOwningArena() != nullptr |
7283 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7284 | 0 | ) { |
7285 | 0 | InternalSwap(&from); |
7286 | 0 | } else { |
7287 | 0 | CopyFrom(from); |
7288 | 0 | } |
7289 | 0 | return *this; |
7290 | 0 | } |
7291 | | |
7292 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7293 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7294 | 0 | } |
7295 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7296 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7297 | 0 | } |
7298 | | |
7299 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7300 | 0 | return GetDescriptor(); |
7301 | 0 | } |
7302 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7303 | 0 | return default_instance().GetMetadata().descriptor; |
7304 | 0 | } |
7305 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7306 | 0 | return default_instance().GetMetadata().reflection; |
7307 | 0 | } |
7308 | 0 | static const UninterpretedOption_NamePart& default_instance() { |
7309 | 0 | return *internal_default_instance(); |
7310 | 0 | } |
7311 | 0 | static inline const UninterpretedOption_NamePart* internal_default_instance() { |
7312 | 0 | return reinterpret_cast<const UninterpretedOption_NamePart*>( |
7313 | 0 | &_UninterpretedOption_NamePart_default_instance_); |
7314 | 0 | } |
7315 | | static constexpr int kIndexInFileMessages = |
7316 | | 21; |
7317 | | |
7318 | 0 | friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { |
7319 | 0 | a.Swap(&b); |
7320 | 0 | } |
7321 | 0 | inline void Swap(UninterpretedOption_NamePart* other) { |
7322 | 0 | if (other == this) return; |
7323 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7324 | 0 | if (GetOwningArena() != nullptr && |
7325 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7326 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7327 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7328 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7329 | 0 | InternalSwap(other); |
7330 | 0 | } else { |
7331 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7332 | 0 | } |
7333 | 0 | } |
7334 | 0 | void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { |
7335 | 0 | if (other == this) return; |
7336 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7337 | 0 | InternalSwap(other); |
7338 | 0 | } |
7339 | | |
7340 | | // implements Message ---------------------------------------------- |
7341 | | |
7342 | 0 | UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7343 | 0 | return CreateMaybeMessage<UninterpretedOption_NamePart>(arena); |
7344 | 0 | } |
7345 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7346 | | void CopyFrom(const UninterpretedOption_NamePart& from); |
7347 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7348 | 0 | void MergeFrom( const UninterpretedOption_NamePart& from) { |
7349 | 0 | UninterpretedOption_NamePart::MergeImpl(*this, from); |
7350 | 0 | } |
7351 | | private: |
7352 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7353 | | public: |
7354 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7355 | | bool IsInitialized() const final; |
7356 | | |
7357 | | size_t ByteSizeLong() const final; |
7358 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7359 | | uint8_t* _InternalSerialize( |
7360 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7361 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7362 | | |
7363 | | private: |
7364 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
7365 | | void SharedDtor(); |
7366 | | void SetCachedSize(int size) const final; |
7367 | | void InternalSwap(UninterpretedOption_NamePart* other); |
7368 | | |
7369 | | private: |
7370 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7371 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
7372 | 0 | return "google.protobuf.UninterpretedOption.NamePart"; |
7373 | 0 | } |
7374 | | protected: |
7375 | | explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7376 | | bool is_message_owned = false); |
7377 | | public: |
7378 | | |
7379 | | static const ClassData _class_data_; |
7380 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7381 | | |
7382 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7383 | | |
7384 | | // nested types ---------------------------------------------------- |
7385 | | |
7386 | | // accessors ------------------------------------------------------- |
7387 | | |
7388 | | enum : int { |
7389 | | kNamePartFieldNumber = 1, |
7390 | | kIsExtensionFieldNumber = 2, |
7391 | | }; |
7392 | | // required string name_part = 1; |
7393 | | bool has_name_part() const; |
7394 | | private: |
7395 | | bool _internal_has_name_part() const; |
7396 | | public: |
7397 | | void clear_name_part(); |
7398 | | const std::string& name_part() const; |
7399 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
7400 | | void set_name_part(ArgT0&& arg0, ArgT... args); |
7401 | | std::string* mutable_name_part(); |
7402 | | PROTOBUF_NODISCARD std::string* release_name_part(); |
7403 | | void set_allocated_name_part(std::string* name_part); |
7404 | | private: |
7405 | | const std::string& _internal_name_part() const; |
7406 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(const std::string& value); |
7407 | | std::string* _internal_mutable_name_part(); |
7408 | | public: |
7409 | | |
7410 | | // required bool is_extension = 2; |
7411 | | bool has_is_extension() const; |
7412 | | private: |
7413 | | bool _internal_has_is_extension() const; |
7414 | | public: |
7415 | | void clear_is_extension(); |
7416 | | bool is_extension() const; |
7417 | | void set_is_extension(bool value); |
7418 | | private: |
7419 | | bool _internal_is_extension() const; |
7420 | | void _internal_set_is_extension(bool value); |
7421 | | public: |
7422 | | |
7423 | | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
7424 | | private: |
7425 | | class _Internal; |
7426 | | |
7427 | | // helper for ByteSizeLong() |
7428 | | size_t RequiredFieldsByteSizeFallback() const; |
7429 | | |
7430 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7431 | | typedef void InternalArenaConstructable_; |
7432 | | typedef void DestructorSkippable_; |
7433 | | struct Impl_ { |
7434 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7435 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7436 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_; |
7437 | | bool is_extension_; |
7438 | | }; |
7439 | | union { Impl_ _impl_; }; |
7440 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7441 | | }; |
7442 | | // ------------------------------------------------------------------- |
7443 | | |
7444 | | class PROTOBUF_EXPORT UninterpretedOption final : |
7445 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ { |
7446 | | public: |
7447 | 0 | inline UninterpretedOption() : UninterpretedOption(nullptr) {} |
7448 | | ~UninterpretedOption() override; |
7449 | | explicit PROTOBUF_CONSTEXPR UninterpretedOption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7450 | | |
7451 | | UninterpretedOption(const UninterpretedOption& from); |
7452 | | UninterpretedOption(UninterpretedOption&& from) noexcept |
7453 | 0 | : UninterpretedOption() { |
7454 | 0 | *this = ::std::move(from); |
7455 | 0 | } |
7456 | | |
7457 | 0 | inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
7458 | 0 | CopyFrom(from); |
7459 | 0 | return *this; |
7460 | 0 | } |
7461 | 0 | inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
7462 | 0 | if (this == &from) return *this; |
7463 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7464 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7465 | 0 | && GetOwningArena() != nullptr |
7466 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7467 | 0 | ) { |
7468 | 0 | InternalSwap(&from); |
7469 | 0 | } else { |
7470 | 0 | CopyFrom(from); |
7471 | 0 | } |
7472 | 0 | return *this; |
7473 | 0 | } |
7474 | | |
7475 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7476 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7477 | 0 | } |
7478 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7479 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7480 | 0 | } |
7481 | | |
7482 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7483 | 0 | return GetDescriptor(); |
7484 | 0 | } |
7485 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7486 | 0 | return default_instance().GetMetadata().descriptor; |
7487 | 0 | } |
7488 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7489 | 0 | return default_instance().GetMetadata().reflection; |
7490 | 0 | } |
7491 | 0 | static const UninterpretedOption& default_instance() { |
7492 | 0 | return *internal_default_instance(); |
7493 | 0 | } |
7494 | 0 | static inline const UninterpretedOption* internal_default_instance() { |
7495 | 0 | return reinterpret_cast<const UninterpretedOption*>( |
7496 | 0 | &_UninterpretedOption_default_instance_); |
7497 | 0 | } |
7498 | | static constexpr int kIndexInFileMessages = |
7499 | | 22; |
7500 | | |
7501 | 0 | friend void swap(UninterpretedOption& a, UninterpretedOption& b) { |
7502 | 0 | a.Swap(&b); |
7503 | 0 | } |
7504 | 0 | inline void Swap(UninterpretedOption* other) { |
7505 | 0 | if (other == this) return; |
7506 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7507 | 0 | if (GetOwningArena() != nullptr && |
7508 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7509 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7510 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7511 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7512 | 0 | InternalSwap(other); |
7513 | 0 | } else { |
7514 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7515 | 0 | } |
7516 | 0 | } |
7517 | 0 | void UnsafeArenaSwap(UninterpretedOption* other) { |
7518 | 0 | if (other == this) return; |
7519 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7520 | 0 | InternalSwap(other); |
7521 | 0 | } |
7522 | | |
7523 | | // implements Message ---------------------------------------------- |
7524 | | |
7525 | 0 | UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7526 | 0 | return CreateMaybeMessage<UninterpretedOption>(arena); |
7527 | 0 | } |
7528 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7529 | | void CopyFrom(const UninterpretedOption& from); |
7530 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7531 | 0 | void MergeFrom( const UninterpretedOption& from) { |
7532 | 0 | UninterpretedOption::MergeImpl(*this, from); |
7533 | 0 | } |
7534 | | private: |
7535 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7536 | | public: |
7537 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7538 | | bool IsInitialized() const final; |
7539 | | |
7540 | | size_t ByteSizeLong() const final; |
7541 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7542 | | uint8_t* _InternalSerialize( |
7543 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7544 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7545 | | |
7546 | | private: |
7547 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
7548 | | void SharedDtor(); |
7549 | | void SetCachedSize(int size) const final; |
7550 | | void InternalSwap(UninterpretedOption* other); |
7551 | | |
7552 | | private: |
7553 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7554 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
7555 | 0 | return "google.protobuf.UninterpretedOption"; |
7556 | 0 | } |
7557 | | protected: |
7558 | | explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7559 | | bool is_message_owned = false); |
7560 | | public: |
7561 | | |
7562 | | static const ClassData _class_data_; |
7563 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7564 | | |
7565 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7566 | | |
7567 | | // nested types ---------------------------------------------------- |
7568 | | |
7569 | | typedef UninterpretedOption_NamePart NamePart; |
7570 | | |
7571 | | // accessors ------------------------------------------------------- |
7572 | | |
7573 | | enum : int { |
7574 | | kNameFieldNumber = 2, |
7575 | | kIdentifierValueFieldNumber = 3, |
7576 | | kStringValueFieldNumber = 7, |
7577 | | kAggregateValueFieldNumber = 8, |
7578 | | kPositiveIntValueFieldNumber = 4, |
7579 | | kNegativeIntValueFieldNumber = 5, |
7580 | | kDoubleValueFieldNumber = 6, |
7581 | | }; |
7582 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
7583 | | int name_size() const; |
7584 | | private: |
7585 | | int _internal_name_size() const; |
7586 | | public: |
7587 | | void clear_name(); |
7588 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index); |
7589 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* |
7590 | | mutable_name(); |
7591 | | private: |
7592 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const; |
7593 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name(); |
7594 | | public: |
7595 | | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const; |
7596 | | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name(); |
7597 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& |
7598 | | name() const; |
7599 | | |
7600 | | // optional string identifier_value = 3; |
7601 | | bool has_identifier_value() const; |
7602 | | private: |
7603 | | bool _internal_has_identifier_value() const; |
7604 | | public: |
7605 | | void clear_identifier_value(); |
7606 | | const std::string& identifier_value() const; |
7607 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
7608 | | void set_identifier_value(ArgT0&& arg0, ArgT... args); |
7609 | | std::string* mutable_identifier_value(); |
7610 | | PROTOBUF_NODISCARD std::string* release_identifier_value(); |
7611 | | void set_allocated_identifier_value(std::string* identifier_value); |
7612 | | private: |
7613 | | const std::string& _internal_identifier_value() const; |
7614 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(const std::string& value); |
7615 | | std::string* _internal_mutable_identifier_value(); |
7616 | | public: |
7617 | | |
7618 | | // optional bytes string_value = 7; |
7619 | | bool has_string_value() const; |
7620 | | private: |
7621 | | bool _internal_has_string_value() const; |
7622 | | public: |
7623 | | void clear_string_value(); |
7624 | | const std::string& string_value() const; |
7625 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
7626 | | void set_string_value(ArgT0&& arg0, ArgT... args); |
7627 | | std::string* mutable_string_value(); |
7628 | | PROTOBUF_NODISCARD std::string* release_string_value(); |
7629 | | void set_allocated_string_value(std::string* string_value); |
7630 | | private: |
7631 | | const std::string& _internal_string_value() const; |
7632 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); |
7633 | | std::string* _internal_mutable_string_value(); |
7634 | | public: |
7635 | | |
7636 | | // optional string aggregate_value = 8; |
7637 | | bool has_aggregate_value() const; |
7638 | | private: |
7639 | | bool _internal_has_aggregate_value() const; |
7640 | | public: |
7641 | | void clear_aggregate_value(); |
7642 | | const std::string& aggregate_value() const; |
7643 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
7644 | | void set_aggregate_value(ArgT0&& arg0, ArgT... args); |
7645 | | std::string* mutable_aggregate_value(); |
7646 | | PROTOBUF_NODISCARD std::string* release_aggregate_value(); |
7647 | | void set_allocated_aggregate_value(std::string* aggregate_value); |
7648 | | private: |
7649 | | const std::string& _internal_aggregate_value() const; |
7650 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(const std::string& value); |
7651 | | std::string* _internal_mutable_aggregate_value(); |
7652 | | public: |
7653 | | |
7654 | | // optional uint64 positive_int_value = 4; |
7655 | | bool has_positive_int_value() const; |
7656 | | private: |
7657 | | bool _internal_has_positive_int_value() const; |
7658 | | public: |
7659 | | void clear_positive_int_value(); |
7660 | | uint64_t positive_int_value() const; |
7661 | | void set_positive_int_value(uint64_t value); |
7662 | | private: |
7663 | | uint64_t _internal_positive_int_value() const; |
7664 | | void _internal_set_positive_int_value(uint64_t value); |
7665 | | public: |
7666 | | |
7667 | | // optional int64 negative_int_value = 5; |
7668 | | bool has_negative_int_value() const; |
7669 | | private: |
7670 | | bool _internal_has_negative_int_value() const; |
7671 | | public: |
7672 | | void clear_negative_int_value(); |
7673 | | int64_t negative_int_value() const; |
7674 | | void set_negative_int_value(int64_t value); |
7675 | | private: |
7676 | | int64_t _internal_negative_int_value() const; |
7677 | | void _internal_set_negative_int_value(int64_t value); |
7678 | | public: |
7679 | | |
7680 | | // optional double double_value = 6; |
7681 | | bool has_double_value() const; |
7682 | | private: |
7683 | | bool _internal_has_double_value() const; |
7684 | | public: |
7685 | | void clear_double_value(); |
7686 | | double double_value() const; |
7687 | | void set_double_value(double value); |
7688 | | private: |
7689 | | double _internal_double_value() const; |
7690 | | void _internal_set_double_value(double value); |
7691 | | public: |
7692 | | |
7693 | | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
7694 | | private: |
7695 | | class _Internal; |
7696 | | |
7697 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7698 | | typedef void InternalArenaConstructable_; |
7699 | | typedef void DestructorSkippable_; |
7700 | | struct Impl_ { |
7701 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7702 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7703 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_; |
7704 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_; |
7705 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; |
7706 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_; |
7707 | | uint64_t positive_int_value_; |
7708 | | int64_t negative_int_value_; |
7709 | | double double_value_; |
7710 | | }; |
7711 | | union { Impl_ _impl_; }; |
7712 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7713 | | }; |
7714 | | // ------------------------------------------------------------------- |
7715 | | |
7716 | | class PROTOBUF_EXPORT SourceCodeInfo_Location final : |
7717 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { |
7718 | | public: |
7719 | 0 | inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} |
7720 | | ~SourceCodeInfo_Location() override; |
7721 | | explicit PROTOBUF_CONSTEXPR SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7722 | | |
7723 | | SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
7724 | | SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
7725 | 0 | : SourceCodeInfo_Location() { |
7726 | 0 | *this = ::std::move(from); |
7727 | 0 | } |
7728 | | |
7729 | 0 | inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
7730 | 0 | CopyFrom(from); |
7731 | 0 | return *this; |
7732 | 0 | } |
7733 | 0 | inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
7734 | 0 | if (this == &from) return *this; |
7735 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7736 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7737 | 0 | && GetOwningArena() != nullptr |
7738 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7739 | 0 | ) { |
7740 | 0 | InternalSwap(&from); |
7741 | 0 | } else { |
7742 | 0 | CopyFrom(from); |
7743 | 0 | } |
7744 | 0 | return *this; |
7745 | 0 | } |
7746 | | |
7747 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
7748 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
7749 | 0 | } |
7750 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
7751 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7752 | 0 | } |
7753 | | |
7754 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7755 | 0 | return GetDescriptor(); |
7756 | 0 | } |
7757 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7758 | 0 | return default_instance().GetMetadata().descriptor; |
7759 | 0 | } |
7760 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7761 | 0 | return default_instance().GetMetadata().reflection; |
7762 | 0 | } |
7763 | 0 | static const SourceCodeInfo_Location& default_instance() { |
7764 | 0 | return *internal_default_instance(); |
7765 | 0 | } |
7766 | 0 | static inline const SourceCodeInfo_Location* internal_default_instance() { |
7767 | 0 | return reinterpret_cast<const SourceCodeInfo_Location*>( |
7768 | 0 | &_SourceCodeInfo_Location_default_instance_); |
7769 | 0 | } |
7770 | | static constexpr int kIndexInFileMessages = |
7771 | | 23; |
7772 | | |
7773 | 0 | friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { |
7774 | 0 | a.Swap(&b); |
7775 | 0 | } |
7776 | 0 | inline void Swap(SourceCodeInfo_Location* other) { |
7777 | 0 | if (other == this) return; |
7778 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7779 | 0 | if (GetOwningArena() != nullptr && |
7780 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7781 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7782 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7783 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7784 | 0 | InternalSwap(other); |
7785 | 0 | } else { |
7786 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7787 | 0 | } |
7788 | 0 | } |
7789 | 0 | void UnsafeArenaSwap(SourceCodeInfo_Location* other) { |
7790 | 0 | if (other == this) return; |
7791 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7792 | 0 | InternalSwap(other); |
7793 | 0 | } |
7794 | | |
7795 | | // implements Message ---------------------------------------------- |
7796 | | |
7797 | 0 | SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7798 | 0 | return CreateMaybeMessage<SourceCodeInfo_Location>(arena); |
7799 | 0 | } |
7800 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7801 | | void CopyFrom(const SourceCodeInfo_Location& from); |
7802 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7803 | 0 | void MergeFrom( const SourceCodeInfo_Location& from) { |
7804 | 0 | SourceCodeInfo_Location::MergeImpl(*this, from); |
7805 | 0 | } |
7806 | | private: |
7807 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7808 | | public: |
7809 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7810 | | bool IsInitialized() const final; |
7811 | | |
7812 | | size_t ByteSizeLong() const final; |
7813 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7814 | | uint8_t* _InternalSerialize( |
7815 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7816 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7817 | | |
7818 | | private: |
7819 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
7820 | | void SharedDtor(); |
7821 | | void SetCachedSize(int size) const final; |
7822 | | void InternalSwap(SourceCodeInfo_Location* other); |
7823 | | |
7824 | | private: |
7825 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7826 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
7827 | 0 | return "google.protobuf.SourceCodeInfo.Location"; |
7828 | 0 | } |
7829 | | protected: |
7830 | | explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7831 | | bool is_message_owned = false); |
7832 | | public: |
7833 | | |
7834 | | static const ClassData _class_data_; |
7835 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7836 | | |
7837 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7838 | | |
7839 | | // nested types ---------------------------------------------------- |
7840 | | |
7841 | | // accessors ------------------------------------------------------- |
7842 | | |
7843 | | enum : int { |
7844 | | kPathFieldNumber = 1, |
7845 | | kSpanFieldNumber = 2, |
7846 | | kLeadingDetachedCommentsFieldNumber = 6, |
7847 | | kLeadingCommentsFieldNumber = 3, |
7848 | | kTrailingCommentsFieldNumber = 4, |
7849 | | }; |
7850 | | // repeated int32 path = 1 [packed = true]; |
7851 | | int path_size() const; |
7852 | | private: |
7853 | | int _internal_path_size() const; |
7854 | | public: |
7855 | | void clear_path(); |
7856 | | private: |
7857 | | int32_t _internal_path(int index) const; |
7858 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
7859 | | _internal_path() const; |
7860 | | void _internal_add_path(int32_t value); |
7861 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
7862 | | _internal_mutable_path(); |
7863 | | public: |
7864 | | int32_t path(int index) const; |
7865 | | void set_path(int index, int32_t value); |
7866 | | void add_path(int32_t value); |
7867 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
7868 | | path() const; |
7869 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
7870 | | mutable_path(); |
7871 | | |
7872 | | // repeated int32 span = 2 [packed = true]; |
7873 | | int span_size() const; |
7874 | | private: |
7875 | | int _internal_span_size() const; |
7876 | | public: |
7877 | | void clear_span(); |
7878 | | private: |
7879 | | int32_t _internal_span(int index) const; |
7880 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
7881 | | _internal_span() const; |
7882 | | void _internal_add_span(int32_t value); |
7883 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
7884 | | _internal_mutable_span(); |
7885 | | public: |
7886 | | int32_t span(int index) const; |
7887 | | void set_span(int index, int32_t value); |
7888 | | void add_span(int32_t value); |
7889 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
7890 | | span() const; |
7891 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
7892 | | mutable_span(); |
7893 | | |
7894 | | // repeated string leading_detached_comments = 6; |
7895 | | int leading_detached_comments_size() const; |
7896 | | private: |
7897 | | int _internal_leading_detached_comments_size() const; |
7898 | | public: |
7899 | | void clear_leading_detached_comments(); |
7900 | | const std::string& leading_detached_comments(int index) const; |
7901 | | std::string* mutable_leading_detached_comments(int index); |
7902 | | void set_leading_detached_comments(int index, const std::string& value); |
7903 | | void set_leading_detached_comments(int index, std::string&& value); |
7904 | | void set_leading_detached_comments(int index, const char* value); |
7905 | | void set_leading_detached_comments(int index, const char* value, size_t size); |
7906 | | std::string* add_leading_detached_comments(); |
7907 | | void add_leading_detached_comments(const std::string& value); |
7908 | | void add_leading_detached_comments(std::string&& value); |
7909 | | void add_leading_detached_comments(const char* value); |
7910 | | void add_leading_detached_comments(const char* value, size_t size); |
7911 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const; |
7912 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments(); |
7913 | | private: |
7914 | | const std::string& _internal_leading_detached_comments(int index) const; |
7915 | | std::string* _internal_add_leading_detached_comments(); |
7916 | | public: |
7917 | | |
7918 | | // optional string leading_comments = 3; |
7919 | | bool has_leading_comments() const; |
7920 | | private: |
7921 | | bool _internal_has_leading_comments() const; |
7922 | | public: |
7923 | | void clear_leading_comments(); |
7924 | | const std::string& leading_comments() const; |
7925 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
7926 | | void set_leading_comments(ArgT0&& arg0, ArgT... args); |
7927 | | std::string* mutable_leading_comments(); |
7928 | | PROTOBUF_NODISCARD std::string* release_leading_comments(); |
7929 | | void set_allocated_leading_comments(std::string* leading_comments); |
7930 | | private: |
7931 | | const std::string& _internal_leading_comments() const; |
7932 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(const std::string& value); |
7933 | | std::string* _internal_mutable_leading_comments(); |
7934 | | public: |
7935 | | |
7936 | | // optional string trailing_comments = 4; |
7937 | | bool has_trailing_comments() const; |
7938 | | private: |
7939 | | bool _internal_has_trailing_comments() const; |
7940 | | public: |
7941 | | void clear_trailing_comments(); |
7942 | | const std::string& trailing_comments() const; |
7943 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
7944 | | void set_trailing_comments(ArgT0&& arg0, ArgT... args); |
7945 | | std::string* mutable_trailing_comments(); |
7946 | | PROTOBUF_NODISCARD std::string* release_trailing_comments(); |
7947 | | void set_allocated_trailing_comments(std::string* trailing_comments); |
7948 | | private: |
7949 | | const std::string& _internal_trailing_comments() const; |
7950 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(const std::string& value); |
7951 | | std::string* _internal_mutable_trailing_comments(); |
7952 | | public: |
7953 | | |
7954 | | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) |
7955 | | private: |
7956 | | class _Internal; |
7957 | | |
7958 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7959 | | typedef void InternalArenaConstructable_; |
7960 | | typedef void DestructorSkippable_; |
7961 | | struct Impl_ { |
7962 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
7963 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7964 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > path_; |
7965 | | mutable std::atomic<int> _path_cached_byte_size_; |
7966 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > span_; |
7967 | | mutable std::atomic<int> _span_cached_byte_size_; |
7968 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_; |
7969 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_; |
7970 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_; |
7971 | | }; |
7972 | | union { Impl_ _impl_; }; |
7973 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
7974 | | }; |
7975 | | // ------------------------------------------------------------------- |
7976 | | |
7977 | | class PROTOBUF_EXPORT SourceCodeInfo final : |
7978 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { |
7979 | | public: |
7980 | 0 | inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} |
7981 | | ~SourceCodeInfo() override; |
7982 | | explicit PROTOBUF_CONSTEXPR SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7983 | | |
7984 | | SourceCodeInfo(const SourceCodeInfo& from); |
7985 | | SourceCodeInfo(SourceCodeInfo&& from) noexcept |
7986 | 0 | : SourceCodeInfo() { |
7987 | 0 | *this = ::std::move(from); |
7988 | 0 | } |
7989 | | |
7990 | 0 | inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
7991 | 0 | CopyFrom(from); |
7992 | 0 | return *this; |
7993 | 0 | } |
7994 | 0 | inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
7995 | 0 | if (this == &from) return *this; |
7996 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7997 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7998 | 0 | && GetOwningArena() != nullptr |
7999 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8000 | 0 | ) { |
8001 | 0 | InternalSwap(&from); |
8002 | 0 | } else { |
8003 | 0 | CopyFrom(from); |
8004 | 0 | } |
8005 | 0 | return *this; |
8006 | 0 | } |
8007 | | |
8008 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
8009 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
8010 | 0 | } |
8011 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
8012 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8013 | 0 | } |
8014 | | |
8015 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
8016 | 0 | return GetDescriptor(); |
8017 | 0 | } |
8018 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
8019 | 0 | return default_instance().GetMetadata().descriptor; |
8020 | 0 | } |
8021 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
8022 | 0 | return default_instance().GetMetadata().reflection; |
8023 | 0 | } |
8024 | 0 | static const SourceCodeInfo& default_instance() { |
8025 | 0 | return *internal_default_instance(); |
8026 | 0 | } |
8027 | 0 | static inline const SourceCodeInfo* internal_default_instance() { |
8028 | 0 | return reinterpret_cast<const SourceCodeInfo*>( |
8029 | 0 | &_SourceCodeInfo_default_instance_); |
8030 | 0 | } |
8031 | | static constexpr int kIndexInFileMessages = |
8032 | | 24; |
8033 | | |
8034 | 0 | friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { |
8035 | 0 | a.Swap(&b); |
8036 | 0 | } |
8037 | 0 | inline void Swap(SourceCodeInfo* other) { |
8038 | 0 | if (other == this) return; |
8039 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8040 | 0 | if (GetOwningArena() != nullptr && |
8041 | 0 | GetOwningArena() == other->GetOwningArena()) { |
8042 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8043 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
8044 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8045 | 0 | InternalSwap(other); |
8046 | 0 | } else { |
8047 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
8048 | 0 | } |
8049 | 0 | } |
8050 | 0 | void UnsafeArenaSwap(SourceCodeInfo* other) { |
8051 | 0 | if (other == this) return; |
8052 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
8053 | 0 | InternalSwap(other); |
8054 | 0 | } |
8055 | | |
8056 | | // implements Message ---------------------------------------------- |
8057 | | |
8058 | 0 | SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
8059 | 0 | return CreateMaybeMessage<SourceCodeInfo>(arena); |
8060 | 0 | } |
8061 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
8062 | | void CopyFrom(const SourceCodeInfo& from); |
8063 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
8064 | 0 | void MergeFrom( const SourceCodeInfo& from) { |
8065 | 0 | SourceCodeInfo::MergeImpl(*this, from); |
8066 | 0 | } |
8067 | | private: |
8068 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
8069 | | public: |
8070 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
8071 | | bool IsInitialized() const final; |
8072 | | |
8073 | | size_t ByteSizeLong() const final; |
8074 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
8075 | | uint8_t* _InternalSerialize( |
8076 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
8077 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
8078 | | |
8079 | | private: |
8080 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
8081 | | void SharedDtor(); |
8082 | | void SetCachedSize(int size) const final; |
8083 | | void InternalSwap(SourceCodeInfo* other); |
8084 | | |
8085 | | private: |
8086 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
8087 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
8088 | 0 | return "google.protobuf.SourceCodeInfo"; |
8089 | 0 | } |
8090 | | protected: |
8091 | | explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8092 | | bool is_message_owned = false); |
8093 | | public: |
8094 | | |
8095 | | static const ClassData _class_data_; |
8096 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
8097 | | |
8098 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
8099 | | |
8100 | | // nested types ---------------------------------------------------- |
8101 | | |
8102 | | typedef SourceCodeInfo_Location Location; |
8103 | | |
8104 | | // accessors ------------------------------------------------------- |
8105 | | |
8106 | | enum : int { |
8107 | | kLocationFieldNumber = 1, |
8108 | | }; |
8109 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
8110 | | int location_size() const; |
8111 | | private: |
8112 | | int _internal_location_size() const; |
8113 | | public: |
8114 | | void clear_location(); |
8115 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index); |
8116 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* |
8117 | | mutable_location(); |
8118 | | private: |
8119 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const; |
8120 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location(); |
8121 | | public: |
8122 | | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const; |
8123 | | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location(); |
8124 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& |
8125 | | location() const; |
8126 | | |
8127 | | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
8128 | | private: |
8129 | | class _Internal; |
8130 | | |
8131 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
8132 | | typedef void InternalArenaConstructable_; |
8133 | | typedef void DestructorSkippable_; |
8134 | | struct Impl_ { |
8135 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_; |
8136 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
8137 | | }; |
8138 | | union { Impl_ _impl_; }; |
8139 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8140 | | }; |
8141 | | // ------------------------------------------------------------------- |
8142 | | |
8143 | | class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : |
8144 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { |
8145 | | public: |
8146 | 0 | inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} |
8147 | | ~GeneratedCodeInfo_Annotation() override; |
8148 | | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
8149 | | |
8150 | | GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); |
8151 | | GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
8152 | 0 | : GeneratedCodeInfo_Annotation() { |
8153 | 0 | *this = ::std::move(from); |
8154 | 0 | } |
8155 | | |
8156 | 0 | inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
8157 | 0 | CopyFrom(from); |
8158 | 0 | return *this; |
8159 | 0 | } |
8160 | 0 | inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
8161 | 0 | if (this == &from) return *this; |
8162 | 0 | if (GetOwningArena() == from.GetOwningArena() |
8163 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
8164 | 0 | && GetOwningArena() != nullptr |
8165 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8166 | 0 | ) { |
8167 | 0 | InternalSwap(&from); |
8168 | 0 | } else { |
8169 | 0 | CopyFrom(from); |
8170 | 0 | } |
8171 | 0 | return *this; |
8172 | 0 | } |
8173 | | |
8174 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
8175 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
8176 | 0 | } |
8177 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
8178 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8179 | 0 | } |
8180 | | |
8181 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
8182 | 0 | return GetDescriptor(); |
8183 | 0 | } |
8184 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
8185 | 0 | return default_instance().GetMetadata().descriptor; |
8186 | 0 | } |
8187 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
8188 | 0 | return default_instance().GetMetadata().reflection; |
8189 | 0 | } |
8190 | 0 | static const GeneratedCodeInfo_Annotation& default_instance() { |
8191 | 0 | return *internal_default_instance(); |
8192 | 0 | } |
8193 | 0 | static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
8194 | 0 | return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
8195 | 0 | &_GeneratedCodeInfo_Annotation_default_instance_); |
8196 | 0 | } |
8197 | | static constexpr int kIndexInFileMessages = |
8198 | | 25; |
8199 | | |
8200 | 0 | friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { |
8201 | 0 | a.Swap(&b); |
8202 | 0 | } |
8203 | 0 | inline void Swap(GeneratedCodeInfo_Annotation* other) { |
8204 | 0 | if (other == this) return; |
8205 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8206 | 0 | if (GetOwningArena() != nullptr && |
8207 | 0 | GetOwningArena() == other->GetOwningArena()) { |
8208 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8209 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
8210 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8211 | 0 | InternalSwap(other); |
8212 | 0 | } else { |
8213 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
8214 | 0 | } |
8215 | 0 | } |
8216 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { |
8217 | 0 | if (other == this) return; |
8218 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
8219 | 0 | InternalSwap(other); |
8220 | 0 | } |
8221 | | |
8222 | | // implements Message ---------------------------------------------- |
8223 | | |
8224 | 0 | GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
8225 | 0 | return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena); |
8226 | 0 | } |
8227 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
8228 | | void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
8229 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
8230 | 0 | void MergeFrom( const GeneratedCodeInfo_Annotation& from) { |
8231 | 0 | GeneratedCodeInfo_Annotation::MergeImpl(*this, from); |
8232 | 0 | } |
8233 | | private: |
8234 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
8235 | | public: |
8236 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
8237 | | bool IsInitialized() const final; |
8238 | | |
8239 | | size_t ByteSizeLong() const final; |
8240 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
8241 | | uint8_t* _InternalSerialize( |
8242 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
8243 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
8244 | | |
8245 | | private: |
8246 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
8247 | | void SharedDtor(); |
8248 | | void SetCachedSize(int size) const final; |
8249 | | void InternalSwap(GeneratedCodeInfo_Annotation* other); |
8250 | | |
8251 | | private: |
8252 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
8253 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
8254 | 0 | return "google.protobuf.GeneratedCodeInfo.Annotation"; |
8255 | 0 | } |
8256 | | protected: |
8257 | | explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8258 | | bool is_message_owned = false); |
8259 | | public: |
8260 | | |
8261 | | static const ClassData _class_data_; |
8262 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
8263 | | |
8264 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
8265 | | |
8266 | | // nested types ---------------------------------------------------- |
8267 | | |
8268 | | // accessors ------------------------------------------------------- |
8269 | | |
8270 | | enum : int { |
8271 | | kPathFieldNumber = 1, |
8272 | | kSourceFileFieldNumber = 2, |
8273 | | kBeginFieldNumber = 3, |
8274 | | kEndFieldNumber = 4, |
8275 | | }; |
8276 | | // repeated int32 path = 1 [packed = true]; |
8277 | | int path_size() const; |
8278 | | private: |
8279 | | int _internal_path_size() const; |
8280 | | public: |
8281 | | void clear_path(); |
8282 | | private: |
8283 | | int32_t _internal_path(int index) const; |
8284 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
8285 | | _internal_path() const; |
8286 | | void _internal_add_path(int32_t value); |
8287 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
8288 | | _internal_mutable_path(); |
8289 | | public: |
8290 | | int32_t path(int index) const; |
8291 | | void set_path(int index, int32_t value); |
8292 | | void add_path(int32_t value); |
8293 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
8294 | | path() const; |
8295 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
8296 | | mutable_path(); |
8297 | | |
8298 | | // optional string source_file = 2; |
8299 | | bool has_source_file() const; |
8300 | | private: |
8301 | | bool _internal_has_source_file() const; |
8302 | | public: |
8303 | | void clear_source_file(); |
8304 | | const std::string& source_file() const; |
8305 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
8306 | | void set_source_file(ArgT0&& arg0, ArgT... args); |
8307 | | std::string* mutable_source_file(); |
8308 | | PROTOBUF_NODISCARD std::string* release_source_file(); |
8309 | | void set_allocated_source_file(std::string* source_file); |
8310 | | private: |
8311 | | const std::string& _internal_source_file() const; |
8312 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(const std::string& value); |
8313 | | std::string* _internal_mutable_source_file(); |
8314 | | public: |
8315 | | |
8316 | | // optional int32 begin = 3; |
8317 | | bool has_begin() const; |
8318 | | private: |
8319 | | bool _internal_has_begin() const; |
8320 | | public: |
8321 | | void clear_begin(); |
8322 | | int32_t begin() const; |
8323 | | void set_begin(int32_t value); |
8324 | | private: |
8325 | | int32_t _internal_begin() const; |
8326 | | void _internal_set_begin(int32_t value); |
8327 | | public: |
8328 | | |
8329 | | // optional int32 end = 4; |
8330 | | bool has_end() const; |
8331 | | private: |
8332 | | bool _internal_has_end() const; |
8333 | | public: |
8334 | | void clear_end(); |
8335 | | int32_t end() const; |
8336 | | void set_end(int32_t value); |
8337 | | private: |
8338 | | int32_t _internal_end() const; |
8339 | | void _internal_set_end(int32_t value); |
8340 | | public: |
8341 | | |
8342 | | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) |
8343 | | private: |
8344 | | class _Internal; |
8345 | | |
8346 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
8347 | | typedef void InternalArenaConstructable_; |
8348 | | typedef void DestructorSkippable_; |
8349 | | struct Impl_ { |
8350 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
8351 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
8352 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > path_; |
8353 | | mutable std::atomic<int> _path_cached_byte_size_; |
8354 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_; |
8355 | | int32_t begin_; |
8356 | | int32_t end_; |
8357 | | }; |
8358 | | union { Impl_ _impl_; }; |
8359 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8360 | | }; |
8361 | | // ------------------------------------------------------------------- |
8362 | | |
8363 | | class PROTOBUF_EXPORT GeneratedCodeInfo final : |
8364 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { |
8365 | | public: |
8366 | 0 | inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {} |
8367 | | ~GeneratedCodeInfo() override; |
8368 | | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
8369 | | |
8370 | | GeneratedCodeInfo(const GeneratedCodeInfo& from); |
8371 | | GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept |
8372 | 0 | : GeneratedCodeInfo() { |
8373 | 0 | *this = ::std::move(from); |
8374 | 0 | } |
8375 | | |
8376 | 0 | inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
8377 | 0 | CopyFrom(from); |
8378 | 0 | return *this; |
8379 | 0 | } |
8380 | 0 | inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
8381 | 0 | if (this == &from) return *this; |
8382 | 0 | if (GetOwningArena() == from.GetOwningArena() |
8383 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
8384 | 0 | && GetOwningArena() != nullptr |
8385 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
8386 | 0 | ) { |
8387 | 0 | InternalSwap(&from); |
8388 | 0 | } else { |
8389 | 0 | CopyFrom(from); |
8390 | 0 | } |
8391 | 0 | return *this; |
8392 | 0 | } |
8393 | | |
8394 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
8395 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
8396 | 0 | } |
8397 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
8398 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8399 | 0 | } |
8400 | | |
8401 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
8402 | 0 | return GetDescriptor(); |
8403 | 0 | } |
8404 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
8405 | 0 | return default_instance().GetMetadata().descriptor; |
8406 | 0 | } |
8407 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
8408 | 0 | return default_instance().GetMetadata().reflection; |
8409 | 0 | } |
8410 | 0 | static const GeneratedCodeInfo& default_instance() { |
8411 | 0 | return *internal_default_instance(); |
8412 | 0 | } |
8413 | 0 | static inline const GeneratedCodeInfo* internal_default_instance() { |
8414 | 0 | return reinterpret_cast<const GeneratedCodeInfo*>( |
8415 | 0 | &_GeneratedCodeInfo_default_instance_); |
8416 | 0 | } |
8417 | | static constexpr int kIndexInFileMessages = |
8418 | | 26; |
8419 | | |
8420 | 0 | friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { |
8421 | 0 | a.Swap(&b); |
8422 | 0 | } |
8423 | 0 | inline void Swap(GeneratedCodeInfo* other) { |
8424 | 0 | if (other == this) return; |
8425 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
8426 | 0 | if (GetOwningArena() != nullptr && |
8427 | 0 | GetOwningArena() == other->GetOwningArena()) { |
8428 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
8429 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
8430 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
8431 | 0 | InternalSwap(other); |
8432 | 0 | } else { |
8433 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
8434 | 0 | } |
8435 | 0 | } |
8436 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo* other) { |
8437 | 0 | if (other == this) return; |
8438 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
8439 | 0 | InternalSwap(other); |
8440 | 0 | } |
8441 | | |
8442 | | // implements Message ---------------------------------------------- |
8443 | | |
8444 | 0 | GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
8445 | 0 | return CreateMaybeMessage<GeneratedCodeInfo>(arena); |
8446 | 0 | } |
8447 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
8448 | | void CopyFrom(const GeneratedCodeInfo& from); |
8449 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
8450 | 0 | void MergeFrom( const GeneratedCodeInfo& from) { |
8451 | 0 | GeneratedCodeInfo::MergeImpl(*this, from); |
8452 | 0 | } |
8453 | | private: |
8454 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
8455 | | public: |
8456 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
8457 | | bool IsInitialized() const final; |
8458 | | |
8459 | | size_t ByteSizeLong() const final; |
8460 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
8461 | | uint8_t* _InternalSerialize( |
8462 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
8463 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
8464 | | |
8465 | | private: |
8466 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
8467 | | void SharedDtor(); |
8468 | | void SetCachedSize(int size) const final; |
8469 | | void InternalSwap(GeneratedCodeInfo* other); |
8470 | | |
8471 | | private: |
8472 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
8473 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
8474 | 0 | return "google.protobuf.GeneratedCodeInfo"; |
8475 | 0 | } |
8476 | | protected: |
8477 | | explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8478 | | bool is_message_owned = false); |
8479 | | public: |
8480 | | |
8481 | | static const ClassData _class_data_; |
8482 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
8483 | | |
8484 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
8485 | | |
8486 | | // nested types ---------------------------------------------------- |
8487 | | |
8488 | | typedef GeneratedCodeInfo_Annotation Annotation; |
8489 | | |
8490 | | // accessors ------------------------------------------------------- |
8491 | | |
8492 | | enum : int { |
8493 | | kAnnotationFieldNumber = 1, |
8494 | | }; |
8495 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
8496 | | int annotation_size() const; |
8497 | | private: |
8498 | | int _internal_annotation_size() const; |
8499 | | public: |
8500 | | void clear_annotation(); |
8501 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index); |
8502 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* |
8503 | | mutable_annotation(); |
8504 | | private: |
8505 | | const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const; |
8506 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation(); |
8507 | | public: |
8508 | | const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const; |
8509 | | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation(); |
8510 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& |
8511 | | annotation() const; |
8512 | | |
8513 | | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
8514 | | private: |
8515 | | class _Internal; |
8516 | | |
8517 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
8518 | | typedef void InternalArenaConstructable_; |
8519 | | typedef void DestructorSkippable_; |
8520 | | struct Impl_ { |
8521 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_; |
8522 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
8523 | | }; |
8524 | | union { Impl_ _impl_; }; |
8525 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
8526 | | }; |
8527 | | // =================================================================== |
8528 | | |
8529 | | |
8530 | | // =================================================================== |
8531 | | |
8532 | | #ifdef __GNUC__ |
8533 | | #pragma GCC diagnostic push |
8534 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
8535 | | #endif // __GNUC__ |
8536 | | // FileDescriptorSet |
8537 | | |
8538 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
8539 | 0 | inline int FileDescriptorSet::_internal_file_size() const { |
8540 | 0 | return _impl_.file_.size(); |
8541 | 0 | } |
8542 | 0 | inline int FileDescriptorSet::file_size() const { |
8543 | 0 | return _internal_file_size(); |
8544 | 0 | } |
8545 | 0 | inline void FileDescriptorSet::clear_file() { |
8546 | 0 | _impl_.file_.Clear(); |
8547 | 0 | } |
8548 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) { |
8549 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) |
8550 | 0 | return _impl_.file_.Mutable(index); |
8551 | 0 | } |
8552 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* |
8553 | 0 | FileDescriptorSet::mutable_file() { |
8554 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) |
8555 | 0 | return &_impl_.file_; |
8556 | 0 | } |
8557 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const { |
8558 | 0 | return _impl_.file_.Get(index); |
8559 | 0 | } |
8560 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const { |
8561 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) |
8562 | 0 | return _internal_file(index); |
8563 | 0 | } |
8564 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() { |
8565 | 0 | return _impl_.file_.Add(); |
8566 | 0 | } |
8567 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() { |
8568 | 0 | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file(); |
8569 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) |
8570 | 0 | return _add; |
8571 | 0 | } |
8572 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& |
8573 | 0 | FileDescriptorSet::file() const { |
8574 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) |
8575 | 0 | return _impl_.file_; |
8576 | 0 | } |
8577 | | |
8578 | | // ------------------------------------------------------------------- |
8579 | | |
8580 | | // FileDescriptorProto |
8581 | | |
8582 | | // optional string name = 1; |
8583 | 0 | inline bool FileDescriptorProto::_internal_has_name() const { |
8584 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
8585 | 0 | return value; |
8586 | 0 | } |
8587 | 0 | inline bool FileDescriptorProto::has_name() const { |
8588 | 0 | return _internal_has_name(); |
8589 | 0 | } |
8590 | 0 | inline void FileDescriptorProto::clear_name() { |
8591 | 0 | _impl_.name_.ClearToEmpty(); |
8592 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8593 | 0 | } |
8594 | 0 | inline const std::string& FileDescriptorProto::name() const { |
8595 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) |
8596 | 0 | return _internal_name(); |
8597 | 0 | } |
8598 | | template <typename ArgT0, typename... ArgT> |
8599 | | inline PROTOBUF_ALWAYS_INLINE |
8600 | | void FileDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
8601 | | _impl_._has_bits_[0] |= 0x00000001u; |
8602 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8603 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) |
8604 | | } |
8605 | 0 | inline std::string* FileDescriptorProto::mutable_name() { |
8606 | 0 | std::string* _s = _internal_mutable_name(); |
8607 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) |
8608 | 0 | return _s; |
8609 | 0 | } |
8610 | 0 | inline const std::string& FileDescriptorProto::_internal_name() const { |
8611 | 0 | return _impl_.name_.Get(); |
8612 | 0 | } |
8613 | 0 | inline void FileDescriptorProto::_internal_set_name(const std::string& value) { |
8614 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8615 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
8616 | 0 | } |
8617 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_name() { |
8618 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8619 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
8620 | 0 | } |
8621 | 0 | inline std::string* FileDescriptorProto::release_name() { |
8622 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
8623 | 0 | if (!_internal_has_name()) { |
8624 | 0 | return nullptr; |
8625 | 0 | } |
8626 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8627 | 0 | auto* p = _impl_.name_.Release(); |
8628 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8629 | 0 | if (_impl_.name_.IsDefault()) { |
8630 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8631 | 0 | } |
8632 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8633 | 0 | return p; |
8634 | 0 | } |
8635 | 0 | inline void FileDescriptorProto::set_allocated_name(std::string* name) { |
8636 | 0 | if (name != nullptr) { |
8637 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8638 | 0 | } else { |
8639 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8640 | 0 | } |
8641 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
8642 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8643 | 0 | if (_impl_.name_.IsDefault()) { |
8644 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8645 | 0 | } |
8646 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8647 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) |
8648 | 0 | } |
8649 | | |
8650 | | // optional string package = 2; |
8651 | 0 | inline bool FileDescriptorProto::_internal_has_package() const { |
8652 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
8653 | 0 | return value; |
8654 | 0 | } |
8655 | 0 | inline bool FileDescriptorProto::has_package() const { |
8656 | 0 | return _internal_has_package(); |
8657 | 0 | } |
8658 | 0 | inline void FileDescriptorProto::clear_package() { |
8659 | 0 | _impl_.package_.ClearToEmpty(); |
8660 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
8661 | 0 | } |
8662 | 0 | inline const std::string& FileDescriptorProto::package() const { |
8663 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) |
8664 | 0 | return _internal_package(); |
8665 | 0 | } |
8666 | | template <typename ArgT0, typename... ArgT> |
8667 | | inline PROTOBUF_ALWAYS_INLINE |
8668 | | void FileDescriptorProto::set_package(ArgT0&& arg0, ArgT... args) { |
8669 | | _impl_._has_bits_[0] |= 0x00000002u; |
8670 | | _impl_.package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8671 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) |
8672 | | } |
8673 | 0 | inline std::string* FileDescriptorProto::mutable_package() { |
8674 | 0 | std::string* _s = _internal_mutable_package(); |
8675 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) |
8676 | 0 | return _s; |
8677 | 0 | } |
8678 | 0 | inline const std::string& FileDescriptorProto::_internal_package() const { |
8679 | 0 | return _impl_.package_.Get(); |
8680 | 0 | } |
8681 | 0 | inline void FileDescriptorProto::_internal_set_package(const std::string& value) { |
8682 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
8683 | 0 | _impl_.package_.Set(value, GetArenaForAllocation()); |
8684 | 0 | } |
8685 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_package() { |
8686 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
8687 | 0 | return _impl_.package_.Mutable(GetArenaForAllocation()); |
8688 | 0 | } |
8689 | 0 | inline std::string* FileDescriptorProto::release_package() { |
8690 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
8691 | 0 | if (!_internal_has_package()) { |
8692 | 0 | return nullptr; |
8693 | 0 | } |
8694 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
8695 | 0 | auto* p = _impl_.package_.Release(); |
8696 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8697 | 0 | if (_impl_.package_.IsDefault()) { |
8698 | 0 | _impl_.package_.Set("", GetArenaForAllocation()); |
8699 | 0 | } |
8700 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8701 | 0 | return p; |
8702 | 0 | } |
8703 | 0 | inline void FileDescriptorProto::set_allocated_package(std::string* package) { |
8704 | 0 | if (package != nullptr) { |
8705 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
8706 | 0 | } else { |
8707 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
8708 | 0 | } |
8709 | 0 | _impl_.package_.SetAllocated(package, GetArenaForAllocation()); |
8710 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8711 | 0 | if (_impl_.package_.IsDefault()) { |
8712 | 0 | _impl_.package_.Set("", GetArenaForAllocation()); |
8713 | 0 | } |
8714 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8715 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) |
8716 | 0 | } |
8717 | | |
8718 | | // repeated string dependency = 3; |
8719 | 0 | inline int FileDescriptorProto::_internal_dependency_size() const { |
8720 | 0 | return _impl_.dependency_.size(); |
8721 | 0 | } |
8722 | 0 | inline int FileDescriptorProto::dependency_size() const { |
8723 | 0 | return _internal_dependency_size(); |
8724 | 0 | } |
8725 | 0 | inline void FileDescriptorProto::clear_dependency() { |
8726 | 0 | _impl_.dependency_.Clear(); |
8727 | 0 | } |
8728 | 0 | inline std::string* FileDescriptorProto::add_dependency() { |
8729 | 0 | std::string* _s = _internal_add_dependency(); |
8730 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
8731 | 0 | return _s; |
8732 | 0 | } |
8733 | 0 | inline const std::string& FileDescriptorProto::_internal_dependency(int index) const { |
8734 | 0 | return _impl_.dependency_.Get(index); |
8735 | 0 | } |
8736 | 0 | inline const std::string& FileDescriptorProto::dependency(int index) const { |
8737 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) |
8738 | 0 | return _internal_dependency(index); |
8739 | 0 | } |
8740 | 0 | inline std::string* FileDescriptorProto::mutable_dependency(int index) { |
8741 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) |
8742 | 0 | return _impl_.dependency_.Mutable(index); |
8743 | 0 | } |
8744 | 0 | inline void FileDescriptorProto::set_dependency(int index, const std::string& value) { |
8745 | 0 | _impl_.dependency_.Mutable(index)->assign(value); |
8746 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
8747 | 0 | } |
8748 | 0 | inline void FileDescriptorProto::set_dependency(int index, std::string&& value) { |
8749 | 0 | _impl_.dependency_.Mutable(index)->assign(std::move(value)); |
8750 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
8751 | 0 | } |
8752 | 0 | inline void FileDescriptorProto::set_dependency(int index, const char* value) { |
8753 | 0 | GOOGLE_DCHECK(value != nullptr); |
8754 | 0 | _impl_.dependency_.Mutable(index)->assign(value); |
8755 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency) |
8756 | 0 | } |
8757 | 0 | inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) { |
8758 | 0 | _impl_.dependency_.Mutable(index)->assign( |
8759 | 0 | reinterpret_cast<const char*>(value), size); |
8760 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) |
8761 | 0 | } |
8762 | 0 | inline std::string* FileDescriptorProto::_internal_add_dependency() { |
8763 | 0 | return _impl_.dependency_.Add(); |
8764 | 0 | } |
8765 | 0 | inline void FileDescriptorProto::add_dependency(const std::string& value) { |
8766 | 0 | _impl_.dependency_.Add()->assign(value); |
8767 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
8768 | 0 | } |
8769 | 0 | inline void FileDescriptorProto::add_dependency(std::string&& value) { |
8770 | 0 | _impl_.dependency_.Add(std::move(value)); |
8771 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
8772 | 0 | } |
8773 | 0 | inline void FileDescriptorProto::add_dependency(const char* value) { |
8774 | 0 | GOOGLE_DCHECK(value != nullptr); |
8775 | 0 | _impl_.dependency_.Add()->assign(value); |
8776 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency) |
8777 | 0 | } |
8778 | 0 | inline void FileDescriptorProto::add_dependency(const char* value, size_t size) { |
8779 | 0 | _impl_.dependency_.Add()->assign(reinterpret_cast<const char*>(value), size); |
8780 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency) |
8781 | 0 | } |
8782 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
8783 | 0 | FileDescriptorProto::dependency() const { |
8784 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) |
8785 | 0 | return _impl_.dependency_; |
8786 | 0 | } |
8787 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
8788 | 0 | FileDescriptorProto::mutable_dependency() { |
8789 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) |
8790 | 0 | return &_impl_.dependency_; |
8791 | 0 | } |
8792 | | |
8793 | | // repeated int32 public_dependency = 10; |
8794 | 0 | inline int FileDescriptorProto::_internal_public_dependency_size() const { |
8795 | 0 | return _impl_.public_dependency_.size(); |
8796 | 0 | } |
8797 | 0 | inline int FileDescriptorProto::public_dependency_size() const { |
8798 | 0 | return _internal_public_dependency_size(); |
8799 | 0 | } |
8800 | 0 | inline void FileDescriptorProto::clear_public_dependency() { |
8801 | 0 | _impl_.public_dependency_.Clear(); |
8802 | 0 | } |
8803 | 0 | inline int32_t FileDescriptorProto::_internal_public_dependency(int index) const { |
8804 | 0 | return _impl_.public_dependency_.Get(index); |
8805 | 0 | } |
8806 | 0 | inline int32_t FileDescriptorProto::public_dependency(int index) const { |
8807 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) |
8808 | 0 | return _internal_public_dependency(index); |
8809 | 0 | } |
8810 | 0 | inline void FileDescriptorProto::set_public_dependency(int index, int32_t value) { |
8811 | 0 | _impl_.public_dependency_.Set(index, value); |
8812 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) |
8813 | 0 | } |
8814 | 0 | inline void FileDescriptorProto::_internal_add_public_dependency(int32_t value) { |
8815 | 0 | _impl_.public_dependency_.Add(value); |
8816 | 0 | } |
8817 | 0 | inline void FileDescriptorProto::add_public_dependency(int32_t value) { |
8818 | 0 | _internal_add_public_dependency(value); |
8819 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) |
8820 | 0 | } |
8821 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
8822 | 0 | FileDescriptorProto::_internal_public_dependency() const { |
8823 | 0 | return _impl_.public_dependency_; |
8824 | 0 | } |
8825 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
8826 | 0 | FileDescriptorProto::public_dependency() const { |
8827 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) |
8828 | 0 | return _internal_public_dependency(); |
8829 | 0 | } |
8830 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
8831 | 0 | FileDescriptorProto::_internal_mutable_public_dependency() { |
8832 | 0 | return &_impl_.public_dependency_; |
8833 | 0 | } |
8834 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
8835 | 0 | FileDescriptorProto::mutable_public_dependency() { |
8836 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) |
8837 | 0 | return _internal_mutable_public_dependency(); |
8838 | 0 | } |
8839 | | |
8840 | | // repeated int32 weak_dependency = 11; |
8841 | 0 | inline int FileDescriptorProto::_internal_weak_dependency_size() const { |
8842 | 0 | return _impl_.weak_dependency_.size(); |
8843 | 0 | } |
8844 | 0 | inline int FileDescriptorProto::weak_dependency_size() const { |
8845 | 0 | return _internal_weak_dependency_size(); |
8846 | 0 | } |
8847 | 0 | inline void FileDescriptorProto::clear_weak_dependency() { |
8848 | 0 | _impl_.weak_dependency_.Clear(); |
8849 | 0 | } |
8850 | 0 | inline int32_t FileDescriptorProto::_internal_weak_dependency(int index) const { |
8851 | 0 | return _impl_.weak_dependency_.Get(index); |
8852 | 0 | } |
8853 | 0 | inline int32_t FileDescriptorProto::weak_dependency(int index) const { |
8854 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) |
8855 | 0 | return _internal_weak_dependency(index); |
8856 | 0 | } |
8857 | 0 | inline void FileDescriptorProto::set_weak_dependency(int index, int32_t value) { |
8858 | 0 | _impl_.weak_dependency_.Set(index, value); |
8859 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) |
8860 | 0 | } |
8861 | 0 | inline void FileDescriptorProto::_internal_add_weak_dependency(int32_t value) { |
8862 | 0 | _impl_.weak_dependency_.Add(value); |
8863 | 0 | } |
8864 | 0 | inline void FileDescriptorProto::add_weak_dependency(int32_t value) { |
8865 | 0 | _internal_add_weak_dependency(value); |
8866 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) |
8867 | 0 | } |
8868 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
8869 | 0 | FileDescriptorProto::_internal_weak_dependency() const { |
8870 | 0 | return _impl_.weak_dependency_; |
8871 | 0 | } |
8872 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
8873 | 0 | FileDescriptorProto::weak_dependency() const { |
8874 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) |
8875 | 0 | return _internal_weak_dependency(); |
8876 | 0 | } |
8877 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
8878 | 0 | FileDescriptorProto::_internal_mutable_weak_dependency() { |
8879 | 0 | return &_impl_.weak_dependency_; |
8880 | 0 | } |
8881 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
8882 | 0 | FileDescriptorProto::mutable_weak_dependency() { |
8883 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) |
8884 | 0 | return _internal_mutable_weak_dependency(); |
8885 | 0 | } |
8886 | | |
8887 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
8888 | 0 | inline int FileDescriptorProto::_internal_message_type_size() const { |
8889 | 0 | return _impl_.message_type_.size(); |
8890 | 0 | } |
8891 | 0 | inline int FileDescriptorProto::message_type_size() const { |
8892 | 0 | return _internal_message_type_size(); |
8893 | 0 | } |
8894 | 0 | inline void FileDescriptorProto::clear_message_type() { |
8895 | 0 | _impl_.message_type_.Clear(); |
8896 | 0 | } |
8897 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) { |
8898 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) |
8899 | 0 | return _impl_.message_type_.Mutable(index); |
8900 | 0 | } |
8901 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
8902 | 0 | FileDescriptorProto::mutable_message_type() { |
8903 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) |
8904 | 0 | return &_impl_.message_type_; |
8905 | 0 | } |
8906 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const { |
8907 | 0 | return _impl_.message_type_.Get(index); |
8908 | 0 | } |
8909 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const { |
8910 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) |
8911 | 0 | return _internal_message_type(index); |
8912 | 0 | } |
8913 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() { |
8914 | 0 | return _impl_.message_type_.Add(); |
8915 | 0 | } |
8916 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() { |
8917 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_message_type(); |
8918 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) |
8919 | 0 | return _add; |
8920 | 0 | } |
8921 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
8922 | 0 | FileDescriptorProto::message_type() const { |
8923 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) |
8924 | 0 | return _impl_.message_type_; |
8925 | 0 | } |
8926 | | |
8927 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
8928 | 0 | inline int FileDescriptorProto::_internal_enum_type_size() const { |
8929 | 0 | return _impl_.enum_type_.size(); |
8930 | 0 | } |
8931 | 0 | inline int FileDescriptorProto::enum_type_size() const { |
8932 | 0 | return _internal_enum_type_size(); |
8933 | 0 | } |
8934 | 0 | inline void FileDescriptorProto::clear_enum_type() { |
8935 | 0 | _impl_.enum_type_.Clear(); |
8936 | 0 | } |
8937 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) { |
8938 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) |
8939 | 0 | return _impl_.enum_type_.Mutable(index); |
8940 | 0 | } |
8941 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
8942 | 0 | FileDescriptorProto::mutable_enum_type() { |
8943 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) |
8944 | 0 | return &_impl_.enum_type_; |
8945 | 0 | } |
8946 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const { |
8947 | 0 | return _impl_.enum_type_.Get(index); |
8948 | 0 | } |
8949 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { |
8950 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) |
8951 | 0 | return _internal_enum_type(index); |
8952 | 0 | } |
8953 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() { |
8954 | 0 | return _impl_.enum_type_.Add(); |
8955 | 0 | } |
8956 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() { |
8957 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type(); |
8958 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) |
8959 | 0 | return _add; |
8960 | 0 | } |
8961 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
8962 | 0 | FileDescriptorProto::enum_type() const { |
8963 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) |
8964 | 0 | return _impl_.enum_type_; |
8965 | 0 | } |
8966 | | |
8967 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
8968 | 0 | inline int FileDescriptorProto::_internal_service_size() const { |
8969 | 0 | return _impl_.service_.size(); |
8970 | 0 | } |
8971 | 0 | inline int FileDescriptorProto::service_size() const { |
8972 | 0 | return _internal_service_size(); |
8973 | 0 | } |
8974 | 0 | inline void FileDescriptorProto::clear_service() { |
8975 | 0 | _impl_.service_.Clear(); |
8976 | 0 | } |
8977 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) { |
8978 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) |
8979 | 0 | return _impl_.service_.Mutable(index); |
8980 | 0 | } |
8981 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* |
8982 | 0 | FileDescriptorProto::mutable_service() { |
8983 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) |
8984 | 0 | return &_impl_.service_; |
8985 | 0 | } |
8986 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const { |
8987 | 0 | return _impl_.service_.Get(index); |
8988 | 0 | } |
8989 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const { |
8990 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) |
8991 | 0 | return _internal_service(index); |
8992 | 0 | } |
8993 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() { |
8994 | 0 | return _impl_.service_.Add(); |
8995 | 0 | } |
8996 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() { |
8997 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _add = _internal_add_service(); |
8998 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) |
8999 | 0 | return _add; |
9000 | 0 | } |
9001 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& |
9002 | 0 | FileDescriptorProto::service() const { |
9003 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) |
9004 | 0 | return _impl_.service_; |
9005 | 0 | } |
9006 | | |
9007 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
9008 | 0 | inline int FileDescriptorProto::_internal_extension_size() const { |
9009 | 0 | return _impl_.extension_.size(); |
9010 | 0 | } |
9011 | 0 | inline int FileDescriptorProto::extension_size() const { |
9012 | 0 | return _internal_extension_size(); |
9013 | 0 | } |
9014 | 0 | inline void FileDescriptorProto::clear_extension() { |
9015 | 0 | _impl_.extension_.Clear(); |
9016 | 0 | } |
9017 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) { |
9018 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) |
9019 | 0 | return _impl_.extension_.Mutable(index); |
9020 | 0 | } |
9021 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
9022 | 0 | FileDescriptorProto::mutable_extension() { |
9023 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) |
9024 | 0 | return &_impl_.extension_; |
9025 | 0 | } |
9026 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const { |
9027 | 0 | return _impl_.extension_.Get(index); |
9028 | 0 | } |
9029 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const { |
9030 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) |
9031 | 0 | return _internal_extension(index); |
9032 | 0 | } |
9033 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() { |
9034 | 0 | return _impl_.extension_.Add(); |
9035 | 0 | } |
9036 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() { |
9037 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension(); |
9038 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) |
9039 | 0 | return _add; |
9040 | 0 | } |
9041 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
9042 | 0 | FileDescriptorProto::extension() const { |
9043 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) |
9044 | 0 | return _impl_.extension_; |
9045 | 0 | } |
9046 | | |
9047 | | // optional .google.protobuf.FileOptions options = 8; |
9048 | 0 | inline bool FileDescriptorProto::_internal_has_options() const { |
9049 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
9050 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
9051 | 0 | return value; |
9052 | 0 | } |
9053 | 0 | inline bool FileDescriptorProto::has_options() const { |
9054 | 0 | return _internal_has_options(); |
9055 | 0 | } |
9056 | 0 | inline void FileDescriptorProto::clear_options() { |
9057 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
9058 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9059 | 0 | } |
9060 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const { |
9061 | 0 | const ::PROTOBUF_NAMESPACE_ID::FileOptions* p = _impl_.options_; |
9062 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FileOptions&>( |
9063 | 0 | ::PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_); |
9064 | 0 | } |
9065 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const { |
9066 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) |
9067 | 0 | return _internal_options(); |
9068 | 0 | } |
9069 | | inline void FileDescriptorProto::unsafe_arena_set_allocated_options( |
9070 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* options) { |
9071 | 0 | if (GetArenaForAllocation() == nullptr) { |
9072 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
9073 | 0 | } |
9074 | 0 | _impl_.options_ = options; |
9075 | 0 | if (options) { |
9076 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
9077 | 0 | } else { |
9078 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9079 | 0 | } |
9080 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options) |
9081 | 0 | } |
9082 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() { |
9083 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9084 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = _impl_.options_; |
9085 | 0 | _impl_.options_ = nullptr; |
9086 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9087 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9088 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9089 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9090 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9091 | 0 | if (GetArenaForAllocation() != nullptr) { |
9092 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9093 | 0 | } |
9094 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9095 | 0 | return temp; |
9096 | 0 | } |
9097 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { |
9098 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
9099 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9100 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = _impl_.options_; |
9101 | 0 | _impl_.options_ = nullptr; |
9102 | 0 | return temp; |
9103 | 0 | } |
9104 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() { |
9105 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
9106 | 0 | if (_impl_.options_ == nullptr) { |
9107 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(GetArenaForAllocation()); |
9108 | 0 | _impl_.options_ = p; |
9109 | 0 | } |
9110 | 0 | return _impl_.options_; |
9111 | 0 | } |
9112 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() { |
9113 | 0 | ::PROTOBUF_NAMESPACE_ID::FileOptions* _msg = _internal_mutable_options(); |
9114 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) |
9115 | 0 | return _msg; |
9116 | 0 | } |
9117 | 0 | inline void FileDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options) { |
9118 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9119 | 0 | if (message_arena == nullptr) { |
9120 | 0 | delete _impl_.options_; |
9121 | 0 | } |
9122 | 0 | if (options) { |
9123 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9124 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
9125 | 0 | if (message_arena != submessage_arena) { |
9126 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9127 | 0 | message_arena, options, submessage_arena); |
9128 | 0 | } |
9129 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
9130 | 0 | } else { |
9131 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
9132 | 0 | } |
9133 | 0 | _impl_.options_ = options; |
9134 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) |
9135 | 0 | } |
9136 | | |
9137 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
9138 | 0 | inline bool FileDescriptorProto::_internal_has_source_code_info() const { |
9139 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
9140 | 0 | PROTOBUF_ASSUME(!value || _impl_.source_code_info_ != nullptr); |
9141 | 0 | return value; |
9142 | 0 | } |
9143 | 0 | inline bool FileDescriptorProto::has_source_code_info() const { |
9144 | 0 | return _internal_has_source_code_info(); |
9145 | 0 | } |
9146 | 0 | inline void FileDescriptorProto::clear_source_code_info() { |
9147 | 0 | if (_impl_.source_code_info_ != nullptr) _impl_.source_code_info_->Clear(); |
9148 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
9149 | 0 | } |
9150 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { |
9151 | 0 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = _impl_.source_code_info_; |
9152 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo&>( |
9153 | 0 | ::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_); |
9154 | 0 | } |
9155 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const { |
9156 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) |
9157 | 0 | return _internal_source_code_info(); |
9158 | 0 | } |
9159 | | inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info( |
9160 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { |
9161 | 0 | if (GetArenaForAllocation() == nullptr) { |
9162 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_code_info_); |
9163 | 0 | } |
9164 | 0 | _impl_.source_code_info_ = source_code_info; |
9165 | 0 | if (source_code_info) { |
9166 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
9167 | 0 | } else { |
9168 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
9169 | 0 | } |
9170 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
9171 | 0 | } |
9172 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
9173 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
9174 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = _impl_.source_code_info_; |
9175 | 0 | _impl_.source_code_info_ = nullptr; |
9176 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9177 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9178 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9179 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9180 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9181 | 0 | if (GetArenaForAllocation() != nullptr) { |
9182 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9183 | 0 | } |
9184 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9185 | 0 | return temp; |
9186 | 0 | } |
9187 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { |
9188 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
9189 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
9190 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = _impl_.source_code_info_; |
9191 | 0 | _impl_.source_code_info_ = nullptr; |
9192 | 0 | return temp; |
9193 | 0 | } |
9194 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() { |
9195 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
9196 | 0 | if (_impl_.source_code_info_ == nullptr) { |
9197 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(GetArenaForAllocation()); |
9198 | 0 | _impl_.source_code_info_ = p; |
9199 | 0 | } |
9200 | 0 | return _impl_.source_code_info_; |
9201 | 0 | } |
9202 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() { |
9203 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _msg = _internal_mutable_source_code_info(); |
9204 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) |
9205 | 0 | return _msg; |
9206 | 0 | } |
9207 | 0 | inline void FileDescriptorProto::set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { |
9208 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9209 | 0 | if (message_arena == nullptr) { |
9210 | 0 | delete _impl_.source_code_info_; |
9211 | 0 | } |
9212 | 0 | if (source_code_info) { |
9213 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9214 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source_code_info); |
9215 | 0 | if (message_arena != submessage_arena) { |
9216 | 0 | source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9217 | 0 | message_arena, source_code_info, submessage_arena); |
9218 | 0 | } |
9219 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
9220 | 0 | } else { |
9221 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
9222 | 0 | } |
9223 | 0 | _impl_.source_code_info_ = source_code_info; |
9224 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
9225 | 0 | } |
9226 | | |
9227 | | // optional string syntax = 12; |
9228 | 0 | inline bool FileDescriptorProto::_internal_has_syntax() const { |
9229 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
9230 | 0 | return value; |
9231 | 0 | } |
9232 | 0 | inline bool FileDescriptorProto::has_syntax() const { |
9233 | 0 | return _internal_has_syntax(); |
9234 | 0 | } |
9235 | 0 | inline void FileDescriptorProto::clear_syntax() { |
9236 | 0 | _impl_.syntax_.ClearToEmpty(); |
9237 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9238 | 0 | } |
9239 | 0 | inline const std::string& FileDescriptorProto::syntax() const { |
9240 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) |
9241 | 0 | return _internal_syntax(); |
9242 | 0 | } |
9243 | | template <typename ArgT0, typename... ArgT> |
9244 | | inline PROTOBUF_ALWAYS_INLINE |
9245 | | void FileDescriptorProto::set_syntax(ArgT0&& arg0, ArgT... args) { |
9246 | | _impl_._has_bits_[0] |= 0x00000004u; |
9247 | | _impl_.syntax_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
9248 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) |
9249 | | } |
9250 | 0 | inline std::string* FileDescriptorProto::mutable_syntax() { |
9251 | 0 | std::string* _s = _internal_mutable_syntax(); |
9252 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) |
9253 | 0 | return _s; |
9254 | 0 | } |
9255 | 0 | inline const std::string& FileDescriptorProto::_internal_syntax() const { |
9256 | 0 | return _impl_.syntax_.Get(); |
9257 | 0 | } |
9258 | 0 | inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) { |
9259 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9260 | 0 | _impl_.syntax_.Set(value, GetArenaForAllocation()); |
9261 | 0 | } |
9262 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_syntax() { |
9263 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9264 | 0 | return _impl_.syntax_.Mutable(GetArenaForAllocation()); |
9265 | 0 | } |
9266 | 0 | inline std::string* FileDescriptorProto::release_syntax() { |
9267 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
9268 | 0 | if (!_internal_has_syntax()) { |
9269 | 0 | return nullptr; |
9270 | 0 | } |
9271 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9272 | 0 | auto* p = _impl_.syntax_.Release(); |
9273 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9274 | 0 | if (_impl_.syntax_.IsDefault()) { |
9275 | 0 | _impl_.syntax_.Set("", GetArenaForAllocation()); |
9276 | 0 | } |
9277 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9278 | 0 | return p; |
9279 | 0 | } |
9280 | 0 | inline void FileDescriptorProto::set_allocated_syntax(std::string* syntax) { |
9281 | 0 | if (syntax != nullptr) { |
9282 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9283 | 0 | } else { |
9284 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9285 | 0 | } |
9286 | 0 | _impl_.syntax_.SetAllocated(syntax, GetArenaForAllocation()); |
9287 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9288 | 0 | if (_impl_.syntax_.IsDefault()) { |
9289 | 0 | _impl_.syntax_.Set("", GetArenaForAllocation()); |
9290 | 0 | } |
9291 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9292 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
9293 | 0 | } |
9294 | | |
9295 | | // ------------------------------------------------------------------- |
9296 | | |
9297 | | // DescriptorProto_ExtensionRange |
9298 | | |
9299 | | // optional int32 start = 1; |
9300 | 0 | inline bool DescriptorProto_ExtensionRange::_internal_has_start() const { |
9301 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9302 | 0 | return value; |
9303 | 0 | } |
9304 | 0 | inline bool DescriptorProto_ExtensionRange::has_start() const { |
9305 | 0 | return _internal_has_start(); |
9306 | 0 | } |
9307 | 0 | inline void DescriptorProto_ExtensionRange::clear_start() { |
9308 | 0 | _impl_.start_ = 0; |
9309 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9310 | 0 | } |
9311 | 0 | inline int32_t DescriptorProto_ExtensionRange::_internal_start() const { |
9312 | 0 | return _impl_.start_; |
9313 | 0 | } |
9314 | 0 | inline int32_t DescriptorProto_ExtensionRange::start() const { |
9315 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) |
9316 | 0 | return _internal_start(); |
9317 | 0 | } |
9318 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_start(int32_t value) { |
9319 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9320 | 0 | _impl_.start_ = value; |
9321 | 0 | } |
9322 | 0 | inline void DescriptorProto_ExtensionRange::set_start(int32_t value) { |
9323 | 0 | _internal_set_start(value); |
9324 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) |
9325 | 0 | } |
9326 | | |
9327 | | // optional int32 end = 2; |
9328 | 0 | inline bool DescriptorProto_ExtensionRange::_internal_has_end() const { |
9329 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
9330 | 0 | return value; |
9331 | 0 | } |
9332 | 0 | inline bool DescriptorProto_ExtensionRange::has_end() const { |
9333 | 0 | return _internal_has_end(); |
9334 | 0 | } |
9335 | 0 | inline void DescriptorProto_ExtensionRange::clear_end() { |
9336 | 0 | _impl_.end_ = 0; |
9337 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9338 | 0 | } |
9339 | 0 | inline int32_t DescriptorProto_ExtensionRange::_internal_end() const { |
9340 | 0 | return _impl_.end_; |
9341 | 0 | } |
9342 | 0 | inline int32_t DescriptorProto_ExtensionRange::end() const { |
9343 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) |
9344 | 0 | return _internal_end(); |
9345 | 0 | } |
9346 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_end(int32_t value) { |
9347 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9348 | 0 | _impl_.end_ = value; |
9349 | 0 | } |
9350 | 0 | inline void DescriptorProto_ExtensionRange::set_end(int32_t value) { |
9351 | 0 | _internal_set_end(value); |
9352 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) |
9353 | 0 | } |
9354 | | |
9355 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
9356 | 0 | inline bool DescriptorProto_ExtensionRange::_internal_has_options() const { |
9357 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9358 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
9359 | 0 | return value; |
9360 | 0 | } |
9361 | 0 | inline bool DescriptorProto_ExtensionRange::has_options() const { |
9362 | 0 | return _internal_has_options(); |
9363 | 0 | } |
9364 | 0 | inline void DescriptorProto_ExtensionRange::clear_options() { |
9365 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
9366 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9367 | 0 | } |
9368 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { |
9369 | 0 | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = _impl_.options_; |
9370 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&>( |
9371 | 0 | ::PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_); |
9372 | 0 | } |
9373 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const { |
9374 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) |
9375 | 0 | return _internal_options(); |
9376 | 0 | } |
9377 | | inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options( |
9378 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { |
9379 | 0 | if (GetArenaForAllocation() == nullptr) { |
9380 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
9381 | 0 | } |
9382 | 0 | _impl_.options_ = options; |
9383 | 0 | if (options) { |
9384 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9385 | 0 | } else { |
9386 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9387 | 0 | } |
9388 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
9389 | 0 | } |
9390 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { |
9391 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9392 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = _impl_.options_; |
9393 | 0 | _impl_.options_ = nullptr; |
9394 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9395 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9396 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9397 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9398 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9399 | 0 | if (GetArenaForAllocation() != nullptr) { |
9400 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9401 | 0 | } |
9402 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9403 | 0 | return temp; |
9404 | 0 | } |
9405 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { |
9406 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
9407 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9408 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = _impl_.options_; |
9409 | 0 | _impl_.options_ = nullptr; |
9410 | 0 | return temp; |
9411 | 0 | } |
9412 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() { |
9413 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9414 | 0 | if (_impl_.options_ == nullptr) { |
9415 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(GetArenaForAllocation()); |
9416 | 0 | _impl_.options_ = p; |
9417 | 0 | } |
9418 | 0 | return _impl_.options_; |
9419 | 0 | } |
9420 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() { |
9421 | 0 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _msg = _internal_mutable_options(); |
9422 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) |
9423 | 0 | return _msg; |
9424 | 0 | } |
9425 | 0 | inline void DescriptorProto_ExtensionRange::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { |
9426 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9427 | 0 | if (message_arena == nullptr) { |
9428 | 0 | delete _impl_.options_; |
9429 | 0 | } |
9430 | 0 | if (options) { |
9431 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9432 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
9433 | 0 | if (message_arena != submessage_arena) { |
9434 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9435 | 0 | message_arena, options, submessage_arena); |
9436 | 0 | } |
9437 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9438 | 0 | } else { |
9439 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9440 | 0 | } |
9441 | 0 | _impl_.options_ = options; |
9442 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
9443 | 0 | } |
9444 | | |
9445 | | // ------------------------------------------------------------------- |
9446 | | |
9447 | | // DescriptorProto_ReservedRange |
9448 | | |
9449 | | // optional int32 start = 1; |
9450 | 0 | inline bool DescriptorProto_ReservedRange::_internal_has_start() const { |
9451 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9452 | 0 | return value; |
9453 | 0 | } |
9454 | 0 | inline bool DescriptorProto_ReservedRange::has_start() const { |
9455 | 0 | return _internal_has_start(); |
9456 | 0 | } |
9457 | 0 | inline void DescriptorProto_ReservedRange::clear_start() { |
9458 | 0 | _impl_.start_ = 0; |
9459 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9460 | 0 | } |
9461 | 0 | inline int32_t DescriptorProto_ReservedRange::_internal_start() const { |
9462 | 0 | return _impl_.start_; |
9463 | 0 | } |
9464 | 0 | inline int32_t DescriptorProto_ReservedRange::start() const { |
9465 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) |
9466 | 0 | return _internal_start(); |
9467 | 0 | } |
9468 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_start(int32_t value) { |
9469 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9470 | 0 | _impl_.start_ = value; |
9471 | 0 | } |
9472 | 0 | inline void DescriptorProto_ReservedRange::set_start(int32_t value) { |
9473 | 0 | _internal_set_start(value); |
9474 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) |
9475 | 0 | } |
9476 | | |
9477 | | // optional int32 end = 2; |
9478 | 0 | inline bool DescriptorProto_ReservedRange::_internal_has_end() const { |
9479 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9480 | 0 | return value; |
9481 | 0 | } |
9482 | 0 | inline bool DescriptorProto_ReservedRange::has_end() const { |
9483 | 0 | return _internal_has_end(); |
9484 | 0 | } |
9485 | 0 | inline void DescriptorProto_ReservedRange::clear_end() { |
9486 | 0 | _impl_.end_ = 0; |
9487 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9488 | 0 | } |
9489 | 0 | inline int32_t DescriptorProto_ReservedRange::_internal_end() const { |
9490 | 0 | return _impl_.end_; |
9491 | 0 | } |
9492 | 0 | inline int32_t DescriptorProto_ReservedRange::end() const { |
9493 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) |
9494 | 0 | return _internal_end(); |
9495 | 0 | } |
9496 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_end(int32_t value) { |
9497 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9498 | 0 | _impl_.end_ = value; |
9499 | 0 | } |
9500 | 0 | inline void DescriptorProto_ReservedRange::set_end(int32_t value) { |
9501 | 0 | _internal_set_end(value); |
9502 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) |
9503 | 0 | } |
9504 | | |
9505 | | // ------------------------------------------------------------------- |
9506 | | |
9507 | | // DescriptorProto |
9508 | | |
9509 | | // optional string name = 1; |
9510 | 0 | inline bool DescriptorProto::_internal_has_name() const { |
9511 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9512 | 0 | return value; |
9513 | 0 | } |
9514 | 0 | inline bool DescriptorProto::has_name() const { |
9515 | 0 | return _internal_has_name(); |
9516 | 0 | } |
9517 | 0 | inline void DescriptorProto::clear_name() { |
9518 | 0 | _impl_.name_.ClearToEmpty(); |
9519 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9520 | 0 | } |
9521 | 0 | inline const std::string& DescriptorProto::name() const { |
9522 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
9523 | 0 | return _internal_name(); |
9524 | 0 | } |
9525 | | template <typename ArgT0, typename... ArgT> |
9526 | | inline PROTOBUF_ALWAYS_INLINE |
9527 | | void DescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
9528 | | _impl_._has_bits_[0] |= 0x00000001u; |
9529 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
9530 | | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
9531 | | } |
9532 | 0 | inline std::string* DescriptorProto::mutable_name() { |
9533 | 0 | std::string* _s = _internal_mutable_name(); |
9534 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) |
9535 | 0 | return _s; |
9536 | 0 | } |
9537 | 0 | inline const std::string& DescriptorProto::_internal_name() const { |
9538 | 0 | return _impl_.name_.Get(); |
9539 | 0 | } |
9540 | 0 | inline void DescriptorProto::_internal_set_name(const std::string& value) { |
9541 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9542 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
9543 | 0 | } |
9544 | 0 | inline std::string* DescriptorProto::_internal_mutable_name() { |
9545 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9546 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
9547 | 0 | } |
9548 | 0 | inline std::string* DescriptorProto::release_name() { |
9549 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
9550 | 0 | if (!_internal_has_name()) { |
9551 | 0 | return nullptr; |
9552 | 0 | } |
9553 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9554 | 0 | auto* p = _impl_.name_.Release(); |
9555 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9556 | 0 | if (_impl_.name_.IsDefault()) { |
9557 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9558 | 0 | } |
9559 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9560 | 0 | return p; |
9561 | 0 | } |
9562 | 0 | inline void DescriptorProto::set_allocated_name(std::string* name) { |
9563 | 0 | if (name != nullptr) { |
9564 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9565 | 0 | } else { |
9566 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9567 | 0 | } |
9568 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
9569 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9570 | 0 | if (_impl_.name_.IsDefault()) { |
9571 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9572 | 0 | } |
9573 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9574 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) |
9575 | 0 | } |
9576 | | |
9577 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
9578 | 0 | inline int DescriptorProto::_internal_field_size() const { |
9579 | 0 | return _impl_.field_.size(); |
9580 | 0 | } |
9581 | 0 | inline int DescriptorProto::field_size() const { |
9582 | 0 | return _internal_field_size(); |
9583 | 0 | } |
9584 | 0 | inline void DescriptorProto::clear_field() { |
9585 | 0 | _impl_.field_.Clear(); |
9586 | 0 | } |
9587 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { |
9588 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) |
9589 | 0 | return _impl_.field_.Mutable(index); |
9590 | 0 | } |
9591 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
9592 | 0 | DescriptorProto::mutable_field() { |
9593 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) |
9594 | 0 | return &_impl_.field_; |
9595 | 0 | } |
9596 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const { |
9597 | 0 | return _impl_.field_.Get(index); |
9598 | 0 | } |
9599 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const { |
9600 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) |
9601 | 0 | return _internal_field(index); |
9602 | 0 | } |
9603 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() { |
9604 | 0 | return _impl_.field_.Add(); |
9605 | 0 | } |
9606 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() { |
9607 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_field(); |
9608 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) |
9609 | 0 | return _add; |
9610 | 0 | } |
9611 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
9612 | 0 | DescriptorProto::field() const { |
9613 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) |
9614 | 0 | return _impl_.field_; |
9615 | 0 | } |
9616 | | |
9617 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
9618 | 0 | inline int DescriptorProto::_internal_extension_size() const { |
9619 | 0 | return _impl_.extension_.size(); |
9620 | 0 | } |
9621 | 0 | inline int DescriptorProto::extension_size() const { |
9622 | 0 | return _internal_extension_size(); |
9623 | 0 | } |
9624 | 0 | inline void DescriptorProto::clear_extension() { |
9625 | 0 | _impl_.extension_.Clear(); |
9626 | 0 | } |
9627 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) { |
9628 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) |
9629 | 0 | return _impl_.extension_.Mutable(index); |
9630 | 0 | } |
9631 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
9632 | 0 | DescriptorProto::mutable_extension() { |
9633 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) |
9634 | 0 | return &_impl_.extension_; |
9635 | 0 | } |
9636 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const { |
9637 | 0 | return _impl_.extension_.Get(index); |
9638 | 0 | } |
9639 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const { |
9640 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) |
9641 | 0 | return _internal_extension(index); |
9642 | 0 | } |
9643 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() { |
9644 | 0 | return _impl_.extension_.Add(); |
9645 | 0 | } |
9646 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() { |
9647 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension(); |
9648 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) |
9649 | 0 | return _add; |
9650 | 0 | } |
9651 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
9652 | 0 | DescriptorProto::extension() const { |
9653 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) |
9654 | 0 | return _impl_.extension_; |
9655 | 0 | } |
9656 | | |
9657 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
9658 | 0 | inline int DescriptorProto::_internal_nested_type_size() const { |
9659 | 0 | return _impl_.nested_type_.size(); |
9660 | 0 | } |
9661 | 0 | inline int DescriptorProto::nested_type_size() const { |
9662 | 0 | return _internal_nested_type_size(); |
9663 | 0 | } |
9664 | 0 | inline void DescriptorProto::clear_nested_type() { |
9665 | 0 | _impl_.nested_type_.Clear(); |
9666 | 0 | } |
9667 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) { |
9668 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) |
9669 | 0 | return _impl_.nested_type_.Mutable(index); |
9670 | 0 | } |
9671 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
9672 | 0 | DescriptorProto::mutable_nested_type() { |
9673 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) |
9674 | 0 | return &_impl_.nested_type_; |
9675 | 0 | } |
9676 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const { |
9677 | 0 | return _impl_.nested_type_.Get(index); |
9678 | 0 | } |
9679 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const { |
9680 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) |
9681 | 0 | return _internal_nested_type(index); |
9682 | 0 | } |
9683 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() { |
9684 | 0 | return _impl_.nested_type_.Add(); |
9685 | 0 | } |
9686 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() { |
9687 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_nested_type(); |
9688 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) |
9689 | 0 | return _add; |
9690 | 0 | } |
9691 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
9692 | 0 | DescriptorProto::nested_type() const { |
9693 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) |
9694 | 0 | return _impl_.nested_type_; |
9695 | 0 | } |
9696 | | |
9697 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
9698 | 0 | inline int DescriptorProto::_internal_enum_type_size() const { |
9699 | 0 | return _impl_.enum_type_.size(); |
9700 | 0 | } |
9701 | 0 | inline int DescriptorProto::enum_type_size() const { |
9702 | 0 | return _internal_enum_type_size(); |
9703 | 0 | } |
9704 | 0 | inline void DescriptorProto::clear_enum_type() { |
9705 | 0 | _impl_.enum_type_.Clear(); |
9706 | 0 | } |
9707 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) { |
9708 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) |
9709 | 0 | return _impl_.enum_type_.Mutable(index); |
9710 | 0 | } |
9711 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
9712 | 0 | DescriptorProto::mutable_enum_type() { |
9713 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) |
9714 | 0 | return &_impl_.enum_type_; |
9715 | 0 | } |
9716 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const { |
9717 | 0 | return _impl_.enum_type_.Get(index); |
9718 | 0 | } |
9719 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { |
9720 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) |
9721 | 0 | return _internal_enum_type(index); |
9722 | 0 | } |
9723 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() { |
9724 | 0 | return _impl_.enum_type_.Add(); |
9725 | 0 | } |
9726 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() { |
9727 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type(); |
9728 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) |
9729 | 0 | return _add; |
9730 | 0 | } |
9731 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
9732 | 0 | DescriptorProto::enum_type() const { |
9733 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) |
9734 | 0 | return _impl_.enum_type_; |
9735 | 0 | } |
9736 | | |
9737 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
9738 | 0 | inline int DescriptorProto::_internal_extension_range_size() const { |
9739 | 0 | return _impl_.extension_range_.size(); |
9740 | 0 | } |
9741 | 0 | inline int DescriptorProto::extension_range_size() const { |
9742 | 0 | return _internal_extension_range_size(); |
9743 | 0 | } |
9744 | 0 | inline void DescriptorProto::clear_extension_range() { |
9745 | 0 | _impl_.extension_range_.Clear(); |
9746 | 0 | } |
9747 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) { |
9748 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) |
9749 | 0 | return _impl_.extension_range_.Mutable(index); |
9750 | 0 | } |
9751 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* |
9752 | 0 | DescriptorProto::mutable_extension_range() { |
9753 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) |
9754 | 0 | return &_impl_.extension_range_; |
9755 | 0 | } |
9756 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const { |
9757 | 0 | return _impl_.extension_range_.Get(index); |
9758 | 0 | } |
9759 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const { |
9760 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) |
9761 | 0 | return _internal_extension_range(index); |
9762 | 0 | } |
9763 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() { |
9764 | 0 | return _impl_.extension_range_.Add(); |
9765 | 0 | } |
9766 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() { |
9767 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _add = _internal_add_extension_range(); |
9768 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) |
9769 | 0 | return _add; |
9770 | 0 | } |
9771 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& |
9772 | 0 | DescriptorProto::extension_range() const { |
9773 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) |
9774 | 0 | return _impl_.extension_range_; |
9775 | 0 | } |
9776 | | |
9777 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
9778 | 0 | inline int DescriptorProto::_internal_oneof_decl_size() const { |
9779 | 0 | return _impl_.oneof_decl_.size(); |
9780 | 0 | } |
9781 | 0 | inline int DescriptorProto::oneof_decl_size() const { |
9782 | 0 | return _internal_oneof_decl_size(); |
9783 | 0 | } |
9784 | 0 | inline void DescriptorProto::clear_oneof_decl() { |
9785 | 0 | _impl_.oneof_decl_.Clear(); |
9786 | 0 | } |
9787 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) { |
9788 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) |
9789 | 0 | return _impl_.oneof_decl_.Mutable(index); |
9790 | 0 | } |
9791 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* |
9792 | 0 | DescriptorProto::mutable_oneof_decl() { |
9793 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) |
9794 | 0 | return &_impl_.oneof_decl_; |
9795 | 0 | } |
9796 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const { |
9797 | 0 | return _impl_.oneof_decl_.Get(index); |
9798 | 0 | } |
9799 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const { |
9800 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) |
9801 | 0 | return _internal_oneof_decl(index); |
9802 | 0 | } |
9803 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() { |
9804 | 0 | return _impl_.oneof_decl_.Add(); |
9805 | 0 | } |
9806 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() { |
9807 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _add = _internal_add_oneof_decl(); |
9808 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) |
9809 | 0 | return _add; |
9810 | 0 | } |
9811 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& |
9812 | 0 | DescriptorProto::oneof_decl() const { |
9813 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) |
9814 | 0 | return _impl_.oneof_decl_; |
9815 | 0 | } |
9816 | | |
9817 | | // optional .google.protobuf.MessageOptions options = 7; |
9818 | 0 | inline bool DescriptorProto::_internal_has_options() const { |
9819 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9820 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
9821 | 0 | return value; |
9822 | 0 | } |
9823 | 0 | inline bool DescriptorProto::has_options() const { |
9824 | 0 | return _internal_has_options(); |
9825 | 0 | } |
9826 | 0 | inline void DescriptorProto::clear_options() { |
9827 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
9828 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9829 | 0 | } |
9830 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const { |
9831 | 0 | const ::PROTOBUF_NAMESPACE_ID::MessageOptions* p = _impl_.options_; |
9832 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MessageOptions&>( |
9833 | 0 | ::PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_); |
9834 | 0 | } |
9835 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const { |
9836 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
9837 | 0 | return _internal_options(); |
9838 | 0 | } |
9839 | | inline void DescriptorProto::unsafe_arena_set_allocated_options( |
9840 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options) { |
9841 | 0 | if (GetArenaForAllocation() == nullptr) { |
9842 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
9843 | 0 | } |
9844 | 0 | _impl_.options_ = options; |
9845 | 0 | if (options) { |
9846 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9847 | 0 | } else { |
9848 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9849 | 0 | } |
9850 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options) |
9851 | 0 | } |
9852 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() { |
9853 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9854 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = _impl_.options_; |
9855 | 0 | _impl_.options_ = nullptr; |
9856 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9857 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9858 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9859 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9860 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9861 | 0 | if (GetArenaForAllocation() != nullptr) { |
9862 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9863 | 0 | } |
9864 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9865 | 0 | return temp; |
9866 | 0 | } |
9867 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() { |
9868 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
9869 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9870 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = _impl_.options_; |
9871 | 0 | _impl_.options_ = nullptr; |
9872 | 0 | return temp; |
9873 | 0 | } |
9874 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() { |
9875 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9876 | 0 | if (_impl_.options_ == nullptr) { |
9877 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(GetArenaForAllocation()); |
9878 | 0 | _impl_.options_ = p; |
9879 | 0 | } |
9880 | 0 | return _impl_.options_; |
9881 | 0 | } |
9882 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() { |
9883 | 0 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* _msg = _internal_mutable_options(); |
9884 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) |
9885 | 0 | return _msg; |
9886 | 0 | } |
9887 | 0 | inline void DescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options) { |
9888 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9889 | 0 | if (message_arena == nullptr) { |
9890 | 0 | delete _impl_.options_; |
9891 | 0 | } |
9892 | 0 | if (options) { |
9893 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9894 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
9895 | 0 | if (message_arena != submessage_arena) { |
9896 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9897 | 0 | message_arena, options, submessage_arena); |
9898 | 0 | } |
9899 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9900 | 0 | } else { |
9901 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9902 | 0 | } |
9903 | 0 | _impl_.options_ = options; |
9904 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) |
9905 | 0 | } |
9906 | | |
9907 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
9908 | 0 | inline int DescriptorProto::_internal_reserved_range_size() const { |
9909 | 0 | return _impl_.reserved_range_.size(); |
9910 | 0 | } |
9911 | 0 | inline int DescriptorProto::reserved_range_size() const { |
9912 | 0 | return _internal_reserved_range_size(); |
9913 | 0 | } |
9914 | 0 | inline void DescriptorProto::clear_reserved_range() { |
9915 | 0 | _impl_.reserved_range_.Clear(); |
9916 | 0 | } |
9917 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) { |
9918 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) |
9919 | 0 | return _impl_.reserved_range_.Mutable(index); |
9920 | 0 | } |
9921 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* |
9922 | 0 | DescriptorProto::mutable_reserved_range() { |
9923 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) |
9924 | 0 | return &_impl_.reserved_range_; |
9925 | 0 | } |
9926 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const { |
9927 | 0 | return _impl_.reserved_range_.Get(index); |
9928 | 0 | } |
9929 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const { |
9930 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) |
9931 | 0 | return _internal_reserved_range(index); |
9932 | 0 | } |
9933 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() { |
9934 | 0 | return _impl_.reserved_range_.Add(); |
9935 | 0 | } |
9936 | 0 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() { |
9937 | 0 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _add = _internal_add_reserved_range(); |
9938 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) |
9939 | 0 | return _add; |
9940 | 0 | } |
9941 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& |
9942 | 0 | DescriptorProto::reserved_range() const { |
9943 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) |
9944 | 0 | return _impl_.reserved_range_; |
9945 | 0 | } |
9946 | | |
9947 | | // repeated string reserved_name = 10; |
9948 | 0 | inline int DescriptorProto::_internal_reserved_name_size() const { |
9949 | 0 | return _impl_.reserved_name_.size(); |
9950 | 0 | } |
9951 | 0 | inline int DescriptorProto::reserved_name_size() const { |
9952 | 0 | return _internal_reserved_name_size(); |
9953 | 0 | } |
9954 | 0 | inline void DescriptorProto::clear_reserved_name() { |
9955 | 0 | _impl_.reserved_name_.Clear(); |
9956 | 0 | } |
9957 | 0 | inline std::string* DescriptorProto::add_reserved_name() { |
9958 | 0 | std::string* _s = _internal_add_reserved_name(); |
9959 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
9960 | 0 | return _s; |
9961 | 0 | } |
9962 | 0 | inline const std::string& DescriptorProto::_internal_reserved_name(int index) const { |
9963 | 0 | return _impl_.reserved_name_.Get(index); |
9964 | 0 | } |
9965 | 0 | inline const std::string& DescriptorProto::reserved_name(int index) const { |
9966 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) |
9967 | 0 | return _internal_reserved_name(index); |
9968 | 0 | } |
9969 | 0 | inline std::string* DescriptorProto::mutable_reserved_name(int index) { |
9970 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) |
9971 | 0 | return _impl_.reserved_name_.Mutable(index); |
9972 | 0 | } |
9973 | 0 | inline void DescriptorProto::set_reserved_name(int index, const std::string& value) { |
9974 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
9975 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
9976 | 0 | } |
9977 | 0 | inline void DescriptorProto::set_reserved_name(int index, std::string&& value) { |
9978 | 0 | _impl_.reserved_name_.Mutable(index)->assign(std::move(value)); |
9979 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
9980 | 0 | } |
9981 | 0 | inline void DescriptorProto::set_reserved_name(int index, const char* value) { |
9982 | 0 | GOOGLE_DCHECK(value != nullptr); |
9983 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
9984 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name) |
9985 | 0 | } |
9986 | 0 | inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) { |
9987 | 0 | _impl_.reserved_name_.Mutable(index)->assign( |
9988 | 0 | reinterpret_cast<const char*>(value), size); |
9989 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) |
9990 | 0 | } |
9991 | 0 | inline std::string* DescriptorProto::_internal_add_reserved_name() { |
9992 | 0 | return _impl_.reserved_name_.Add(); |
9993 | 0 | } |
9994 | 0 | inline void DescriptorProto::add_reserved_name(const std::string& value) { |
9995 | 0 | _impl_.reserved_name_.Add()->assign(value); |
9996 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
9997 | 0 | } |
9998 | 0 | inline void DescriptorProto::add_reserved_name(std::string&& value) { |
9999 | 0 | _impl_.reserved_name_.Add(std::move(value)); |
10000 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
10001 | 0 | } |
10002 | 0 | inline void DescriptorProto::add_reserved_name(const char* value) { |
10003 | 0 | GOOGLE_DCHECK(value != nullptr); |
10004 | 0 | _impl_.reserved_name_.Add()->assign(value); |
10005 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name) |
10006 | 0 | } |
10007 | 0 | inline void DescriptorProto::add_reserved_name(const char* value, size_t size) { |
10008 | 0 | _impl_.reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
10009 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name) |
10010 | 0 | } |
10011 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
10012 | 0 | DescriptorProto::reserved_name() const { |
10013 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) |
10014 | 0 | return _impl_.reserved_name_; |
10015 | 0 | } |
10016 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
10017 | 0 | DescriptorProto::mutable_reserved_name() { |
10018 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) |
10019 | 0 | return &_impl_.reserved_name_; |
10020 | 0 | } |
10021 | | |
10022 | | // ------------------------------------------------------------------- |
10023 | | |
10024 | | // ExtensionRangeOptions |
10025 | | |
10026 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
10027 | 0 | inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const { |
10028 | 0 | return _impl_.uninterpreted_option_.size(); |
10029 | 0 | } |
10030 | 0 | inline int ExtensionRangeOptions::uninterpreted_option_size() const { |
10031 | 0 | return _internal_uninterpreted_option_size(); |
10032 | 0 | } |
10033 | 0 | inline void ExtensionRangeOptions::clear_uninterpreted_option() { |
10034 | 0 | _impl_.uninterpreted_option_.Clear(); |
10035 | 0 | } |
10036 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) { |
10037 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
10038 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
10039 | 0 | } |
10040 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
10041 | 0 | ExtensionRangeOptions::mutable_uninterpreted_option() { |
10042 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
10043 | 0 | return &_impl_.uninterpreted_option_; |
10044 | 0 | } |
10045 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const { |
10046 | 0 | return _impl_.uninterpreted_option_.Get(index); |
10047 | 0 | } |
10048 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const { |
10049 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
10050 | 0 | return _internal_uninterpreted_option(index); |
10051 | 0 | } |
10052 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() { |
10053 | 0 | return _impl_.uninterpreted_option_.Add(); |
10054 | 0 | } |
10055 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() { |
10056 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
10057 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
10058 | 0 | return _add; |
10059 | 0 | } |
10060 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
10061 | 0 | ExtensionRangeOptions::uninterpreted_option() const { |
10062 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
10063 | 0 | return _impl_.uninterpreted_option_; |
10064 | 0 | } |
10065 | | |
10066 | | // ------------------------------------------------------------------- |
10067 | | |
10068 | | // FieldDescriptorProto |
10069 | | |
10070 | | // optional string name = 1; |
10071 | 0 | inline bool FieldDescriptorProto::_internal_has_name() const { |
10072 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10073 | 0 | return value; |
10074 | 0 | } |
10075 | 0 | inline bool FieldDescriptorProto::has_name() const { |
10076 | 0 | return _internal_has_name(); |
10077 | 0 | } |
10078 | 0 | inline void FieldDescriptorProto::clear_name() { |
10079 | 0 | _impl_.name_.ClearToEmpty(); |
10080 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10081 | 0 | } |
10082 | 0 | inline const std::string& FieldDescriptorProto::name() const { |
10083 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) |
10084 | 0 | return _internal_name(); |
10085 | 0 | } |
10086 | | template <typename ArgT0, typename... ArgT> |
10087 | | inline PROTOBUF_ALWAYS_INLINE |
10088 | | void FieldDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
10089 | | _impl_._has_bits_[0] |= 0x00000001u; |
10090 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10091 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) |
10092 | | } |
10093 | 0 | inline std::string* FieldDescriptorProto::mutable_name() { |
10094 | 0 | std::string* _s = _internal_mutable_name(); |
10095 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) |
10096 | 0 | return _s; |
10097 | 0 | } |
10098 | 0 | inline const std::string& FieldDescriptorProto::_internal_name() const { |
10099 | 0 | return _impl_.name_.Get(); |
10100 | 0 | } |
10101 | 0 | inline void FieldDescriptorProto::_internal_set_name(const std::string& value) { |
10102 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10103 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
10104 | 0 | } |
10105 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_name() { |
10106 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10107 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
10108 | 0 | } |
10109 | 0 | inline std::string* FieldDescriptorProto::release_name() { |
10110 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
10111 | 0 | if (!_internal_has_name()) { |
10112 | 0 | return nullptr; |
10113 | 0 | } |
10114 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10115 | 0 | auto* p = _impl_.name_.Release(); |
10116 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10117 | 0 | if (_impl_.name_.IsDefault()) { |
10118 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10119 | 0 | } |
10120 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10121 | 0 | return p; |
10122 | 0 | } |
10123 | 0 | inline void FieldDescriptorProto::set_allocated_name(std::string* name) { |
10124 | 0 | if (name != nullptr) { |
10125 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10126 | 0 | } else { |
10127 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10128 | 0 | } |
10129 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
10130 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10131 | 0 | if (_impl_.name_.IsDefault()) { |
10132 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10133 | 0 | } |
10134 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10135 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) |
10136 | 0 | } |
10137 | | |
10138 | | // optional int32 number = 3; |
10139 | 0 | inline bool FieldDescriptorProto::_internal_has_number() const { |
10140 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
10141 | 0 | return value; |
10142 | 0 | } |
10143 | 0 | inline bool FieldDescriptorProto::has_number() const { |
10144 | 0 | return _internal_has_number(); |
10145 | 0 | } |
10146 | 0 | inline void FieldDescriptorProto::clear_number() { |
10147 | 0 | _impl_.number_ = 0; |
10148 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
10149 | 0 | } |
10150 | 0 | inline int32_t FieldDescriptorProto::_internal_number() const { |
10151 | 0 | return _impl_.number_; |
10152 | 0 | } |
10153 | 0 | inline int32_t FieldDescriptorProto::number() const { |
10154 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) |
10155 | 0 | return _internal_number(); |
10156 | 0 | } |
10157 | 0 | inline void FieldDescriptorProto::_internal_set_number(int32_t value) { |
10158 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
10159 | 0 | _impl_.number_ = value; |
10160 | 0 | } |
10161 | 0 | inline void FieldDescriptorProto::set_number(int32_t value) { |
10162 | 0 | _internal_set_number(value); |
10163 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) |
10164 | 0 | } |
10165 | | |
10166 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
10167 | 0 | inline bool FieldDescriptorProto::_internal_has_label() const { |
10168 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
10169 | 0 | return value; |
10170 | 0 | } |
10171 | 0 | inline bool FieldDescriptorProto::has_label() const { |
10172 | 0 | return _internal_has_label(); |
10173 | 0 | } |
10174 | 0 | inline void FieldDescriptorProto::clear_label() { |
10175 | 0 | _impl_.label_ = 1; |
10176 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
10177 | 0 | } |
10178 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const { |
10179 | 0 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(_impl_.label_); |
10180 | 0 | } |
10181 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const { |
10182 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) |
10183 | 0 | return _internal_label(); |
10184 | 0 | } |
10185 | 0 | inline void FieldDescriptorProto::_internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { |
10186 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value)); |
10187 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
10188 | 0 | _impl_.label_ = value; |
10189 | 0 | } |
10190 | 0 | inline void FieldDescriptorProto::set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { |
10191 | 0 | _internal_set_label(value); |
10192 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) |
10193 | 0 | } |
10194 | | |
10195 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
10196 | 0 | inline bool FieldDescriptorProto::_internal_has_type() const { |
10197 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
10198 | 0 | return value; |
10199 | 0 | } |
10200 | 0 | inline bool FieldDescriptorProto::has_type() const { |
10201 | 0 | return _internal_has_type(); |
10202 | 0 | } |
10203 | 0 | inline void FieldDescriptorProto::clear_type() { |
10204 | 0 | _impl_.type_ = 1; |
10205 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
10206 | 0 | } |
10207 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const { |
10208 | 0 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type >(_impl_.type_); |
10209 | 0 | } |
10210 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const { |
10211 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) |
10212 | 0 | return _internal_type(); |
10213 | 0 | } |
10214 | 0 | inline void FieldDescriptorProto::_internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { |
10215 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value)); |
10216 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
10217 | 0 | _impl_.type_ = value; |
10218 | 0 | } |
10219 | 0 | inline void FieldDescriptorProto::set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { |
10220 | 0 | _internal_set_type(value); |
10221 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) |
10222 | 0 | } |
10223 | | |
10224 | | // optional string type_name = 6; |
10225 | 0 | inline bool FieldDescriptorProto::_internal_has_type_name() const { |
10226 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
10227 | 0 | return value; |
10228 | 0 | } |
10229 | 0 | inline bool FieldDescriptorProto::has_type_name() const { |
10230 | 0 | return _internal_has_type_name(); |
10231 | 0 | } |
10232 | 0 | inline void FieldDescriptorProto::clear_type_name() { |
10233 | 0 | _impl_.type_name_.ClearToEmpty(); |
10234 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
10235 | 0 | } |
10236 | 0 | inline const std::string& FieldDescriptorProto::type_name() const { |
10237 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) |
10238 | 0 | return _internal_type_name(); |
10239 | 0 | } |
10240 | | template <typename ArgT0, typename... ArgT> |
10241 | | inline PROTOBUF_ALWAYS_INLINE |
10242 | | void FieldDescriptorProto::set_type_name(ArgT0&& arg0, ArgT... args) { |
10243 | | _impl_._has_bits_[0] |= 0x00000004u; |
10244 | | _impl_.type_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10245 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) |
10246 | | } |
10247 | 0 | inline std::string* FieldDescriptorProto::mutable_type_name() { |
10248 | 0 | std::string* _s = _internal_mutable_type_name(); |
10249 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) |
10250 | 0 | return _s; |
10251 | 0 | } |
10252 | 0 | inline const std::string& FieldDescriptorProto::_internal_type_name() const { |
10253 | 0 | return _impl_.type_name_.Get(); |
10254 | 0 | } |
10255 | 0 | inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) { |
10256 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
10257 | 0 | _impl_.type_name_.Set(value, GetArenaForAllocation()); |
10258 | 0 | } |
10259 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_type_name() { |
10260 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
10261 | 0 | return _impl_.type_name_.Mutable(GetArenaForAllocation()); |
10262 | 0 | } |
10263 | 0 | inline std::string* FieldDescriptorProto::release_type_name() { |
10264 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
10265 | 0 | if (!_internal_has_type_name()) { |
10266 | 0 | return nullptr; |
10267 | 0 | } |
10268 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
10269 | 0 | auto* p = _impl_.type_name_.Release(); |
10270 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10271 | 0 | if (_impl_.type_name_.IsDefault()) { |
10272 | 0 | _impl_.type_name_.Set("", GetArenaForAllocation()); |
10273 | 0 | } |
10274 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10275 | 0 | return p; |
10276 | 0 | } |
10277 | 0 | inline void FieldDescriptorProto::set_allocated_type_name(std::string* type_name) { |
10278 | 0 | if (type_name != nullptr) { |
10279 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
10280 | 0 | } else { |
10281 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
10282 | 0 | } |
10283 | 0 | _impl_.type_name_.SetAllocated(type_name, GetArenaForAllocation()); |
10284 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10285 | 0 | if (_impl_.type_name_.IsDefault()) { |
10286 | 0 | _impl_.type_name_.Set("", GetArenaForAllocation()); |
10287 | 0 | } |
10288 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10289 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
10290 | 0 | } |
10291 | | |
10292 | | // optional string extendee = 2; |
10293 | 0 | inline bool FieldDescriptorProto::_internal_has_extendee() const { |
10294 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10295 | 0 | return value; |
10296 | 0 | } |
10297 | 0 | inline bool FieldDescriptorProto::has_extendee() const { |
10298 | 0 | return _internal_has_extendee(); |
10299 | 0 | } |
10300 | 0 | inline void FieldDescriptorProto::clear_extendee() { |
10301 | 0 | _impl_.extendee_.ClearToEmpty(); |
10302 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10303 | 0 | } |
10304 | 0 | inline const std::string& FieldDescriptorProto::extendee() const { |
10305 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) |
10306 | 0 | return _internal_extendee(); |
10307 | 0 | } |
10308 | | template <typename ArgT0, typename... ArgT> |
10309 | | inline PROTOBUF_ALWAYS_INLINE |
10310 | | void FieldDescriptorProto::set_extendee(ArgT0&& arg0, ArgT... args) { |
10311 | | _impl_._has_bits_[0] |= 0x00000002u; |
10312 | | _impl_.extendee_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10313 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) |
10314 | | } |
10315 | 0 | inline std::string* FieldDescriptorProto::mutable_extendee() { |
10316 | 0 | std::string* _s = _internal_mutable_extendee(); |
10317 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) |
10318 | 0 | return _s; |
10319 | 0 | } |
10320 | 0 | inline const std::string& FieldDescriptorProto::_internal_extendee() const { |
10321 | 0 | return _impl_.extendee_.Get(); |
10322 | 0 | } |
10323 | 0 | inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) { |
10324 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10325 | 0 | _impl_.extendee_.Set(value, GetArenaForAllocation()); |
10326 | 0 | } |
10327 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_extendee() { |
10328 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10329 | 0 | return _impl_.extendee_.Mutable(GetArenaForAllocation()); |
10330 | 0 | } |
10331 | 0 | inline std::string* FieldDescriptorProto::release_extendee() { |
10332 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
10333 | 0 | if (!_internal_has_extendee()) { |
10334 | 0 | return nullptr; |
10335 | 0 | } |
10336 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10337 | 0 | auto* p = _impl_.extendee_.Release(); |
10338 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10339 | 0 | if (_impl_.extendee_.IsDefault()) { |
10340 | 0 | _impl_.extendee_.Set("", GetArenaForAllocation()); |
10341 | 0 | } |
10342 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10343 | 0 | return p; |
10344 | 0 | } |
10345 | 0 | inline void FieldDescriptorProto::set_allocated_extendee(std::string* extendee) { |
10346 | 0 | if (extendee != nullptr) { |
10347 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10348 | 0 | } else { |
10349 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10350 | 0 | } |
10351 | 0 | _impl_.extendee_.SetAllocated(extendee, GetArenaForAllocation()); |
10352 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10353 | 0 | if (_impl_.extendee_.IsDefault()) { |
10354 | 0 | _impl_.extendee_.Set("", GetArenaForAllocation()); |
10355 | 0 | } |
10356 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10357 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
10358 | 0 | } |
10359 | | |
10360 | | // optional string default_value = 7; |
10361 | 0 | inline bool FieldDescriptorProto::_internal_has_default_value() const { |
10362 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
10363 | 0 | return value; |
10364 | 0 | } |
10365 | 0 | inline bool FieldDescriptorProto::has_default_value() const { |
10366 | 0 | return _internal_has_default_value(); |
10367 | 0 | } |
10368 | 0 | inline void FieldDescriptorProto::clear_default_value() { |
10369 | 0 | _impl_.default_value_.ClearToEmpty(); |
10370 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
10371 | 0 | } |
10372 | 0 | inline const std::string& FieldDescriptorProto::default_value() const { |
10373 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) |
10374 | 0 | return _internal_default_value(); |
10375 | 0 | } |
10376 | | template <typename ArgT0, typename... ArgT> |
10377 | | inline PROTOBUF_ALWAYS_INLINE |
10378 | | void FieldDescriptorProto::set_default_value(ArgT0&& arg0, ArgT... args) { |
10379 | | _impl_._has_bits_[0] |= 0x00000008u; |
10380 | | _impl_.default_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10381 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) |
10382 | | } |
10383 | 0 | inline std::string* FieldDescriptorProto::mutable_default_value() { |
10384 | 0 | std::string* _s = _internal_mutable_default_value(); |
10385 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) |
10386 | 0 | return _s; |
10387 | 0 | } |
10388 | 0 | inline const std::string& FieldDescriptorProto::_internal_default_value() const { |
10389 | 0 | return _impl_.default_value_.Get(); |
10390 | 0 | } |
10391 | 0 | inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) { |
10392 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
10393 | 0 | _impl_.default_value_.Set(value, GetArenaForAllocation()); |
10394 | 0 | } |
10395 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_default_value() { |
10396 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
10397 | 0 | return _impl_.default_value_.Mutable(GetArenaForAllocation()); |
10398 | 0 | } |
10399 | 0 | inline std::string* FieldDescriptorProto::release_default_value() { |
10400 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
10401 | 0 | if (!_internal_has_default_value()) { |
10402 | 0 | return nullptr; |
10403 | 0 | } |
10404 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
10405 | 0 | auto* p = _impl_.default_value_.Release(); |
10406 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10407 | 0 | if (_impl_.default_value_.IsDefault()) { |
10408 | 0 | _impl_.default_value_.Set("", GetArenaForAllocation()); |
10409 | 0 | } |
10410 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10411 | 0 | return p; |
10412 | 0 | } |
10413 | 0 | inline void FieldDescriptorProto::set_allocated_default_value(std::string* default_value) { |
10414 | 0 | if (default_value != nullptr) { |
10415 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
10416 | 0 | } else { |
10417 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
10418 | 0 | } |
10419 | 0 | _impl_.default_value_.SetAllocated(default_value, GetArenaForAllocation()); |
10420 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10421 | 0 | if (_impl_.default_value_.IsDefault()) { |
10422 | 0 | _impl_.default_value_.Set("", GetArenaForAllocation()); |
10423 | 0 | } |
10424 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10425 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
10426 | 0 | } |
10427 | | |
10428 | | // optional int32 oneof_index = 9; |
10429 | 0 | inline bool FieldDescriptorProto::_internal_has_oneof_index() const { |
10430 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
10431 | 0 | return value; |
10432 | 0 | } |
10433 | 0 | inline bool FieldDescriptorProto::has_oneof_index() const { |
10434 | 0 | return _internal_has_oneof_index(); |
10435 | 0 | } |
10436 | 0 | inline void FieldDescriptorProto::clear_oneof_index() { |
10437 | 0 | _impl_.oneof_index_ = 0; |
10438 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
10439 | 0 | } |
10440 | 0 | inline int32_t FieldDescriptorProto::_internal_oneof_index() const { |
10441 | 0 | return _impl_.oneof_index_; |
10442 | 0 | } |
10443 | 0 | inline int32_t FieldDescriptorProto::oneof_index() const { |
10444 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) |
10445 | 0 | return _internal_oneof_index(); |
10446 | 0 | } |
10447 | 0 | inline void FieldDescriptorProto::_internal_set_oneof_index(int32_t value) { |
10448 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
10449 | 0 | _impl_.oneof_index_ = value; |
10450 | 0 | } |
10451 | 0 | inline void FieldDescriptorProto::set_oneof_index(int32_t value) { |
10452 | 0 | _internal_set_oneof_index(value); |
10453 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) |
10454 | 0 | } |
10455 | | |
10456 | | // optional string json_name = 10; |
10457 | 0 | inline bool FieldDescriptorProto::_internal_has_json_name() const { |
10458 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
10459 | 0 | return value; |
10460 | 0 | } |
10461 | 0 | inline bool FieldDescriptorProto::has_json_name() const { |
10462 | 0 | return _internal_has_json_name(); |
10463 | 0 | } |
10464 | 0 | inline void FieldDescriptorProto::clear_json_name() { |
10465 | 0 | _impl_.json_name_.ClearToEmpty(); |
10466 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
10467 | 0 | } |
10468 | 0 | inline const std::string& FieldDescriptorProto::json_name() const { |
10469 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) |
10470 | 0 | return _internal_json_name(); |
10471 | 0 | } |
10472 | | template <typename ArgT0, typename... ArgT> |
10473 | | inline PROTOBUF_ALWAYS_INLINE |
10474 | | void FieldDescriptorProto::set_json_name(ArgT0&& arg0, ArgT... args) { |
10475 | | _impl_._has_bits_[0] |= 0x00000010u; |
10476 | | _impl_.json_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10477 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) |
10478 | | } |
10479 | 0 | inline std::string* FieldDescriptorProto::mutable_json_name() { |
10480 | 0 | std::string* _s = _internal_mutable_json_name(); |
10481 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) |
10482 | 0 | return _s; |
10483 | 0 | } |
10484 | 0 | inline const std::string& FieldDescriptorProto::_internal_json_name() const { |
10485 | 0 | return _impl_.json_name_.Get(); |
10486 | 0 | } |
10487 | 0 | inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) { |
10488 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
10489 | 0 | _impl_.json_name_.Set(value, GetArenaForAllocation()); |
10490 | 0 | } |
10491 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_json_name() { |
10492 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
10493 | 0 | return _impl_.json_name_.Mutable(GetArenaForAllocation()); |
10494 | 0 | } |
10495 | 0 | inline std::string* FieldDescriptorProto::release_json_name() { |
10496 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
10497 | 0 | if (!_internal_has_json_name()) { |
10498 | 0 | return nullptr; |
10499 | 0 | } |
10500 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
10501 | 0 | auto* p = _impl_.json_name_.Release(); |
10502 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10503 | 0 | if (_impl_.json_name_.IsDefault()) { |
10504 | 0 | _impl_.json_name_.Set("", GetArenaForAllocation()); |
10505 | 0 | } |
10506 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10507 | 0 | return p; |
10508 | 0 | } |
10509 | 0 | inline void FieldDescriptorProto::set_allocated_json_name(std::string* json_name) { |
10510 | 0 | if (json_name != nullptr) { |
10511 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
10512 | 0 | } else { |
10513 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
10514 | 0 | } |
10515 | 0 | _impl_.json_name_.SetAllocated(json_name, GetArenaForAllocation()); |
10516 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10517 | 0 | if (_impl_.json_name_.IsDefault()) { |
10518 | 0 | _impl_.json_name_.Set("", GetArenaForAllocation()); |
10519 | 0 | } |
10520 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10521 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
10522 | 0 | } |
10523 | | |
10524 | | // optional .google.protobuf.FieldOptions options = 8; |
10525 | 0 | inline bool FieldDescriptorProto::_internal_has_options() const { |
10526 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
10527 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
10528 | 0 | return value; |
10529 | 0 | } |
10530 | 0 | inline bool FieldDescriptorProto::has_options() const { |
10531 | 0 | return _internal_has_options(); |
10532 | 0 | } |
10533 | 0 | inline void FieldDescriptorProto::clear_options() { |
10534 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
10535 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10536 | 0 | } |
10537 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const { |
10538 | 0 | const ::PROTOBUF_NAMESPACE_ID::FieldOptions* p = _impl_.options_; |
10539 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FieldOptions&>( |
10540 | 0 | ::PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_); |
10541 | 0 | } |
10542 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const { |
10543 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) |
10544 | 0 | return _internal_options(); |
10545 | 0 | } |
10546 | | inline void FieldDescriptorProto::unsafe_arena_set_allocated_options( |
10547 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options) { |
10548 | 0 | if (GetArenaForAllocation() == nullptr) { |
10549 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
10550 | 0 | } |
10551 | 0 | _impl_.options_ = options; |
10552 | 0 | if (options) { |
10553 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
10554 | 0 | } else { |
10555 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10556 | 0 | } |
10557 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options) |
10558 | 0 | } |
10559 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() { |
10560 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10561 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = _impl_.options_; |
10562 | 0 | _impl_.options_ = nullptr; |
10563 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10564 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10565 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10566 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10567 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10568 | 0 | if (GetArenaForAllocation() != nullptr) { |
10569 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10570 | 0 | } |
10571 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10572 | 0 | return temp; |
10573 | 0 | } |
10574 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { |
10575 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
10576 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10577 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = _impl_.options_; |
10578 | 0 | _impl_.options_ = nullptr; |
10579 | 0 | return temp; |
10580 | 0 | } |
10581 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() { |
10582 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
10583 | 0 | if (_impl_.options_ == nullptr) { |
10584 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(GetArenaForAllocation()); |
10585 | 0 | _impl_.options_ = p; |
10586 | 0 | } |
10587 | 0 | return _impl_.options_; |
10588 | 0 | } |
10589 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() { |
10590 | 0 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* _msg = _internal_mutable_options(); |
10591 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) |
10592 | 0 | return _msg; |
10593 | 0 | } |
10594 | 0 | inline void FieldDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options) { |
10595 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10596 | 0 | if (message_arena == nullptr) { |
10597 | 0 | delete _impl_.options_; |
10598 | 0 | } |
10599 | 0 | if (options) { |
10600 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10601 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
10602 | 0 | if (message_arena != submessage_arena) { |
10603 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10604 | 0 | message_arena, options, submessage_arena); |
10605 | 0 | } |
10606 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
10607 | 0 | } else { |
10608 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
10609 | 0 | } |
10610 | 0 | _impl_.options_ = options; |
10611 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) |
10612 | 0 | } |
10613 | | |
10614 | | // optional bool proto3_optional = 17; |
10615 | 0 | inline bool FieldDescriptorProto::_internal_has_proto3_optional() const { |
10616 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
10617 | 0 | return value; |
10618 | 0 | } |
10619 | 0 | inline bool FieldDescriptorProto::has_proto3_optional() const { |
10620 | 0 | return _internal_has_proto3_optional(); |
10621 | 0 | } |
10622 | 0 | inline void FieldDescriptorProto::clear_proto3_optional() { |
10623 | 0 | _impl_.proto3_optional_ = false; |
10624 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
10625 | 0 | } |
10626 | 0 | inline bool FieldDescriptorProto::_internal_proto3_optional() const { |
10627 | 0 | return _impl_.proto3_optional_; |
10628 | 0 | } |
10629 | 0 | inline bool FieldDescriptorProto::proto3_optional() const { |
10630 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional) |
10631 | 0 | return _internal_proto3_optional(); |
10632 | 0 | } |
10633 | 0 | inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) { |
10634 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
10635 | 0 | _impl_.proto3_optional_ = value; |
10636 | 0 | } |
10637 | 0 | inline void FieldDescriptorProto::set_proto3_optional(bool value) { |
10638 | 0 | _internal_set_proto3_optional(value); |
10639 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional) |
10640 | 0 | } |
10641 | | |
10642 | | // ------------------------------------------------------------------- |
10643 | | |
10644 | | // OneofDescriptorProto |
10645 | | |
10646 | | // optional string name = 1; |
10647 | 0 | inline bool OneofDescriptorProto::_internal_has_name() const { |
10648 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10649 | 0 | return value; |
10650 | 0 | } |
10651 | 0 | inline bool OneofDescriptorProto::has_name() const { |
10652 | 0 | return _internal_has_name(); |
10653 | 0 | } |
10654 | 0 | inline void OneofDescriptorProto::clear_name() { |
10655 | 0 | _impl_.name_.ClearToEmpty(); |
10656 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10657 | 0 | } |
10658 | 0 | inline const std::string& OneofDescriptorProto::name() const { |
10659 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) |
10660 | 0 | return _internal_name(); |
10661 | 0 | } |
10662 | | template <typename ArgT0, typename... ArgT> |
10663 | | inline PROTOBUF_ALWAYS_INLINE |
10664 | | void OneofDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
10665 | | _impl_._has_bits_[0] |= 0x00000001u; |
10666 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10667 | | // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) |
10668 | | } |
10669 | 0 | inline std::string* OneofDescriptorProto::mutable_name() { |
10670 | 0 | std::string* _s = _internal_mutable_name(); |
10671 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) |
10672 | 0 | return _s; |
10673 | 0 | } |
10674 | 0 | inline const std::string& OneofDescriptorProto::_internal_name() const { |
10675 | 0 | return _impl_.name_.Get(); |
10676 | 0 | } |
10677 | 0 | inline void OneofDescriptorProto::_internal_set_name(const std::string& value) { |
10678 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10679 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
10680 | 0 | } |
10681 | 0 | inline std::string* OneofDescriptorProto::_internal_mutable_name() { |
10682 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10683 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
10684 | 0 | } |
10685 | 0 | inline std::string* OneofDescriptorProto::release_name() { |
10686 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
10687 | 0 | if (!_internal_has_name()) { |
10688 | 0 | return nullptr; |
10689 | 0 | } |
10690 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10691 | 0 | auto* p = _impl_.name_.Release(); |
10692 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10693 | 0 | if (_impl_.name_.IsDefault()) { |
10694 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10695 | 0 | } |
10696 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10697 | 0 | return p; |
10698 | 0 | } |
10699 | 0 | inline void OneofDescriptorProto::set_allocated_name(std::string* name) { |
10700 | 0 | if (name != nullptr) { |
10701 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10702 | 0 | } else { |
10703 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10704 | 0 | } |
10705 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
10706 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10707 | 0 | if (_impl_.name_.IsDefault()) { |
10708 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10709 | 0 | } |
10710 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10711 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) |
10712 | 0 | } |
10713 | | |
10714 | | // optional .google.protobuf.OneofOptions options = 2; |
10715 | 0 | inline bool OneofDescriptorProto::_internal_has_options() const { |
10716 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10717 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
10718 | 0 | return value; |
10719 | 0 | } |
10720 | 0 | inline bool OneofDescriptorProto::has_options() const { |
10721 | 0 | return _internal_has_options(); |
10722 | 0 | } |
10723 | 0 | inline void OneofDescriptorProto::clear_options() { |
10724 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
10725 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10726 | 0 | } |
10727 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const { |
10728 | 0 | const ::PROTOBUF_NAMESPACE_ID::OneofOptions* p = _impl_.options_; |
10729 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::OneofOptions&>( |
10730 | 0 | ::PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_); |
10731 | 0 | } |
10732 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const { |
10733 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) |
10734 | 0 | return _internal_options(); |
10735 | 0 | } |
10736 | | inline void OneofDescriptorProto::unsafe_arena_set_allocated_options( |
10737 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options) { |
10738 | 0 | if (GetArenaForAllocation() == nullptr) { |
10739 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
10740 | 0 | } |
10741 | 0 | _impl_.options_ = options; |
10742 | 0 | if (options) { |
10743 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10744 | 0 | } else { |
10745 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10746 | 0 | } |
10747 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options) |
10748 | 0 | } |
10749 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() { |
10750 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10751 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = _impl_.options_; |
10752 | 0 | _impl_.options_ = nullptr; |
10753 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10754 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10755 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10756 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10757 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10758 | 0 | if (GetArenaForAllocation() != nullptr) { |
10759 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10760 | 0 | } |
10761 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10762 | 0 | return temp; |
10763 | 0 | } |
10764 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { |
10765 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) |
10766 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10767 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = _impl_.options_; |
10768 | 0 | _impl_.options_ = nullptr; |
10769 | 0 | return temp; |
10770 | 0 | } |
10771 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() { |
10772 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10773 | 0 | if (_impl_.options_ == nullptr) { |
10774 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(GetArenaForAllocation()); |
10775 | 0 | _impl_.options_ = p; |
10776 | 0 | } |
10777 | 0 | return _impl_.options_; |
10778 | 0 | } |
10779 | 0 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() { |
10780 | 0 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* _msg = _internal_mutable_options(); |
10781 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) |
10782 | 0 | return _msg; |
10783 | 0 | } |
10784 | 0 | inline void OneofDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options) { |
10785 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10786 | 0 | if (message_arena == nullptr) { |
10787 | 0 | delete _impl_.options_; |
10788 | 0 | } |
10789 | 0 | if (options) { |
10790 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10791 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
10792 | 0 | if (message_arena != submessage_arena) { |
10793 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10794 | 0 | message_arena, options, submessage_arena); |
10795 | 0 | } |
10796 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10797 | 0 | } else { |
10798 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10799 | 0 | } |
10800 | 0 | _impl_.options_ = options; |
10801 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) |
10802 | 0 | } |
10803 | | |
10804 | | // ------------------------------------------------------------------- |
10805 | | |
10806 | | // EnumDescriptorProto_EnumReservedRange |
10807 | | |
10808 | | // optional int32 start = 1; |
10809 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_start() const { |
10810 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10811 | 0 | return value; |
10812 | 0 | } |
10813 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { |
10814 | 0 | return _internal_has_start(); |
10815 | 0 | } |
10816 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_start() { |
10817 | 0 | _impl_.start_ = 0; |
10818 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10819 | 0 | } |
10820 | 0 | inline int32_t EnumDescriptorProto_EnumReservedRange::_internal_start() const { |
10821 | 0 | return _impl_.start_; |
10822 | 0 | } |
10823 | 0 | inline int32_t EnumDescriptorProto_EnumReservedRange::start() const { |
10824 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
10825 | 0 | return _internal_start(); |
10826 | 0 | } |
10827 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(int32_t value) { |
10828 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10829 | 0 | _impl_.start_ = value; |
10830 | 0 | } |
10831 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_start(int32_t value) { |
10832 | 0 | _internal_set_start(value); |
10833 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
10834 | 0 | } |
10835 | | |
10836 | | // optional int32 end = 2; |
10837 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_end() const { |
10838 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10839 | 0 | return value; |
10840 | 0 | } |
10841 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { |
10842 | 0 | return _internal_has_end(); |
10843 | 0 | } |
10844 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_end() { |
10845 | 0 | _impl_.end_ = 0; |
10846 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10847 | 0 | } |
10848 | 0 | inline int32_t EnumDescriptorProto_EnumReservedRange::_internal_end() const { |
10849 | 0 | return _impl_.end_; |
10850 | 0 | } |
10851 | 0 | inline int32_t EnumDescriptorProto_EnumReservedRange::end() const { |
10852 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
10853 | 0 | return _internal_end(); |
10854 | 0 | } |
10855 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(int32_t value) { |
10856 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10857 | 0 | _impl_.end_ = value; |
10858 | 0 | } |
10859 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_end(int32_t value) { |
10860 | 0 | _internal_set_end(value); |
10861 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
10862 | 0 | } |
10863 | | |
10864 | | // ------------------------------------------------------------------- |
10865 | | |
10866 | | // EnumDescriptorProto |
10867 | | |
10868 | | // optional string name = 1; |
10869 | 0 | inline bool EnumDescriptorProto::_internal_has_name() const { |
10870 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10871 | 0 | return value; |
10872 | 0 | } |
10873 | 0 | inline bool EnumDescriptorProto::has_name() const { |
10874 | 0 | return _internal_has_name(); |
10875 | 0 | } |
10876 | 0 | inline void EnumDescriptorProto::clear_name() { |
10877 | 0 | _impl_.name_.ClearToEmpty(); |
10878 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10879 | 0 | } |
10880 | 0 | inline const std::string& EnumDescriptorProto::name() const { |
10881 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) |
10882 | 0 | return _internal_name(); |
10883 | 0 | } |
10884 | | template <typename ArgT0, typename... ArgT> |
10885 | | inline PROTOBUF_ALWAYS_INLINE |
10886 | | void EnumDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
10887 | | _impl_._has_bits_[0] |= 0x00000001u; |
10888 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10889 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) |
10890 | | } |
10891 | 0 | inline std::string* EnumDescriptorProto::mutable_name() { |
10892 | 0 | std::string* _s = _internal_mutable_name(); |
10893 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) |
10894 | 0 | return _s; |
10895 | 0 | } |
10896 | 0 | inline const std::string& EnumDescriptorProto::_internal_name() const { |
10897 | 0 | return _impl_.name_.Get(); |
10898 | 0 | } |
10899 | 0 | inline void EnumDescriptorProto::_internal_set_name(const std::string& value) { |
10900 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10901 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
10902 | 0 | } |
10903 | 0 | inline std::string* EnumDescriptorProto::_internal_mutable_name() { |
10904 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10905 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
10906 | 0 | } |
10907 | 0 | inline std::string* EnumDescriptorProto::release_name() { |
10908 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
10909 | 0 | if (!_internal_has_name()) { |
10910 | 0 | return nullptr; |
10911 | 0 | } |
10912 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10913 | 0 | auto* p = _impl_.name_.Release(); |
10914 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10915 | 0 | if (_impl_.name_.IsDefault()) { |
10916 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10917 | 0 | } |
10918 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10919 | 0 | return p; |
10920 | 0 | } |
10921 | 0 | inline void EnumDescriptorProto::set_allocated_name(std::string* name) { |
10922 | 0 | if (name != nullptr) { |
10923 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10924 | 0 | } else { |
10925 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10926 | 0 | } |
10927 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
10928 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10929 | 0 | if (_impl_.name_.IsDefault()) { |
10930 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10931 | 0 | } |
10932 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10933 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) |
10934 | 0 | } |
10935 | | |
10936 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
10937 | 0 | inline int EnumDescriptorProto::_internal_value_size() const { |
10938 | 0 | return _impl_.value_.size(); |
10939 | 0 | } |
10940 | 0 | inline int EnumDescriptorProto::value_size() const { |
10941 | 0 | return _internal_value_size(); |
10942 | 0 | } |
10943 | 0 | inline void EnumDescriptorProto::clear_value() { |
10944 | 0 | _impl_.value_.Clear(); |
10945 | 0 | } |
10946 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) { |
10947 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) |
10948 | 0 | return _impl_.value_.Mutable(index); |
10949 | 0 | } |
10950 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* |
10951 | 0 | EnumDescriptorProto::mutable_value() { |
10952 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) |
10953 | 0 | return &_impl_.value_; |
10954 | 0 | } |
10955 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const { |
10956 | 0 | return _impl_.value_.Get(index); |
10957 | 0 | } |
10958 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const { |
10959 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) |
10960 | 0 | return _internal_value(index); |
10961 | 0 | } |
10962 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() { |
10963 | 0 | return _impl_.value_.Add(); |
10964 | 0 | } |
10965 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() { |
10966 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _add = _internal_add_value(); |
10967 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) |
10968 | 0 | return _add; |
10969 | 0 | } |
10970 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& |
10971 | 0 | EnumDescriptorProto::value() const { |
10972 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) |
10973 | 0 | return _impl_.value_; |
10974 | 0 | } |
10975 | | |
10976 | | // optional .google.protobuf.EnumOptions options = 3; |
10977 | 0 | inline bool EnumDescriptorProto::_internal_has_options() const { |
10978 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10979 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
10980 | 0 | return value; |
10981 | 0 | } |
10982 | 0 | inline bool EnumDescriptorProto::has_options() const { |
10983 | 0 | return _internal_has_options(); |
10984 | 0 | } |
10985 | 0 | inline void EnumDescriptorProto::clear_options() { |
10986 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
10987 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10988 | 0 | } |
10989 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const { |
10990 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumOptions* p = _impl_.options_; |
10991 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumOptions&>( |
10992 | 0 | ::PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_); |
10993 | 0 | } |
10994 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const { |
10995 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) |
10996 | 0 | return _internal_options(); |
10997 | 0 | } |
10998 | | inline void EnumDescriptorProto::unsafe_arena_set_allocated_options( |
10999 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options) { |
11000 | 0 | if (GetArenaForAllocation() == nullptr) { |
11001 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11002 | 0 | } |
11003 | 0 | _impl_.options_ = options; |
11004 | 0 | if (options) { |
11005 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11006 | 0 | } else { |
11007 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11008 | 0 | } |
11009 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options) |
11010 | 0 | } |
11011 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() { |
11012 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11013 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = _impl_.options_; |
11014 | 0 | _impl_.options_ = nullptr; |
11015 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11016 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11017 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11018 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11019 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11020 | 0 | if (GetArenaForAllocation() != nullptr) { |
11021 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11022 | 0 | } |
11023 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11024 | 0 | return temp; |
11025 | 0 | } |
11026 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { |
11027 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
11028 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11029 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = _impl_.options_; |
11030 | 0 | _impl_.options_ = nullptr; |
11031 | 0 | return temp; |
11032 | 0 | } |
11033 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() { |
11034 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11035 | 0 | if (_impl_.options_ == nullptr) { |
11036 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(GetArenaForAllocation()); |
11037 | 0 | _impl_.options_ = p; |
11038 | 0 | } |
11039 | 0 | return _impl_.options_; |
11040 | 0 | } |
11041 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() { |
11042 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* _msg = _internal_mutable_options(); |
11043 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) |
11044 | 0 | return _msg; |
11045 | 0 | } |
11046 | 0 | inline void EnumDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options) { |
11047 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11048 | 0 | if (message_arena == nullptr) { |
11049 | 0 | delete _impl_.options_; |
11050 | 0 | } |
11051 | 0 | if (options) { |
11052 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11053 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11054 | 0 | if (message_arena != submessage_arena) { |
11055 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11056 | 0 | message_arena, options, submessage_arena); |
11057 | 0 | } |
11058 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11059 | 0 | } else { |
11060 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11061 | 0 | } |
11062 | 0 | _impl_.options_ = options; |
11063 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) |
11064 | 0 | } |
11065 | | |
11066 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
11067 | 0 | inline int EnumDescriptorProto::_internal_reserved_range_size() const { |
11068 | 0 | return _impl_.reserved_range_.size(); |
11069 | 0 | } |
11070 | 0 | inline int EnumDescriptorProto::reserved_range_size() const { |
11071 | 0 | return _internal_reserved_range_size(); |
11072 | 0 | } |
11073 | 0 | inline void EnumDescriptorProto::clear_reserved_range() { |
11074 | 0 | _impl_.reserved_range_.Clear(); |
11075 | 0 | } |
11076 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) { |
11077 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) |
11078 | 0 | return _impl_.reserved_range_.Mutable(index); |
11079 | 0 | } |
11080 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* |
11081 | 0 | EnumDescriptorProto::mutable_reserved_range() { |
11082 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) |
11083 | 0 | return &_impl_.reserved_range_; |
11084 | 0 | } |
11085 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const { |
11086 | 0 | return _impl_.reserved_range_.Get(index); |
11087 | 0 | } |
11088 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const { |
11089 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) |
11090 | 0 | return _internal_reserved_range(index); |
11091 | 0 | } |
11092 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() { |
11093 | 0 | return _impl_.reserved_range_.Add(); |
11094 | 0 | } |
11095 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() { |
11096 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _add = _internal_add_reserved_range(); |
11097 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) |
11098 | 0 | return _add; |
11099 | 0 | } |
11100 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& |
11101 | 0 | EnumDescriptorProto::reserved_range() const { |
11102 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) |
11103 | 0 | return _impl_.reserved_range_; |
11104 | 0 | } |
11105 | | |
11106 | | // repeated string reserved_name = 5; |
11107 | 0 | inline int EnumDescriptorProto::_internal_reserved_name_size() const { |
11108 | 0 | return _impl_.reserved_name_.size(); |
11109 | 0 | } |
11110 | 0 | inline int EnumDescriptorProto::reserved_name_size() const { |
11111 | 0 | return _internal_reserved_name_size(); |
11112 | 0 | } |
11113 | 0 | inline void EnumDescriptorProto::clear_reserved_name() { |
11114 | 0 | _impl_.reserved_name_.Clear(); |
11115 | 0 | } |
11116 | 0 | inline std::string* EnumDescriptorProto::add_reserved_name() { |
11117 | 0 | std::string* _s = _internal_add_reserved_name(); |
11118 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
11119 | 0 | return _s; |
11120 | 0 | } |
11121 | 0 | inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const { |
11122 | 0 | return _impl_.reserved_name_.Get(index); |
11123 | 0 | } |
11124 | 0 | inline const std::string& EnumDescriptorProto::reserved_name(int index) const { |
11125 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) |
11126 | 0 | return _internal_reserved_name(index); |
11127 | 0 | } |
11128 | 0 | inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) { |
11129 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
11130 | 0 | return _impl_.reserved_name_.Mutable(index); |
11131 | 0 | } |
11132 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) { |
11133 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
11134 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
11135 | 0 | } |
11136 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) { |
11137 | 0 | _impl_.reserved_name_.Mutable(index)->assign(std::move(value)); |
11138 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
11139 | 0 | } |
11140 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) { |
11141 | 0 | GOOGLE_DCHECK(value != nullptr); |
11142 | 0 | _impl_.reserved_name_.Mutable(index)->assign(value); |
11143 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name) |
11144 | 0 | } |
11145 | 0 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) { |
11146 | 0 | _impl_.reserved_name_.Mutable(index)->assign( |
11147 | 0 | reinterpret_cast<const char*>(value), size); |
11148 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
11149 | 0 | } |
11150 | 0 | inline std::string* EnumDescriptorProto::_internal_add_reserved_name() { |
11151 | 0 | return _impl_.reserved_name_.Add(); |
11152 | 0 | } |
11153 | 0 | inline void EnumDescriptorProto::add_reserved_name(const std::string& value) { |
11154 | 0 | _impl_.reserved_name_.Add()->assign(value); |
11155 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
11156 | 0 | } |
11157 | 0 | inline void EnumDescriptorProto::add_reserved_name(std::string&& value) { |
11158 | 0 | _impl_.reserved_name_.Add(std::move(value)); |
11159 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
11160 | 0 | } |
11161 | 0 | inline void EnumDescriptorProto::add_reserved_name(const char* value) { |
11162 | 0 | GOOGLE_DCHECK(value != nullptr); |
11163 | 0 | _impl_.reserved_name_.Add()->assign(value); |
11164 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name) |
11165 | 0 | } |
11166 | 0 | inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) { |
11167 | 0 | _impl_.reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
11168 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
11169 | 0 | } |
11170 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
11171 | 0 | EnumDescriptorProto::reserved_name() const { |
11172 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) |
11173 | 0 | return _impl_.reserved_name_; |
11174 | 0 | } |
11175 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
11176 | 0 | EnumDescriptorProto::mutable_reserved_name() { |
11177 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) |
11178 | 0 | return &_impl_.reserved_name_; |
11179 | 0 | } |
11180 | | |
11181 | | // ------------------------------------------------------------------- |
11182 | | |
11183 | | // EnumValueDescriptorProto |
11184 | | |
11185 | | // optional string name = 1; |
11186 | 0 | inline bool EnumValueDescriptorProto::_internal_has_name() const { |
11187 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11188 | 0 | return value; |
11189 | 0 | } |
11190 | 0 | inline bool EnumValueDescriptorProto::has_name() const { |
11191 | 0 | return _internal_has_name(); |
11192 | 0 | } |
11193 | 0 | inline void EnumValueDescriptorProto::clear_name() { |
11194 | 0 | _impl_.name_.ClearToEmpty(); |
11195 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11196 | 0 | } |
11197 | 0 | inline const std::string& EnumValueDescriptorProto::name() const { |
11198 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) |
11199 | 0 | return _internal_name(); |
11200 | 0 | } |
11201 | | template <typename ArgT0, typename... ArgT> |
11202 | | inline PROTOBUF_ALWAYS_INLINE |
11203 | | void EnumValueDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
11204 | | _impl_._has_bits_[0] |= 0x00000001u; |
11205 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11206 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) |
11207 | | } |
11208 | 0 | inline std::string* EnumValueDescriptorProto::mutable_name() { |
11209 | 0 | std::string* _s = _internal_mutable_name(); |
11210 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) |
11211 | 0 | return _s; |
11212 | 0 | } |
11213 | 0 | inline const std::string& EnumValueDescriptorProto::_internal_name() const { |
11214 | 0 | return _impl_.name_.Get(); |
11215 | 0 | } |
11216 | 0 | inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) { |
11217 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11218 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11219 | 0 | } |
11220 | 0 | inline std::string* EnumValueDescriptorProto::_internal_mutable_name() { |
11221 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11222 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
11223 | 0 | } |
11224 | 0 | inline std::string* EnumValueDescriptorProto::release_name() { |
11225 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
11226 | 0 | if (!_internal_has_name()) { |
11227 | 0 | return nullptr; |
11228 | 0 | } |
11229 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11230 | 0 | auto* p = _impl_.name_.Release(); |
11231 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11232 | 0 | if (_impl_.name_.IsDefault()) { |
11233 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11234 | 0 | } |
11235 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11236 | 0 | return p; |
11237 | 0 | } |
11238 | 0 | inline void EnumValueDescriptorProto::set_allocated_name(std::string* name) { |
11239 | 0 | if (name != nullptr) { |
11240 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11241 | 0 | } else { |
11242 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11243 | 0 | } |
11244 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
11245 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11246 | 0 | if (_impl_.name_.IsDefault()) { |
11247 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11248 | 0 | } |
11249 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11250 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
11251 | 0 | } |
11252 | | |
11253 | | // optional int32 number = 2; |
11254 | 0 | inline bool EnumValueDescriptorProto::_internal_has_number() const { |
11255 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11256 | 0 | return value; |
11257 | 0 | } |
11258 | 0 | inline bool EnumValueDescriptorProto::has_number() const { |
11259 | 0 | return _internal_has_number(); |
11260 | 0 | } |
11261 | 0 | inline void EnumValueDescriptorProto::clear_number() { |
11262 | 0 | _impl_.number_ = 0; |
11263 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11264 | 0 | } |
11265 | 0 | inline int32_t EnumValueDescriptorProto::_internal_number() const { |
11266 | 0 | return _impl_.number_; |
11267 | 0 | } |
11268 | 0 | inline int32_t EnumValueDescriptorProto::number() const { |
11269 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) |
11270 | 0 | return _internal_number(); |
11271 | 0 | } |
11272 | 0 | inline void EnumValueDescriptorProto::_internal_set_number(int32_t value) { |
11273 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11274 | 0 | _impl_.number_ = value; |
11275 | 0 | } |
11276 | 0 | inline void EnumValueDescriptorProto::set_number(int32_t value) { |
11277 | 0 | _internal_set_number(value); |
11278 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) |
11279 | 0 | } |
11280 | | |
11281 | | // optional .google.protobuf.EnumValueOptions options = 3; |
11282 | 0 | inline bool EnumValueDescriptorProto::_internal_has_options() const { |
11283 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11284 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11285 | 0 | return value; |
11286 | 0 | } |
11287 | 0 | inline bool EnumValueDescriptorProto::has_options() const { |
11288 | 0 | return _internal_has_options(); |
11289 | 0 | } |
11290 | 0 | inline void EnumValueDescriptorProto::clear_options() { |
11291 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11292 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11293 | 0 | } |
11294 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { |
11295 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = _impl_.options_; |
11296 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions&>( |
11297 | 0 | ::PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_); |
11298 | 0 | } |
11299 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const { |
11300 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) |
11301 | 0 | return _internal_options(); |
11302 | 0 | } |
11303 | | inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options( |
11304 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { |
11305 | 0 | if (GetArenaForAllocation() == nullptr) { |
11306 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11307 | 0 | } |
11308 | 0 | _impl_.options_ = options; |
11309 | 0 | if (options) { |
11310 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11311 | 0 | } else { |
11312 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11313 | 0 | } |
11314 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
11315 | 0 | } |
11316 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
11317 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11318 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = _impl_.options_; |
11319 | 0 | _impl_.options_ = nullptr; |
11320 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11321 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11322 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11323 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11324 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11325 | 0 | if (GetArenaForAllocation() != nullptr) { |
11326 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11327 | 0 | } |
11328 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11329 | 0 | return temp; |
11330 | 0 | } |
11331 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { |
11332 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
11333 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11334 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = _impl_.options_; |
11335 | 0 | _impl_.options_ = nullptr; |
11336 | 0 | return temp; |
11337 | 0 | } |
11338 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() { |
11339 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11340 | 0 | if (_impl_.options_ == nullptr) { |
11341 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(GetArenaForAllocation()); |
11342 | 0 | _impl_.options_ = p; |
11343 | 0 | } |
11344 | 0 | return _impl_.options_; |
11345 | 0 | } |
11346 | 0 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() { |
11347 | 0 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _msg = _internal_mutable_options(); |
11348 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) |
11349 | 0 | return _msg; |
11350 | 0 | } |
11351 | 0 | inline void EnumValueDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { |
11352 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11353 | 0 | if (message_arena == nullptr) { |
11354 | 0 | delete _impl_.options_; |
11355 | 0 | } |
11356 | 0 | if (options) { |
11357 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11358 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11359 | 0 | if (message_arena != submessage_arena) { |
11360 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11361 | 0 | message_arena, options, submessage_arena); |
11362 | 0 | } |
11363 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11364 | 0 | } else { |
11365 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11366 | 0 | } |
11367 | 0 | _impl_.options_ = options; |
11368 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
11369 | 0 | } |
11370 | | |
11371 | | // ------------------------------------------------------------------- |
11372 | | |
11373 | | // ServiceDescriptorProto |
11374 | | |
11375 | | // optional string name = 1; |
11376 | 0 | inline bool ServiceDescriptorProto::_internal_has_name() const { |
11377 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11378 | 0 | return value; |
11379 | 0 | } |
11380 | 0 | inline bool ServiceDescriptorProto::has_name() const { |
11381 | 0 | return _internal_has_name(); |
11382 | 0 | } |
11383 | 0 | inline void ServiceDescriptorProto::clear_name() { |
11384 | 0 | _impl_.name_.ClearToEmpty(); |
11385 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11386 | 0 | } |
11387 | 0 | inline const std::string& ServiceDescriptorProto::name() const { |
11388 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) |
11389 | 0 | return _internal_name(); |
11390 | 0 | } |
11391 | | template <typename ArgT0, typename... ArgT> |
11392 | | inline PROTOBUF_ALWAYS_INLINE |
11393 | | void ServiceDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
11394 | | _impl_._has_bits_[0] |= 0x00000001u; |
11395 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11396 | | // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) |
11397 | | } |
11398 | 0 | inline std::string* ServiceDescriptorProto::mutable_name() { |
11399 | 0 | std::string* _s = _internal_mutable_name(); |
11400 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) |
11401 | 0 | return _s; |
11402 | 0 | } |
11403 | 0 | inline const std::string& ServiceDescriptorProto::_internal_name() const { |
11404 | 0 | return _impl_.name_.Get(); |
11405 | 0 | } |
11406 | 0 | inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) { |
11407 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11408 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11409 | 0 | } |
11410 | 0 | inline std::string* ServiceDescriptorProto::_internal_mutable_name() { |
11411 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11412 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
11413 | 0 | } |
11414 | 0 | inline std::string* ServiceDescriptorProto::release_name() { |
11415 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
11416 | 0 | if (!_internal_has_name()) { |
11417 | 0 | return nullptr; |
11418 | 0 | } |
11419 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11420 | 0 | auto* p = _impl_.name_.Release(); |
11421 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11422 | 0 | if (_impl_.name_.IsDefault()) { |
11423 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11424 | 0 | } |
11425 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11426 | 0 | return p; |
11427 | 0 | } |
11428 | 0 | inline void ServiceDescriptorProto::set_allocated_name(std::string* name) { |
11429 | 0 | if (name != nullptr) { |
11430 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11431 | 0 | } else { |
11432 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11433 | 0 | } |
11434 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
11435 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11436 | 0 | if (_impl_.name_.IsDefault()) { |
11437 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11438 | 0 | } |
11439 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11440 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
11441 | 0 | } |
11442 | | |
11443 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
11444 | 0 | inline int ServiceDescriptorProto::_internal_method_size() const { |
11445 | 0 | return _impl_.method_.size(); |
11446 | 0 | } |
11447 | 0 | inline int ServiceDescriptorProto::method_size() const { |
11448 | 0 | return _internal_method_size(); |
11449 | 0 | } |
11450 | 0 | inline void ServiceDescriptorProto::clear_method() { |
11451 | 0 | _impl_.method_.Clear(); |
11452 | 0 | } |
11453 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) { |
11454 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) |
11455 | 0 | return _impl_.method_.Mutable(index); |
11456 | 0 | } |
11457 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* |
11458 | 0 | ServiceDescriptorProto::mutable_method() { |
11459 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) |
11460 | 0 | return &_impl_.method_; |
11461 | 0 | } |
11462 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const { |
11463 | 0 | return _impl_.method_.Get(index); |
11464 | 0 | } |
11465 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const { |
11466 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) |
11467 | 0 | return _internal_method(index); |
11468 | 0 | } |
11469 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() { |
11470 | 0 | return _impl_.method_.Add(); |
11471 | 0 | } |
11472 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() { |
11473 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _add = _internal_add_method(); |
11474 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) |
11475 | 0 | return _add; |
11476 | 0 | } |
11477 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& |
11478 | 0 | ServiceDescriptorProto::method() const { |
11479 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) |
11480 | 0 | return _impl_.method_; |
11481 | 0 | } |
11482 | | |
11483 | | // optional .google.protobuf.ServiceOptions options = 3; |
11484 | 0 | inline bool ServiceDescriptorProto::_internal_has_options() const { |
11485 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11486 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11487 | 0 | return value; |
11488 | 0 | } |
11489 | 0 | inline bool ServiceDescriptorProto::has_options() const { |
11490 | 0 | return _internal_has_options(); |
11491 | 0 | } |
11492 | 0 | inline void ServiceDescriptorProto::clear_options() { |
11493 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11494 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11495 | 0 | } |
11496 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const { |
11497 | 0 | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions* p = _impl_.options_; |
11498 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ServiceOptions&>( |
11499 | 0 | ::PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_); |
11500 | 0 | } |
11501 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const { |
11502 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) |
11503 | 0 | return _internal_options(); |
11504 | 0 | } |
11505 | | inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options( |
11506 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { |
11507 | 0 | if (GetArenaForAllocation() == nullptr) { |
11508 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11509 | 0 | } |
11510 | 0 | _impl_.options_ = options; |
11511 | 0 | if (options) { |
11512 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11513 | 0 | } else { |
11514 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11515 | 0 | } |
11516 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
11517 | 0 | } |
11518 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() { |
11519 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11520 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = _impl_.options_; |
11521 | 0 | _impl_.options_ = nullptr; |
11522 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11523 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11524 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11525 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11526 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11527 | 0 | if (GetArenaForAllocation() != nullptr) { |
11528 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11529 | 0 | } |
11530 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11531 | 0 | return temp; |
11532 | 0 | } |
11533 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { |
11534 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
11535 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11536 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = _impl_.options_; |
11537 | 0 | _impl_.options_ = nullptr; |
11538 | 0 | return temp; |
11539 | 0 | } |
11540 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() { |
11541 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11542 | 0 | if (_impl_.options_ == nullptr) { |
11543 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(GetArenaForAllocation()); |
11544 | 0 | _impl_.options_ = p; |
11545 | 0 | } |
11546 | 0 | return _impl_.options_; |
11547 | 0 | } |
11548 | 0 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() { |
11549 | 0 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _msg = _internal_mutable_options(); |
11550 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) |
11551 | 0 | return _msg; |
11552 | 0 | } |
11553 | 0 | inline void ServiceDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { |
11554 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11555 | 0 | if (message_arena == nullptr) { |
11556 | 0 | delete _impl_.options_; |
11557 | 0 | } |
11558 | 0 | if (options) { |
11559 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11560 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11561 | 0 | if (message_arena != submessage_arena) { |
11562 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11563 | 0 | message_arena, options, submessage_arena); |
11564 | 0 | } |
11565 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11566 | 0 | } else { |
11567 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11568 | 0 | } |
11569 | 0 | _impl_.options_ = options; |
11570 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
11571 | 0 | } |
11572 | | |
11573 | | // ------------------------------------------------------------------- |
11574 | | |
11575 | | // MethodDescriptorProto |
11576 | | |
11577 | | // optional string name = 1; |
11578 | 0 | inline bool MethodDescriptorProto::_internal_has_name() const { |
11579 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11580 | 0 | return value; |
11581 | 0 | } |
11582 | 0 | inline bool MethodDescriptorProto::has_name() const { |
11583 | 0 | return _internal_has_name(); |
11584 | 0 | } |
11585 | 0 | inline void MethodDescriptorProto::clear_name() { |
11586 | 0 | _impl_.name_.ClearToEmpty(); |
11587 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11588 | 0 | } |
11589 | 0 | inline const std::string& MethodDescriptorProto::name() const { |
11590 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) |
11591 | 0 | return _internal_name(); |
11592 | 0 | } |
11593 | | template <typename ArgT0, typename... ArgT> |
11594 | | inline PROTOBUF_ALWAYS_INLINE |
11595 | | void MethodDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
11596 | | _impl_._has_bits_[0] |= 0x00000001u; |
11597 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11598 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) |
11599 | | } |
11600 | 0 | inline std::string* MethodDescriptorProto::mutable_name() { |
11601 | 0 | std::string* _s = _internal_mutable_name(); |
11602 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) |
11603 | 0 | return _s; |
11604 | 0 | } |
11605 | 0 | inline const std::string& MethodDescriptorProto::_internal_name() const { |
11606 | 0 | return _impl_.name_.Get(); |
11607 | 0 | } |
11608 | 0 | inline void MethodDescriptorProto::_internal_set_name(const std::string& value) { |
11609 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11610 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11611 | 0 | } |
11612 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_name() { |
11613 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11614 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
11615 | 0 | } |
11616 | 0 | inline std::string* MethodDescriptorProto::release_name() { |
11617 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
11618 | 0 | if (!_internal_has_name()) { |
11619 | 0 | return nullptr; |
11620 | 0 | } |
11621 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11622 | 0 | auto* p = _impl_.name_.Release(); |
11623 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11624 | 0 | if (_impl_.name_.IsDefault()) { |
11625 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11626 | 0 | } |
11627 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11628 | 0 | return p; |
11629 | 0 | } |
11630 | 0 | inline void MethodDescriptorProto::set_allocated_name(std::string* name) { |
11631 | 0 | if (name != nullptr) { |
11632 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11633 | 0 | } else { |
11634 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11635 | 0 | } |
11636 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
11637 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11638 | 0 | if (_impl_.name_.IsDefault()) { |
11639 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11640 | 0 | } |
11641 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11642 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) |
11643 | 0 | } |
11644 | | |
11645 | | // optional string input_type = 2; |
11646 | 0 | inline bool MethodDescriptorProto::_internal_has_input_type() const { |
11647 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
11648 | 0 | return value; |
11649 | 0 | } |
11650 | 0 | inline bool MethodDescriptorProto::has_input_type() const { |
11651 | 0 | return _internal_has_input_type(); |
11652 | 0 | } |
11653 | 0 | inline void MethodDescriptorProto::clear_input_type() { |
11654 | 0 | _impl_.input_type_.ClearToEmpty(); |
11655 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11656 | 0 | } |
11657 | 0 | inline const std::string& MethodDescriptorProto::input_type() const { |
11658 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) |
11659 | 0 | return _internal_input_type(); |
11660 | 0 | } |
11661 | | template <typename ArgT0, typename... ArgT> |
11662 | | inline PROTOBUF_ALWAYS_INLINE |
11663 | | void MethodDescriptorProto::set_input_type(ArgT0&& arg0, ArgT... args) { |
11664 | | _impl_._has_bits_[0] |= 0x00000002u; |
11665 | | _impl_.input_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11666 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) |
11667 | | } |
11668 | 0 | inline std::string* MethodDescriptorProto::mutable_input_type() { |
11669 | 0 | std::string* _s = _internal_mutable_input_type(); |
11670 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) |
11671 | 0 | return _s; |
11672 | 0 | } |
11673 | 0 | inline const std::string& MethodDescriptorProto::_internal_input_type() const { |
11674 | 0 | return _impl_.input_type_.Get(); |
11675 | 0 | } |
11676 | 0 | inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) { |
11677 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11678 | 0 | _impl_.input_type_.Set(value, GetArenaForAllocation()); |
11679 | 0 | } |
11680 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_input_type() { |
11681 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11682 | 0 | return _impl_.input_type_.Mutable(GetArenaForAllocation()); |
11683 | 0 | } |
11684 | 0 | inline std::string* MethodDescriptorProto::release_input_type() { |
11685 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
11686 | 0 | if (!_internal_has_input_type()) { |
11687 | 0 | return nullptr; |
11688 | 0 | } |
11689 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11690 | 0 | auto* p = _impl_.input_type_.Release(); |
11691 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11692 | 0 | if (_impl_.input_type_.IsDefault()) { |
11693 | 0 | _impl_.input_type_.Set("", GetArenaForAllocation()); |
11694 | 0 | } |
11695 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11696 | 0 | return p; |
11697 | 0 | } |
11698 | 0 | inline void MethodDescriptorProto::set_allocated_input_type(std::string* input_type) { |
11699 | 0 | if (input_type != nullptr) { |
11700 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
11701 | 0 | } else { |
11702 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
11703 | 0 | } |
11704 | 0 | _impl_.input_type_.SetAllocated(input_type, GetArenaForAllocation()); |
11705 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11706 | 0 | if (_impl_.input_type_.IsDefault()) { |
11707 | 0 | _impl_.input_type_.Set("", GetArenaForAllocation()); |
11708 | 0 | } |
11709 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11710 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
11711 | 0 | } |
11712 | | |
11713 | | // optional string output_type = 3; |
11714 | 0 | inline bool MethodDescriptorProto::_internal_has_output_type() const { |
11715 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
11716 | 0 | return value; |
11717 | 0 | } |
11718 | 0 | inline bool MethodDescriptorProto::has_output_type() const { |
11719 | 0 | return _internal_has_output_type(); |
11720 | 0 | } |
11721 | 0 | inline void MethodDescriptorProto::clear_output_type() { |
11722 | 0 | _impl_.output_type_.ClearToEmpty(); |
11723 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11724 | 0 | } |
11725 | 0 | inline const std::string& MethodDescriptorProto::output_type() const { |
11726 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) |
11727 | 0 | return _internal_output_type(); |
11728 | 0 | } |
11729 | | template <typename ArgT0, typename... ArgT> |
11730 | | inline PROTOBUF_ALWAYS_INLINE |
11731 | | void MethodDescriptorProto::set_output_type(ArgT0&& arg0, ArgT... args) { |
11732 | | _impl_._has_bits_[0] |= 0x00000004u; |
11733 | | _impl_.output_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11734 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) |
11735 | | } |
11736 | 0 | inline std::string* MethodDescriptorProto::mutable_output_type() { |
11737 | 0 | std::string* _s = _internal_mutable_output_type(); |
11738 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) |
11739 | 0 | return _s; |
11740 | 0 | } |
11741 | 0 | inline const std::string& MethodDescriptorProto::_internal_output_type() const { |
11742 | 0 | return _impl_.output_type_.Get(); |
11743 | 0 | } |
11744 | 0 | inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) { |
11745 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11746 | 0 | _impl_.output_type_.Set(value, GetArenaForAllocation()); |
11747 | 0 | } |
11748 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_output_type() { |
11749 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11750 | 0 | return _impl_.output_type_.Mutable(GetArenaForAllocation()); |
11751 | 0 | } |
11752 | 0 | inline std::string* MethodDescriptorProto::release_output_type() { |
11753 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
11754 | 0 | if (!_internal_has_output_type()) { |
11755 | 0 | return nullptr; |
11756 | 0 | } |
11757 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11758 | 0 | auto* p = _impl_.output_type_.Release(); |
11759 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11760 | 0 | if (_impl_.output_type_.IsDefault()) { |
11761 | 0 | _impl_.output_type_.Set("", GetArenaForAllocation()); |
11762 | 0 | } |
11763 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11764 | 0 | return p; |
11765 | 0 | } |
11766 | 0 | inline void MethodDescriptorProto::set_allocated_output_type(std::string* output_type) { |
11767 | 0 | if (output_type != nullptr) { |
11768 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
11769 | 0 | } else { |
11770 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
11771 | 0 | } |
11772 | 0 | _impl_.output_type_.SetAllocated(output_type, GetArenaForAllocation()); |
11773 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11774 | 0 | if (_impl_.output_type_.IsDefault()) { |
11775 | 0 | _impl_.output_type_.Set("", GetArenaForAllocation()); |
11776 | 0 | } |
11777 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11778 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
11779 | 0 | } |
11780 | | |
11781 | | // optional .google.protobuf.MethodOptions options = 4; |
11782 | 0 | inline bool MethodDescriptorProto::_internal_has_options() const { |
11783 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
11784 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
11785 | 0 | return value; |
11786 | 0 | } |
11787 | 0 | inline bool MethodDescriptorProto::has_options() const { |
11788 | 0 | return _internal_has_options(); |
11789 | 0 | } |
11790 | 0 | inline void MethodDescriptorProto::clear_options() { |
11791 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
11792 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11793 | 0 | } |
11794 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const { |
11795 | 0 | const ::PROTOBUF_NAMESPACE_ID::MethodOptions* p = _impl_.options_; |
11796 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MethodOptions&>( |
11797 | 0 | ::PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_); |
11798 | 0 | } |
11799 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const { |
11800 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) |
11801 | 0 | return _internal_options(); |
11802 | 0 | } |
11803 | | inline void MethodDescriptorProto::unsafe_arena_set_allocated_options( |
11804 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options) { |
11805 | 0 | if (GetArenaForAllocation() == nullptr) { |
11806 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
11807 | 0 | } |
11808 | 0 | _impl_.options_ = options; |
11809 | 0 | if (options) { |
11810 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11811 | 0 | } else { |
11812 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11813 | 0 | } |
11814 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options) |
11815 | 0 | } |
11816 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() { |
11817 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11818 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = _impl_.options_; |
11819 | 0 | _impl_.options_ = nullptr; |
11820 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11821 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11822 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11823 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11824 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11825 | 0 | if (GetArenaForAllocation() != nullptr) { |
11826 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11827 | 0 | } |
11828 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11829 | 0 | return temp; |
11830 | 0 | } |
11831 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { |
11832 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
11833 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11834 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = _impl_.options_; |
11835 | 0 | _impl_.options_ = nullptr; |
11836 | 0 | return temp; |
11837 | 0 | } |
11838 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() { |
11839 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11840 | 0 | if (_impl_.options_ == nullptr) { |
11841 | 0 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(GetArenaForAllocation()); |
11842 | 0 | _impl_.options_ = p; |
11843 | 0 | } |
11844 | 0 | return _impl_.options_; |
11845 | 0 | } |
11846 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() { |
11847 | 0 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* _msg = _internal_mutable_options(); |
11848 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) |
11849 | 0 | return _msg; |
11850 | 0 | } |
11851 | 0 | inline void MethodDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options) { |
11852 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11853 | 0 | if (message_arena == nullptr) { |
11854 | 0 | delete _impl_.options_; |
11855 | 0 | } |
11856 | 0 | if (options) { |
11857 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11858 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(options); |
11859 | 0 | if (message_arena != submessage_arena) { |
11860 | 0 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11861 | 0 | message_arena, options, submessage_arena); |
11862 | 0 | } |
11863 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
11864 | 0 | } else { |
11865 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
11866 | 0 | } |
11867 | 0 | _impl_.options_ = options; |
11868 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) |
11869 | 0 | } |
11870 | | |
11871 | | // optional bool client_streaming = 5 [default = false]; |
11872 | 0 | inline bool MethodDescriptorProto::_internal_has_client_streaming() const { |
11873 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
11874 | 0 | return value; |
11875 | 0 | } |
11876 | 0 | inline bool MethodDescriptorProto::has_client_streaming() const { |
11877 | 0 | return _internal_has_client_streaming(); |
11878 | 0 | } |
11879 | 0 | inline void MethodDescriptorProto::clear_client_streaming() { |
11880 | 0 | _impl_.client_streaming_ = false; |
11881 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
11882 | 0 | } |
11883 | 0 | inline bool MethodDescriptorProto::_internal_client_streaming() const { |
11884 | 0 | return _impl_.client_streaming_; |
11885 | 0 | } |
11886 | 0 | inline bool MethodDescriptorProto::client_streaming() const { |
11887 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) |
11888 | 0 | return _internal_client_streaming(); |
11889 | 0 | } |
11890 | 0 | inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) { |
11891 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
11892 | 0 | _impl_.client_streaming_ = value; |
11893 | 0 | } |
11894 | 0 | inline void MethodDescriptorProto::set_client_streaming(bool value) { |
11895 | 0 | _internal_set_client_streaming(value); |
11896 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) |
11897 | 0 | } |
11898 | | |
11899 | | // optional bool server_streaming = 6 [default = false]; |
11900 | 0 | inline bool MethodDescriptorProto::_internal_has_server_streaming() const { |
11901 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
11902 | 0 | return value; |
11903 | 0 | } |
11904 | 0 | inline bool MethodDescriptorProto::has_server_streaming() const { |
11905 | 0 | return _internal_has_server_streaming(); |
11906 | 0 | } |
11907 | 0 | inline void MethodDescriptorProto::clear_server_streaming() { |
11908 | 0 | _impl_.server_streaming_ = false; |
11909 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
11910 | 0 | } |
11911 | 0 | inline bool MethodDescriptorProto::_internal_server_streaming() const { |
11912 | 0 | return _impl_.server_streaming_; |
11913 | 0 | } |
11914 | 0 | inline bool MethodDescriptorProto::server_streaming() const { |
11915 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) |
11916 | 0 | return _internal_server_streaming(); |
11917 | 0 | } |
11918 | 0 | inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) { |
11919 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
11920 | 0 | _impl_.server_streaming_ = value; |
11921 | 0 | } |
11922 | 0 | inline void MethodDescriptorProto::set_server_streaming(bool value) { |
11923 | 0 | _internal_set_server_streaming(value); |
11924 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) |
11925 | 0 | } |
11926 | | |
11927 | | // ------------------------------------------------------------------- |
11928 | | |
11929 | | // FileOptions |
11930 | | |
11931 | | // optional string java_package = 1; |
11932 | 0 | inline bool FileOptions::_internal_has_java_package() const { |
11933 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11934 | 0 | return value; |
11935 | 0 | } |
11936 | 0 | inline bool FileOptions::has_java_package() const { |
11937 | 0 | return _internal_has_java_package(); |
11938 | 0 | } |
11939 | 0 | inline void FileOptions::clear_java_package() { |
11940 | 0 | _impl_.java_package_.ClearToEmpty(); |
11941 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11942 | 0 | } |
11943 | 0 | inline const std::string& FileOptions::java_package() const { |
11944 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) |
11945 | 0 | return _internal_java_package(); |
11946 | 0 | } |
11947 | | template <typename ArgT0, typename... ArgT> |
11948 | | inline PROTOBUF_ALWAYS_INLINE |
11949 | | void FileOptions::set_java_package(ArgT0&& arg0, ArgT... args) { |
11950 | | _impl_._has_bits_[0] |= 0x00000001u; |
11951 | | _impl_.java_package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11952 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) |
11953 | | } |
11954 | 0 | inline std::string* FileOptions::mutable_java_package() { |
11955 | 0 | std::string* _s = _internal_mutable_java_package(); |
11956 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) |
11957 | 0 | return _s; |
11958 | 0 | } |
11959 | 0 | inline const std::string& FileOptions::_internal_java_package() const { |
11960 | 0 | return _impl_.java_package_.Get(); |
11961 | 0 | } |
11962 | 0 | inline void FileOptions::_internal_set_java_package(const std::string& value) { |
11963 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11964 | 0 | _impl_.java_package_.Set(value, GetArenaForAllocation()); |
11965 | 0 | } |
11966 | 0 | inline std::string* FileOptions::_internal_mutable_java_package() { |
11967 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11968 | 0 | return _impl_.java_package_.Mutable(GetArenaForAllocation()); |
11969 | 0 | } |
11970 | 0 | inline std::string* FileOptions::release_java_package() { |
11971 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
11972 | 0 | if (!_internal_has_java_package()) { |
11973 | 0 | return nullptr; |
11974 | 0 | } |
11975 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11976 | 0 | auto* p = _impl_.java_package_.Release(); |
11977 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11978 | 0 | if (_impl_.java_package_.IsDefault()) { |
11979 | 0 | _impl_.java_package_.Set("", GetArenaForAllocation()); |
11980 | 0 | } |
11981 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11982 | 0 | return p; |
11983 | 0 | } |
11984 | 0 | inline void FileOptions::set_allocated_java_package(std::string* java_package) { |
11985 | 0 | if (java_package != nullptr) { |
11986 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11987 | 0 | } else { |
11988 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11989 | 0 | } |
11990 | 0 | _impl_.java_package_.SetAllocated(java_package, GetArenaForAllocation()); |
11991 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11992 | 0 | if (_impl_.java_package_.IsDefault()) { |
11993 | 0 | _impl_.java_package_.Set("", GetArenaForAllocation()); |
11994 | 0 | } |
11995 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11996 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) |
11997 | 0 | } |
11998 | | |
11999 | | // optional string java_outer_classname = 8; |
12000 | 0 | inline bool FileOptions::_internal_has_java_outer_classname() const { |
12001 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12002 | 0 | return value; |
12003 | 0 | } |
12004 | 0 | inline bool FileOptions::has_java_outer_classname() const { |
12005 | 0 | return _internal_has_java_outer_classname(); |
12006 | 0 | } |
12007 | 0 | inline void FileOptions::clear_java_outer_classname() { |
12008 | 0 | _impl_.java_outer_classname_.ClearToEmpty(); |
12009 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12010 | 0 | } |
12011 | 0 | inline const std::string& FileOptions::java_outer_classname() const { |
12012 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) |
12013 | 0 | return _internal_java_outer_classname(); |
12014 | 0 | } |
12015 | | template <typename ArgT0, typename... ArgT> |
12016 | | inline PROTOBUF_ALWAYS_INLINE |
12017 | | void FileOptions::set_java_outer_classname(ArgT0&& arg0, ArgT... args) { |
12018 | | _impl_._has_bits_[0] |= 0x00000002u; |
12019 | | _impl_.java_outer_classname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12020 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) |
12021 | | } |
12022 | 0 | inline std::string* FileOptions::mutable_java_outer_classname() { |
12023 | 0 | std::string* _s = _internal_mutable_java_outer_classname(); |
12024 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) |
12025 | 0 | return _s; |
12026 | 0 | } |
12027 | 0 | inline const std::string& FileOptions::_internal_java_outer_classname() const { |
12028 | 0 | return _impl_.java_outer_classname_.Get(); |
12029 | 0 | } |
12030 | 0 | inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) { |
12031 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12032 | 0 | _impl_.java_outer_classname_.Set(value, GetArenaForAllocation()); |
12033 | 0 | } |
12034 | 0 | inline std::string* FileOptions::_internal_mutable_java_outer_classname() { |
12035 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12036 | 0 | return _impl_.java_outer_classname_.Mutable(GetArenaForAllocation()); |
12037 | 0 | } |
12038 | 0 | inline std::string* FileOptions::release_java_outer_classname() { |
12039 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
12040 | 0 | if (!_internal_has_java_outer_classname()) { |
12041 | 0 | return nullptr; |
12042 | 0 | } |
12043 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12044 | 0 | auto* p = _impl_.java_outer_classname_.Release(); |
12045 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12046 | 0 | if (_impl_.java_outer_classname_.IsDefault()) { |
12047 | 0 | _impl_.java_outer_classname_.Set("", GetArenaForAllocation()); |
12048 | 0 | } |
12049 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12050 | 0 | return p; |
12051 | 0 | } |
12052 | 0 | inline void FileOptions::set_allocated_java_outer_classname(std::string* java_outer_classname) { |
12053 | 0 | if (java_outer_classname != nullptr) { |
12054 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12055 | 0 | } else { |
12056 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12057 | 0 | } |
12058 | 0 | _impl_.java_outer_classname_.SetAllocated(java_outer_classname, GetArenaForAllocation()); |
12059 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12060 | 0 | if (_impl_.java_outer_classname_.IsDefault()) { |
12061 | 0 | _impl_.java_outer_classname_.Set("", GetArenaForAllocation()); |
12062 | 0 | } |
12063 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12064 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
12065 | 0 | } |
12066 | | |
12067 | | // optional bool java_multiple_files = 10 [default = false]; |
12068 | 0 | inline bool FileOptions::_internal_has_java_multiple_files() const { |
12069 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
12070 | 0 | return value; |
12071 | 0 | } |
12072 | 0 | inline bool FileOptions::has_java_multiple_files() const { |
12073 | 0 | return _internal_has_java_multiple_files(); |
12074 | 0 | } |
12075 | 0 | inline void FileOptions::clear_java_multiple_files() { |
12076 | 0 | _impl_.java_multiple_files_ = false; |
12077 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
12078 | 0 | } |
12079 | 0 | inline bool FileOptions::_internal_java_multiple_files() const { |
12080 | 0 | return _impl_.java_multiple_files_; |
12081 | 0 | } |
12082 | 0 | inline bool FileOptions::java_multiple_files() const { |
12083 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) |
12084 | 0 | return _internal_java_multiple_files(); |
12085 | 0 | } |
12086 | 0 | inline void FileOptions::_internal_set_java_multiple_files(bool value) { |
12087 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
12088 | 0 | _impl_.java_multiple_files_ = value; |
12089 | 0 | } |
12090 | 0 | inline void FileOptions::set_java_multiple_files(bool value) { |
12091 | 0 | _internal_set_java_multiple_files(value); |
12092 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) |
12093 | 0 | } |
12094 | | |
12095 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
12096 | 0 | inline bool FileOptions::_internal_has_java_generate_equals_and_hash() const { |
12097 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; |
12098 | 0 | return value; |
12099 | 0 | } |
12100 | 0 | inline bool FileOptions::has_java_generate_equals_and_hash() const { |
12101 | 0 | return _internal_has_java_generate_equals_and_hash(); |
12102 | 0 | } |
12103 | 0 | inline void FileOptions::clear_java_generate_equals_and_hash() { |
12104 | 0 | _impl_.java_generate_equals_and_hash_ = false; |
12105 | 0 | _impl_._has_bits_[0] &= ~0x00000800u; |
12106 | 0 | } |
12107 | 0 | inline bool FileOptions::_internal_java_generate_equals_and_hash() const { |
12108 | 0 | return _impl_.java_generate_equals_and_hash_; |
12109 | 0 | } |
12110 | 0 | inline bool FileOptions::java_generate_equals_and_hash() const { |
12111 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) |
12112 | 0 | return _internal_java_generate_equals_and_hash(); |
12113 | 0 | } |
12114 | 0 | inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) { |
12115 | 0 | _impl_._has_bits_[0] |= 0x00000800u; |
12116 | 0 | _impl_.java_generate_equals_and_hash_ = value; |
12117 | 0 | } |
12118 | 0 | inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
12119 | 0 | _internal_set_java_generate_equals_and_hash(value); |
12120 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) |
12121 | 0 | } |
12122 | | |
12123 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
12124 | 0 | inline bool FileOptions::_internal_has_java_string_check_utf8() const { |
12125 | 0 | bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; |
12126 | 0 | return value; |
12127 | 0 | } |
12128 | 0 | inline bool FileOptions::has_java_string_check_utf8() const { |
12129 | 0 | return _internal_has_java_string_check_utf8(); |
12130 | 0 | } |
12131 | 0 | inline void FileOptions::clear_java_string_check_utf8() { |
12132 | 0 | _impl_.java_string_check_utf8_ = false; |
12133 | 0 | _impl_._has_bits_[0] &= ~0x00001000u; |
12134 | 0 | } |
12135 | 0 | inline bool FileOptions::_internal_java_string_check_utf8() const { |
12136 | 0 | return _impl_.java_string_check_utf8_; |
12137 | 0 | } |
12138 | 0 | inline bool FileOptions::java_string_check_utf8() const { |
12139 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) |
12140 | 0 | return _internal_java_string_check_utf8(); |
12141 | 0 | } |
12142 | 0 | inline void FileOptions::_internal_set_java_string_check_utf8(bool value) { |
12143 | 0 | _impl_._has_bits_[0] |= 0x00001000u; |
12144 | 0 | _impl_.java_string_check_utf8_ = value; |
12145 | 0 | } |
12146 | 0 | inline void FileOptions::set_java_string_check_utf8(bool value) { |
12147 | 0 | _internal_set_java_string_check_utf8(value); |
12148 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) |
12149 | 0 | } |
12150 | | |
12151 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
12152 | 0 | inline bool FileOptions::_internal_has_optimize_for() const { |
12153 | 0 | bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; |
12154 | 0 | return value; |
12155 | 0 | } |
12156 | 0 | inline bool FileOptions::has_optimize_for() const { |
12157 | 0 | return _internal_has_optimize_for(); |
12158 | 0 | } |
12159 | 0 | inline void FileOptions::clear_optimize_for() { |
12160 | 0 | _impl_.optimize_for_ = 1; |
12161 | 0 | _impl_._has_bits_[0] &= ~0x00040000u; |
12162 | 0 | } |
12163 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const { |
12164 | 0 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode >(_impl_.optimize_for_); |
12165 | 0 | } |
12166 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const { |
12167 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) |
12168 | 0 | return _internal_optimize_for(); |
12169 | 0 | } |
12170 | 0 | inline void FileOptions::_internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { |
12171 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value)); |
12172 | 0 | _impl_._has_bits_[0] |= 0x00040000u; |
12173 | 0 | _impl_.optimize_for_ = value; |
12174 | 0 | } |
12175 | 0 | inline void FileOptions::set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { |
12176 | 0 | _internal_set_optimize_for(value); |
12177 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) |
12178 | 0 | } |
12179 | | |
12180 | | // optional string go_package = 11; |
12181 | 0 | inline bool FileOptions::_internal_has_go_package() const { |
12182 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12183 | 0 | return value; |
12184 | 0 | } |
12185 | 0 | inline bool FileOptions::has_go_package() const { |
12186 | 0 | return _internal_has_go_package(); |
12187 | 0 | } |
12188 | 0 | inline void FileOptions::clear_go_package() { |
12189 | 0 | _impl_.go_package_.ClearToEmpty(); |
12190 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12191 | 0 | } |
12192 | 0 | inline const std::string& FileOptions::go_package() const { |
12193 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
12194 | 0 | return _internal_go_package(); |
12195 | 0 | } |
12196 | | template <typename ArgT0, typename... ArgT> |
12197 | | inline PROTOBUF_ALWAYS_INLINE |
12198 | | void FileOptions::set_go_package(ArgT0&& arg0, ArgT... args) { |
12199 | | _impl_._has_bits_[0] |= 0x00000004u; |
12200 | | _impl_.go_package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12201 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
12202 | | } |
12203 | 0 | inline std::string* FileOptions::mutable_go_package() { |
12204 | 0 | std::string* _s = _internal_mutable_go_package(); |
12205 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) |
12206 | 0 | return _s; |
12207 | 0 | } |
12208 | 0 | inline const std::string& FileOptions::_internal_go_package() const { |
12209 | 0 | return _impl_.go_package_.Get(); |
12210 | 0 | } |
12211 | 0 | inline void FileOptions::_internal_set_go_package(const std::string& value) { |
12212 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12213 | 0 | _impl_.go_package_.Set(value, GetArenaForAllocation()); |
12214 | 0 | } |
12215 | 0 | inline std::string* FileOptions::_internal_mutable_go_package() { |
12216 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12217 | 0 | return _impl_.go_package_.Mutable(GetArenaForAllocation()); |
12218 | 0 | } |
12219 | 0 | inline std::string* FileOptions::release_go_package() { |
12220 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
12221 | 0 | if (!_internal_has_go_package()) { |
12222 | 0 | return nullptr; |
12223 | 0 | } |
12224 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12225 | 0 | auto* p = _impl_.go_package_.Release(); |
12226 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12227 | 0 | if (_impl_.go_package_.IsDefault()) { |
12228 | 0 | _impl_.go_package_.Set("", GetArenaForAllocation()); |
12229 | 0 | } |
12230 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12231 | 0 | return p; |
12232 | 0 | } |
12233 | 0 | inline void FileOptions::set_allocated_go_package(std::string* go_package) { |
12234 | 0 | if (go_package != nullptr) { |
12235 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12236 | 0 | } else { |
12237 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12238 | 0 | } |
12239 | 0 | _impl_.go_package_.SetAllocated(go_package, GetArenaForAllocation()); |
12240 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12241 | 0 | if (_impl_.go_package_.IsDefault()) { |
12242 | 0 | _impl_.go_package_.Set("", GetArenaForAllocation()); |
12243 | 0 | } |
12244 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12245 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) |
12246 | 0 | } |
12247 | | |
12248 | | // optional bool cc_generic_services = 16 [default = false]; |
12249 | 0 | inline bool FileOptions::_internal_has_cc_generic_services() const { |
12250 | 0 | bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; |
12251 | 0 | return value; |
12252 | 0 | } |
12253 | 0 | inline bool FileOptions::has_cc_generic_services() const { |
12254 | 0 | return _internal_has_cc_generic_services(); |
12255 | 0 | } |
12256 | 0 | inline void FileOptions::clear_cc_generic_services() { |
12257 | 0 | _impl_.cc_generic_services_ = false; |
12258 | 0 | _impl_._has_bits_[0] &= ~0x00002000u; |
12259 | 0 | } |
12260 | 0 | inline bool FileOptions::_internal_cc_generic_services() const { |
12261 | 0 | return _impl_.cc_generic_services_; |
12262 | 0 | } |
12263 | 0 | inline bool FileOptions::cc_generic_services() const { |
12264 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) |
12265 | 0 | return _internal_cc_generic_services(); |
12266 | 0 | } |
12267 | 0 | inline void FileOptions::_internal_set_cc_generic_services(bool value) { |
12268 | 0 | _impl_._has_bits_[0] |= 0x00002000u; |
12269 | 0 | _impl_.cc_generic_services_ = value; |
12270 | 0 | } |
12271 | 0 | inline void FileOptions::set_cc_generic_services(bool value) { |
12272 | 0 | _internal_set_cc_generic_services(value); |
12273 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) |
12274 | 0 | } |
12275 | | |
12276 | | // optional bool java_generic_services = 17 [default = false]; |
12277 | 0 | inline bool FileOptions::_internal_has_java_generic_services() const { |
12278 | 0 | bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; |
12279 | 0 | return value; |
12280 | 0 | } |
12281 | 0 | inline bool FileOptions::has_java_generic_services() const { |
12282 | 0 | return _internal_has_java_generic_services(); |
12283 | 0 | } |
12284 | 0 | inline void FileOptions::clear_java_generic_services() { |
12285 | 0 | _impl_.java_generic_services_ = false; |
12286 | 0 | _impl_._has_bits_[0] &= ~0x00004000u; |
12287 | 0 | } |
12288 | 0 | inline bool FileOptions::_internal_java_generic_services() const { |
12289 | 0 | return _impl_.java_generic_services_; |
12290 | 0 | } |
12291 | 0 | inline bool FileOptions::java_generic_services() const { |
12292 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) |
12293 | 0 | return _internal_java_generic_services(); |
12294 | 0 | } |
12295 | 0 | inline void FileOptions::_internal_set_java_generic_services(bool value) { |
12296 | 0 | _impl_._has_bits_[0] |= 0x00004000u; |
12297 | 0 | _impl_.java_generic_services_ = value; |
12298 | 0 | } |
12299 | 0 | inline void FileOptions::set_java_generic_services(bool value) { |
12300 | 0 | _internal_set_java_generic_services(value); |
12301 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) |
12302 | 0 | } |
12303 | | |
12304 | | // optional bool py_generic_services = 18 [default = false]; |
12305 | 0 | inline bool FileOptions::_internal_has_py_generic_services() const { |
12306 | 0 | bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; |
12307 | 0 | return value; |
12308 | 0 | } |
12309 | 0 | inline bool FileOptions::has_py_generic_services() const { |
12310 | 0 | return _internal_has_py_generic_services(); |
12311 | 0 | } |
12312 | 0 | inline void FileOptions::clear_py_generic_services() { |
12313 | 0 | _impl_.py_generic_services_ = false; |
12314 | 0 | _impl_._has_bits_[0] &= ~0x00008000u; |
12315 | 0 | } |
12316 | 0 | inline bool FileOptions::_internal_py_generic_services() const { |
12317 | 0 | return _impl_.py_generic_services_; |
12318 | 0 | } |
12319 | 0 | inline bool FileOptions::py_generic_services() const { |
12320 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) |
12321 | 0 | return _internal_py_generic_services(); |
12322 | 0 | } |
12323 | 0 | inline void FileOptions::_internal_set_py_generic_services(bool value) { |
12324 | 0 | _impl_._has_bits_[0] |= 0x00008000u; |
12325 | 0 | _impl_.py_generic_services_ = value; |
12326 | 0 | } |
12327 | 0 | inline void FileOptions::set_py_generic_services(bool value) { |
12328 | 0 | _internal_set_py_generic_services(value); |
12329 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) |
12330 | 0 | } |
12331 | | |
12332 | | // optional bool php_generic_services = 42 [default = false]; |
12333 | 0 | inline bool FileOptions::_internal_has_php_generic_services() const { |
12334 | 0 | bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; |
12335 | 0 | return value; |
12336 | 0 | } |
12337 | 0 | inline bool FileOptions::has_php_generic_services() const { |
12338 | 0 | return _internal_has_php_generic_services(); |
12339 | 0 | } |
12340 | 0 | inline void FileOptions::clear_php_generic_services() { |
12341 | 0 | _impl_.php_generic_services_ = false; |
12342 | 0 | _impl_._has_bits_[0] &= ~0x00010000u; |
12343 | 0 | } |
12344 | 0 | inline bool FileOptions::_internal_php_generic_services() const { |
12345 | 0 | return _impl_.php_generic_services_; |
12346 | 0 | } |
12347 | 0 | inline bool FileOptions::php_generic_services() const { |
12348 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services) |
12349 | 0 | return _internal_php_generic_services(); |
12350 | 0 | } |
12351 | 0 | inline void FileOptions::_internal_set_php_generic_services(bool value) { |
12352 | 0 | _impl_._has_bits_[0] |= 0x00010000u; |
12353 | 0 | _impl_.php_generic_services_ = value; |
12354 | 0 | } |
12355 | 0 | inline void FileOptions::set_php_generic_services(bool value) { |
12356 | 0 | _internal_set_php_generic_services(value); |
12357 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services) |
12358 | 0 | } |
12359 | | |
12360 | | // optional bool deprecated = 23 [default = false]; |
12361 | 0 | inline bool FileOptions::_internal_has_deprecated() const { |
12362 | 0 | bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; |
12363 | 0 | return value; |
12364 | 0 | } |
12365 | 0 | inline bool FileOptions::has_deprecated() const { |
12366 | 0 | return _internal_has_deprecated(); |
12367 | 0 | } |
12368 | 0 | inline void FileOptions::clear_deprecated() { |
12369 | 0 | _impl_.deprecated_ = false; |
12370 | 0 | _impl_._has_bits_[0] &= ~0x00020000u; |
12371 | 0 | } |
12372 | 0 | inline bool FileOptions::_internal_deprecated() const { |
12373 | 0 | return _impl_.deprecated_; |
12374 | 0 | } |
12375 | 0 | inline bool FileOptions::deprecated() const { |
12376 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
12377 | 0 | return _internal_deprecated(); |
12378 | 0 | } |
12379 | 0 | inline void FileOptions::_internal_set_deprecated(bool value) { |
12380 | 0 | _impl_._has_bits_[0] |= 0x00020000u; |
12381 | 0 | _impl_.deprecated_ = value; |
12382 | 0 | } |
12383 | 0 | inline void FileOptions::set_deprecated(bool value) { |
12384 | 0 | _internal_set_deprecated(value); |
12385 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
12386 | 0 | } |
12387 | | |
12388 | | // optional bool cc_enable_arenas = 31 [default = true]; |
12389 | 0 | inline bool FileOptions::_internal_has_cc_enable_arenas() const { |
12390 | 0 | bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; |
12391 | 0 | return value; |
12392 | 0 | } |
12393 | 0 | inline bool FileOptions::has_cc_enable_arenas() const { |
12394 | 0 | return _internal_has_cc_enable_arenas(); |
12395 | 0 | } |
12396 | 0 | inline void FileOptions::clear_cc_enable_arenas() { |
12397 | 0 | _impl_.cc_enable_arenas_ = true; |
12398 | 0 | _impl_._has_bits_[0] &= ~0x00080000u; |
12399 | 0 | } |
12400 | 0 | inline bool FileOptions::_internal_cc_enable_arenas() const { |
12401 | 0 | return _impl_.cc_enable_arenas_; |
12402 | 0 | } |
12403 | 0 | inline bool FileOptions::cc_enable_arenas() const { |
12404 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) |
12405 | 0 | return _internal_cc_enable_arenas(); |
12406 | 0 | } |
12407 | 0 | inline void FileOptions::_internal_set_cc_enable_arenas(bool value) { |
12408 | 0 | _impl_._has_bits_[0] |= 0x00080000u; |
12409 | 0 | _impl_.cc_enable_arenas_ = value; |
12410 | 0 | } |
12411 | 0 | inline void FileOptions::set_cc_enable_arenas(bool value) { |
12412 | 0 | _internal_set_cc_enable_arenas(value); |
12413 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) |
12414 | 0 | } |
12415 | | |
12416 | | // optional string objc_class_prefix = 36; |
12417 | 0 | inline bool FileOptions::_internal_has_objc_class_prefix() const { |
12418 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
12419 | 0 | return value; |
12420 | 0 | } |
12421 | 0 | inline bool FileOptions::has_objc_class_prefix() const { |
12422 | 0 | return _internal_has_objc_class_prefix(); |
12423 | 0 | } |
12424 | 0 | inline void FileOptions::clear_objc_class_prefix() { |
12425 | 0 | _impl_.objc_class_prefix_.ClearToEmpty(); |
12426 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12427 | 0 | } |
12428 | 0 | inline const std::string& FileOptions::objc_class_prefix() const { |
12429 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) |
12430 | 0 | return _internal_objc_class_prefix(); |
12431 | 0 | } |
12432 | | template <typename ArgT0, typename... ArgT> |
12433 | | inline PROTOBUF_ALWAYS_INLINE |
12434 | | void FileOptions::set_objc_class_prefix(ArgT0&& arg0, ArgT... args) { |
12435 | | _impl_._has_bits_[0] |= 0x00000008u; |
12436 | | _impl_.objc_class_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12437 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) |
12438 | | } |
12439 | 0 | inline std::string* FileOptions::mutable_objc_class_prefix() { |
12440 | 0 | std::string* _s = _internal_mutable_objc_class_prefix(); |
12441 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) |
12442 | 0 | return _s; |
12443 | 0 | } |
12444 | 0 | inline const std::string& FileOptions::_internal_objc_class_prefix() const { |
12445 | 0 | return _impl_.objc_class_prefix_.Get(); |
12446 | 0 | } |
12447 | 0 | inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) { |
12448 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12449 | 0 | _impl_.objc_class_prefix_.Set(value, GetArenaForAllocation()); |
12450 | 0 | } |
12451 | 0 | inline std::string* FileOptions::_internal_mutable_objc_class_prefix() { |
12452 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12453 | 0 | return _impl_.objc_class_prefix_.Mutable(GetArenaForAllocation()); |
12454 | 0 | } |
12455 | 0 | inline std::string* FileOptions::release_objc_class_prefix() { |
12456 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
12457 | 0 | if (!_internal_has_objc_class_prefix()) { |
12458 | 0 | return nullptr; |
12459 | 0 | } |
12460 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12461 | 0 | auto* p = _impl_.objc_class_prefix_.Release(); |
12462 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12463 | 0 | if (_impl_.objc_class_prefix_.IsDefault()) { |
12464 | 0 | _impl_.objc_class_prefix_.Set("", GetArenaForAllocation()); |
12465 | 0 | } |
12466 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12467 | 0 | return p; |
12468 | 0 | } |
12469 | 0 | inline void FileOptions::set_allocated_objc_class_prefix(std::string* objc_class_prefix) { |
12470 | 0 | if (objc_class_prefix != nullptr) { |
12471 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12472 | 0 | } else { |
12473 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12474 | 0 | } |
12475 | 0 | _impl_.objc_class_prefix_.SetAllocated(objc_class_prefix, GetArenaForAllocation()); |
12476 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12477 | 0 | if (_impl_.objc_class_prefix_.IsDefault()) { |
12478 | 0 | _impl_.objc_class_prefix_.Set("", GetArenaForAllocation()); |
12479 | 0 | } |
12480 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12481 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
12482 | 0 | } |
12483 | | |
12484 | | // optional string csharp_namespace = 37; |
12485 | 0 | inline bool FileOptions::_internal_has_csharp_namespace() const { |
12486 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
12487 | 0 | return value; |
12488 | 0 | } |
12489 | 0 | inline bool FileOptions::has_csharp_namespace() const { |
12490 | 0 | return _internal_has_csharp_namespace(); |
12491 | 0 | } |
12492 | 0 | inline void FileOptions::clear_csharp_namespace() { |
12493 | 0 | _impl_.csharp_namespace_.ClearToEmpty(); |
12494 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12495 | 0 | } |
12496 | 0 | inline const std::string& FileOptions::csharp_namespace() const { |
12497 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) |
12498 | 0 | return _internal_csharp_namespace(); |
12499 | 0 | } |
12500 | | template <typename ArgT0, typename... ArgT> |
12501 | | inline PROTOBUF_ALWAYS_INLINE |
12502 | | void FileOptions::set_csharp_namespace(ArgT0&& arg0, ArgT... args) { |
12503 | | _impl_._has_bits_[0] |= 0x00000010u; |
12504 | | _impl_.csharp_namespace_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12505 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) |
12506 | | } |
12507 | 0 | inline std::string* FileOptions::mutable_csharp_namespace() { |
12508 | 0 | std::string* _s = _internal_mutable_csharp_namespace(); |
12509 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) |
12510 | 0 | return _s; |
12511 | 0 | } |
12512 | 0 | inline const std::string& FileOptions::_internal_csharp_namespace() const { |
12513 | 0 | return _impl_.csharp_namespace_.Get(); |
12514 | 0 | } |
12515 | 0 | inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) { |
12516 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12517 | 0 | _impl_.csharp_namespace_.Set(value, GetArenaForAllocation()); |
12518 | 0 | } |
12519 | 0 | inline std::string* FileOptions::_internal_mutable_csharp_namespace() { |
12520 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12521 | 0 | return _impl_.csharp_namespace_.Mutable(GetArenaForAllocation()); |
12522 | 0 | } |
12523 | 0 | inline std::string* FileOptions::release_csharp_namespace() { |
12524 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
12525 | 0 | if (!_internal_has_csharp_namespace()) { |
12526 | 0 | return nullptr; |
12527 | 0 | } |
12528 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12529 | 0 | auto* p = _impl_.csharp_namespace_.Release(); |
12530 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12531 | 0 | if (_impl_.csharp_namespace_.IsDefault()) { |
12532 | 0 | _impl_.csharp_namespace_.Set("", GetArenaForAllocation()); |
12533 | 0 | } |
12534 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12535 | 0 | return p; |
12536 | 0 | } |
12537 | 0 | inline void FileOptions::set_allocated_csharp_namespace(std::string* csharp_namespace) { |
12538 | 0 | if (csharp_namespace != nullptr) { |
12539 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12540 | 0 | } else { |
12541 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12542 | 0 | } |
12543 | 0 | _impl_.csharp_namespace_.SetAllocated(csharp_namespace, GetArenaForAllocation()); |
12544 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12545 | 0 | if (_impl_.csharp_namespace_.IsDefault()) { |
12546 | 0 | _impl_.csharp_namespace_.Set("", GetArenaForAllocation()); |
12547 | 0 | } |
12548 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12549 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
12550 | 0 | } |
12551 | | |
12552 | | // optional string swift_prefix = 39; |
12553 | 0 | inline bool FileOptions::_internal_has_swift_prefix() const { |
12554 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
12555 | 0 | return value; |
12556 | 0 | } |
12557 | 0 | inline bool FileOptions::has_swift_prefix() const { |
12558 | 0 | return _internal_has_swift_prefix(); |
12559 | 0 | } |
12560 | 0 | inline void FileOptions::clear_swift_prefix() { |
12561 | 0 | _impl_.swift_prefix_.ClearToEmpty(); |
12562 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12563 | 0 | } |
12564 | 0 | inline const std::string& FileOptions::swift_prefix() const { |
12565 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) |
12566 | 0 | return _internal_swift_prefix(); |
12567 | 0 | } |
12568 | | template <typename ArgT0, typename... ArgT> |
12569 | | inline PROTOBUF_ALWAYS_INLINE |
12570 | | void FileOptions::set_swift_prefix(ArgT0&& arg0, ArgT... args) { |
12571 | | _impl_._has_bits_[0] |= 0x00000020u; |
12572 | | _impl_.swift_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12573 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) |
12574 | | } |
12575 | 0 | inline std::string* FileOptions::mutable_swift_prefix() { |
12576 | 0 | std::string* _s = _internal_mutable_swift_prefix(); |
12577 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) |
12578 | 0 | return _s; |
12579 | 0 | } |
12580 | 0 | inline const std::string& FileOptions::_internal_swift_prefix() const { |
12581 | 0 | return _impl_.swift_prefix_.Get(); |
12582 | 0 | } |
12583 | 0 | inline void FileOptions::_internal_set_swift_prefix(const std::string& value) { |
12584 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12585 | 0 | _impl_.swift_prefix_.Set(value, GetArenaForAllocation()); |
12586 | 0 | } |
12587 | 0 | inline std::string* FileOptions::_internal_mutable_swift_prefix() { |
12588 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12589 | 0 | return _impl_.swift_prefix_.Mutable(GetArenaForAllocation()); |
12590 | 0 | } |
12591 | 0 | inline std::string* FileOptions::release_swift_prefix() { |
12592 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) |
12593 | 0 | if (!_internal_has_swift_prefix()) { |
12594 | 0 | return nullptr; |
12595 | 0 | } |
12596 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12597 | 0 | auto* p = _impl_.swift_prefix_.Release(); |
12598 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12599 | 0 | if (_impl_.swift_prefix_.IsDefault()) { |
12600 | 0 | _impl_.swift_prefix_.Set("", GetArenaForAllocation()); |
12601 | 0 | } |
12602 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12603 | 0 | return p; |
12604 | 0 | } |
12605 | 0 | inline void FileOptions::set_allocated_swift_prefix(std::string* swift_prefix) { |
12606 | 0 | if (swift_prefix != nullptr) { |
12607 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12608 | 0 | } else { |
12609 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12610 | 0 | } |
12611 | 0 | _impl_.swift_prefix_.SetAllocated(swift_prefix, GetArenaForAllocation()); |
12612 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12613 | 0 | if (_impl_.swift_prefix_.IsDefault()) { |
12614 | 0 | _impl_.swift_prefix_.Set("", GetArenaForAllocation()); |
12615 | 0 | } |
12616 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12617 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) |
12618 | 0 | } |
12619 | | |
12620 | | // optional string php_class_prefix = 40; |
12621 | 0 | inline bool FileOptions::_internal_has_php_class_prefix() const { |
12622 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
12623 | 0 | return value; |
12624 | 0 | } |
12625 | 0 | inline bool FileOptions::has_php_class_prefix() const { |
12626 | 0 | return _internal_has_php_class_prefix(); |
12627 | 0 | } |
12628 | 0 | inline void FileOptions::clear_php_class_prefix() { |
12629 | 0 | _impl_.php_class_prefix_.ClearToEmpty(); |
12630 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12631 | 0 | } |
12632 | 0 | inline const std::string& FileOptions::php_class_prefix() const { |
12633 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) |
12634 | 0 | return _internal_php_class_prefix(); |
12635 | 0 | } |
12636 | | template <typename ArgT0, typename... ArgT> |
12637 | | inline PROTOBUF_ALWAYS_INLINE |
12638 | | void FileOptions::set_php_class_prefix(ArgT0&& arg0, ArgT... args) { |
12639 | | _impl_._has_bits_[0] |= 0x00000040u; |
12640 | | _impl_.php_class_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12641 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) |
12642 | | } |
12643 | 0 | inline std::string* FileOptions::mutable_php_class_prefix() { |
12644 | 0 | std::string* _s = _internal_mutable_php_class_prefix(); |
12645 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) |
12646 | 0 | return _s; |
12647 | 0 | } |
12648 | 0 | inline const std::string& FileOptions::_internal_php_class_prefix() const { |
12649 | 0 | return _impl_.php_class_prefix_.Get(); |
12650 | 0 | } |
12651 | 0 | inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) { |
12652 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12653 | 0 | _impl_.php_class_prefix_.Set(value, GetArenaForAllocation()); |
12654 | 0 | } |
12655 | 0 | inline std::string* FileOptions::_internal_mutable_php_class_prefix() { |
12656 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12657 | 0 | return _impl_.php_class_prefix_.Mutable(GetArenaForAllocation()); |
12658 | 0 | } |
12659 | 0 | inline std::string* FileOptions::release_php_class_prefix() { |
12660 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) |
12661 | 0 | if (!_internal_has_php_class_prefix()) { |
12662 | 0 | return nullptr; |
12663 | 0 | } |
12664 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12665 | 0 | auto* p = _impl_.php_class_prefix_.Release(); |
12666 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12667 | 0 | if (_impl_.php_class_prefix_.IsDefault()) { |
12668 | 0 | _impl_.php_class_prefix_.Set("", GetArenaForAllocation()); |
12669 | 0 | } |
12670 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12671 | 0 | return p; |
12672 | 0 | } |
12673 | 0 | inline void FileOptions::set_allocated_php_class_prefix(std::string* php_class_prefix) { |
12674 | 0 | if (php_class_prefix != nullptr) { |
12675 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
12676 | 0 | } else { |
12677 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
12678 | 0 | } |
12679 | 0 | _impl_.php_class_prefix_.SetAllocated(php_class_prefix, GetArenaForAllocation()); |
12680 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12681 | 0 | if (_impl_.php_class_prefix_.IsDefault()) { |
12682 | 0 | _impl_.php_class_prefix_.Set("", GetArenaForAllocation()); |
12683 | 0 | } |
12684 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12685 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
12686 | 0 | } |
12687 | | |
12688 | | // optional string php_namespace = 41; |
12689 | 0 | inline bool FileOptions::_internal_has_php_namespace() const { |
12690 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
12691 | 0 | return value; |
12692 | 0 | } |
12693 | 0 | inline bool FileOptions::has_php_namespace() const { |
12694 | 0 | return _internal_has_php_namespace(); |
12695 | 0 | } |
12696 | 0 | inline void FileOptions::clear_php_namespace() { |
12697 | 0 | _impl_.php_namespace_.ClearToEmpty(); |
12698 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
12699 | 0 | } |
12700 | 0 | inline const std::string& FileOptions::php_namespace() const { |
12701 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) |
12702 | 0 | return _internal_php_namespace(); |
12703 | 0 | } |
12704 | | template <typename ArgT0, typename... ArgT> |
12705 | | inline PROTOBUF_ALWAYS_INLINE |
12706 | | void FileOptions::set_php_namespace(ArgT0&& arg0, ArgT... args) { |
12707 | | _impl_._has_bits_[0] |= 0x00000080u; |
12708 | | _impl_.php_namespace_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12709 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) |
12710 | | } |
12711 | 0 | inline std::string* FileOptions::mutable_php_namespace() { |
12712 | 0 | std::string* _s = _internal_mutable_php_namespace(); |
12713 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) |
12714 | 0 | return _s; |
12715 | 0 | } |
12716 | 0 | inline const std::string& FileOptions::_internal_php_namespace() const { |
12717 | 0 | return _impl_.php_namespace_.Get(); |
12718 | 0 | } |
12719 | 0 | inline void FileOptions::_internal_set_php_namespace(const std::string& value) { |
12720 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
12721 | 0 | _impl_.php_namespace_.Set(value, GetArenaForAllocation()); |
12722 | 0 | } |
12723 | 0 | inline std::string* FileOptions::_internal_mutable_php_namespace() { |
12724 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
12725 | 0 | return _impl_.php_namespace_.Mutable(GetArenaForAllocation()); |
12726 | 0 | } |
12727 | 0 | inline std::string* FileOptions::release_php_namespace() { |
12728 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) |
12729 | 0 | if (!_internal_has_php_namespace()) { |
12730 | 0 | return nullptr; |
12731 | 0 | } |
12732 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
12733 | 0 | auto* p = _impl_.php_namespace_.Release(); |
12734 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12735 | 0 | if (_impl_.php_namespace_.IsDefault()) { |
12736 | 0 | _impl_.php_namespace_.Set("", GetArenaForAllocation()); |
12737 | 0 | } |
12738 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12739 | 0 | return p; |
12740 | 0 | } |
12741 | 0 | inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) { |
12742 | 0 | if (php_namespace != nullptr) { |
12743 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
12744 | 0 | } else { |
12745 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
12746 | 0 | } |
12747 | 0 | _impl_.php_namespace_.SetAllocated(php_namespace, GetArenaForAllocation()); |
12748 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12749 | 0 | if (_impl_.php_namespace_.IsDefault()) { |
12750 | 0 | _impl_.php_namespace_.Set("", GetArenaForAllocation()); |
12751 | 0 | } |
12752 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12753 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) |
12754 | 0 | } |
12755 | | |
12756 | | // optional string php_metadata_namespace = 44; |
12757 | 0 | inline bool FileOptions::_internal_has_php_metadata_namespace() const { |
12758 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
12759 | 0 | return value; |
12760 | 0 | } |
12761 | 0 | inline bool FileOptions::has_php_metadata_namespace() const { |
12762 | 0 | return _internal_has_php_metadata_namespace(); |
12763 | 0 | } |
12764 | 0 | inline void FileOptions::clear_php_metadata_namespace() { |
12765 | 0 | _impl_.php_metadata_namespace_.ClearToEmpty(); |
12766 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
12767 | 0 | } |
12768 | 0 | inline const std::string& FileOptions::php_metadata_namespace() const { |
12769 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) |
12770 | 0 | return _internal_php_metadata_namespace(); |
12771 | 0 | } |
12772 | | template <typename ArgT0, typename... ArgT> |
12773 | | inline PROTOBUF_ALWAYS_INLINE |
12774 | | void FileOptions::set_php_metadata_namespace(ArgT0&& arg0, ArgT... args) { |
12775 | | _impl_._has_bits_[0] |= 0x00000100u; |
12776 | | _impl_.php_metadata_namespace_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12777 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) |
12778 | | } |
12779 | 0 | inline std::string* FileOptions::mutable_php_metadata_namespace() { |
12780 | 0 | std::string* _s = _internal_mutable_php_metadata_namespace(); |
12781 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) |
12782 | 0 | return _s; |
12783 | 0 | } |
12784 | 0 | inline const std::string& FileOptions::_internal_php_metadata_namespace() const { |
12785 | 0 | return _impl_.php_metadata_namespace_.Get(); |
12786 | 0 | } |
12787 | 0 | inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) { |
12788 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
12789 | 0 | _impl_.php_metadata_namespace_.Set(value, GetArenaForAllocation()); |
12790 | 0 | } |
12791 | 0 | inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() { |
12792 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
12793 | 0 | return _impl_.php_metadata_namespace_.Mutable(GetArenaForAllocation()); |
12794 | 0 | } |
12795 | 0 | inline std::string* FileOptions::release_php_metadata_namespace() { |
12796 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) |
12797 | 0 | if (!_internal_has_php_metadata_namespace()) { |
12798 | 0 | return nullptr; |
12799 | 0 | } |
12800 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
12801 | 0 | auto* p = _impl_.php_metadata_namespace_.Release(); |
12802 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12803 | 0 | if (_impl_.php_metadata_namespace_.IsDefault()) { |
12804 | 0 | _impl_.php_metadata_namespace_.Set("", GetArenaForAllocation()); |
12805 | 0 | } |
12806 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12807 | 0 | return p; |
12808 | 0 | } |
12809 | 0 | inline void FileOptions::set_allocated_php_metadata_namespace(std::string* php_metadata_namespace) { |
12810 | 0 | if (php_metadata_namespace != nullptr) { |
12811 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
12812 | 0 | } else { |
12813 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
12814 | 0 | } |
12815 | 0 | _impl_.php_metadata_namespace_.SetAllocated(php_metadata_namespace, GetArenaForAllocation()); |
12816 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12817 | 0 | if (_impl_.php_metadata_namespace_.IsDefault()) { |
12818 | 0 | _impl_.php_metadata_namespace_.Set("", GetArenaForAllocation()); |
12819 | 0 | } |
12820 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12821 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
12822 | 0 | } |
12823 | | |
12824 | | // optional string ruby_package = 45; |
12825 | 0 | inline bool FileOptions::_internal_has_ruby_package() const { |
12826 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
12827 | 0 | return value; |
12828 | 0 | } |
12829 | 0 | inline bool FileOptions::has_ruby_package() const { |
12830 | 0 | return _internal_has_ruby_package(); |
12831 | 0 | } |
12832 | 0 | inline void FileOptions::clear_ruby_package() { |
12833 | 0 | _impl_.ruby_package_.ClearToEmpty(); |
12834 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
12835 | 0 | } |
12836 | 0 | inline const std::string& FileOptions::ruby_package() const { |
12837 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) |
12838 | 0 | return _internal_ruby_package(); |
12839 | 0 | } |
12840 | | template <typename ArgT0, typename... ArgT> |
12841 | | inline PROTOBUF_ALWAYS_INLINE |
12842 | | void FileOptions::set_ruby_package(ArgT0&& arg0, ArgT... args) { |
12843 | | _impl_._has_bits_[0] |= 0x00000200u; |
12844 | | _impl_.ruby_package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12845 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) |
12846 | | } |
12847 | 0 | inline std::string* FileOptions::mutable_ruby_package() { |
12848 | 0 | std::string* _s = _internal_mutable_ruby_package(); |
12849 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) |
12850 | 0 | return _s; |
12851 | 0 | } |
12852 | 0 | inline const std::string& FileOptions::_internal_ruby_package() const { |
12853 | 0 | return _impl_.ruby_package_.Get(); |
12854 | 0 | } |
12855 | 0 | inline void FileOptions::_internal_set_ruby_package(const std::string& value) { |
12856 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
12857 | 0 | _impl_.ruby_package_.Set(value, GetArenaForAllocation()); |
12858 | 0 | } |
12859 | 0 | inline std::string* FileOptions::_internal_mutable_ruby_package() { |
12860 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
12861 | 0 | return _impl_.ruby_package_.Mutable(GetArenaForAllocation()); |
12862 | 0 | } |
12863 | 0 | inline std::string* FileOptions::release_ruby_package() { |
12864 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) |
12865 | 0 | if (!_internal_has_ruby_package()) { |
12866 | 0 | return nullptr; |
12867 | 0 | } |
12868 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
12869 | 0 | auto* p = _impl_.ruby_package_.Release(); |
12870 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12871 | 0 | if (_impl_.ruby_package_.IsDefault()) { |
12872 | 0 | _impl_.ruby_package_.Set("", GetArenaForAllocation()); |
12873 | 0 | } |
12874 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12875 | 0 | return p; |
12876 | 0 | } |
12877 | 0 | inline void FileOptions::set_allocated_ruby_package(std::string* ruby_package) { |
12878 | 0 | if (ruby_package != nullptr) { |
12879 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
12880 | 0 | } else { |
12881 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
12882 | 0 | } |
12883 | 0 | _impl_.ruby_package_.SetAllocated(ruby_package, GetArenaForAllocation()); |
12884 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12885 | 0 | if (_impl_.ruby_package_.IsDefault()) { |
12886 | 0 | _impl_.ruby_package_.Set("", GetArenaForAllocation()); |
12887 | 0 | } |
12888 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12889 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) |
12890 | 0 | } |
12891 | | |
12892 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
12893 | 0 | inline int FileOptions::_internal_uninterpreted_option_size() const { |
12894 | 0 | return _impl_.uninterpreted_option_.size(); |
12895 | 0 | } |
12896 | 0 | inline int FileOptions::uninterpreted_option_size() const { |
12897 | 0 | return _internal_uninterpreted_option_size(); |
12898 | 0 | } |
12899 | 0 | inline void FileOptions::clear_uninterpreted_option() { |
12900 | 0 | _impl_.uninterpreted_option_.Clear(); |
12901 | 0 | } |
12902 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) { |
12903 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) |
12904 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
12905 | 0 | } |
12906 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
12907 | 0 | FileOptions::mutable_uninterpreted_option() { |
12908 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) |
12909 | 0 | return &_impl_.uninterpreted_option_; |
12910 | 0 | } |
12911 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const { |
12912 | 0 | return _impl_.uninterpreted_option_.Get(index); |
12913 | 0 | } |
12914 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const { |
12915 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) |
12916 | 0 | return _internal_uninterpreted_option(index); |
12917 | 0 | } |
12918 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() { |
12919 | 0 | return _impl_.uninterpreted_option_.Add(); |
12920 | 0 | } |
12921 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() { |
12922 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
12923 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) |
12924 | 0 | return _add; |
12925 | 0 | } |
12926 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
12927 | 0 | FileOptions::uninterpreted_option() const { |
12928 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) |
12929 | 0 | return _impl_.uninterpreted_option_; |
12930 | 0 | } |
12931 | | |
12932 | | // ------------------------------------------------------------------- |
12933 | | |
12934 | | // MessageOptions |
12935 | | |
12936 | | // optional bool message_set_wire_format = 1 [default = false]; |
12937 | 0 | inline bool MessageOptions::_internal_has_message_set_wire_format() const { |
12938 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12939 | 0 | return value; |
12940 | 0 | } |
12941 | 0 | inline bool MessageOptions::has_message_set_wire_format() const { |
12942 | 0 | return _internal_has_message_set_wire_format(); |
12943 | 0 | } |
12944 | 0 | inline void MessageOptions::clear_message_set_wire_format() { |
12945 | 0 | _impl_.message_set_wire_format_ = false; |
12946 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12947 | 0 | } |
12948 | 0 | inline bool MessageOptions::_internal_message_set_wire_format() const { |
12949 | 0 | return _impl_.message_set_wire_format_; |
12950 | 0 | } |
12951 | 0 | inline bool MessageOptions::message_set_wire_format() const { |
12952 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) |
12953 | 0 | return _internal_message_set_wire_format(); |
12954 | 0 | } |
12955 | 0 | inline void MessageOptions::_internal_set_message_set_wire_format(bool value) { |
12956 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12957 | 0 | _impl_.message_set_wire_format_ = value; |
12958 | 0 | } |
12959 | 0 | inline void MessageOptions::set_message_set_wire_format(bool value) { |
12960 | 0 | _internal_set_message_set_wire_format(value); |
12961 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) |
12962 | 0 | } |
12963 | | |
12964 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
12965 | 0 | inline bool MessageOptions::_internal_has_no_standard_descriptor_accessor() const { |
12966 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12967 | 0 | return value; |
12968 | 0 | } |
12969 | 0 | inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
12970 | 0 | return _internal_has_no_standard_descriptor_accessor(); |
12971 | 0 | } |
12972 | 0 | inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
12973 | 0 | _impl_.no_standard_descriptor_accessor_ = false; |
12974 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12975 | 0 | } |
12976 | 0 | inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const { |
12977 | 0 | return _impl_.no_standard_descriptor_accessor_; |
12978 | 0 | } |
12979 | 0 | inline bool MessageOptions::no_standard_descriptor_accessor() const { |
12980 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
12981 | 0 | return _internal_no_standard_descriptor_accessor(); |
12982 | 0 | } |
12983 | 0 | inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) { |
12984 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12985 | 0 | _impl_.no_standard_descriptor_accessor_ = value; |
12986 | 0 | } |
12987 | 0 | inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
12988 | 0 | _internal_set_no_standard_descriptor_accessor(value); |
12989 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
12990 | 0 | } |
12991 | | |
12992 | | // optional bool deprecated = 3 [default = false]; |
12993 | 0 | inline bool MessageOptions::_internal_has_deprecated() const { |
12994 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12995 | 0 | return value; |
12996 | 0 | } |
12997 | 0 | inline bool MessageOptions::has_deprecated() const { |
12998 | 0 | return _internal_has_deprecated(); |
12999 | 0 | } |
13000 | 0 | inline void MessageOptions::clear_deprecated() { |
13001 | 0 | _impl_.deprecated_ = false; |
13002 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13003 | 0 | } |
13004 | 0 | inline bool MessageOptions::_internal_deprecated() const { |
13005 | 0 | return _impl_.deprecated_; |
13006 | 0 | } |
13007 | 0 | inline bool MessageOptions::deprecated() const { |
13008 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) |
13009 | 0 | return _internal_deprecated(); |
13010 | 0 | } |
13011 | 0 | inline void MessageOptions::_internal_set_deprecated(bool value) { |
13012 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13013 | 0 | _impl_.deprecated_ = value; |
13014 | 0 | } |
13015 | 0 | inline void MessageOptions::set_deprecated(bool value) { |
13016 | 0 | _internal_set_deprecated(value); |
13017 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) |
13018 | 0 | } |
13019 | | |
13020 | | // optional bool map_entry = 7; |
13021 | 0 | inline bool MessageOptions::_internal_has_map_entry() const { |
13022 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
13023 | 0 | return value; |
13024 | 0 | } |
13025 | 0 | inline bool MessageOptions::has_map_entry() const { |
13026 | 0 | return _internal_has_map_entry(); |
13027 | 0 | } |
13028 | 0 | inline void MessageOptions::clear_map_entry() { |
13029 | 0 | _impl_.map_entry_ = false; |
13030 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13031 | 0 | } |
13032 | 0 | inline bool MessageOptions::_internal_map_entry() const { |
13033 | 0 | return _impl_.map_entry_; |
13034 | 0 | } |
13035 | 0 | inline bool MessageOptions::map_entry() const { |
13036 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) |
13037 | 0 | return _internal_map_entry(); |
13038 | 0 | } |
13039 | 0 | inline void MessageOptions::_internal_set_map_entry(bool value) { |
13040 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13041 | 0 | _impl_.map_entry_ = value; |
13042 | 0 | } |
13043 | 0 | inline void MessageOptions::set_map_entry(bool value) { |
13044 | 0 | _internal_set_map_entry(value); |
13045 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) |
13046 | 0 | } |
13047 | | |
13048 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13049 | 0 | inline int MessageOptions::_internal_uninterpreted_option_size() const { |
13050 | 0 | return _impl_.uninterpreted_option_.size(); |
13051 | 0 | } |
13052 | 0 | inline int MessageOptions::uninterpreted_option_size() const { |
13053 | 0 | return _internal_uninterpreted_option_size(); |
13054 | 0 | } |
13055 | 0 | inline void MessageOptions::clear_uninterpreted_option() { |
13056 | 0 | _impl_.uninterpreted_option_.Clear(); |
13057 | 0 | } |
13058 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) { |
13059 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) |
13060 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13061 | 0 | } |
13062 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13063 | 0 | MessageOptions::mutable_uninterpreted_option() { |
13064 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) |
13065 | 0 | return &_impl_.uninterpreted_option_; |
13066 | 0 | } |
13067 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const { |
13068 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13069 | 0 | } |
13070 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const { |
13071 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) |
13072 | 0 | return _internal_uninterpreted_option(index); |
13073 | 0 | } |
13074 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() { |
13075 | 0 | return _impl_.uninterpreted_option_.Add(); |
13076 | 0 | } |
13077 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() { |
13078 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13079 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) |
13080 | 0 | return _add; |
13081 | 0 | } |
13082 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13083 | 0 | MessageOptions::uninterpreted_option() const { |
13084 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) |
13085 | 0 | return _impl_.uninterpreted_option_; |
13086 | 0 | } |
13087 | | |
13088 | | // ------------------------------------------------------------------- |
13089 | | |
13090 | | // FieldOptions |
13091 | | |
13092 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
13093 | 0 | inline bool FieldOptions::_internal_has_ctype() const { |
13094 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13095 | 0 | return value; |
13096 | 0 | } |
13097 | 0 | inline bool FieldOptions::has_ctype() const { |
13098 | 0 | return _internal_has_ctype(); |
13099 | 0 | } |
13100 | 0 | inline void FieldOptions::clear_ctype() { |
13101 | 0 | _impl_.ctype_ = 0; |
13102 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13103 | 0 | } |
13104 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const { |
13105 | 0 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType >(_impl_.ctype_); |
13106 | 0 | } |
13107 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const { |
13108 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) |
13109 | 0 | return _internal_ctype(); |
13110 | 0 | } |
13111 | 0 | inline void FieldOptions::_internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { |
13112 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value)); |
13113 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13114 | 0 | _impl_.ctype_ = value; |
13115 | 0 | } |
13116 | 0 | inline void FieldOptions::set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { |
13117 | 0 | _internal_set_ctype(value); |
13118 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
13119 | 0 | } |
13120 | | |
13121 | | // optional bool packed = 2; |
13122 | 0 | inline bool FieldOptions::_internal_has_packed() const { |
13123 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
13124 | 0 | return value; |
13125 | 0 | } |
13126 | 0 | inline bool FieldOptions::has_packed() const { |
13127 | 0 | return _internal_has_packed(); |
13128 | 0 | } |
13129 | 0 | inline void FieldOptions::clear_packed() { |
13130 | 0 | _impl_.packed_ = false; |
13131 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13132 | 0 | } |
13133 | 0 | inline bool FieldOptions::_internal_packed() const { |
13134 | 0 | return _impl_.packed_; |
13135 | 0 | } |
13136 | 0 | inline bool FieldOptions::packed() const { |
13137 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
13138 | 0 | return _internal_packed(); |
13139 | 0 | } |
13140 | 0 | inline void FieldOptions::_internal_set_packed(bool value) { |
13141 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13142 | 0 | _impl_.packed_ = value; |
13143 | 0 | } |
13144 | 0 | inline void FieldOptions::set_packed(bool value) { |
13145 | 0 | _internal_set_packed(value); |
13146 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
13147 | 0 | } |
13148 | | |
13149 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
13150 | 0 | inline bool FieldOptions::_internal_has_jstype() const { |
13151 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13152 | 0 | return value; |
13153 | 0 | } |
13154 | 0 | inline bool FieldOptions::has_jstype() const { |
13155 | 0 | return _internal_has_jstype(); |
13156 | 0 | } |
13157 | 0 | inline void FieldOptions::clear_jstype() { |
13158 | 0 | _impl_.jstype_ = 0; |
13159 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13160 | 0 | } |
13161 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const { |
13162 | 0 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType >(_impl_.jstype_); |
13163 | 0 | } |
13164 | 0 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const { |
13165 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
13166 | 0 | return _internal_jstype(); |
13167 | 0 | } |
13168 | 0 | inline void FieldOptions::_internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { |
13169 | 0 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value)); |
13170 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13171 | 0 | _impl_.jstype_ = value; |
13172 | 0 | } |
13173 | 0 | inline void FieldOptions::set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { |
13174 | 0 | _internal_set_jstype(value); |
13175 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) |
13176 | 0 | } |
13177 | | |
13178 | | // optional bool lazy = 5 [default = false]; |
13179 | 0 | inline bool FieldOptions::_internal_has_lazy() const { |
13180 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
13181 | 0 | return value; |
13182 | 0 | } |
13183 | 0 | inline bool FieldOptions::has_lazy() const { |
13184 | 0 | return _internal_has_lazy(); |
13185 | 0 | } |
13186 | 0 | inline void FieldOptions::clear_lazy() { |
13187 | 0 | _impl_.lazy_ = false; |
13188 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13189 | 0 | } |
13190 | 0 | inline bool FieldOptions::_internal_lazy() const { |
13191 | 0 | return _impl_.lazy_; |
13192 | 0 | } |
13193 | 0 | inline bool FieldOptions::lazy() const { |
13194 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) |
13195 | 0 | return _internal_lazy(); |
13196 | 0 | } |
13197 | 0 | inline void FieldOptions::_internal_set_lazy(bool value) { |
13198 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13199 | 0 | _impl_.lazy_ = value; |
13200 | 0 | } |
13201 | 0 | inline void FieldOptions::set_lazy(bool value) { |
13202 | 0 | _internal_set_lazy(value); |
13203 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) |
13204 | 0 | } |
13205 | | |
13206 | | // optional bool unverified_lazy = 15 [default = false]; |
13207 | 0 | inline bool FieldOptions::_internal_has_unverified_lazy() const { |
13208 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
13209 | 0 | return value; |
13210 | 0 | } |
13211 | 0 | inline bool FieldOptions::has_unverified_lazy() const { |
13212 | 0 | return _internal_has_unverified_lazy(); |
13213 | 0 | } |
13214 | 0 | inline void FieldOptions::clear_unverified_lazy() { |
13215 | 0 | _impl_.unverified_lazy_ = false; |
13216 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13217 | 0 | } |
13218 | 0 | inline bool FieldOptions::_internal_unverified_lazy() const { |
13219 | 0 | return _impl_.unverified_lazy_; |
13220 | 0 | } |
13221 | 0 | inline bool FieldOptions::unverified_lazy() const { |
13222 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.unverified_lazy) |
13223 | 0 | return _internal_unverified_lazy(); |
13224 | 0 | } |
13225 | 0 | inline void FieldOptions::_internal_set_unverified_lazy(bool value) { |
13226 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13227 | 0 | _impl_.unverified_lazy_ = value; |
13228 | 0 | } |
13229 | 0 | inline void FieldOptions::set_unverified_lazy(bool value) { |
13230 | 0 | _internal_set_unverified_lazy(value); |
13231 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.unverified_lazy) |
13232 | 0 | } |
13233 | | |
13234 | | // optional bool deprecated = 3 [default = false]; |
13235 | 0 | inline bool FieldOptions::_internal_has_deprecated() const { |
13236 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
13237 | 0 | return value; |
13238 | 0 | } |
13239 | 0 | inline bool FieldOptions::has_deprecated() const { |
13240 | 0 | return _internal_has_deprecated(); |
13241 | 0 | } |
13242 | 0 | inline void FieldOptions::clear_deprecated() { |
13243 | 0 | _impl_.deprecated_ = false; |
13244 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13245 | 0 | } |
13246 | 0 | inline bool FieldOptions::_internal_deprecated() const { |
13247 | 0 | return _impl_.deprecated_; |
13248 | 0 | } |
13249 | 0 | inline bool FieldOptions::deprecated() const { |
13250 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) |
13251 | 0 | return _internal_deprecated(); |
13252 | 0 | } |
13253 | 0 | inline void FieldOptions::_internal_set_deprecated(bool value) { |
13254 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
13255 | 0 | _impl_.deprecated_ = value; |
13256 | 0 | } |
13257 | 0 | inline void FieldOptions::set_deprecated(bool value) { |
13258 | 0 | _internal_set_deprecated(value); |
13259 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) |
13260 | 0 | } |
13261 | | |
13262 | | // optional bool weak = 10 [default = false]; |
13263 | 0 | inline bool FieldOptions::_internal_has_weak() const { |
13264 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
13265 | 0 | return value; |
13266 | 0 | } |
13267 | 0 | inline bool FieldOptions::has_weak() const { |
13268 | 0 | return _internal_has_weak(); |
13269 | 0 | } |
13270 | 0 | inline void FieldOptions::clear_weak() { |
13271 | 0 | _impl_.weak_ = false; |
13272 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
13273 | 0 | } |
13274 | 0 | inline bool FieldOptions::_internal_weak() const { |
13275 | 0 | return _impl_.weak_; |
13276 | 0 | } |
13277 | 0 | inline bool FieldOptions::weak() const { |
13278 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) |
13279 | 0 | return _internal_weak(); |
13280 | 0 | } |
13281 | 0 | inline void FieldOptions::_internal_set_weak(bool value) { |
13282 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
13283 | 0 | _impl_.weak_ = value; |
13284 | 0 | } |
13285 | 0 | inline void FieldOptions::set_weak(bool value) { |
13286 | 0 | _internal_set_weak(value); |
13287 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) |
13288 | 0 | } |
13289 | | |
13290 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13291 | 0 | inline int FieldOptions::_internal_uninterpreted_option_size() const { |
13292 | 0 | return _impl_.uninterpreted_option_.size(); |
13293 | 0 | } |
13294 | 0 | inline int FieldOptions::uninterpreted_option_size() const { |
13295 | 0 | return _internal_uninterpreted_option_size(); |
13296 | 0 | } |
13297 | 0 | inline void FieldOptions::clear_uninterpreted_option() { |
13298 | 0 | _impl_.uninterpreted_option_.Clear(); |
13299 | 0 | } |
13300 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) { |
13301 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) |
13302 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13303 | 0 | } |
13304 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13305 | 0 | FieldOptions::mutable_uninterpreted_option() { |
13306 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) |
13307 | 0 | return &_impl_.uninterpreted_option_; |
13308 | 0 | } |
13309 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const { |
13310 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13311 | 0 | } |
13312 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const { |
13313 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) |
13314 | 0 | return _internal_uninterpreted_option(index); |
13315 | 0 | } |
13316 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() { |
13317 | 0 | return _impl_.uninterpreted_option_.Add(); |
13318 | 0 | } |
13319 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() { |
13320 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13321 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) |
13322 | 0 | return _add; |
13323 | 0 | } |
13324 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13325 | 0 | FieldOptions::uninterpreted_option() const { |
13326 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) |
13327 | 0 | return _impl_.uninterpreted_option_; |
13328 | 0 | } |
13329 | | |
13330 | | // ------------------------------------------------------------------- |
13331 | | |
13332 | | // OneofOptions |
13333 | | |
13334 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13335 | 0 | inline int OneofOptions::_internal_uninterpreted_option_size() const { |
13336 | 0 | return _impl_.uninterpreted_option_.size(); |
13337 | 0 | } |
13338 | 0 | inline int OneofOptions::uninterpreted_option_size() const { |
13339 | 0 | return _internal_uninterpreted_option_size(); |
13340 | 0 | } |
13341 | 0 | inline void OneofOptions::clear_uninterpreted_option() { |
13342 | 0 | _impl_.uninterpreted_option_.Clear(); |
13343 | 0 | } |
13344 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) { |
13345 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) |
13346 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13347 | 0 | } |
13348 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13349 | 0 | OneofOptions::mutable_uninterpreted_option() { |
13350 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) |
13351 | 0 | return &_impl_.uninterpreted_option_; |
13352 | 0 | } |
13353 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const { |
13354 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13355 | 0 | } |
13356 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const { |
13357 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) |
13358 | 0 | return _internal_uninterpreted_option(index); |
13359 | 0 | } |
13360 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() { |
13361 | 0 | return _impl_.uninterpreted_option_.Add(); |
13362 | 0 | } |
13363 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() { |
13364 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13365 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) |
13366 | 0 | return _add; |
13367 | 0 | } |
13368 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13369 | 0 | OneofOptions::uninterpreted_option() const { |
13370 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) |
13371 | 0 | return _impl_.uninterpreted_option_; |
13372 | 0 | } |
13373 | | |
13374 | | // ------------------------------------------------------------------- |
13375 | | |
13376 | | // EnumOptions |
13377 | | |
13378 | | // optional bool allow_alias = 2; |
13379 | 0 | inline bool EnumOptions::_internal_has_allow_alias() const { |
13380 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13381 | 0 | return value; |
13382 | 0 | } |
13383 | 0 | inline bool EnumOptions::has_allow_alias() const { |
13384 | 0 | return _internal_has_allow_alias(); |
13385 | 0 | } |
13386 | 0 | inline void EnumOptions::clear_allow_alias() { |
13387 | 0 | _impl_.allow_alias_ = false; |
13388 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13389 | 0 | } |
13390 | 0 | inline bool EnumOptions::_internal_allow_alias() const { |
13391 | 0 | return _impl_.allow_alias_; |
13392 | 0 | } |
13393 | 0 | inline bool EnumOptions::allow_alias() const { |
13394 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) |
13395 | 0 | return _internal_allow_alias(); |
13396 | 0 | } |
13397 | 0 | inline void EnumOptions::_internal_set_allow_alias(bool value) { |
13398 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13399 | 0 | _impl_.allow_alias_ = value; |
13400 | 0 | } |
13401 | 0 | inline void EnumOptions::set_allow_alias(bool value) { |
13402 | 0 | _internal_set_allow_alias(value); |
13403 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) |
13404 | 0 | } |
13405 | | |
13406 | | // optional bool deprecated = 3 [default = false]; |
13407 | 0 | inline bool EnumOptions::_internal_has_deprecated() const { |
13408 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13409 | 0 | return value; |
13410 | 0 | } |
13411 | 0 | inline bool EnumOptions::has_deprecated() const { |
13412 | 0 | return _internal_has_deprecated(); |
13413 | 0 | } |
13414 | 0 | inline void EnumOptions::clear_deprecated() { |
13415 | 0 | _impl_.deprecated_ = false; |
13416 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13417 | 0 | } |
13418 | 0 | inline bool EnumOptions::_internal_deprecated() const { |
13419 | 0 | return _impl_.deprecated_; |
13420 | 0 | } |
13421 | 0 | inline bool EnumOptions::deprecated() const { |
13422 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) |
13423 | 0 | return _internal_deprecated(); |
13424 | 0 | } |
13425 | 0 | inline void EnumOptions::_internal_set_deprecated(bool value) { |
13426 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13427 | 0 | _impl_.deprecated_ = value; |
13428 | 0 | } |
13429 | 0 | inline void EnumOptions::set_deprecated(bool value) { |
13430 | 0 | _internal_set_deprecated(value); |
13431 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) |
13432 | 0 | } |
13433 | | |
13434 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13435 | 0 | inline int EnumOptions::_internal_uninterpreted_option_size() const { |
13436 | 0 | return _impl_.uninterpreted_option_.size(); |
13437 | 0 | } |
13438 | 0 | inline int EnumOptions::uninterpreted_option_size() const { |
13439 | 0 | return _internal_uninterpreted_option_size(); |
13440 | 0 | } |
13441 | 0 | inline void EnumOptions::clear_uninterpreted_option() { |
13442 | 0 | _impl_.uninterpreted_option_.Clear(); |
13443 | 0 | } |
13444 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) { |
13445 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) |
13446 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13447 | 0 | } |
13448 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13449 | 0 | EnumOptions::mutable_uninterpreted_option() { |
13450 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) |
13451 | 0 | return &_impl_.uninterpreted_option_; |
13452 | 0 | } |
13453 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const { |
13454 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13455 | 0 | } |
13456 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const { |
13457 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) |
13458 | 0 | return _internal_uninterpreted_option(index); |
13459 | 0 | } |
13460 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() { |
13461 | 0 | return _impl_.uninterpreted_option_.Add(); |
13462 | 0 | } |
13463 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() { |
13464 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13465 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) |
13466 | 0 | return _add; |
13467 | 0 | } |
13468 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13469 | 0 | EnumOptions::uninterpreted_option() const { |
13470 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) |
13471 | 0 | return _impl_.uninterpreted_option_; |
13472 | 0 | } |
13473 | | |
13474 | | // ------------------------------------------------------------------- |
13475 | | |
13476 | | // EnumValueOptions |
13477 | | |
13478 | | // optional bool deprecated = 1 [default = false]; |
13479 | 0 | inline bool EnumValueOptions::_internal_has_deprecated() const { |
13480 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13481 | 0 | return value; |
13482 | 0 | } |
13483 | 0 | inline bool EnumValueOptions::has_deprecated() const { |
13484 | 0 | return _internal_has_deprecated(); |
13485 | 0 | } |
13486 | 0 | inline void EnumValueOptions::clear_deprecated() { |
13487 | 0 | _impl_.deprecated_ = false; |
13488 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13489 | 0 | } |
13490 | 0 | inline bool EnumValueOptions::_internal_deprecated() const { |
13491 | 0 | return _impl_.deprecated_; |
13492 | 0 | } |
13493 | 0 | inline bool EnumValueOptions::deprecated() const { |
13494 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) |
13495 | 0 | return _internal_deprecated(); |
13496 | 0 | } |
13497 | 0 | inline void EnumValueOptions::_internal_set_deprecated(bool value) { |
13498 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13499 | 0 | _impl_.deprecated_ = value; |
13500 | 0 | } |
13501 | 0 | inline void EnumValueOptions::set_deprecated(bool value) { |
13502 | 0 | _internal_set_deprecated(value); |
13503 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) |
13504 | 0 | } |
13505 | | |
13506 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13507 | 0 | inline int EnumValueOptions::_internal_uninterpreted_option_size() const { |
13508 | 0 | return _impl_.uninterpreted_option_.size(); |
13509 | 0 | } |
13510 | 0 | inline int EnumValueOptions::uninterpreted_option_size() const { |
13511 | 0 | return _internal_uninterpreted_option_size(); |
13512 | 0 | } |
13513 | 0 | inline void EnumValueOptions::clear_uninterpreted_option() { |
13514 | 0 | _impl_.uninterpreted_option_.Clear(); |
13515 | 0 | } |
13516 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) { |
13517 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) |
13518 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13519 | 0 | } |
13520 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13521 | 0 | EnumValueOptions::mutable_uninterpreted_option() { |
13522 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
13523 | 0 | return &_impl_.uninterpreted_option_; |
13524 | 0 | } |
13525 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const { |
13526 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13527 | 0 | } |
13528 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const { |
13529 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) |
13530 | 0 | return _internal_uninterpreted_option(index); |
13531 | 0 | } |
13532 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() { |
13533 | 0 | return _impl_.uninterpreted_option_.Add(); |
13534 | 0 | } |
13535 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() { |
13536 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13537 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) |
13538 | 0 | return _add; |
13539 | 0 | } |
13540 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13541 | 0 | EnumValueOptions::uninterpreted_option() const { |
13542 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
13543 | 0 | return _impl_.uninterpreted_option_; |
13544 | 0 | } |
13545 | | |
13546 | | // ------------------------------------------------------------------- |
13547 | | |
13548 | | // ServiceOptions |
13549 | | |
13550 | | // optional bool deprecated = 33 [default = false]; |
13551 | 0 | inline bool ServiceOptions::_internal_has_deprecated() const { |
13552 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13553 | 0 | return value; |
13554 | 0 | } |
13555 | 0 | inline bool ServiceOptions::has_deprecated() const { |
13556 | 0 | return _internal_has_deprecated(); |
13557 | 0 | } |
13558 | 0 | inline void ServiceOptions::clear_deprecated() { |
13559 | 0 | _impl_.deprecated_ = false; |
13560 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13561 | 0 | } |
13562 | 0 | inline bool ServiceOptions::_internal_deprecated() const { |
13563 | 0 | return _impl_.deprecated_; |
13564 | 0 | } |
13565 | 0 | inline bool ServiceOptions::deprecated() const { |
13566 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) |
13567 | 0 | return _internal_deprecated(); |
13568 | 0 | } |
13569 | 0 | inline void ServiceOptions::_internal_set_deprecated(bool value) { |
13570 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13571 | 0 | _impl_.deprecated_ = value; |
13572 | 0 | } |
13573 | 0 | inline void ServiceOptions::set_deprecated(bool value) { |
13574 | 0 | _internal_set_deprecated(value); |
13575 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) |
13576 | 0 | } |
13577 | | |
13578 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13579 | 0 | inline int ServiceOptions::_internal_uninterpreted_option_size() const { |
13580 | 0 | return _impl_.uninterpreted_option_.size(); |
13581 | 0 | } |
13582 | 0 | inline int ServiceOptions::uninterpreted_option_size() const { |
13583 | 0 | return _internal_uninterpreted_option_size(); |
13584 | 0 | } |
13585 | 0 | inline void ServiceOptions::clear_uninterpreted_option() { |
13586 | 0 | _impl_.uninterpreted_option_.Clear(); |
13587 | 0 | } |
13588 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) { |
13589 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) |
13590 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13591 | 0 | } |
13592 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13593 | 0 | ServiceOptions::mutable_uninterpreted_option() { |
13594 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) |
13595 | 0 | return &_impl_.uninterpreted_option_; |
13596 | 0 | } |
13597 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const { |
13598 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13599 | 0 | } |
13600 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const { |
13601 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) |
13602 | 0 | return _internal_uninterpreted_option(index); |
13603 | 0 | } |
13604 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() { |
13605 | 0 | return _impl_.uninterpreted_option_.Add(); |
13606 | 0 | } |
13607 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() { |
13608 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13609 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) |
13610 | 0 | return _add; |
13611 | 0 | } |
13612 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13613 | 0 | ServiceOptions::uninterpreted_option() const { |
13614 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) |
13615 | 0 | return _impl_.uninterpreted_option_; |
13616 | 0 | } |
13617 | | |
13618 | | // ------------------------------------------------------------------- |
13619 | | |
13620 | | // MethodOptions |
13621 | | |
13622 | | // optional bool deprecated = 33 [default = false]; |
13623 | 0 | inline bool MethodOptions::_internal_has_deprecated() const { |
13624 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13625 | 0 | return value; |
13626 | 0 | } |
13627 | 0 | inline bool MethodOptions::has_deprecated() const { |
13628 | 0 | return _internal_has_deprecated(); |
13629 | 0 | } |
13630 | 0 | inline void MethodOptions::clear_deprecated() { |
13631 | 0 | _impl_.deprecated_ = false; |
13632 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13633 | 0 | } |
13634 | 0 | inline bool MethodOptions::_internal_deprecated() const { |
13635 | 0 | return _impl_.deprecated_; |
13636 | 0 | } |
13637 | 0 | inline bool MethodOptions::deprecated() const { |
13638 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) |
13639 | 0 | return _internal_deprecated(); |
13640 | 0 | } |
13641 | 0 | inline void MethodOptions::_internal_set_deprecated(bool value) { |
13642 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13643 | 0 | _impl_.deprecated_ = value; |
13644 | 0 | } |
13645 | 0 | inline void MethodOptions::set_deprecated(bool value) { |
13646 | 0 | _internal_set_deprecated(value); |
13647 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) |
13648 | 0 | } |
13649 | | |
13650 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
13651 | 0 | inline bool MethodOptions::_internal_has_idempotency_level() const { |
13652 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13653 | 0 | return value; |
13654 | 0 | } |
13655 | 0 | inline bool MethodOptions::has_idempotency_level() const { |
13656 | 0 | return _internal_has_idempotency_level(); |
13657 | 0 | } |
13658 | 0 | inline void MethodOptions::clear_idempotency_level() { |
13659 | 0 | _impl_.idempotency_level_ = 0; |
13660 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13661 | 0 | } |
13662 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const { |
13663 | 0 | return static_cast< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel >(_impl_.idempotency_level_); |
13664 | 0 | } |
13665 | 0 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { |
13666 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) |
13667 | 0 | return _internal_idempotency_level(); |
13668 | 0 | } |
13669 | 0 | inline void MethodOptions::_internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { |
13670 | 0 | assert(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value)); |
13671 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13672 | 0 | _impl_.idempotency_level_ = value; |
13673 | 0 | } |
13674 | 0 | inline void MethodOptions::set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { |
13675 | 0 | _internal_set_idempotency_level(value); |
13676 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) |
13677 | 0 | } |
13678 | | |
13679 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13680 | 0 | inline int MethodOptions::_internal_uninterpreted_option_size() const { |
13681 | 0 | return _impl_.uninterpreted_option_.size(); |
13682 | 0 | } |
13683 | 0 | inline int MethodOptions::uninterpreted_option_size() const { |
13684 | 0 | return _internal_uninterpreted_option_size(); |
13685 | 0 | } |
13686 | 0 | inline void MethodOptions::clear_uninterpreted_option() { |
13687 | 0 | _impl_.uninterpreted_option_.Clear(); |
13688 | 0 | } |
13689 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) { |
13690 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) |
13691 | 0 | return _impl_.uninterpreted_option_.Mutable(index); |
13692 | 0 | } |
13693 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
13694 | 0 | MethodOptions::mutable_uninterpreted_option() { |
13695 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) |
13696 | 0 | return &_impl_.uninterpreted_option_; |
13697 | 0 | } |
13698 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const { |
13699 | 0 | return _impl_.uninterpreted_option_.Get(index); |
13700 | 0 | } |
13701 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const { |
13702 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) |
13703 | 0 | return _internal_uninterpreted_option(index); |
13704 | 0 | } |
13705 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() { |
13706 | 0 | return _impl_.uninterpreted_option_.Add(); |
13707 | 0 | } |
13708 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() { |
13709 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
13710 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) |
13711 | 0 | return _add; |
13712 | 0 | } |
13713 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
13714 | 0 | MethodOptions::uninterpreted_option() const { |
13715 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) |
13716 | 0 | return _impl_.uninterpreted_option_; |
13717 | 0 | } |
13718 | | |
13719 | | // ------------------------------------------------------------------- |
13720 | | |
13721 | | // UninterpretedOption_NamePart |
13722 | | |
13723 | | // required string name_part = 1; |
13724 | 0 | inline bool UninterpretedOption_NamePart::_internal_has_name_part() const { |
13725 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13726 | 0 | return value; |
13727 | 0 | } |
13728 | 0 | inline bool UninterpretedOption_NamePart::has_name_part() const { |
13729 | 0 | return _internal_has_name_part(); |
13730 | 0 | } |
13731 | 0 | inline void UninterpretedOption_NamePart::clear_name_part() { |
13732 | 0 | _impl_.name_part_.ClearToEmpty(); |
13733 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13734 | 0 | } |
13735 | 0 | inline const std::string& UninterpretedOption_NamePart::name_part() const { |
13736 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) |
13737 | 0 | return _internal_name_part(); |
13738 | 0 | } |
13739 | | template <typename ArgT0, typename... ArgT> |
13740 | | inline PROTOBUF_ALWAYS_INLINE |
13741 | | void UninterpretedOption_NamePart::set_name_part(ArgT0&& arg0, ArgT... args) { |
13742 | | _impl_._has_bits_[0] |= 0x00000001u; |
13743 | | _impl_.name_part_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
13744 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) |
13745 | | } |
13746 | 0 | inline std::string* UninterpretedOption_NamePart::mutable_name_part() { |
13747 | 0 | std::string* _s = _internal_mutable_name_part(); |
13748 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) |
13749 | 0 | return _s; |
13750 | 0 | } |
13751 | 0 | inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const { |
13752 | 0 | return _impl_.name_part_.Get(); |
13753 | 0 | } |
13754 | 0 | inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) { |
13755 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13756 | 0 | _impl_.name_part_.Set(value, GetArenaForAllocation()); |
13757 | 0 | } |
13758 | 0 | inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() { |
13759 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13760 | 0 | return _impl_.name_part_.Mutable(GetArenaForAllocation()); |
13761 | 0 | } |
13762 | 0 | inline std::string* UninterpretedOption_NamePart::release_name_part() { |
13763 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
13764 | 0 | if (!_internal_has_name_part()) { |
13765 | 0 | return nullptr; |
13766 | 0 | } |
13767 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13768 | 0 | auto* p = _impl_.name_part_.Release(); |
13769 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13770 | 0 | if (_impl_.name_part_.IsDefault()) { |
13771 | 0 | _impl_.name_part_.Set("", GetArenaForAllocation()); |
13772 | 0 | } |
13773 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13774 | 0 | return p; |
13775 | 0 | } |
13776 | 0 | inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* name_part) { |
13777 | 0 | if (name_part != nullptr) { |
13778 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13779 | 0 | } else { |
13780 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13781 | 0 | } |
13782 | 0 | _impl_.name_part_.SetAllocated(name_part, GetArenaForAllocation()); |
13783 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13784 | 0 | if (_impl_.name_part_.IsDefault()) { |
13785 | 0 | _impl_.name_part_.Set("", GetArenaForAllocation()); |
13786 | 0 | } |
13787 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13788 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
13789 | 0 | } |
13790 | | |
13791 | | // required bool is_extension = 2; |
13792 | 0 | inline bool UninterpretedOption_NamePart::_internal_has_is_extension() const { |
13793 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13794 | 0 | return value; |
13795 | 0 | } |
13796 | 0 | inline bool UninterpretedOption_NamePart::has_is_extension() const { |
13797 | 0 | return _internal_has_is_extension(); |
13798 | 0 | } |
13799 | 0 | inline void UninterpretedOption_NamePart::clear_is_extension() { |
13800 | 0 | _impl_.is_extension_ = false; |
13801 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13802 | 0 | } |
13803 | 0 | inline bool UninterpretedOption_NamePart::_internal_is_extension() const { |
13804 | 0 | return _impl_.is_extension_; |
13805 | 0 | } |
13806 | 0 | inline bool UninterpretedOption_NamePart::is_extension() const { |
13807 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) |
13808 | 0 | return _internal_is_extension(); |
13809 | 0 | } |
13810 | 0 | inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) { |
13811 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13812 | 0 | _impl_.is_extension_ = value; |
13813 | 0 | } |
13814 | 0 | inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
13815 | 0 | _internal_set_is_extension(value); |
13816 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) |
13817 | 0 | } |
13818 | | |
13819 | | // ------------------------------------------------------------------- |
13820 | | |
13821 | | // UninterpretedOption |
13822 | | |
13823 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
13824 | 0 | inline int UninterpretedOption::_internal_name_size() const { |
13825 | 0 | return _impl_.name_.size(); |
13826 | 0 | } |
13827 | 0 | inline int UninterpretedOption::name_size() const { |
13828 | 0 | return _internal_name_size(); |
13829 | 0 | } |
13830 | 0 | inline void UninterpretedOption::clear_name() { |
13831 | 0 | _impl_.name_.Clear(); |
13832 | 0 | } |
13833 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) { |
13834 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) |
13835 | 0 | return _impl_.name_.Mutable(index); |
13836 | 0 | } |
13837 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* |
13838 | 0 | UninterpretedOption::mutable_name() { |
13839 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) |
13840 | 0 | return &_impl_.name_; |
13841 | 0 | } |
13842 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const { |
13843 | 0 | return _impl_.name_.Get(index); |
13844 | 0 | } |
13845 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const { |
13846 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) |
13847 | 0 | return _internal_name(index); |
13848 | 0 | } |
13849 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() { |
13850 | 0 | return _impl_.name_.Add(); |
13851 | 0 | } |
13852 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() { |
13853 | 0 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _add = _internal_add_name(); |
13854 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) |
13855 | 0 | return _add; |
13856 | 0 | } |
13857 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& |
13858 | 0 | UninterpretedOption::name() const { |
13859 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) |
13860 | 0 | return _impl_.name_; |
13861 | 0 | } |
13862 | | |
13863 | | // optional string identifier_value = 3; |
13864 | 0 | inline bool UninterpretedOption::_internal_has_identifier_value() const { |
13865 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13866 | 0 | return value; |
13867 | 0 | } |
13868 | 0 | inline bool UninterpretedOption::has_identifier_value() const { |
13869 | 0 | return _internal_has_identifier_value(); |
13870 | 0 | } |
13871 | 0 | inline void UninterpretedOption::clear_identifier_value() { |
13872 | 0 | _impl_.identifier_value_.ClearToEmpty(); |
13873 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13874 | 0 | } |
13875 | 0 | inline const std::string& UninterpretedOption::identifier_value() const { |
13876 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) |
13877 | 0 | return _internal_identifier_value(); |
13878 | 0 | } |
13879 | | template <typename ArgT0, typename... ArgT> |
13880 | | inline PROTOBUF_ALWAYS_INLINE |
13881 | | void UninterpretedOption::set_identifier_value(ArgT0&& arg0, ArgT... args) { |
13882 | | _impl_._has_bits_[0] |= 0x00000001u; |
13883 | | _impl_.identifier_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
13884 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) |
13885 | | } |
13886 | 0 | inline std::string* UninterpretedOption::mutable_identifier_value() { |
13887 | 0 | std::string* _s = _internal_mutable_identifier_value(); |
13888 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) |
13889 | 0 | return _s; |
13890 | 0 | } |
13891 | 0 | inline const std::string& UninterpretedOption::_internal_identifier_value() const { |
13892 | 0 | return _impl_.identifier_value_.Get(); |
13893 | 0 | } |
13894 | 0 | inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) { |
13895 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13896 | 0 | _impl_.identifier_value_.Set(value, GetArenaForAllocation()); |
13897 | 0 | } |
13898 | 0 | inline std::string* UninterpretedOption::_internal_mutable_identifier_value() { |
13899 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13900 | 0 | return _impl_.identifier_value_.Mutable(GetArenaForAllocation()); |
13901 | 0 | } |
13902 | 0 | inline std::string* UninterpretedOption::release_identifier_value() { |
13903 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
13904 | 0 | if (!_internal_has_identifier_value()) { |
13905 | 0 | return nullptr; |
13906 | 0 | } |
13907 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13908 | 0 | auto* p = _impl_.identifier_value_.Release(); |
13909 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13910 | 0 | if (_impl_.identifier_value_.IsDefault()) { |
13911 | 0 | _impl_.identifier_value_.Set("", GetArenaForAllocation()); |
13912 | 0 | } |
13913 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13914 | 0 | return p; |
13915 | 0 | } |
13916 | 0 | inline void UninterpretedOption::set_allocated_identifier_value(std::string* identifier_value) { |
13917 | 0 | if (identifier_value != nullptr) { |
13918 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13919 | 0 | } else { |
13920 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13921 | 0 | } |
13922 | 0 | _impl_.identifier_value_.SetAllocated(identifier_value, GetArenaForAllocation()); |
13923 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13924 | 0 | if (_impl_.identifier_value_.IsDefault()) { |
13925 | 0 | _impl_.identifier_value_.Set("", GetArenaForAllocation()); |
13926 | 0 | } |
13927 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
13928 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
13929 | 0 | } |
13930 | | |
13931 | | // optional uint64 positive_int_value = 4; |
13932 | 0 | inline bool UninterpretedOption::_internal_has_positive_int_value() const { |
13933 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
13934 | 0 | return value; |
13935 | 0 | } |
13936 | 0 | inline bool UninterpretedOption::has_positive_int_value() const { |
13937 | 0 | return _internal_has_positive_int_value(); |
13938 | 0 | } |
13939 | 0 | inline void UninterpretedOption::clear_positive_int_value() { |
13940 | 0 | _impl_.positive_int_value_ = uint64_t{0u}; |
13941 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13942 | 0 | } |
13943 | 0 | inline uint64_t UninterpretedOption::_internal_positive_int_value() const { |
13944 | 0 | return _impl_.positive_int_value_; |
13945 | 0 | } |
13946 | 0 | inline uint64_t UninterpretedOption::positive_int_value() const { |
13947 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) |
13948 | 0 | return _internal_positive_int_value(); |
13949 | 0 | } |
13950 | 0 | inline void UninterpretedOption::_internal_set_positive_int_value(uint64_t value) { |
13951 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13952 | 0 | _impl_.positive_int_value_ = value; |
13953 | 0 | } |
13954 | 0 | inline void UninterpretedOption::set_positive_int_value(uint64_t value) { |
13955 | 0 | _internal_set_positive_int_value(value); |
13956 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) |
13957 | 0 | } |
13958 | | |
13959 | | // optional int64 negative_int_value = 5; |
13960 | 0 | inline bool UninterpretedOption::_internal_has_negative_int_value() const { |
13961 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
13962 | 0 | return value; |
13963 | 0 | } |
13964 | 0 | inline bool UninterpretedOption::has_negative_int_value() const { |
13965 | 0 | return _internal_has_negative_int_value(); |
13966 | 0 | } |
13967 | 0 | inline void UninterpretedOption::clear_negative_int_value() { |
13968 | 0 | _impl_.negative_int_value_ = int64_t{0}; |
13969 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13970 | 0 | } |
13971 | 0 | inline int64_t UninterpretedOption::_internal_negative_int_value() const { |
13972 | 0 | return _impl_.negative_int_value_; |
13973 | 0 | } |
13974 | 0 | inline int64_t UninterpretedOption::negative_int_value() const { |
13975 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) |
13976 | 0 | return _internal_negative_int_value(); |
13977 | 0 | } |
13978 | 0 | inline void UninterpretedOption::_internal_set_negative_int_value(int64_t value) { |
13979 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13980 | 0 | _impl_.negative_int_value_ = value; |
13981 | 0 | } |
13982 | 0 | inline void UninterpretedOption::set_negative_int_value(int64_t value) { |
13983 | 0 | _internal_set_negative_int_value(value); |
13984 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) |
13985 | 0 | } |
13986 | | |
13987 | | // optional double double_value = 6; |
13988 | 0 | inline bool UninterpretedOption::_internal_has_double_value() const { |
13989 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
13990 | 0 | return value; |
13991 | 0 | } |
13992 | 0 | inline bool UninterpretedOption::has_double_value() const { |
13993 | 0 | return _internal_has_double_value(); |
13994 | 0 | } |
13995 | 0 | inline void UninterpretedOption::clear_double_value() { |
13996 | 0 | _impl_.double_value_ = 0; |
13997 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
13998 | 0 | } |
13999 | 0 | inline double UninterpretedOption::_internal_double_value() const { |
14000 | 0 | return _impl_.double_value_; |
14001 | 0 | } |
14002 | 0 | inline double UninterpretedOption::double_value() const { |
14003 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) |
14004 | 0 | return _internal_double_value(); |
14005 | 0 | } |
14006 | 0 | inline void UninterpretedOption::_internal_set_double_value(double value) { |
14007 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
14008 | 0 | _impl_.double_value_ = value; |
14009 | 0 | } |
14010 | 0 | inline void UninterpretedOption::set_double_value(double value) { |
14011 | 0 | _internal_set_double_value(value); |
14012 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) |
14013 | 0 | } |
14014 | | |
14015 | | // optional bytes string_value = 7; |
14016 | 0 | inline bool UninterpretedOption::_internal_has_string_value() const { |
14017 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14018 | 0 | return value; |
14019 | 0 | } |
14020 | 0 | inline bool UninterpretedOption::has_string_value() const { |
14021 | 0 | return _internal_has_string_value(); |
14022 | 0 | } |
14023 | 0 | inline void UninterpretedOption::clear_string_value() { |
14024 | 0 | _impl_.string_value_.ClearToEmpty(); |
14025 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14026 | 0 | } |
14027 | 0 | inline const std::string& UninterpretedOption::string_value() const { |
14028 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) |
14029 | 0 | return _internal_string_value(); |
14030 | 0 | } |
14031 | | template <typename ArgT0, typename... ArgT> |
14032 | | inline PROTOBUF_ALWAYS_INLINE |
14033 | | void UninterpretedOption::set_string_value(ArgT0&& arg0, ArgT... args) { |
14034 | | _impl_._has_bits_[0] |= 0x00000002u; |
14035 | | _impl_.string_value_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
14036 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) |
14037 | | } |
14038 | 0 | inline std::string* UninterpretedOption::mutable_string_value() { |
14039 | 0 | std::string* _s = _internal_mutable_string_value(); |
14040 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) |
14041 | 0 | return _s; |
14042 | 0 | } |
14043 | 0 | inline const std::string& UninterpretedOption::_internal_string_value() const { |
14044 | 0 | return _impl_.string_value_.Get(); |
14045 | 0 | } |
14046 | 0 | inline void UninterpretedOption::_internal_set_string_value(const std::string& value) { |
14047 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14048 | 0 | _impl_.string_value_.Set(value, GetArenaForAllocation()); |
14049 | 0 | } |
14050 | 0 | inline std::string* UninterpretedOption::_internal_mutable_string_value() { |
14051 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14052 | 0 | return _impl_.string_value_.Mutable(GetArenaForAllocation()); |
14053 | 0 | } |
14054 | 0 | inline std::string* UninterpretedOption::release_string_value() { |
14055 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
14056 | 0 | if (!_internal_has_string_value()) { |
14057 | 0 | return nullptr; |
14058 | 0 | } |
14059 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14060 | 0 | auto* p = _impl_.string_value_.Release(); |
14061 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14062 | 0 | if (_impl_.string_value_.IsDefault()) { |
14063 | 0 | _impl_.string_value_.Set("", GetArenaForAllocation()); |
14064 | 0 | } |
14065 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14066 | 0 | return p; |
14067 | 0 | } |
14068 | 0 | inline void UninterpretedOption::set_allocated_string_value(std::string* string_value) { |
14069 | 0 | if (string_value != nullptr) { |
14070 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14071 | 0 | } else { |
14072 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14073 | 0 | } |
14074 | 0 | _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); |
14075 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14076 | 0 | if (_impl_.string_value_.IsDefault()) { |
14077 | 0 | _impl_.string_value_.Set("", GetArenaForAllocation()); |
14078 | 0 | } |
14079 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14080 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) |
14081 | 0 | } |
14082 | | |
14083 | | // optional string aggregate_value = 8; |
14084 | 0 | inline bool UninterpretedOption::_internal_has_aggregate_value() const { |
14085 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
14086 | 0 | return value; |
14087 | 0 | } |
14088 | 0 | inline bool UninterpretedOption::has_aggregate_value() const { |
14089 | 0 | return _internal_has_aggregate_value(); |
14090 | 0 | } |
14091 | 0 | inline void UninterpretedOption::clear_aggregate_value() { |
14092 | 0 | _impl_.aggregate_value_.ClearToEmpty(); |
14093 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14094 | 0 | } |
14095 | 0 | inline const std::string& UninterpretedOption::aggregate_value() const { |
14096 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) |
14097 | 0 | return _internal_aggregate_value(); |
14098 | 0 | } |
14099 | | template <typename ArgT0, typename... ArgT> |
14100 | | inline PROTOBUF_ALWAYS_INLINE |
14101 | | void UninterpretedOption::set_aggregate_value(ArgT0&& arg0, ArgT... args) { |
14102 | | _impl_._has_bits_[0] |= 0x00000004u; |
14103 | | _impl_.aggregate_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
14104 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) |
14105 | | } |
14106 | 0 | inline std::string* UninterpretedOption::mutable_aggregate_value() { |
14107 | 0 | std::string* _s = _internal_mutable_aggregate_value(); |
14108 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) |
14109 | 0 | return _s; |
14110 | 0 | } |
14111 | 0 | inline const std::string& UninterpretedOption::_internal_aggregate_value() const { |
14112 | 0 | return _impl_.aggregate_value_.Get(); |
14113 | 0 | } |
14114 | 0 | inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) { |
14115 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14116 | 0 | _impl_.aggregate_value_.Set(value, GetArenaForAllocation()); |
14117 | 0 | } |
14118 | 0 | inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() { |
14119 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14120 | 0 | return _impl_.aggregate_value_.Mutable(GetArenaForAllocation()); |
14121 | 0 | } |
14122 | 0 | inline std::string* UninterpretedOption::release_aggregate_value() { |
14123 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
14124 | 0 | if (!_internal_has_aggregate_value()) { |
14125 | 0 | return nullptr; |
14126 | 0 | } |
14127 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14128 | 0 | auto* p = _impl_.aggregate_value_.Release(); |
14129 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14130 | 0 | if (_impl_.aggregate_value_.IsDefault()) { |
14131 | 0 | _impl_.aggregate_value_.Set("", GetArenaForAllocation()); |
14132 | 0 | } |
14133 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14134 | 0 | return p; |
14135 | 0 | } |
14136 | 0 | inline void UninterpretedOption::set_allocated_aggregate_value(std::string* aggregate_value) { |
14137 | 0 | if (aggregate_value != nullptr) { |
14138 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14139 | 0 | } else { |
14140 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14141 | 0 | } |
14142 | 0 | _impl_.aggregate_value_.SetAllocated(aggregate_value, GetArenaForAllocation()); |
14143 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14144 | 0 | if (_impl_.aggregate_value_.IsDefault()) { |
14145 | 0 | _impl_.aggregate_value_.Set("", GetArenaForAllocation()); |
14146 | 0 | } |
14147 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14148 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
14149 | 0 | } |
14150 | | |
14151 | | // ------------------------------------------------------------------- |
14152 | | |
14153 | | // SourceCodeInfo_Location |
14154 | | |
14155 | | // repeated int32 path = 1 [packed = true]; |
14156 | 0 | inline int SourceCodeInfo_Location::_internal_path_size() const { |
14157 | 0 | return _impl_.path_.size(); |
14158 | 0 | } |
14159 | 0 | inline int SourceCodeInfo_Location::path_size() const { |
14160 | 0 | return _internal_path_size(); |
14161 | 0 | } |
14162 | 0 | inline void SourceCodeInfo_Location::clear_path() { |
14163 | 0 | _impl_.path_.Clear(); |
14164 | 0 | } |
14165 | 0 | inline int32_t SourceCodeInfo_Location::_internal_path(int index) const { |
14166 | 0 | return _impl_.path_.Get(index); |
14167 | 0 | } |
14168 | 0 | inline int32_t SourceCodeInfo_Location::path(int index) const { |
14169 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) |
14170 | 0 | return _internal_path(index); |
14171 | 0 | } |
14172 | 0 | inline void SourceCodeInfo_Location::set_path(int index, int32_t value) { |
14173 | 0 | _impl_.path_.Set(index, value); |
14174 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) |
14175 | 0 | } |
14176 | 0 | inline void SourceCodeInfo_Location::_internal_add_path(int32_t value) { |
14177 | 0 | _impl_.path_.Add(value); |
14178 | 0 | } |
14179 | 0 | inline void SourceCodeInfo_Location::add_path(int32_t value) { |
14180 | 0 | _internal_add_path(value); |
14181 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) |
14182 | 0 | } |
14183 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
14184 | 0 | SourceCodeInfo_Location::_internal_path() const { |
14185 | 0 | return _impl_.path_; |
14186 | 0 | } |
14187 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
14188 | 0 | SourceCodeInfo_Location::path() const { |
14189 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) |
14190 | 0 | return _internal_path(); |
14191 | 0 | } |
14192 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
14193 | 0 | SourceCodeInfo_Location::_internal_mutable_path() { |
14194 | 0 | return &_impl_.path_; |
14195 | 0 | } |
14196 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
14197 | 0 | SourceCodeInfo_Location::mutable_path() { |
14198 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) |
14199 | 0 | return _internal_mutable_path(); |
14200 | 0 | } |
14201 | | |
14202 | | // repeated int32 span = 2 [packed = true]; |
14203 | 0 | inline int SourceCodeInfo_Location::_internal_span_size() const { |
14204 | 0 | return _impl_.span_.size(); |
14205 | 0 | } |
14206 | 0 | inline int SourceCodeInfo_Location::span_size() const { |
14207 | 0 | return _internal_span_size(); |
14208 | 0 | } |
14209 | 0 | inline void SourceCodeInfo_Location::clear_span() { |
14210 | 0 | _impl_.span_.Clear(); |
14211 | 0 | } |
14212 | 0 | inline int32_t SourceCodeInfo_Location::_internal_span(int index) const { |
14213 | 0 | return _impl_.span_.Get(index); |
14214 | 0 | } |
14215 | 0 | inline int32_t SourceCodeInfo_Location::span(int index) const { |
14216 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) |
14217 | 0 | return _internal_span(index); |
14218 | 0 | } |
14219 | 0 | inline void SourceCodeInfo_Location::set_span(int index, int32_t value) { |
14220 | 0 | _impl_.span_.Set(index, value); |
14221 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) |
14222 | 0 | } |
14223 | 0 | inline void SourceCodeInfo_Location::_internal_add_span(int32_t value) { |
14224 | 0 | _impl_.span_.Add(value); |
14225 | 0 | } |
14226 | 0 | inline void SourceCodeInfo_Location::add_span(int32_t value) { |
14227 | 0 | _internal_add_span(value); |
14228 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) |
14229 | 0 | } |
14230 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
14231 | 0 | SourceCodeInfo_Location::_internal_span() const { |
14232 | 0 | return _impl_.span_; |
14233 | 0 | } |
14234 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
14235 | 0 | SourceCodeInfo_Location::span() const { |
14236 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) |
14237 | 0 | return _internal_span(); |
14238 | 0 | } |
14239 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
14240 | 0 | SourceCodeInfo_Location::_internal_mutable_span() { |
14241 | 0 | return &_impl_.span_; |
14242 | 0 | } |
14243 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
14244 | 0 | SourceCodeInfo_Location::mutable_span() { |
14245 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) |
14246 | 0 | return _internal_mutable_span(); |
14247 | 0 | } |
14248 | | |
14249 | | // optional string leading_comments = 3; |
14250 | 0 | inline bool SourceCodeInfo_Location::_internal_has_leading_comments() const { |
14251 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14252 | 0 | return value; |
14253 | 0 | } |
14254 | 0 | inline bool SourceCodeInfo_Location::has_leading_comments() const { |
14255 | 0 | return _internal_has_leading_comments(); |
14256 | 0 | } |
14257 | 0 | inline void SourceCodeInfo_Location::clear_leading_comments() { |
14258 | 0 | _impl_.leading_comments_.ClearToEmpty(); |
14259 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14260 | 0 | } |
14261 | 0 | inline const std::string& SourceCodeInfo_Location::leading_comments() const { |
14262 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14263 | 0 | return _internal_leading_comments(); |
14264 | 0 | } |
14265 | | template <typename ArgT0, typename... ArgT> |
14266 | | inline PROTOBUF_ALWAYS_INLINE |
14267 | | void SourceCodeInfo_Location::set_leading_comments(ArgT0&& arg0, ArgT... args) { |
14268 | | _impl_._has_bits_[0] |= 0x00000001u; |
14269 | | _impl_.leading_comments_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
14270 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14271 | | } |
14272 | 0 | inline std::string* SourceCodeInfo_Location::mutable_leading_comments() { |
14273 | 0 | std::string* _s = _internal_mutable_leading_comments(); |
14274 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14275 | 0 | return _s; |
14276 | 0 | } |
14277 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const { |
14278 | 0 | return _impl_.leading_comments_.Get(); |
14279 | 0 | } |
14280 | 0 | inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) { |
14281 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14282 | 0 | _impl_.leading_comments_.Set(value, GetArenaForAllocation()); |
14283 | 0 | } |
14284 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() { |
14285 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14286 | 0 | return _impl_.leading_comments_.Mutable(GetArenaForAllocation()); |
14287 | 0 | } |
14288 | 0 | inline std::string* SourceCodeInfo_Location::release_leading_comments() { |
14289 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14290 | 0 | if (!_internal_has_leading_comments()) { |
14291 | 0 | return nullptr; |
14292 | 0 | } |
14293 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14294 | 0 | auto* p = _impl_.leading_comments_.Release(); |
14295 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14296 | 0 | if (_impl_.leading_comments_.IsDefault()) { |
14297 | 0 | _impl_.leading_comments_.Set("", GetArenaForAllocation()); |
14298 | 0 | } |
14299 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14300 | 0 | return p; |
14301 | 0 | } |
14302 | 0 | inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) { |
14303 | 0 | if (leading_comments != nullptr) { |
14304 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14305 | 0 | } else { |
14306 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14307 | 0 | } |
14308 | 0 | _impl_.leading_comments_.SetAllocated(leading_comments, GetArenaForAllocation()); |
14309 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14310 | 0 | if (_impl_.leading_comments_.IsDefault()) { |
14311 | 0 | _impl_.leading_comments_.Set("", GetArenaForAllocation()); |
14312 | 0 | } |
14313 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14314 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
14315 | 0 | } |
14316 | | |
14317 | | // optional string trailing_comments = 4; |
14318 | 0 | inline bool SourceCodeInfo_Location::_internal_has_trailing_comments() const { |
14319 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14320 | 0 | return value; |
14321 | 0 | } |
14322 | 0 | inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
14323 | 0 | return _internal_has_trailing_comments(); |
14324 | 0 | } |
14325 | 0 | inline void SourceCodeInfo_Location::clear_trailing_comments() { |
14326 | 0 | _impl_.trailing_comments_.ClearToEmpty(); |
14327 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14328 | 0 | } |
14329 | 0 | inline const std::string& SourceCodeInfo_Location::trailing_comments() const { |
14330 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14331 | 0 | return _internal_trailing_comments(); |
14332 | 0 | } |
14333 | | template <typename ArgT0, typename... ArgT> |
14334 | | inline PROTOBUF_ALWAYS_INLINE |
14335 | | void SourceCodeInfo_Location::set_trailing_comments(ArgT0&& arg0, ArgT... args) { |
14336 | | _impl_._has_bits_[0] |= 0x00000002u; |
14337 | | _impl_.trailing_comments_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
14338 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14339 | | } |
14340 | 0 | inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() { |
14341 | 0 | std::string* _s = _internal_mutable_trailing_comments(); |
14342 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14343 | 0 | return _s; |
14344 | 0 | } |
14345 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const { |
14346 | 0 | return _impl_.trailing_comments_.Get(); |
14347 | 0 | } |
14348 | 0 | inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) { |
14349 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14350 | 0 | _impl_.trailing_comments_.Set(value, GetArenaForAllocation()); |
14351 | 0 | } |
14352 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() { |
14353 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14354 | 0 | return _impl_.trailing_comments_.Mutable(GetArenaForAllocation()); |
14355 | 0 | } |
14356 | 0 | inline std::string* SourceCodeInfo_Location::release_trailing_comments() { |
14357 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14358 | 0 | if (!_internal_has_trailing_comments()) { |
14359 | 0 | return nullptr; |
14360 | 0 | } |
14361 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14362 | 0 | auto* p = _impl_.trailing_comments_.Release(); |
14363 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14364 | 0 | if (_impl_.trailing_comments_.IsDefault()) { |
14365 | 0 | _impl_.trailing_comments_.Set("", GetArenaForAllocation()); |
14366 | 0 | } |
14367 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14368 | 0 | return p; |
14369 | 0 | } |
14370 | 0 | inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* trailing_comments) { |
14371 | 0 | if (trailing_comments != nullptr) { |
14372 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14373 | 0 | } else { |
14374 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14375 | 0 | } |
14376 | 0 | _impl_.trailing_comments_.SetAllocated(trailing_comments, GetArenaForAllocation()); |
14377 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14378 | 0 | if (_impl_.trailing_comments_.IsDefault()) { |
14379 | 0 | _impl_.trailing_comments_.Set("", GetArenaForAllocation()); |
14380 | 0 | } |
14381 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14382 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
14383 | 0 | } |
14384 | | |
14385 | | // repeated string leading_detached_comments = 6; |
14386 | 0 | inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const { |
14387 | 0 | return _impl_.leading_detached_comments_.size(); |
14388 | 0 | } |
14389 | 0 | inline int SourceCodeInfo_Location::leading_detached_comments_size() const { |
14390 | 0 | return _internal_leading_detached_comments_size(); |
14391 | 0 | } |
14392 | 0 | inline void SourceCodeInfo_Location::clear_leading_detached_comments() { |
14393 | 0 | _impl_.leading_detached_comments_.Clear(); |
14394 | 0 | } |
14395 | 0 | inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() { |
14396 | 0 | std::string* _s = _internal_add_leading_detached_comments(); |
14397 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14398 | 0 | return _s; |
14399 | 0 | } |
14400 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_leading_detached_comments(int index) const { |
14401 | 0 | return _impl_.leading_detached_comments_.Get(index); |
14402 | 0 | } |
14403 | 0 | inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const { |
14404 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14405 | 0 | return _internal_leading_detached_comments(index); |
14406 | 0 | } |
14407 | 0 | inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) { |
14408 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14409 | 0 | return _impl_.leading_detached_comments_.Mutable(index); |
14410 | 0 | } |
14411 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) { |
14412 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(value); |
14413 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14414 | 0 | } |
14415 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) { |
14416 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(std::move(value)); |
14417 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14418 | 0 | } |
14419 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) { |
14420 | 0 | GOOGLE_DCHECK(value != nullptr); |
14421 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign(value); |
14422 | 0 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14423 | 0 | } |
14424 | 0 | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) { |
14425 | 0 | _impl_.leading_detached_comments_.Mutable(index)->assign( |
14426 | 0 | reinterpret_cast<const char*>(value), size); |
14427 | 0 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14428 | 0 | } |
14429 | 0 | inline std::string* SourceCodeInfo_Location::_internal_add_leading_detached_comments() { |
14430 | 0 | return _impl_.leading_detached_comments_.Add(); |
14431 | 0 | } |
14432 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) { |
14433 | 0 | _impl_.leading_detached_comments_.Add()->assign(value); |
14434 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14435 | 0 | } |
14436 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) { |
14437 | 0 | _impl_.leading_detached_comments_.Add(std::move(value)); |
14438 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14439 | 0 | } |
14440 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) { |
14441 | 0 | GOOGLE_DCHECK(value != nullptr); |
14442 | 0 | _impl_.leading_detached_comments_.Add()->assign(value); |
14443 | 0 | // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14444 | 0 | } |
14445 | 0 | inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) { |
14446 | 0 | _impl_.leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size); |
14447 | 0 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14448 | 0 | } |
14449 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
14450 | 0 | SourceCodeInfo_Location::leading_detached_comments() const { |
14451 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14452 | 0 | return _impl_.leading_detached_comments_; |
14453 | 0 | } |
14454 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
14455 | 0 | SourceCodeInfo_Location::mutable_leading_detached_comments() { |
14456 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
14457 | 0 | return &_impl_.leading_detached_comments_; |
14458 | 0 | } |
14459 | | |
14460 | | // ------------------------------------------------------------------- |
14461 | | |
14462 | | // SourceCodeInfo |
14463 | | |
14464 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
14465 | 0 | inline int SourceCodeInfo::_internal_location_size() const { |
14466 | 0 | return _impl_.location_.size(); |
14467 | 0 | } |
14468 | 0 | inline int SourceCodeInfo::location_size() const { |
14469 | 0 | return _internal_location_size(); |
14470 | 0 | } |
14471 | 0 | inline void SourceCodeInfo::clear_location() { |
14472 | 0 | _impl_.location_.Clear(); |
14473 | 0 | } |
14474 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) { |
14475 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) |
14476 | 0 | return _impl_.location_.Mutable(index); |
14477 | 0 | } |
14478 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* |
14479 | 0 | SourceCodeInfo::mutable_location() { |
14480 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) |
14481 | 0 | return &_impl_.location_; |
14482 | 0 | } |
14483 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const { |
14484 | 0 | return _impl_.location_.Get(index); |
14485 | 0 | } |
14486 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const { |
14487 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) |
14488 | 0 | return _internal_location(index); |
14489 | 0 | } |
14490 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() { |
14491 | 0 | return _impl_.location_.Add(); |
14492 | 0 | } |
14493 | 0 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() { |
14494 | 0 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _add = _internal_add_location(); |
14495 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) |
14496 | 0 | return _add; |
14497 | 0 | } |
14498 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& |
14499 | 0 | SourceCodeInfo::location() const { |
14500 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) |
14501 | 0 | return _impl_.location_; |
14502 | 0 | } |
14503 | | |
14504 | | // ------------------------------------------------------------------- |
14505 | | |
14506 | | // GeneratedCodeInfo_Annotation |
14507 | | |
14508 | | // repeated int32 path = 1 [packed = true]; |
14509 | 0 | inline int GeneratedCodeInfo_Annotation::_internal_path_size() const { |
14510 | 0 | return _impl_.path_.size(); |
14511 | 0 | } |
14512 | 0 | inline int GeneratedCodeInfo_Annotation::path_size() const { |
14513 | 0 | return _internal_path_size(); |
14514 | 0 | } |
14515 | 0 | inline void GeneratedCodeInfo_Annotation::clear_path() { |
14516 | 0 | _impl_.path_.Clear(); |
14517 | 0 | } |
14518 | 0 | inline int32_t GeneratedCodeInfo_Annotation::_internal_path(int index) const { |
14519 | 0 | return _impl_.path_.Get(index); |
14520 | 0 | } |
14521 | 0 | inline int32_t GeneratedCodeInfo_Annotation::path(int index) const { |
14522 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14523 | 0 | return _internal_path(index); |
14524 | 0 | } |
14525 | 0 | inline void GeneratedCodeInfo_Annotation::set_path(int index, int32_t value) { |
14526 | 0 | _impl_.path_.Set(index, value); |
14527 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14528 | 0 | } |
14529 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_add_path(int32_t value) { |
14530 | 0 | _impl_.path_.Add(value); |
14531 | 0 | } |
14532 | 0 | inline void GeneratedCodeInfo_Annotation::add_path(int32_t value) { |
14533 | 0 | _internal_add_path(value); |
14534 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14535 | 0 | } |
14536 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
14537 | 0 | GeneratedCodeInfo_Annotation::_internal_path() const { |
14538 | 0 | return _impl_.path_; |
14539 | 0 | } |
14540 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
14541 | 0 | GeneratedCodeInfo_Annotation::path() const { |
14542 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14543 | 0 | return _internal_path(); |
14544 | 0 | } |
14545 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
14546 | 0 | GeneratedCodeInfo_Annotation::_internal_mutable_path() { |
14547 | 0 | return &_impl_.path_; |
14548 | 0 | } |
14549 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
14550 | 0 | GeneratedCodeInfo_Annotation::mutable_path() { |
14551 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
14552 | 0 | return _internal_mutable_path(); |
14553 | 0 | } |
14554 | | |
14555 | | // optional string source_file = 2; |
14556 | 0 | inline bool GeneratedCodeInfo_Annotation::_internal_has_source_file() const { |
14557 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14558 | 0 | return value; |
14559 | 0 | } |
14560 | 0 | inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
14561 | 0 | return _internal_has_source_file(); |
14562 | 0 | } |
14563 | 0 | inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
14564 | 0 | _impl_.source_file_.ClearToEmpty(); |
14565 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14566 | 0 | } |
14567 | 0 | inline const std::string& GeneratedCodeInfo_Annotation::source_file() const { |
14568 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14569 | 0 | return _internal_source_file(); |
14570 | 0 | } |
14571 | | template <typename ArgT0, typename... ArgT> |
14572 | | inline PROTOBUF_ALWAYS_INLINE |
14573 | | void GeneratedCodeInfo_Annotation::set_source_file(ArgT0&& arg0, ArgT... args) { |
14574 | | _impl_._has_bits_[0] |= 0x00000001u; |
14575 | | _impl_.source_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
14576 | | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14577 | | } |
14578 | 0 | inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { |
14579 | 0 | std::string* _s = _internal_mutable_source_file(); |
14580 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14581 | 0 | return _s; |
14582 | 0 | } |
14583 | 0 | inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const { |
14584 | 0 | return _impl_.source_file_.Get(); |
14585 | 0 | } |
14586 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) { |
14587 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14588 | 0 | _impl_.source_file_.Set(value, GetArenaForAllocation()); |
14589 | 0 | } |
14590 | 0 | inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() { |
14591 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14592 | 0 | return _impl_.source_file_.Mutable(GetArenaForAllocation()); |
14593 | 0 | } |
14594 | 0 | inline std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
14595 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14596 | 0 | if (!_internal_has_source_file()) { |
14597 | 0 | return nullptr; |
14598 | 0 | } |
14599 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14600 | 0 | auto* p = _impl_.source_file_.Release(); |
14601 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14602 | 0 | if (_impl_.source_file_.IsDefault()) { |
14603 | 0 | _impl_.source_file_.Set("", GetArenaForAllocation()); |
14604 | 0 | } |
14605 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14606 | 0 | return p; |
14607 | 0 | } |
14608 | 0 | inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* source_file) { |
14609 | 0 | if (source_file != nullptr) { |
14610 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14611 | 0 | } else { |
14612 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14613 | 0 | } |
14614 | 0 | _impl_.source_file_.SetAllocated(source_file, GetArenaForAllocation()); |
14615 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14616 | 0 | if (_impl_.source_file_.IsDefault()) { |
14617 | 0 | _impl_.source_file_.Set("", GetArenaForAllocation()); |
14618 | 0 | } |
14619 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14620 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
14621 | 0 | } |
14622 | | |
14623 | | // optional int32 begin = 3; |
14624 | 0 | inline bool GeneratedCodeInfo_Annotation::_internal_has_begin() const { |
14625 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14626 | 0 | return value; |
14627 | 0 | } |
14628 | 0 | inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
14629 | 0 | return _internal_has_begin(); |
14630 | 0 | } |
14631 | 0 | inline void GeneratedCodeInfo_Annotation::clear_begin() { |
14632 | 0 | _impl_.begin_ = 0; |
14633 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14634 | 0 | } |
14635 | 0 | inline int32_t GeneratedCodeInfo_Annotation::_internal_begin() const { |
14636 | 0 | return _impl_.begin_; |
14637 | 0 | } |
14638 | 0 | inline int32_t GeneratedCodeInfo_Annotation::begin() const { |
14639 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
14640 | 0 | return _internal_begin(); |
14641 | 0 | } |
14642 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_begin(int32_t value) { |
14643 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14644 | 0 | _impl_.begin_ = value; |
14645 | 0 | } |
14646 | 0 | inline void GeneratedCodeInfo_Annotation::set_begin(int32_t value) { |
14647 | 0 | _internal_set_begin(value); |
14648 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
14649 | 0 | } |
14650 | | |
14651 | | // optional int32 end = 4; |
14652 | 0 | inline bool GeneratedCodeInfo_Annotation::_internal_has_end() const { |
14653 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
14654 | 0 | return value; |
14655 | 0 | } |
14656 | 0 | inline bool GeneratedCodeInfo_Annotation::has_end() const { |
14657 | 0 | return _internal_has_end(); |
14658 | 0 | } |
14659 | 0 | inline void GeneratedCodeInfo_Annotation::clear_end() { |
14660 | 0 | _impl_.end_ = 0; |
14661 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14662 | 0 | } |
14663 | 0 | inline int32_t GeneratedCodeInfo_Annotation::_internal_end() const { |
14664 | 0 | return _impl_.end_; |
14665 | 0 | } |
14666 | 0 | inline int32_t GeneratedCodeInfo_Annotation::end() const { |
14667 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
14668 | 0 | return _internal_end(); |
14669 | 0 | } |
14670 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_end(int32_t value) { |
14671 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14672 | 0 | _impl_.end_ = value; |
14673 | 0 | } |
14674 | 0 | inline void GeneratedCodeInfo_Annotation::set_end(int32_t value) { |
14675 | 0 | _internal_set_end(value); |
14676 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
14677 | 0 | } |
14678 | | |
14679 | | // ------------------------------------------------------------------- |
14680 | | |
14681 | | // GeneratedCodeInfo |
14682 | | |
14683 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
14684 | 0 | inline int GeneratedCodeInfo::_internal_annotation_size() const { |
14685 | 0 | return _impl_.annotation_.size(); |
14686 | 0 | } |
14687 | 0 | inline int GeneratedCodeInfo::annotation_size() const { |
14688 | 0 | return _internal_annotation_size(); |
14689 | 0 | } |
14690 | 0 | inline void GeneratedCodeInfo::clear_annotation() { |
14691 | 0 | _impl_.annotation_.Clear(); |
14692 | 0 | } |
14693 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) { |
14694 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
14695 | 0 | return _impl_.annotation_.Mutable(index); |
14696 | 0 | } |
14697 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* |
14698 | 0 | GeneratedCodeInfo::mutable_annotation() { |
14699 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
14700 | 0 | return &_impl_.annotation_; |
14701 | 0 | } |
14702 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const { |
14703 | 0 | return _impl_.annotation_.Get(index); |
14704 | 0 | } |
14705 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const { |
14706 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
14707 | 0 | return _internal_annotation(index); |
14708 | 0 | } |
14709 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() { |
14710 | 0 | return _impl_.annotation_.Add(); |
14711 | 0 | } |
14712 | 0 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() { |
14713 | 0 | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _add = _internal_add_annotation(); |
14714 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
14715 | 0 | return _add; |
14716 | 0 | } |
14717 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& |
14718 | 0 | GeneratedCodeInfo::annotation() const { |
14719 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
14720 | 0 | return _impl_.annotation_; |
14721 | 0 | } |
14722 | | |
14723 | | #ifdef __GNUC__ |
14724 | | #pragma GCC diagnostic pop |
14725 | | #endif // __GNUC__ |
14726 | | // ------------------------------------------------------------------- |
14727 | | |
14728 | | // ------------------------------------------------------------------- |
14729 | | |
14730 | | // ------------------------------------------------------------------- |
14731 | | |
14732 | | // ------------------------------------------------------------------- |
14733 | | |
14734 | | // ------------------------------------------------------------------- |
14735 | | |
14736 | | // ------------------------------------------------------------------- |
14737 | | |
14738 | | // ------------------------------------------------------------------- |
14739 | | |
14740 | | // ------------------------------------------------------------------- |
14741 | | |
14742 | | // ------------------------------------------------------------------- |
14743 | | |
14744 | | // ------------------------------------------------------------------- |
14745 | | |
14746 | | // ------------------------------------------------------------------- |
14747 | | |
14748 | | // ------------------------------------------------------------------- |
14749 | | |
14750 | | // ------------------------------------------------------------------- |
14751 | | |
14752 | | // ------------------------------------------------------------------- |
14753 | | |
14754 | | // ------------------------------------------------------------------- |
14755 | | |
14756 | | // ------------------------------------------------------------------- |
14757 | | |
14758 | | // ------------------------------------------------------------------- |
14759 | | |
14760 | | // ------------------------------------------------------------------- |
14761 | | |
14762 | | // ------------------------------------------------------------------- |
14763 | | |
14764 | | // ------------------------------------------------------------------- |
14765 | | |
14766 | | // ------------------------------------------------------------------- |
14767 | | |
14768 | | // ------------------------------------------------------------------- |
14769 | | |
14770 | | // ------------------------------------------------------------------- |
14771 | | |
14772 | | // ------------------------------------------------------------------- |
14773 | | |
14774 | | // ------------------------------------------------------------------- |
14775 | | |
14776 | | // ------------------------------------------------------------------- |
14777 | | |
14778 | | |
14779 | | // @@protoc_insertion_point(namespace_scope) |
14780 | | |
14781 | | PROTOBUF_NAMESPACE_CLOSE |
14782 | | |
14783 | | PROTOBUF_NAMESPACE_OPEN |
14784 | | |
14785 | | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : ::std::true_type {}; |
14786 | | template <> |
14787 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() { |
14788 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor(); |
14789 | 0 | } |
14790 | | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : ::std::true_type {}; |
14791 | | template <> |
14792 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() { |
14793 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor(); |
14794 | 0 | } |
14795 | | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : ::std::true_type {}; |
14796 | | template <> |
14797 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() { |
14798 | 0 | return ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor(); |
14799 | 0 | } |
14800 | | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : ::std::true_type {}; |
14801 | | template <> |
14802 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() { |
14803 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor(); |
14804 | 0 | } |
14805 | | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : ::std::true_type {}; |
14806 | | template <> |
14807 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() { |
14808 | 0 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor(); |
14809 | 0 | } |
14810 | | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : ::std::true_type {}; |
14811 | | template <> |
14812 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() { |
14813 | 0 | return ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor(); |
14814 | 0 | } |
14815 | | |
14816 | | PROTOBUF_NAMESPACE_CLOSE |
14817 | | |
14818 | | // @@protoc_insertion_point(global_scope) |
14819 | | |
14820 | | #include <google/protobuf/port_undef.inc> |
14821 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |