~ubuntu-branches/debian/squeeze/protobuf/squeeze

« back to all changes in this revision

Viewing changes to src/google/protobuf/descriptor.pb.cc

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-06-02 16:19:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602161900-vm176i3ryt35yk91
Tags: 2.0.3-2.2
* Non-maintainer upload.
* Fix FTBFS from -2.1: don't fail when we can't clean up the java build,
  such as when openjdk isn't installed.
* Disable parallel builds, because libtool is made of fail (if binary-arch
  and build-indep run concurrently, we relink a library while it's being
  used; that doesn't work so well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
namespace {
13
13
 
 
14
const ::google::protobuf::Descriptor* FileDescriptorSet_descriptor_ = NULL;
 
15
const ::google::protobuf::internal::GeneratedMessageReflection*
 
16
  FileDescriptorSet_reflection_ = NULL;
14
17
const ::google::protobuf::Descriptor* FileDescriptorProto_descriptor_ = NULL;
 
18
const ::google::protobuf::internal::GeneratedMessageReflection*
 
19
  FileDescriptorProto_reflection_ = NULL;
15
20
const ::google::protobuf::Descriptor* DescriptorProto_descriptor_ = NULL;
 
21
const ::google::protobuf::internal::GeneratedMessageReflection*
 
22
  DescriptorProto_reflection_ = NULL;
16
23
const ::google::protobuf::Descriptor* DescriptorProto_ExtensionRange_descriptor_ = NULL;
 
24
const ::google::protobuf::internal::GeneratedMessageReflection*
 
25
  DescriptorProto_ExtensionRange_reflection_ = NULL;
17
26
const ::google::protobuf::Descriptor* FieldDescriptorProto_descriptor_ = NULL;
 
27
const ::google::protobuf::internal::GeneratedMessageReflection*
 
28
  FieldDescriptorProto_reflection_ = NULL;
18
29
const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor_ = NULL;
19
30
const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor_ = NULL;
20
31
const ::google::protobuf::Descriptor* EnumDescriptorProto_descriptor_ = NULL;
 
32
const ::google::protobuf::internal::GeneratedMessageReflection*
 
33
  EnumDescriptorProto_reflection_ = NULL;
21
34
const ::google::protobuf::Descriptor* EnumValueDescriptorProto_descriptor_ = NULL;
 
35
const ::google::protobuf::internal::GeneratedMessageReflection*
 
36
  EnumValueDescriptorProto_reflection_ = NULL;
22
37
const ::google::protobuf::Descriptor* ServiceDescriptorProto_descriptor_ = NULL;
 
38
const ::google::protobuf::internal::GeneratedMessageReflection*
 
39
  ServiceDescriptorProto_reflection_ = NULL;
23
40
const ::google::protobuf::Descriptor* MethodDescriptorProto_descriptor_ = NULL;
 
41
const ::google::protobuf::internal::GeneratedMessageReflection*
 
42
  MethodDescriptorProto_reflection_ = NULL;
24
43
const ::google::protobuf::Descriptor* FileOptions_descriptor_ = NULL;
 
44
const ::google::protobuf::internal::GeneratedMessageReflection*
 
45
  FileOptions_reflection_ = NULL;
25
46
const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor_ = NULL;
26
47
const ::google::protobuf::Descriptor* MessageOptions_descriptor_ = NULL;
 
48
const ::google::protobuf::internal::GeneratedMessageReflection*
 
49
  MessageOptions_reflection_ = NULL;
27
50
const ::google::protobuf::Descriptor* FieldOptions_descriptor_ = NULL;
 
51
const ::google::protobuf::internal::GeneratedMessageReflection*
 
52
  FieldOptions_reflection_ = NULL;
28
53
const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor_ = NULL;
29
54
const ::google::protobuf::Descriptor* EnumOptions_descriptor_ = NULL;
 
55
const ::google::protobuf::internal::GeneratedMessageReflection*
 
56
  EnumOptions_reflection_ = NULL;
30
57
const ::google::protobuf::Descriptor* EnumValueOptions_descriptor_ = NULL;
 
58
const ::google::protobuf::internal::GeneratedMessageReflection*
 
59
  EnumValueOptions_reflection_ = NULL;
31
60
const ::google::protobuf::Descriptor* ServiceOptions_descriptor_ = NULL;
 
61
const ::google::protobuf::internal::GeneratedMessageReflection*
 
62
  ServiceOptions_reflection_ = NULL;
32
63
const ::google::protobuf::Descriptor* MethodOptions_descriptor_ = NULL;
 
64
const ::google::protobuf::internal::GeneratedMessageReflection*
 
65
  MethodOptions_reflection_ = NULL;
 
66
const ::google::protobuf::Descriptor* UninterpretedOption_descriptor_ = NULL;
 
67
const ::google::protobuf::internal::GeneratedMessageReflection*
 
68
  UninterpretedOption_reflection_ = NULL;
 
69
const ::google::protobuf::Descriptor* UninterpretedOption_NamePart_descriptor_ = NULL;
 
70
const ::google::protobuf::internal::GeneratedMessageReflection*
 
71
  UninterpretedOption_NamePart_reflection_ = NULL;
33
72
 
34
73
}  // namespace
35
74
 
36
75
 
37
 
void proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto() {
 
76
void protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto_AssignGlobalDescriptors(const ::google::protobuf::FileDescriptor* file) {
 
77
  FileDescriptorSet_descriptor_ = file->message_type(0);
 
78
  FileDescriptorSet::default_instance_ = new FileDescriptorSet();
 
79
  static const int FileDescriptorSet_offsets_[1] = {
 
80
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, file_),
 
81
  };
 
82
  FileDescriptorSet_reflection_ =
 
83
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
84
      FileDescriptorSet_descriptor_,
 
85
      FileDescriptorSet::default_instance_,
 
86
      FileDescriptorSet_offsets_,
 
87
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, _has_bits_[0]),
 
88
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, _unknown_fields_),
 
89
      -1,
 
90
      ::google::protobuf::DescriptorPool::generated_pool(),
 
91
      sizeof(FileDescriptorSet));
 
92
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
93
    FileDescriptorSet_descriptor_, FileDescriptorSet::default_instance_);
 
94
  FileDescriptorProto_descriptor_ = file->message_type(1);
 
95
  FileDescriptorProto::default_instance_ = new FileDescriptorProto();
 
96
  static const int FileDescriptorProto_offsets_[8] = {
 
97
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, name_),
 
98
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, package_),
 
99
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, dependency_),
 
100
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, message_type_),
 
101
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, enum_type_),
 
102
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_),
 
103
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_),
 
104
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, options_),
 
105
  };
 
106
  FileDescriptorProto_reflection_ =
 
107
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
108
      FileDescriptorProto_descriptor_,
 
109
      FileDescriptorProto::default_instance_,
 
110
      FileDescriptorProto_offsets_,
 
111
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, _has_bits_[0]),
 
112
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, _unknown_fields_),
 
113
      -1,
 
114
      ::google::protobuf::DescriptorPool::generated_pool(),
 
115
      sizeof(FileDescriptorProto));
 
116
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
117
    FileDescriptorProto_descriptor_, FileDescriptorProto::default_instance_);
 
118
  DescriptorProto_descriptor_ = file->message_type(2);
 
119
  DescriptorProto::default_instance_ = new DescriptorProto();
 
120
  static const int DescriptorProto_offsets_[7] = {
 
121
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_),
 
122
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_),
 
123
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_),
 
124
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_),
 
125
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_),
 
126
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_),
 
127
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_),
 
128
  };
 
129
  DescriptorProto_reflection_ =
 
130
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
131
      DescriptorProto_descriptor_,
 
132
      DescriptorProto::default_instance_,
 
133
      DescriptorProto_offsets_,
 
134
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _has_bits_[0]),
 
135
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _unknown_fields_),
 
136
      -1,
 
137
      ::google::protobuf::DescriptorPool::generated_pool(),
 
138
      sizeof(DescriptorProto));
 
139
  DescriptorProto_ExtensionRange_descriptor_ = DescriptorProto_descriptor_->nested_type(0);
 
140
  DescriptorProto_ExtensionRange::default_instance_ = new DescriptorProto_ExtensionRange();
 
141
  static const int DescriptorProto_ExtensionRange_offsets_[2] = {
 
142
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, start_),
 
143
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, end_),
 
144
  };
 
145
  DescriptorProto_ExtensionRange_reflection_ =
 
146
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
147
      DescriptorProto_ExtensionRange_descriptor_,
 
148
      DescriptorProto_ExtensionRange::default_instance_,
 
149
      DescriptorProto_ExtensionRange_offsets_,
 
150
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, _has_bits_[0]),
 
151
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, _unknown_fields_),
 
152
      -1,
 
153
      ::google::protobuf::DescriptorPool::generated_pool(),
 
154
      sizeof(DescriptorProto_ExtensionRange));
 
155
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
156
    DescriptorProto_ExtensionRange_descriptor_, DescriptorProto_ExtensionRange::default_instance_);
 
157
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
158
    DescriptorProto_descriptor_, DescriptorProto::default_instance_);
 
159
  FieldDescriptorProto_descriptor_ = file->message_type(3);
 
160
  FieldDescriptorProto::default_instance_ = new FieldDescriptorProto();
 
161
  static const int FieldDescriptorProto_offsets_[8] = {
 
162
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, name_),
 
163
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, number_),
 
164
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, label_),
 
165
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_),
 
166
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_name_),
 
167
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, extendee_),
 
168
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_),
 
169
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, options_),
 
170
  };
 
171
  FieldDescriptorProto_reflection_ =
 
172
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
173
      FieldDescriptorProto_descriptor_,
 
174
      FieldDescriptorProto::default_instance_,
 
175
      FieldDescriptorProto_offsets_,
 
176
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, _has_bits_[0]),
 
177
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, _unknown_fields_),
 
178
      -1,
 
179
      ::google::protobuf::DescriptorPool::generated_pool(),
 
180
      sizeof(FieldDescriptorProto));
 
181
  FieldDescriptorProto_Type_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(0);
 
182
  FieldDescriptorProto_Label_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(1);
 
183
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
184
    FieldDescriptorProto_descriptor_, FieldDescriptorProto::default_instance_);
 
185
  EnumDescriptorProto_descriptor_ = file->message_type(4);
 
186
  EnumDescriptorProto::default_instance_ = new EnumDescriptorProto();
 
187
  static const int EnumDescriptorProto_offsets_[3] = {
 
188
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, name_),
 
189
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, value_),
 
190
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, options_),
 
191
  };
 
192
  EnumDescriptorProto_reflection_ =
 
193
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
194
      EnumDescriptorProto_descriptor_,
 
195
      EnumDescriptorProto::default_instance_,
 
196
      EnumDescriptorProto_offsets_,
 
197
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _has_bits_[0]),
 
198
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _unknown_fields_),
 
199
      -1,
 
200
      ::google::protobuf::DescriptorPool::generated_pool(),
 
201
      sizeof(EnumDescriptorProto));
 
202
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
203
    EnumDescriptorProto_descriptor_, EnumDescriptorProto::default_instance_);
 
204
  EnumValueDescriptorProto_descriptor_ = file->message_type(5);
 
205
  EnumValueDescriptorProto::default_instance_ = new EnumValueDescriptorProto();
 
206
  static const int EnumValueDescriptorProto_offsets_[3] = {
 
207
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, name_),
 
208
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, number_),
 
209
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, options_),
 
210
  };
 
211
  EnumValueDescriptorProto_reflection_ =
 
212
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
213
      EnumValueDescriptorProto_descriptor_,
 
214
      EnumValueDescriptorProto::default_instance_,
 
215
      EnumValueDescriptorProto_offsets_,
 
216
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, _has_bits_[0]),
 
217
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, _unknown_fields_),
 
218
      -1,
 
219
      ::google::protobuf::DescriptorPool::generated_pool(),
 
220
      sizeof(EnumValueDescriptorProto));
 
221
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
222
    EnumValueDescriptorProto_descriptor_, EnumValueDescriptorProto::default_instance_);
 
223
  ServiceDescriptorProto_descriptor_ = file->message_type(6);
 
224
  ServiceDescriptorProto::default_instance_ = new ServiceDescriptorProto();
 
225
  static const int ServiceDescriptorProto_offsets_[3] = {
 
226
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, name_),
 
227
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, method_),
 
228
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, options_),
 
229
  };
 
230
  ServiceDescriptorProto_reflection_ =
 
231
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
232
      ServiceDescriptorProto_descriptor_,
 
233
      ServiceDescriptorProto::default_instance_,
 
234
      ServiceDescriptorProto_offsets_,
 
235
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, _has_bits_[0]),
 
236
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, _unknown_fields_),
 
237
      -1,
 
238
      ::google::protobuf::DescriptorPool::generated_pool(),
 
239
      sizeof(ServiceDescriptorProto));
 
240
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
241
    ServiceDescriptorProto_descriptor_, ServiceDescriptorProto::default_instance_);
 
242
  MethodDescriptorProto_descriptor_ = file->message_type(7);
 
243
  MethodDescriptorProto::default_instance_ = new MethodDescriptorProto();
 
244
  static const int MethodDescriptorProto_offsets_[4] = {
 
245
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, name_),
 
246
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, input_type_),
 
247
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, output_type_),
 
248
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, options_),
 
249
  };
 
250
  MethodDescriptorProto_reflection_ =
 
251
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
252
      MethodDescriptorProto_descriptor_,
 
253
      MethodDescriptorProto::default_instance_,
 
254
      MethodDescriptorProto_offsets_,
 
255
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _has_bits_[0]),
 
256
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _unknown_fields_),
 
257
      -1,
 
258
      ::google::protobuf::DescriptorPool::generated_pool(),
 
259
      sizeof(MethodDescriptorProto));
 
260
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
261
    MethodDescriptorProto_descriptor_, MethodDescriptorProto::default_instance_);
 
262
  FileOptions_descriptor_ = file->message_type(8);
 
263
  FileOptions::default_instance_ = new FileOptions();
 
264
  static const int FileOptions_offsets_[5] = {
 
265
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_package_),
 
266
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_outer_classname_),
 
267
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_),
 
268
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, optimize_for_),
 
269
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, uninterpreted_option_),
 
270
  };
 
271
  FileOptions_reflection_ =
 
272
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
273
      FileOptions_descriptor_,
 
274
      FileOptions::default_instance_,
 
275
      FileOptions_offsets_,
 
276
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _has_bits_[0]),
 
277
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _unknown_fields_),
 
278
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _extensions_),
 
279
      ::google::protobuf::DescriptorPool::generated_pool(),
 
280
      sizeof(FileOptions));
 
281
  FileOptions_OptimizeMode_descriptor_ = FileOptions_descriptor_->enum_type(0);
 
282
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
283
    FileOptions_descriptor_, FileOptions::default_instance_);
 
284
  MessageOptions_descriptor_ = file->message_type(9);
 
285
  MessageOptions::default_instance_ = new MessageOptions();
 
286
  static const int MessageOptions_offsets_[2] = {
 
287
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, message_set_wire_format_),
 
288
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, uninterpreted_option_),
 
289
  };
 
290
  MessageOptions_reflection_ =
 
291
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
292
      MessageOptions_descriptor_,
 
293
      MessageOptions::default_instance_,
 
294
      MessageOptions_offsets_,
 
295
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _has_bits_[0]),
 
296
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _unknown_fields_),
 
297
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _extensions_),
 
298
      ::google::protobuf::DescriptorPool::generated_pool(),
 
299
      sizeof(MessageOptions));
 
300
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
301
    MessageOptions_descriptor_, MessageOptions::default_instance_);
 
302
  FieldOptions_descriptor_ = file->message_type(10);
 
303
  FieldOptions::default_instance_ = new FieldOptions();
 
304
  static const int FieldOptions_offsets_[3] = {
 
305
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_),
 
306
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, experimental_map_key_),
 
307
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, uninterpreted_option_),
 
308
  };
 
309
  FieldOptions_reflection_ =
 
310
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
311
      FieldOptions_descriptor_,
 
312
      FieldOptions::default_instance_,
 
313
      FieldOptions_offsets_,
 
314
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _has_bits_[0]),
 
315
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _unknown_fields_),
 
316
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _extensions_),
 
317
      ::google::protobuf::DescriptorPool::generated_pool(),
 
318
      sizeof(FieldOptions));
 
319
  FieldOptions_CType_descriptor_ = FieldOptions_descriptor_->enum_type(0);
 
320
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
321
    FieldOptions_descriptor_, FieldOptions::default_instance_);
 
322
  EnumOptions_descriptor_ = file->message_type(11);
 
323
  EnumOptions::default_instance_ = new EnumOptions();
 
324
  static const int EnumOptions_offsets_[1] = {
 
325
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, uninterpreted_option_),
 
326
  };
 
327
  EnumOptions_reflection_ =
 
328
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
329
      EnumOptions_descriptor_,
 
330
      EnumOptions::default_instance_,
 
331
      EnumOptions_offsets_,
 
332
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _has_bits_[0]),
 
333
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _unknown_fields_),
 
334
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _extensions_),
 
335
      ::google::protobuf::DescriptorPool::generated_pool(),
 
336
      sizeof(EnumOptions));
 
337
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
338
    EnumOptions_descriptor_, EnumOptions::default_instance_);
 
339
  EnumValueOptions_descriptor_ = file->message_type(12);
 
340
  EnumValueOptions::default_instance_ = new EnumValueOptions();
 
341
  static const int EnumValueOptions_offsets_[1] = {
 
342
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, uninterpreted_option_),
 
343
  };
 
344
  EnumValueOptions_reflection_ =
 
345
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
346
      EnumValueOptions_descriptor_,
 
347
      EnumValueOptions::default_instance_,
 
348
      EnumValueOptions_offsets_,
 
349
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _has_bits_[0]),
 
350
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _unknown_fields_),
 
351
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _extensions_),
 
352
      ::google::protobuf::DescriptorPool::generated_pool(),
 
353
      sizeof(EnumValueOptions));
 
354
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
355
    EnumValueOptions_descriptor_, EnumValueOptions::default_instance_);
 
356
  ServiceOptions_descriptor_ = file->message_type(13);
 
357
  ServiceOptions::default_instance_ = new ServiceOptions();
 
358
  static const int ServiceOptions_offsets_[1] = {
 
359
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, uninterpreted_option_),
 
360
  };
 
361
  ServiceOptions_reflection_ =
 
362
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
363
      ServiceOptions_descriptor_,
 
364
      ServiceOptions::default_instance_,
 
365
      ServiceOptions_offsets_,
 
366
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _has_bits_[0]),
 
367
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _unknown_fields_),
 
368
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _extensions_),
 
369
      ::google::protobuf::DescriptorPool::generated_pool(),
 
370
      sizeof(ServiceOptions));
 
371
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
372
    ServiceOptions_descriptor_, ServiceOptions::default_instance_);
 
373
  MethodOptions_descriptor_ = file->message_type(14);
 
374
  MethodOptions::default_instance_ = new MethodOptions();
 
375
  static const int MethodOptions_offsets_[1] = {
 
376
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, uninterpreted_option_),
 
377
  };
 
378
  MethodOptions_reflection_ =
 
379
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
380
      MethodOptions_descriptor_,
 
381
      MethodOptions::default_instance_,
 
382
      MethodOptions_offsets_,
 
383
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _has_bits_[0]),
 
384
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _unknown_fields_),
 
385
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _extensions_),
 
386
      ::google::protobuf::DescriptorPool::generated_pool(),
 
387
      sizeof(MethodOptions));
 
388
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
389
    MethodOptions_descriptor_, MethodOptions::default_instance_);
 
390
  UninterpretedOption_descriptor_ = file->message_type(15);
 
391
  UninterpretedOption::default_instance_ = new UninterpretedOption();
 
392
  static const int UninterpretedOption_offsets_[6] = {
 
393
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, name_),
 
394
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, identifier_value_),
 
395
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, positive_int_value_),
 
396
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, negative_int_value_),
 
397
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, double_value_),
 
398
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, string_value_),
 
399
  };
 
400
  UninterpretedOption_reflection_ =
 
401
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
402
      UninterpretedOption_descriptor_,
 
403
      UninterpretedOption::default_instance_,
 
404
      UninterpretedOption_offsets_,
 
405
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, _has_bits_[0]),
 
406
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, _unknown_fields_),
 
407
      -1,
 
408
      ::google::protobuf::DescriptorPool::generated_pool(),
 
409
      sizeof(UninterpretedOption));
 
410
  UninterpretedOption_NamePart_descriptor_ = UninterpretedOption_descriptor_->nested_type(0);
 
411
  UninterpretedOption_NamePart::default_instance_ = new UninterpretedOption_NamePart();
 
412
  static const int UninterpretedOption_NamePart_offsets_[2] = {
 
413
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, name_part_),
 
414
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, is_extension_),
 
415
  };
 
416
  UninterpretedOption_NamePart_reflection_ =
 
417
    new ::google::protobuf::internal::GeneratedMessageReflection(
 
418
      UninterpretedOption_NamePart_descriptor_,
 
419
      UninterpretedOption_NamePart::default_instance_,
 
420
      UninterpretedOption_NamePart_offsets_,
 
421
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, _has_bits_[0]),
 
422
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, _unknown_fields_),
 
423
      -1,
 
424
      ::google::protobuf::DescriptorPool::generated_pool(),
 
425
      sizeof(UninterpretedOption_NamePart));
 
426
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
427
    UninterpretedOption_NamePart_descriptor_, UninterpretedOption_NamePart::default_instance_);
 
428
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
 
429
    UninterpretedOption_descriptor_, UninterpretedOption::default_instance_);
 
430
  FileDescriptorSet::default_instance_->InitAsDefaultInstance();
 
431
  FileDescriptorProto::default_instance_->InitAsDefaultInstance();
 
432
  DescriptorProto::default_instance_->InitAsDefaultInstance();
 
433
  DescriptorProto_ExtensionRange::default_instance_->InitAsDefaultInstance();
 
434
  FieldDescriptorProto::default_instance_->InitAsDefaultInstance();
 
435
  EnumDescriptorProto::default_instance_->InitAsDefaultInstance();
 
436
  EnumValueDescriptorProto::default_instance_->InitAsDefaultInstance();
 
437
  ServiceDescriptorProto::default_instance_->InitAsDefaultInstance();
 
438
  MethodDescriptorProto::default_instance_->InitAsDefaultInstance();
 
439
  FileOptions::default_instance_->InitAsDefaultInstance();
 
440
  MessageOptions::default_instance_->InitAsDefaultInstance();
 
441
  FieldOptions::default_instance_->InitAsDefaultInstance();
 
442
  EnumOptions::default_instance_->InitAsDefaultInstance();
 
443
  EnumValueOptions::default_instance_->InitAsDefaultInstance();
 
444
  ServiceOptions::default_instance_->InitAsDefaultInstance();
 
445
  MethodOptions::default_instance_->InitAsDefaultInstance();
 
446
  UninterpretedOption::default_instance_->InitAsDefaultInstance();
 
447
  UninterpretedOption_NamePart::default_instance_->InitAsDefaultInstance();
 
448
}
 
449
 
 
450
void protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto() {
38
451
  static bool already_here = false;
39
452
  if (already_here) return;
40
453
  already_here = true;
42
455
  ::google::protobuf::DescriptorPool* pool =
43
456
    ::google::protobuf::DescriptorPool::internal_generated_pool();
44
457
 
45
 
  const ::google::protobuf::FileDescriptor* file = pool->InternalBuildGeneratedFile(
 
458
  pool->InternalBuildGeneratedFile(
46
459
    "\n google/protobuf/descriptor.proto\022\017goog"
47
 
    "le.protobuf\"\334\002\n\023FileDescriptorProto\022\014\n\004n"
48
 
    "ame\030\001 \001(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndependency"
49
 
    "\030\003 \003(\t\0226\n\014message_type\030\004 \003(\0132 .google.pr"
50
 
    "otobuf.DescriptorProto\0227\n\tenum_type\030\005 \003("
51
 
    "\0132$.google.protobuf.EnumDescriptorProto\022"
52
 
    "8\n\007service\030\006 \003(\0132\'.google.protobuf.Servi"
53
 
    "ceDescriptorProto\0228\n\textension\030\007 \003(\0132%.g"
54
 
    "oogle.protobuf.FieldDescriptorProto\022-\n\007o"
55
 
    "ptions\030\010 \001(\0132\034.google.protobuf.FileOptio"
56
 
    "ns\"\251\003\n\017DescriptorProto\022\014\n\004name\030\001 \001(\t\0224\n\005"
57
 
    "field\030\002 \003(\0132%.google.protobuf.FieldDescr"
58
 
    "iptorProto\0228\n\textension\030\006 \003(\0132%.google.p"
59
 
    "rotobuf.FieldDescriptorProto\0225\n\013nested_t"
60
 
    "ype\030\003 \003(\0132 .google.protobuf.DescriptorPr"
61
 
    "oto\0227\n\tenum_type\030\004 \003(\0132$.google.protobuf"
62
 
    ".EnumDescriptorProto\022H\n\017extension_range\030"
63
 
    "\005 \003(\0132/.google.protobuf.DescriptorProto."
64
 
    "ExtensionRange\0220\n\007options\030\007 \001(\0132\037.google"
65
 
    ".protobuf.MessageOptions\032,\n\016ExtensionRan"
66
 
    "ge\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"\224\005\n\024Field"
67
 
    "DescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030"
68
 
    "\003 \001(\005\022:\n\005label\030\004 \001(\0162+.google.protobuf.F"
69
 
    "ieldDescriptorProto.Label\0228\n\004type\030\005 \001(\0162"
70
 
    "*.google.protobuf.FieldDescriptorProto.T"
71
 
    "ype\022\021\n\ttype_name\030\006 \001(\t\022\020\n\010extendee\030\002 \001(\t"
72
 
    "\022\025\n\rdefault_value\030\007 \001(\t\022.\n\007options\030\010 \001(\013"
73
 
    "2\035.google.protobuf.FieldOptions\"\266\002\n\004Type"
74
 
    "\022\017\n\013TYPE_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYP"
75
 
    "E_INT64\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTYPE_INT32"
76
 
    "\020\005\022\020\n\014TYPE_FIXED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r"
77
 
    "\n\tTYPE_BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_G"
78
 
    "ROUP\020\n\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014"
79
 
    "\022\017\n\013TYPE_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE"
80
 
    "_SFIXED32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_S"
81
 
    "INT32\020\021\022\017\n\013TYPE_SINT64\020\022\"C\n\005Label\022\022\n\016LAB"
82
 
    "EL_OPTIONAL\020\001\022\022\n\016LABEL_REQUIRED\020\002\022\022\n\016LAB"
83
 
    "EL_REPEATED\020\003\"\214\001\n\023EnumDescriptorProto\022\014\n"
84
 
    "\004name\030\001 \001(\t\0228\n\005value\030\002 \003(\0132).google.prot"
85
 
    "obuf.EnumValueDescriptorProto\022-\n\007options"
86
 
    "\030\003 \001(\0132\034.google.protobuf.EnumOptions\"l\n\030"
87
 
    "EnumValueDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016"
88
 
    "\n\006number\030\002 \001(\005\0222\n\007options\030\003 \001(\0132!.google"
89
 
    ".protobuf.EnumValueOptions\"\220\001\n\026ServiceDe"
90
 
    "scriptorProto\022\014\n\004name\030\001 \001(\t\0226\n\006method\030\002 "
91
 
    "\003(\0132&.google.protobuf.MethodDescriptorPr"
92
 
    "oto\0220\n\007options\030\003 \001(\0132\037.google.protobuf.S"
93
 
    "erviceOptions\"\177\n\025MethodDescriptorProto\022\014"
94
 
    "\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023\n\013outp"
95
 
    "ut_type\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.google."
96
 
    "protobuf.MethodOptions\"\333\001\n\013FileOptions\022\024"
97
 
    "\n\014java_package\030\001 \001(\t\022\034\n\024java_outer_class"
98
 
    "name\030\010 \001(\t\022\"\n\023java_multiple_files\030\n \001(\010:"
99
 
    "\005false\022J\n\014optimize_for\030\t \001(\0162).google.pr"
100
 
    "otobuf.FileOptions.OptimizeMode:\tCODE_SI"
101
 
    "ZE\"(\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SI"
102
 
    "ZE\020\002\"8\n\016MessageOptions\022&\n\027message_set_wi"
103
 
    "re_format\030\001 \001(\010:\005false\"\205\001\n\014FieldOptions\022"
104
 
    "2\n\005ctype\030\001 \001(\0162#.google.protobuf.FieldOp"
105
 
    "tions.CType\022\034\n\024experimental_map_key\030\t \001("
106
 
    "\t\"#\n\005CType\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020\002\"\r"
107
 
    "\n\013EnumOptions\"\022\n\020EnumValueOptions\"\020\n\016Ser"
108
 
    "viceOptions\"\017\n\rMethodOptionsB)\n\023com.goog"
109
 
    "le.protobufB\020DescriptorProtosH\001", 2551);
110
 
  FileDescriptorProto_descriptor_ = file->message_type(0);
111
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
112
 
    FileDescriptorProto_descriptor_, &FileDescriptorProto::default_instance());
113
 
  DescriptorProto_descriptor_ = file->message_type(1);
114
 
  DescriptorProto_ExtensionRange_descriptor_ = DescriptorProto_descriptor_->nested_type(0);
115
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
116
 
    DescriptorProto_ExtensionRange_descriptor_, &DescriptorProto_ExtensionRange::default_instance());
117
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
118
 
    DescriptorProto_descriptor_, &DescriptorProto::default_instance());
119
 
  FieldDescriptorProto_descriptor_ = file->message_type(2);
120
 
  FieldDescriptorProto_Type_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(0);
121
 
  FieldDescriptorProto_Label_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(1);
122
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
123
 
    FieldDescriptorProto_descriptor_, &FieldDescriptorProto::default_instance());
124
 
  EnumDescriptorProto_descriptor_ = file->message_type(3);
125
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
126
 
    EnumDescriptorProto_descriptor_, &EnumDescriptorProto::default_instance());
127
 
  EnumValueDescriptorProto_descriptor_ = file->message_type(4);
128
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
129
 
    EnumValueDescriptorProto_descriptor_, &EnumValueDescriptorProto::default_instance());
130
 
  ServiceDescriptorProto_descriptor_ = file->message_type(5);
131
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
132
 
    ServiceDescriptorProto_descriptor_, &ServiceDescriptorProto::default_instance());
133
 
  MethodDescriptorProto_descriptor_ = file->message_type(6);
134
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
135
 
    MethodDescriptorProto_descriptor_, &MethodDescriptorProto::default_instance());
136
 
  FileOptions_descriptor_ = file->message_type(7);
137
 
  FileOptions_OptimizeMode_descriptor_ = FileOptions_descriptor_->enum_type(0);
138
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
139
 
    FileOptions_descriptor_, &FileOptions::default_instance());
140
 
  MessageOptions_descriptor_ = file->message_type(8);
141
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
142
 
    MessageOptions_descriptor_, &MessageOptions::default_instance());
143
 
  FieldOptions_descriptor_ = file->message_type(9);
144
 
  FieldOptions_CType_descriptor_ = FieldOptions_descriptor_->enum_type(0);
145
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
146
 
    FieldOptions_descriptor_, &FieldOptions::default_instance());
147
 
  EnumOptions_descriptor_ = file->message_type(10);
148
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
149
 
    EnumOptions_descriptor_, &EnumOptions::default_instance());
150
 
  EnumValueOptions_descriptor_ = file->message_type(11);
151
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
152
 
    EnumValueOptions_descriptor_, &EnumValueOptions::default_instance());
153
 
  ServiceOptions_descriptor_ = file->message_type(12);
154
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
155
 
    ServiceOptions_descriptor_, &ServiceOptions::default_instance());
156
 
  MethodOptions_descriptor_ = file->message_type(13);
157
 
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
158
 
    MethodOptions_descriptor_, &MethodOptions::default_instance());
 
460
    "le.protobuf\"G\n\021FileDescriptorSet\0222\n\004file"
 
461
    "\030\001 \003(\0132$.google.protobuf.FileDescriptorP"
 
462
    "roto\"\334\002\n\023FileDescriptorProto\022\014\n\004name\030\001 \001"
 
463
    "(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndependency\030\003 \003(\t\022"
 
464
    "6\n\014message_type\030\004 \003(\0132 .google.protobuf."
 
465
    "DescriptorProto\0227\n\tenum_type\030\005 \003(\0132$.goo"
 
466
    "gle.protobuf.EnumDescriptorProto\0228\n\007serv"
 
467
    "ice\030\006 \003(\0132\'.google.protobuf.ServiceDescr"
 
468
    "iptorProto\0228\n\textension\030\007 \003(\0132%.google.p"
 
469
    "rotobuf.FieldDescriptorProto\022-\n\007options\030"
 
470
    "\010 \001(\0132\034.google.protobuf.FileOptions\"\251\003\n\017"
 
471
    "DescriptorProto\022\014\n\004name\030\001 \001(\t\0224\n\005field\030\002"
 
472
    " \003(\0132%.google.protobuf.FieldDescriptorPr"
 
473
    "oto\0228\n\textension\030\006 \003(\0132%.google.protobuf"
 
474
    ".FieldDescriptorProto\0225\n\013nested_type\030\003 \003"
 
475
    "(\0132 .google.protobuf.DescriptorProto\0227\n\t"
 
476
    "enum_type\030\004 \003(\0132$.google.protobuf.EnumDe"
 
477
    "scriptorProto\022H\n\017extension_range\030\005 \003(\0132/"
 
478
    ".google.protobuf.DescriptorProto.Extensi"
 
479
    "onRange\0220\n\007options\030\007 \001(\0132\037.google.protob"
 
480
    "uf.MessageOptions\032,\n\016ExtensionRange\022\r\n\005s"
 
481
    "tart\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"\224\005\n\024FieldDescrip"
 
482
    "torProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\003 \001(\005\022:"
 
483
    "\n\005label\030\004 \001(\0162+.google.protobuf.FieldDes"
 
484
    "criptorProto.Label\0228\n\004type\030\005 \001(\0162*.googl"
 
485
    "e.protobuf.FieldDescriptorProto.Type\022\021\n\t"
 
486
    "type_name\030\006 \001(\t\022\020\n\010extendee\030\002 \001(\t\022\025\n\rdef"
 
487
    "ault_value\030\007 \001(\t\022.\n\007options\030\010 \001(\0132\035.goog"
 
488
    "le.protobuf.FieldOptions\"\266\002\n\004Type\022\017\n\013TYP"
 
489
    "E_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT64"
 
490
    "\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014T"
 
491
    "YPE_FIXED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE_"
 
492
    "BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n\022"
 
493
    "\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TYP"
 
494
    "E_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXED"
 
495
    "32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020\021"
 
496
    "\022\017\n\013TYPE_SINT64\020\022\"C\n\005Label\022\022\n\016LABEL_OPTI"
 
497
    "ONAL\020\001\022\022\n\016LABEL_REQUIRED\020\002\022\022\n\016LABEL_REPE"
 
498
    "ATED\020\003\"\214\001\n\023EnumDescriptorProto\022\014\n\004name\030\001"
 
499
    " \001(\t\0228\n\005value\030\002 \003(\0132).google.protobuf.En"
 
500
    "umValueDescriptorProto\022-\n\007options\030\003 \001(\0132"
 
501
    "\034.google.protobuf.EnumOptions\"l\n\030EnumVal"
 
502
    "ueDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006numbe"
 
503
    "r\030\002 \001(\005\0222\n\007options\030\003 \001(\0132!.google.protob"
 
504
    "uf.EnumValueOptions\"\220\001\n\026ServiceDescripto"
 
505
    "rProto\022\014\n\004name\030\001 \001(\t\0226\n\006method\030\002 \003(\0132&.g"
 
506
    "oogle.protobuf.MethodDescriptorProto\0220\n\007"
 
507
    "options\030\003 \001(\0132\037.google.protobuf.ServiceO"
 
508
    "ptions\"\177\n\025MethodDescriptorProto\022\014\n\004name\030"
 
509
    "\001 \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023\n\013output_type"
 
510
    "\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.google.protobu"
 
511
    "f.MethodOptions\"\253\002\n\013FileOptions\022\024\n\014java_"
 
512
    "package\030\001 \001(\t\022\034\n\024java_outer_classname\030\010 "
 
513
    "\001(\t\022\"\n\023java_multiple_files\030\n \001(\010:\005false\022"
 
514
    "J\n\014optimize_for\030\t \001(\0162).google.protobuf."
 
515
    "FileOptions.OptimizeMode:\tCODE_SIZE\022C\n\024u"
 
516
    "ninterpreted_option\030\347\007 \003(\0132$.google.prot"
 
517
    "obuf.UninterpretedOption\"(\n\014OptimizeMode"
 
518
    "\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020\002*\t\010\350\007\020\200\200\200\200\002\"\210\001"
 
519
    "\n\016MessageOptions\022&\n\027message_set_wire_for"
 
520
    "mat\030\001 \001(\010:\005false\022C\n\024uninterpreted_option"
 
521
    "\030\347\007 \003(\0132$.google.protobuf.UninterpretedO"
 
522
    "ption*\t\010\350\007\020\200\200\200\200\002\"\325\001\n\014FieldOptions\0222\n\005cty"
 
523
    "pe\030\001 \001(\0162#.google.protobuf.FieldOptions."
 
524
    "CType\022\034\n\024experimental_map_key\030\t \001(\t\022C\n\024u"
 
525
    "ninterpreted_option\030\347\007 \003(\0132$.google.prot"
 
526
    "obuf.UninterpretedOption\"#\n\005CType\022\010\n\004COR"
 
527
    "D\020\001\022\020\n\014STRING_PIECE\020\002*\t\010\350\007\020\200\200\200\200\002\"]\n\013Enum"
 
528
    "Options\022C\n\024uninterpreted_option\030\347\007 \003(\0132$"
 
529
    ".google.protobuf.UninterpretedOption*\t\010\350"
 
530
    "\007\020\200\200\200\200\002\"b\n\020EnumValueOptions\022C\n\024uninterpr"
 
531
    "eted_option\030\347\007 \003(\0132$.google.protobuf.Uni"
 
532
    "nterpretedOption*\t\010\350\007\020\200\200\200\200\002\"`\n\016ServiceOp"
 
533
    "tions\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.g"
 
534
    "oogle.protobuf.UninterpretedOption*\t\010\350\007\020"
 
535
    "\200\200\200\200\002\"_\n\rMethodOptions\022C\n\024uninterpreted_"
 
536
    "option\030\347\007 \003(\0132$.google.protobuf.Uninterp"
 
537
    "retedOption*\t\010\350\007\020\200\200\200\200\002\"\205\002\n\023Uninterpreted"
 
538
    "Option\022;\n\004name\030\002 \003(\0132-.google.protobuf.U"
 
539
    "ninterpretedOption.NamePart\022\030\n\020identifie"
 
540
    "r_value\030\003 \001(\t\022\032\n\022positive_int_value\030\004 \001("
 
541
    "\004\022\032\n\022negative_int_value\030\005 \001(\003\022\024\n\014double_"
 
542
    "value\030\006 \001(\001\022\024\n\014string_value\030\007 \001(\014\0323\n\010Nam"
 
543
    "ePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extension"
 
544
    "\030\002 \002(\010B)\n\023com.google.protobufB\020Descripto"
 
545
    "rProtosH\001", 3449,
 
546
  &protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto_AssignGlobalDescriptors);
159
547
}
160
548
 
161
549
// Force BuildDescriptors() to be called at static initialization time.
162
550
struct StaticDescriptorInitializer_google_2fprotobuf_2fdescriptor_2eproto {
163
551
  StaticDescriptorInitializer_google_2fprotobuf_2fdescriptor_2eproto() {
164
 
    proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
552
    protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
165
553
  }
166
554
} static_descriptor_initializer_google_2fprotobuf_2fdescriptor_2eproto_;
167
555
 
168
556
 
169
557
// ===================================================================
170
558
 
171
 
const FileDescriptorProto FileDescriptorProto::default_instance_;
 
559
 
 
560
FileDescriptorSet::FileDescriptorSet()
 
561
  : ::google::protobuf::Message(),
 
562
    _cached_size_(0) {
 
563
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
564
}
 
565
 
 
566
void FileDescriptorSet::InitAsDefaultInstance() {}
 
567
 
 
568
FileDescriptorSet::FileDescriptorSet(const FileDescriptorSet& from)
 
569
  : ::google::protobuf::Message(),
 
570
    _cached_size_(0) {
 
571
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
572
  MergeFrom(from);
 
573
}
 
574
 
 
575
FileDescriptorSet::~FileDescriptorSet() {
 
576
  if (this != default_instance_) {
 
577
  }
 
578
}
 
579
 
 
580
const ::google::protobuf::Descriptor* FileDescriptorSet::descriptor() {
 
581
  if (FileDescriptorSet_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
582
  return FileDescriptorSet_descriptor_;
 
583
}
 
584
 
 
585
const FileDescriptorSet& FileDescriptorSet::default_instance() {
 
586
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
587
  return *default_instance_;
 
588
}
 
589
 
 
590
FileDescriptorSet* FileDescriptorSet::default_instance_ = NULL;
 
591
 
 
592
FileDescriptorSet* FileDescriptorSet::New() const {
 
593
  return new FileDescriptorSet;
 
594
}
 
595
 
 
596
void FileDescriptorSet::Clear() {
 
597
  file_.Clear();
 
598
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
599
  mutable_unknown_fields()->Clear();
 
600
}
 
601
 
 
602
bool FileDescriptorSet::MergePartialFromCodedStream(
 
603
    ::google::protobuf::io::CodedInputStream* input) {
 
604
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
605
  ::google::protobuf::uint32 tag;
 
606
  while ((tag = input->ReadTag()) != 0) {
 
607
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
608
      // repeated .google.protobuf.FileDescriptorProto file = 1;
 
609
      case 1: {
 
610
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
611
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
612
          goto handle_uninterpreted;
 
613
        }
 
614
       parse_file:
 
615
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
616
             input, add_file()));
 
617
        if (input->ExpectTag(10)) goto parse_file;
 
618
        if (input->ExpectAtEnd()) return true;
 
619
        break;
 
620
      }
 
621
      
 
622
      default: {
 
623
      handle_uninterpreted:
 
624
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
625
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
626
          return true;
 
627
        }
 
628
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
629
              input, tag, mutable_unknown_fields()));
 
630
        break;
 
631
      }
 
632
    }
 
633
  }
 
634
  return true;
 
635
#undef DO_
 
636
}
 
637
 
 
638
bool FileDescriptorSet::SerializeWithCachedSizes(
 
639
    ::google::protobuf::io::CodedOutputStream* output) const {
 
640
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
641
  // repeated .google.protobuf.FileDescriptorProto file = 1;
 
642
  for (int i = 0; i < file_.size(); i++) {
 
643
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(1, this->file(i), output));
 
644
  }
 
645
  
 
646
  if (!unknown_fields().empty()) {
 
647
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
 
648
        unknown_fields(), output));
 
649
  }
 
650
  return true;
 
651
#undef DO_
 
652
}
 
653
 
 
654
int FileDescriptorSet::ByteSize() const {
 
655
  int total_size = 0;
 
656
  
 
657
  // repeated .google.protobuf.FileDescriptorProto file = 1;
 
658
  total_size += 1 * file_size();
 
659
  for (int i = 0; i < file_size(); i++) {
 
660
    total_size +=
 
661
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
662
        this->file(i));
 
663
  }
 
664
  
 
665
  if (!unknown_fields().empty()) {
 
666
    total_size +=
 
667
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
 
668
        unknown_fields());
 
669
  }
 
670
  _cached_size_ = total_size;
 
671
  return total_size;
 
672
}
 
673
 
 
674
void FileDescriptorSet::MergeFrom(const ::google::protobuf::Message& from) {
 
675
  GOOGLE_CHECK_NE(&from, this);
 
676
  const FileDescriptorSet* source =
 
677
    ::google::protobuf::internal::dynamic_cast_if_available<const FileDescriptorSet*>(
 
678
      &from);
 
679
  if (source == NULL) {
 
680
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
681
  } else {
 
682
    MergeFrom(*source);
 
683
  }
 
684
}
 
685
 
 
686
void FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) {
 
687
  GOOGLE_CHECK_NE(&from, this);
 
688
  file_.MergeFrom(from.file_);
 
689
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
 
690
}
 
691
 
 
692
void FileDescriptorSet::CopyFrom(const ::google::protobuf::Message& from) {
 
693
  if (&from == this) return;
 
694
  Clear();
 
695
  MergeFrom(from);
 
696
}
 
697
 
 
698
void FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) {
 
699
  if (&from == this) return;
 
700
  Clear();
 
701
  MergeFrom(from);
 
702
}
 
703
 
 
704
void FileDescriptorSet::Swap(FileDescriptorSet* other) {
 
705
  if (other != this) {
 
706
    file_.Swap(&other->file_);
 
707
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
708
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
709
    std::swap(_cached_size_, other->_cached_size_);
 
710
  }
 
711
}
 
712
 
 
713
bool FileDescriptorSet::IsInitialized() const {
 
714
  
 
715
  for (int i = 0; i < file_size(); i++) {
 
716
    if (!this->file(i).IsInitialized()) return false;
 
717
  }
 
718
  return true;
 
719
}
 
720
 
 
721
const ::google::protobuf::Descriptor* FileDescriptorSet::GetDescriptor() const {
 
722
  return descriptor();
 
723
}
 
724
 
 
725
const ::google::protobuf::Reflection* FileDescriptorSet::GetReflection() const {
 
726
  if (FileDescriptorSet_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
727
  return FileDescriptorSet_reflection_;
 
728
}
 
729
 
 
730
// ===================================================================
172
731
 
173
732
const ::std::string FileDescriptorProto::_default_name_;
174
733
const ::std::string FileDescriptorProto::_default_package_;
178
737
 
179
738
 
180
739
 
181
 
const int FileDescriptorProto::_offsets_[8] = {
182
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, name_),
183
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, package_),
184
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, dependency_),
185
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, message_type_),
186
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, enum_type_),
187
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_),
188
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_),
189
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, options_),
190
 
};
191
 
 
192
740
FileDescriptorProto::FileDescriptorProto()
193
 
  : _reflection_(descriptor(),
194
 
                 this, &default_instance_,
195
 
                 _offsets_, _has_bits_, NULL),
 
741
  : ::google::protobuf::Message(),
196
742
    _cached_size_(0),
197
743
    name_(const_cast< ::std::string*>(&_default_name_)),
198
744
    package_(const_cast< ::std::string*>(&_default_package_)),
199
745
    options_(NULL) {
200
746
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
201
 
  if (this == &default_instance_) {
202
 
    options_ = const_cast< ::google::protobuf::FileOptions*>(&::google::protobuf::FileOptions::default_instance());
203
 
  }
 
747
}
 
748
 
 
749
void FileDescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::FileOptions*>(&::google::protobuf::FileOptions::default_instance());
204
750
}
205
751
 
206
752
FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from)
207
 
  : _reflection_(descriptor(),
208
 
                 this, &default_instance_,
209
 
                 _offsets_, _has_bits_, NULL),
 
753
  : ::google::protobuf::Message(),
210
754
    _cached_size_(0),
211
755
    name_(const_cast< ::std::string*>(&_default_name_)),
212
756
    package_(const_cast< ::std::string*>(&_default_package_)),
222
766
  if (package_ != &_default_package_) {
223
767
    delete package_;
224
768
  }
225
 
  if (this != &default_instance_) {
 
769
  if (this != default_instance_) {
226
770
    delete options_;
227
771
  }
228
772
}
229
773
 
230
774
const ::google::protobuf::Descriptor* FileDescriptorProto::descriptor() {
231
 
  if (FileDescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
775
  if (FileDescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
232
776
  return FileDescriptorProto_descriptor_;
233
777
}
234
778
 
 
779
const FileDescriptorProto& FileDescriptorProto::default_instance() {
 
780
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
781
  return *default_instance_;
 
782
}
 
783
 
 
784
FileDescriptorProto* FileDescriptorProto::default_instance_ = NULL;
 
785
 
235
786
FileDescriptorProto* FileDescriptorProto::New() const {
236
787
  return new FileDescriptorProto;
237
788
}
518
1069
    ::google::protobuf::internal::dynamic_cast_if_available<const FileDescriptorProto*>(
519
1070
      &from);
520
1071
  if (source == NULL) {
521
 
    ::google::protobuf::internal::ReflectionOps::Merge(
522
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
1072
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
523
1073
  } else {
524
1074
    MergeFrom(*source);
525
1075
  }
558
1108
  MergeFrom(from);
559
1109
}
560
1110
 
 
1111
void FileDescriptorProto::Swap(FileDescriptorProto* other) {
 
1112
  if (other != this) {
 
1113
    std::swap(name_, other->name_);
 
1114
    std::swap(package_, other->package_);
 
1115
    dependency_.Swap(&other->dependency_);
 
1116
    message_type_.Swap(&other->message_type_);
 
1117
    enum_type_.Swap(&other->enum_type_);
 
1118
    service_.Swap(&other->service_);
 
1119
    extension_.Swap(&other->extension_);
 
1120
    std::swap(options_, other->options_);
 
1121
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
1122
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
1123
    std::swap(_cached_size_, other->_cached_size_);
 
1124
  }
 
1125
}
 
1126
 
561
1127
bool FileDescriptorProto::IsInitialized() const {
562
1128
  
 
1129
  for (int i = 0; i < message_type_size(); i++) {
 
1130
    if (!this->message_type(i).IsInitialized()) return false;
 
1131
  }
 
1132
  for (int i = 0; i < enum_type_size(); i++) {
 
1133
    if (!this->enum_type(i).IsInitialized()) return false;
 
1134
  }
 
1135
  for (int i = 0; i < service_size(); i++) {
 
1136
    if (!this->service(i).IsInitialized()) return false;
 
1137
  }
 
1138
  for (int i = 0; i < extension_size(); i++) {
 
1139
    if (!this->extension(i).IsInitialized()) return false;
 
1140
  }
 
1141
  if (has_options()) {
 
1142
    if (!this->options().IsInitialized()) return false;
 
1143
  }
563
1144
  return true;
564
1145
}
565
1146
 
567
1148
  return descriptor();
568
1149
}
569
1150
 
570
 
const ::google::protobuf::Message::Reflection*
571
 
FileDescriptorProto::GetReflection() const {
572
 
  return &_reflection_;
573
 
}
574
 
 
575
 
::google::protobuf::Message::Reflection* FileDescriptorProto::GetReflection() {
576
 
  return &_reflection_;
 
1151
const ::google::protobuf::Reflection* FileDescriptorProto::GetReflection() const {
 
1152
  if (FileDescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
1153
  return FileDescriptorProto_reflection_;
577
1154
}
578
1155
 
579
1156
// ===================================================================
580
1157
 
581
 
const DescriptorProto_ExtensionRange DescriptorProto_ExtensionRange::default_instance_;
582
 
 
583
 
 
584
 
 
585
 
const int DescriptorProto_ExtensionRange::_offsets_[2] = {
586
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, start_),
587
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, end_),
588
 
};
 
1158
 
589
1159
 
590
1160
DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange()
591
 
  : _reflection_(descriptor(),
592
 
                 this, &default_instance_,
593
 
                 _offsets_, _has_bits_, NULL),
 
1161
  : ::google::protobuf::Message(),
594
1162
    _cached_size_(0),
595
1163
    start_(0),
596
1164
    end_(0) {
597
1165
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
598
 
  if (this == &default_instance_) {
599
 
  }
600
1166
}
601
1167
 
 
1168
void DescriptorProto_ExtensionRange::InitAsDefaultInstance() {}
 
1169
 
602
1170
DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from)
603
 
  : _reflection_(descriptor(),
604
 
                 this, &default_instance_,
605
 
                 _offsets_, _has_bits_, NULL),
 
1171
  : ::google::protobuf::Message(),
606
1172
    _cached_size_(0),
607
1173
    start_(0),
608
1174
    end_(0) {
611
1177
}
612
1178
 
613
1179
DescriptorProto_ExtensionRange::~DescriptorProto_ExtensionRange() {
614
 
  if (this != &default_instance_) {
 
1180
  if (this != default_instance_) {
615
1181
  }
616
1182
}
617
1183
 
618
1184
const ::google::protobuf::Descriptor* DescriptorProto_ExtensionRange::descriptor() {
619
 
  if (DescriptorProto_ExtensionRange_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
1185
  if (DescriptorProto_ExtensionRange_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
620
1186
  return DescriptorProto_ExtensionRange_descriptor_;
621
1187
}
622
1188
 
 
1189
const DescriptorProto_ExtensionRange& DescriptorProto_ExtensionRange::default_instance() {
 
1190
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
1191
  return *default_instance_;
 
1192
}
 
1193
 
 
1194
DescriptorProto_ExtensionRange* DescriptorProto_ExtensionRange::default_instance_ = NULL;
 
1195
 
623
1196
DescriptorProto_ExtensionRange* DescriptorProto_ExtensionRange::New() const {
624
1197
  return new DescriptorProto_ExtensionRange;
625
1198
}
737
1310
    ::google::protobuf::internal::dynamic_cast_if_available<const DescriptorProto_ExtensionRange*>(
738
1311
      &from);
739
1312
  if (source == NULL) {
740
 
    ::google::protobuf::internal::ReflectionOps::Merge(
741
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
1313
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
742
1314
  } else {
743
1315
    MergeFrom(*source);
744
1316
  }
769
1341
  MergeFrom(from);
770
1342
}
771
1343
 
 
1344
void DescriptorProto_ExtensionRange::Swap(DescriptorProto_ExtensionRange* other) {
 
1345
  if (other != this) {
 
1346
    std::swap(start_, other->start_);
 
1347
    std::swap(end_, other->end_);
 
1348
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
1349
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
1350
    std::swap(_cached_size_, other->_cached_size_);
 
1351
  }
 
1352
}
 
1353
 
772
1354
bool DescriptorProto_ExtensionRange::IsInitialized() const {
773
1355
  
774
1356
  return true;
778
1360
  return descriptor();
779
1361
}
780
1362
 
781
 
const ::google::protobuf::Message::Reflection*
782
 
DescriptorProto_ExtensionRange::GetReflection() const {
783
 
  return &_reflection_;
784
 
}
785
 
 
786
 
::google::protobuf::Message::Reflection* DescriptorProto_ExtensionRange::GetReflection() {
787
 
  return &_reflection_;
 
1363
const ::google::protobuf::Reflection* DescriptorProto_ExtensionRange::GetReflection() const {
 
1364
  if (DescriptorProto_ExtensionRange_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
1365
  return DescriptorProto_ExtensionRange_reflection_;
788
1366
}
789
1367
 
790
1368
// -------------------------------------------------------------------
791
1369
 
792
 
const DescriptorProto DescriptorProto::default_instance_;
793
 
 
794
1370
const ::std::string DescriptorProto::_default_name_;
795
1371
 
796
1372
 
798
1374
 
799
1375
 
800
1376
 
801
 
const int DescriptorProto::_offsets_[7] = {
802
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_),
803
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_),
804
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_),
805
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_),
806
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_),
807
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_),
808
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_),
809
 
};
810
 
 
811
1377
DescriptorProto::DescriptorProto()
812
 
  : _reflection_(descriptor(),
813
 
                 this, &default_instance_,
814
 
                 _offsets_, _has_bits_, NULL),
 
1378
  : ::google::protobuf::Message(),
815
1379
    _cached_size_(0),
816
1380
    name_(const_cast< ::std::string*>(&_default_name_)),
817
1381
    options_(NULL) {
818
1382
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
819
 
  if (this == &default_instance_) {
820
 
    options_ = const_cast< ::google::protobuf::MessageOptions*>(&::google::protobuf::MessageOptions::default_instance());
821
 
  }
 
1383
}
 
1384
 
 
1385
void DescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::MessageOptions*>(&::google::protobuf::MessageOptions::default_instance());
822
1386
}
823
1387
 
824
1388
DescriptorProto::DescriptorProto(const DescriptorProto& from)
825
 
  : _reflection_(descriptor(),
826
 
                 this, &default_instance_,
827
 
                 _offsets_, _has_bits_, NULL),
 
1389
  : ::google::protobuf::Message(),
828
1390
    _cached_size_(0),
829
1391
    name_(const_cast< ::std::string*>(&_default_name_)),
830
1392
    options_(NULL) {
836
1398
  if (name_ != &_default_name_) {
837
1399
    delete name_;
838
1400
  }
839
 
  if (this != &default_instance_) {
 
1401
  if (this != default_instance_) {
840
1402
    delete options_;
841
1403
  }
842
1404
}
843
1405
 
844
1406
const ::google::protobuf::Descriptor* DescriptorProto::descriptor() {
845
 
  if (DescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
1407
  if (DescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
846
1408
  return DescriptorProto_descriptor_;
847
1409
}
848
1410
 
 
1411
const DescriptorProto& DescriptorProto::default_instance() {
 
1412
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
1413
  return *default_instance_;
 
1414
}
 
1415
 
 
1416
DescriptorProto* DescriptorProto::default_instance_ = NULL;
 
1417
 
849
1418
DescriptorProto* DescriptorProto::New() const {
850
1419
  return new DescriptorProto;
851
1420
}
1105
1674
    ::google::protobuf::internal::dynamic_cast_if_available<const DescriptorProto*>(
1106
1675
      &from);
1107
1676
  if (source == NULL) {
1108
 
    ::google::protobuf::internal::ReflectionOps::Merge(
1109
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
1677
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1110
1678
  } else {
1111
1679
    MergeFrom(*source);
1112
1680
  }
1142
1710
  MergeFrom(from);
1143
1711
}
1144
1712
 
 
1713
void DescriptorProto::Swap(DescriptorProto* other) {
 
1714
  if (other != this) {
 
1715
    std::swap(name_, other->name_);
 
1716
    field_.Swap(&other->field_);
 
1717
    extension_.Swap(&other->extension_);
 
1718
    nested_type_.Swap(&other->nested_type_);
 
1719
    enum_type_.Swap(&other->enum_type_);
 
1720
    extension_range_.Swap(&other->extension_range_);
 
1721
    std::swap(options_, other->options_);
 
1722
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
1723
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
1724
    std::swap(_cached_size_, other->_cached_size_);
 
1725
  }
 
1726
}
 
1727
 
1145
1728
bool DescriptorProto::IsInitialized() const {
1146
1729
  
 
1730
  for (int i = 0; i < field_size(); i++) {
 
1731
    if (!this->field(i).IsInitialized()) return false;
 
1732
  }
 
1733
  for (int i = 0; i < extension_size(); i++) {
 
1734
    if (!this->extension(i).IsInitialized()) return false;
 
1735
  }
 
1736
  for (int i = 0; i < nested_type_size(); i++) {
 
1737
    if (!this->nested_type(i).IsInitialized()) return false;
 
1738
  }
 
1739
  for (int i = 0; i < enum_type_size(); i++) {
 
1740
    if (!this->enum_type(i).IsInitialized()) return false;
 
1741
  }
 
1742
  if (has_options()) {
 
1743
    if (!this->options().IsInitialized()) return false;
 
1744
  }
1147
1745
  return true;
1148
1746
}
1149
1747
 
1151
1749
  return descriptor();
1152
1750
}
1153
1751
 
1154
 
const ::google::protobuf::Message::Reflection*
1155
 
DescriptorProto::GetReflection() const {
1156
 
  return &_reflection_;
1157
 
}
1158
 
 
1159
 
::google::protobuf::Message::Reflection* DescriptorProto::GetReflection() {
1160
 
  return &_reflection_;
 
1752
const ::google::protobuf::Reflection* DescriptorProto::GetReflection() const {
 
1753
  if (DescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
1754
  return DescriptorProto_reflection_;
1161
1755
}
1162
1756
 
1163
1757
// ===================================================================
1164
1758
 
1165
1759
const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor() {
1166
 
  if (FieldDescriptorProto_Type_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
1760
  if (FieldDescriptorProto_Type_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
1167
1761
  return FieldDescriptorProto_Type_descriptor_;
1168
1762
}
1169
1763
bool FieldDescriptorProto_Type_IsValid(int value) {
1215
1809
const FieldDescriptorProto_Type FieldDescriptorProto::Type_MAX;
1216
1810
#endif  // _MSC_VER
1217
1811
const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor() {
1218
 
  if (FieldDescriptorProto_Label_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
1812
  if (FieldDescriptorProto_Label_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
1219
1813
  return FieldDescriptorProto_Label_descriptor_;
1220
1814
}
1221
1815
bool FieldDescriptorProto_Label_IsValid(int value) {
1236
1830
const FieldDescriptorProto_Label FieldDescriptorProto::Label_MIN;
1237
1831
const FieldDescriptorProto_Label FieldDescriptorProto::Label_MAX;
1238
1832
#endif  // _MSC_VER
1239
 
const FieldDescriptorProto FieldDescriptorProto::default_instance_;
1240
 
 
1241
1833
const ::std::string FieldDescriptorProto::_default_name_;
1242
1834
 
1243
1835
 
1246
1838
const ::std::string FieldDescriptorProto::_default_extendee_;
1247
1839
const ::std::string FieldDescriptorProto::_default_default_value_;
1248
1840
 
1249
 
const int FieldDescriptorProto::_offsets_[8] = {
1250
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, name_),
1251
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, number_),
1252
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, label_),
1253
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_),
1254
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_name_),
1255
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, extendee_),
1256
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_),
1257
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, options_),
1258
 
};
1259
 
 
1260
1841
FieldDescriptorProto::FieldDescriptorProto()
1261
 
  : _reflection_(descriptor(),
1262
 
                 this, &default_instance_,
1263
 
                 _offsets_, _has_bits_, NULL),
 
1842
  : ::google::protobuf::Message(),
1264
1843
    _cached_size_(0),
1265
1844
    name_(const_cast< ::std::string*>(&_default_name_)),
1266
1845
    number_(0),
1271
1850
    default_value_(const_cast< ::std::string*>(&_default_default_value_)),
1272
1851
    options_(NULL) {
1273
1852
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1274
 
  if (this == &default_instance_) {
1275
 
    options_ = const_cast< ::google::protobuf::FieldOptions*>(&::google::protobuf::FieldOptions::default_instance());
1276
 
  }
 
1853
}
 
1854
 
 
1855
void FieldDescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::FieldOptions*>(&::google::protobuf::FieldOptions::default_instance());
1277
1856
}
1278
1857
 
1279
1858
FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from)
1280
 
  : _reflection_(descriptor(),
1281
 
                 this, &default_instance_,
1282
 
                 _offsets_, _has_bits_, NULL),
 
1859
  : ::google::protobuf::Message(),
1283
1860
    _cached_size_(0),
1284
1861
    name_(const_cast< ::std::string*>(&_default_name_)),
1285
1862
    number_(0),
1306
1883
  if (default_value_ != &_default_default_value_) {
1307
1884
    delete default_value_;
1308
1885
  }
1309
 
  if (this != &default_instance_) {
 
1886
  if (this != default_instance_) {
1310
1887
    delete options_;
1311
1888
  }
1312
1889
}
1313
1890
 
1314
1891
const ::google::protobuf::Descriptor* FieldDescriptorProto::descriptor() {
1315
 
  if (FieldDescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
1892
  if (FieldDescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
1316
1893
  return FieldDescriptorProto_descriptor_;
1317
1894
}
1318
1895
 
 
1896
const FieldDescriptorProto& FieldDescriptorProto::default_instance() {
 
1897
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
1898
  return *default_instance_;
 
1899
}
 
1900
 
 
1901
FieldDescriptorProto* FieldDescriptorProto::default_instance_ = NULL;
 
1902
 
1319
1903
FieldDescriptorProto* FieldDescriptorProto::New() const {
1320
1904
  return new FieldDescriptorProto;
1321
1905
}
1606
2190
    ::google::protobuf::internal::dynamic_cast_if_available<const FieldDescriptorProto*>(
1607
2191
      &from);
1608
2192
  if (source == NULL) {
1609
 
    ::google::protobuf::internal::ReflectionOps::Merge(
1610
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
2193
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1611
2194
  } else {
1612
2195
    MergeFrom(*source);
1613
2196
  }
1656
2239
  MergeFrom(from);
1657
2240
}
1658
2241
 
 
2242
void FieldDescriptorProto::Swap(FieldDescriptorProto* other) {
 
2243
  if (other != this) {
 
2244
    std::swap(name_, other->name_);
 
2245
    std::swap(number_, other->number_);
 
2246
    std::swap(label_, other->label_);
 
2247
    std::swap(type_, other->type_);
 
2248
    std::swap(type_name_, other->type_name_);
 
2249
    std::swap(extendee_, other->extendee_);
 
2250
    std::swap(default_value_, other->default_value_);
 
2251
    std::swap(options_, other->options_);
 
2252
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
2253
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
2254
    std::swap(_cached_size_, other->_cached_size_);
 
2255
  }
 
2256
}
 
2257
 
1659
2258
bool FieldDescriptorProto::IsInitialized() const {
1660
2259
  
 
2260
  if (has_options()) {
 
2261
    if (!this->options().IsInitialized()) return false;
 
2262
  }
1661
2263
  return true;
1662
2264
}
1663
2265
 
1665
2267
  return descriptor();
1666
2268
}
1667
2269
 
1668
 
const ::google::protobuf::Message::Reflection*
1669
 
FieldDescriptorProto::GetReflection() const {
1670
 
  return &_reflection_;
1671
 
}
1672
 
 
1673
 
::google::protobuf::Message::Reflection* FieldDescriptorProto::GetReflection() {
1674
 
  return &_reflection_;
 
2270
const ::google::protobuf::Reflection* FieldDescriptorProto::GetReflection() const {
 
2271
  if (FieldDescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
2272
  return FieldDescriptorProto_reflection_;
1675
2273
}
1676
2274
 
1677
2275
// ===================================================================
1678
2276
 
1679
 
const EnumDescriptorProto EnumDescriptorProto::default_instance_;
1680
 
 
1681
2277
const ::std::string EnumDescriptorProto::_default_name_;
1682
2278
 
1683
2279
 
1684
 
const int EnumDescriptorProto::_offsets_[3] = {
1685
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, name_),
1686
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, value_),
1687
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, options_),
1688
 
};
1689
 
 
1690
2280
EnumDescriptorProto::EnumDescriptorProto()
1691
 
  : _reflection_(descriptor(),
1692
 
                 this, &default_instance_,
1693
 
                 _offsets_, _has_bits_, NULL),
 
2281
  : ::google::protobuf::Message(),
1694
2282
    _cached_size_(0),
1695
2283
    name_(const_cast< ::std::string*>(&_default_name_)),
1696
2284
    options_(NULL) {
1697
2285
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1698
 
  if (this == &default_instance_) {
1699
 
    options_ = const_cast< ::google::protobuf::EnumOptions*>(&::google::protobuf::EnumOptions::default_instance());
1700
 
  }
 
2286
}
 
2287
 
 
2288
void EnumDescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::EnumOptions*>(&::google::protobuf::EnumOptions::default_instance());
1701
2289
}
1702
2290
 
1703
2291
EnumDescriptorProto::EnumDescriptorProto(const EnumDescriptorProto& from)
1704
 
  : _reflection_(descriptor(),
1705
 
                 this, &default_instance_,
1706
 
                 _offsets_, _has_bits_, NULL),
 
2292
  : ::google::protobuf::Message(),
1707
2293
    _cached_size_(0),
1708
2294
    name_(const_cast< ::std::string*>(&_default_name_)),
1709
2295
    options_(NULL) {
1715
2301
  if (name_ != &_default_name_) {
1716
2302
    delete name_;
1717
2303
  }
1718
 
  if (this != &default_instance_) {
 
2304
  if (this != default_instance_) {
1719
2305
    delete options_;
1720
2306
  }
1721
2307
}
1722
2308
 
1723
2309
const ::google::protobuf::Descriptor* EnumDescriptorProto::descriptor() {
1724
 
  if (EnumDescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
2310
  if (EnumDescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
1725
2311
  return EnumDescriptorProto_descriptor_;
1726
2312
}
1727
2313
 
 
2314
const EnumDescriptorProto& EnumDescriptorProto::default_instance() {
 
2315
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
2316
  return *default_instance_;
 
2317
}
 
2318
 
 
2319
EnumDescriptorProto* EnumDescriptorProto::default_instance_ = NULL;
 
2320
 
1728
2321
EnumDescriptorProto* EnumDescriptorProto::New() const {
1729
2322
  return new EnumDescriptorProto;
1730
2323
}
1872
2465
    ::google::protobuf::internal::dynamic_cast_if_available<const EnumDescriptorProto*>(
1873
2466
      &from);
1874
2467
  if (source == NULL) {
1875
 
    ::google::protobuf::internal::ReflectionOps::Merge(
1876
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
2468
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1877
2469
  } else {
1878
2470
    MergeFrom(*source);
1879
2471
  }
1905
2497
  MergeFrom(from);
1906
2498
}
1907
2499
 
 
2500
void EnumDescriptorProto::Swap(EnumDescriptorProto* other) {
 
2501
  if (other != this) {
 
2502
    std::swap(name_, other->name_);
 
2503
    value_.Swap(&other->value_);
 
2504
    std::swap(options_, other->options_);
 
2505
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
2506
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
2507
    std::swap(_cached_size_, other->_cached_size_);
 
2508
  }
 
2509
}
 
2510
 
1908
2511
bool EnumDescriptorProto::IsInitialized() const {
1909
2512
  
 
2513
  for (int i = 0; i < value_size(); i++) {
 
2514
    if (!this->value(i).IsInitialized()) return false;
 
2515
  }
 
2516
  if (has_options()) {
 
2517
    if (!this->options().IsInitialized()) return false;
 
2518
  }
1910
2519
  return true;
1911
2520
}
1912
2521
 
1914
2523
  return descriptor();
1915
2524
}
1916
2525
 
1917
 
const ::google::protobuf::Message::Reflection*
1918
 
EnumDescriptorProto::GetReflection() const {
1919
 
  return &_reflection_;
1920
 
}
1921
 
 
1922
 
::google::protobuf::Message::Reflection* EnumDescriptorProto::GetReflection() {
1923
 
  return &_reflection_;
 
2526
const ::google::protobuf::Reflection* EnumDescriptorProto::GetReflection() const {
 
2527
  if (EnumDescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
2528
  return EnumDescriptorProto_reflection_;
1924
2529
}
1925
2530
 
1926
2531
// ===================================================================
1927
2532
 
1928
 
const EnumValueDescriptorProto EnumValueDescriptorProto::default_instance_;
1929
 
 
1930
2533
const ::std::string EnumValueDescriptorProto::_default_name_;
1931
2534
 
1932
2535
 
1933
 
const int EnumValueDescriptorProto::_offsets_[3] = {
1934
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, name_),
1935
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, number_),
1936
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, options_),
1937
 
};
1938
 
 
1939
2536
EnumValueDescriptorProto::EnumValueDescriptorProto()
1940
 
  : _reflection_(descriptor(),
1941
 
                 this, &default_instance_,
1942
 
                 _offsets_, _has_bits_, NULL),
 
2537
  : ::google::protobuf::Message(),
1943
2538
    _cached_size_(0),
1944
2539
    name_(const_cast< ::std::string*>(&_default_name_)),
1945
2540
    number_(0),
1946
2541
    options_(NULL) {
1947
2542
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1948
 
  if (this == &default_instance_) {
1949
 
    options_ = const_cast< ::google::protobuf::EnumValueOptions*>(&::google::protobuf::EnumValueOptions::default_instance());
1950
 
  }
 
2543
}
 
2544
 
 
2545
void EnumValueDescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::EnumValueOptions*>(&::google::protobuf::EnumValueOptions::default_instance());
1951
2546
}
1952
2547
 
1953
2548
EnumValueDescriptorProto::EnumValueDescriptorProto(const EnumValueDescriptorProto& from)
1954
 
  : _reflection_(descriptor(),
1955
 
                 this, &default_instance_,
1956
 
                 _offsets_, _has_bits_, NULL),
 
2549
  : ::google::protobuf::Message(),
1957
2550
    _cached_size_(0),
1958
2551
    name_(const_cast< ::std::string*>(&_default_name_)),
1959
2552
    number_(0),
1966
2559
  if (name_ != &_default_name_) {
1967
2560
    delete name_;
1968
2561
  }
1969
 
  if (this != &default_instance_) {
 
2562
  if (this != default_instance_) {
1970
2563
    delete options_;
1971
2564
  }
1972
2565
}
1973
2566
 
1974
2567
const ::google::protobuf::Descriptor* EnumValueDescriptorProto::descriptor() {
1975
 
  if (EnumValueDescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
2568
  if (EnumValueDescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
1976
2569
  return EnumValueDescriptorProto_descriptor_;
1977
2570
}
1978
2571
 
 
2572
const EnumValueDescriptorProto& EnumValueDescriptorProto::default_instance() {
 
2573
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
2574
  return *default_instance_;
 
2575
}
 
2576
 
 
2577
EnumValueDescriptorProto* EnumValueDescriptorProto::default_instance_ = NULL;
 
2578
 
1979
2579
EnumValueDescriptorProto* EnumValueDescriptorProto::New() const {
1980
2580
  return new EnumValueDescriptorProto;
1981
2581
}
2122
2722
    ::google::protobuf::internal::dynamic_cast_if_available<const EnumValueDescriptorProto*>(
2123
2723
      &from);
2124
2724
  if (source == NULL) {
2125
 
    ::google::protobuf::internal::ReflectionOps::Merge(
2126
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
2725
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2127
2726
  } else {
2128
2727
    MergeFrom(*source);
2129
2728
  }
2157
2756
  MergeFrom(from);
2158
2757
}
2159
2758
 
 
2759
void EnumValueDescriptorProto::Swap(EnumValueDescriptorProto* other) {
 
2760
  if (other != this) {
 
2761
    std::swap(name_, other->name_);
 
2762
    std::swap(number_, other->number_);
 
2763
    std::swap(options_, other->options_);
 
2764
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
2765
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
2766
    std::swap(_cached_size_, other->_cached_size_);
 
2767
  }
 
2768
}
 
2769
 
2160
2770
bool EnumValueDescriptorProto::IsInitialized() const {
2161
2771
  
 
2772
  if (has_options()) {
 
2773
    if (!this->options().IsInitialized()) return false;
 
2774
  }
2162
2775
  return true;
2163
2776
}
2164
2777
 
2166
2779
  return descriptor();
2167
2780
}
2168
2781
 
2169
 
const ::google::protobuf::Message::Reflection*
2170
 
EnumValueDescriptorProto::GetReflection() const {
2171
 
  return &_reflection_;
2172
 
}
2173
 
 
2174
 
::google::protobuf::Message::Reflection* EnumValueDescriptorProto::GetReflection() {
2175
 
  return &_reflection_;
 
2782
const ::google::protobuf::Reflection* EnumValueDescriptorProto::GetReflection() const {
 
2783
  if (EnumValueDescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
2784
  return EnumValueDescriptorProto_reflection_;
2176
2785
}
2177
2786
 
2178
2787
// ===================================================================
2179
2788
 
2180
 
const ServiceDescriptorProto ServiceDescriptorProto::default_instance_;
2181
 
 
2182
2789
const ::std::string ServiceDescriptorProto::_default_name_;
2183
2790
 
2184
2791
 
2185
 
const int ServiceDescriptorProto::_offsets_[3] = {
2186
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, name_),
2187
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, method_),
2188
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, options_),
2189
 
};
2190
 
 
2191
2792
ServiceDescriptorProto::ServiceDescriptorProto()
2192
 
  : _reflection_(descriptor(),
2193
 
                 this, &default_instance_,
2194
 
                 _offsets_, _has_bits_, NULL),
 
2793
  : ::google::protobuf::Message(),
2195
2794
    _cached_size_(0),
2196
2795
    name_(const_cast< ::std::string*>(&_default_name_)),
2197
2796
    options_(NULL) {
2198
2797
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
2199
 
  if (this == &default_instance_) {
2200
 
    options_ = const_cast< ::google::protobuf::ServiceOptions*>(&::google::protobuf::ServiceOptions::default_instance());
2201
 
  }
 
2798
}
 
2799
 
 
2800
void ServiceDescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::ServiceOptions*>(&::google::protobuf::ServiceOptions::default_instance());
2202
2801
}
2203
2802
 
2204
2803
ServiceDescriptorProto::ServiceDescriptorProto(const ServiceDescriptorProto& from)
2205
 
  : _reflection_(descriptor(),
2206
 
                 this, &default_instance_,
2207
 
                 _offsets_, _has_bits_, NULL),
 
2804
  : ::google::protobuf::Message(),
2208
2805
    _cached_size_(0),
2209
2806
    name_(const_cast< ::std::string*>(&_default_name_)),
2210
2807
    options_(NULL) {
2216
2813
  if (name_ != &_default_name_) {
2217
2814
    delete name_;
2218
2815
  }
2219
 
  if (this != &default_instance_) {
 
2816
  if (this != default_instance_) {
2220
2817
    delete options_;
2221
2818
  }
2222
2819
}
2223
2820
 
2224
2821
const ::google::protobuf::Descriptor* ServiceDescriptorProto::descriptor() {
2225
 
  if (ServiceDescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
2822
  if (ServiceDescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
2226
2823
  return ServiceDescriptorProto_descriptor_;
2227
2824
}
2228
2825
 
 
2826
const ServiceDescriptorProto& ServiceDescriptorProto::default_instance() {
 
2827
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
2828
  return *default_instance_;
 
2829
}
 
2830
 
 
2831
ServiceDescriptorProto* ServiceDescriptorProto::default_instance_ = NULL;
 
2832
 
2229
2833
ServiceDescriptorProto* ServiceDescriptorProto::New() const {
2230
2834
  return new ServiceDescriptorProto;
2231
2835
}
2373
2977
    ::google::protobuf::internal::dynamic_cast_if_available<const ServiceDescriptorProto*>(
2374
2978
      &from);
2375
2979
  if (source == NULL) {
2376
 
    ::google::protobuf::internal::ReflectionOps::Merge(
2377
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
2980
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2378
2981
  } else {
2379
2982
    MergeFrom(*source);
2380
2983
  }
2406
3009
  MergeFrom(from);
2407
3010
}
2408
3011
 
 
3012
void ServiceDescriptorProto::Swap(ServiceDescriptorProto* other) {
 
3013
  if (other != this) {
 
3014
    std::swap(name_, other->name_);
 
3015
    method_.Swap(&other->method_);
 
3016
    std::swap(options_, other->options_);
 
3017
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
3018
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
3019
    std::swap(_cached_size_, other->_cached_size_);
 
3020
  }
 
3021
}
 
3022
 
2409
3023
bool ServiceDescriptorProto::IsInitialized() const {
2410
3024
  
 
3025
  for (int i = 0; i < method_size(); i++) {
 
3026
    if (!this->method(i).IsInitialized()) return false;
 
3027
  }
 
3028
  if (has_options()) {
 
3029
    if (!this->options().IsInitialized()) return false;
 
3030
  }
2411
3031
  return true;
2412
3032
}
2413
3033
 
2415
3035
  return descriptor();
2416
3036
}
2417
3037
 
2418
 
const ::google::protobuf::Message::Reflection*
2419
 
ServiceDescriptorProto::GetReflection() const {
2420
 
  return &_reflection_;
2421
 
}
2422
 
 
2423
 
::google::protobuf::Message::Reflection* ServiceDescriptorProto::GetReflection() {
2424
 
  return &_reflection_;
 
3038
const ::google::protobuf::Reflection* ServiceDescriptorProto::GetReflection() const {
 
3039
  if (ServiceDescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3040
  return ServiceDescriptorProto_reflection_;
2425
3041
}
2426
3042
 
2427
3043
// ===================================================================
2428
3044
 
2429
 
const MethodDescriptorProto MethodDescriptorProto::default_instance_;
2430
 
 
2431
3045
const ::std::string MethodDescriptorProto::_default_name_;
2432
3046
const ::std::string MethodDescriptorProto::_default_input_type_;
2433
3047
const ::std::string MethodDescriptorProto::_default_output_type_;
2434
3048
 
2435
 
const int MethodDescriptorProto::_offsets_[4] = {
2436
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, name_),
2437
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, input_type_),
2438
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, output_type_),
2439
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, options_),
2440
 
};
2441
 
 
2442
3049
MethodDescriptorProto::MethodDescriptorProto()
2443
 
  : _reflection_(descriptor(),
2444
 
                 this, &default_instance_,
2445
 
                 _offsets_, _has_bits_, NULL),
 
3050
  : ::google::protobuf::Message(),
2446
3051
    _cached_size_(0),
2447
3052
    name_(const_cast< ::std::string*>(&_default_name_)),
2448
3053
    input_type_(const_cast< ::std::string*>(&_default_input_type_)),
2449
3054
    output_type_(const_cast< ::std::string*>(&_default_output_type_)),
2450
3055
    options_(NULL) {
2451
3056
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
2452
 
  if (this == &default_instance_) {
2453
 
    options_ = const_cast< ::google::protobuf::MethodOptions*>(&::google::protobuf::MethodOptions::default_instance());
2454
 
  }
 
3057
}
 
3058
 
 
3059
void MethodDescriptorProto::InitAsDefaultInstance() {  options_ = const_cast< ::google::protobuf::MethodOptions*>(&::google::protobuf::MethodOptions::default_instance());
2455
3060
}
2456
3061
 
2457
3062
MethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from)
2458
 
  : _reflection_(descriptor(),
2459
 
                 this, &default_instance_,
2460
 
                 _offsets_, _has_bits_, NULL),
 
3063
  : ::google::protobuf::Message(),
2461
3064
    _cached_size_(0),
2462
3065
    name_(const_cast< ::std::string*>(&_default_name_)),
2463
3066
    input_type_(const_cast< ::std::string*>(&_default_input_type_)),
2477
3080
  if (output_type_ != &_default_output_type_) {
2478
3081
    delete output_type_;
2479
3082
  }
2480
 
  if (this != &default_instance_) {
 
3083
  if (this != default_instance_) {
2481
3084
    delete options_;
2482
3085
  }
2483
3086
}
2484
3087
 
2485
3088
const ::google::protobuf::Descriptor* MethodDescriptorProto::descriptor() {
2486
 
  if (MethodDescriptorProto_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
3089
  if (MethodDescriptorProto_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
2487
3090
  return MethodDescriptorProto_descriptor_;
2488
3091
}
2489
3092
 
 
3093
const MethodDescriptorProto& MethodDescriptorProto::default_instance() {
 
3094
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3095
  return *default_instance_;
 
3096
}
 
3097
 
 
3098
MethodDescriptorProto* MethodDescriptorProto::default_instance_ = NULL;
 
3099
 
2490
3100
MethodDescriptorProto* MethodDescriptorProto::New() const {
2491
3101
  return new MethodDescriptorProto;
2492
3102
}
2662
3272
    ::google::protobuf::internal::dynamic_cast_if_available<const MethodDescriptorProto*>(
2663
3273
      &from);
2664
3274
  if (source == NULL) {
2665
 
    ::google::protobuf::internal::ReflectionOps::Merge(
2666
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
3275
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2667
3276
  } else {
2668
3277
    MergeFrom(*source);
2669
3278
  }
2700
3309
  MergeFrom(from);
2701
3310
}
2702
3311
 
 
3312
void MethodDescriptorProto::Swap(MethodDescriptorProto* other) {
 
3313
  if (other != this) {
 
3314
    std::swap(name_, other->name_);
 
3315
    std::swap(input_type_, other->input_type_);
 
3316
    std::swap(output_type_, other->output_type_);
 
3317
    std::swap(options_, other->options_);
 
3318
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
3319
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
3320
    std::swap(_cached_size_, other->_cached_size_);
 
3321
  }
 
3322
}
 
3323
 
2703
3324
bool MethodDescriptorProto::IsInitialized() const {
2704
3325
  
 
3326
  if (has_options()) {
 
3327
    if (!this->options().IsInitialized()) return false;
 
3328
  }
2705
3329
  return true;
2706
3330
}
2707
3331
 
2709
3333
  return descriptor();
2710
3334
}
2711
3335
 
2712
 
const ::google::protobuf::Message::Reflection*
2713
 
MethodDescriptorProto::GetReflection() const {
2714
 
  return &_reflection_;
2715
 
}
2716
 
 
2717
 
::google::protobuf::Message::Reflection* MethodDescriptorProto::GetReflection() {
2718
 
  return &_reflection_;
 
3336
const ::google::protobuf::Reflection* MethodDescriptorProto::GetReflection() const {
 
3337
  if (MethodDescriptorProto_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3338
  return MethodDescriptorProto_reflection_;
2719
3339
}
2720
3340
 
2721
3341
// ===================================================================
2722
3342
 
2723
3343
const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor() {
2724
 
  if (FileOptions_OptimizeMode_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
3344
  if (FileOptions_OptimizeMode_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
2725
3345
  return FileOptions_OptimizeMode_descriptor_;
2726
3346
}
2727
3347
bool FileOptions_OptimizeMode_IsValid(int value) {
2740
3360
const FileOptions_OptimizeMode FileOptions::OptimizeMode_MIN;
2741
3361
const FileOptions_OptimizeMode FileOptions::OptimizeMode_MAX;
2742
3362
#endif  // _MSC_VER
2743
 
const FileOptions FileOptions::default_instance_;
2744
 
 
2745
3363
const ::std::string FileOptions::_default_java_package_;
2746
3364
const ::std::string FileOptions::_default_java_outer_classname_;
2747
3365
 
2748
3366
 
2749
 
const int FileOptions::_offsets_[4] = {
2750
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_package_),
2751
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_outer_classname_),
2752
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_),
2753
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, optimize_for_),
2754
 
};
2755
3367
 
2756
3368
FileOptions::FileOptions()
2757
 
  : _reflection_(descriptor(),
2758
 
                 this, &default_instance_,
2759
 
                 _offsets_, _has_bits_, NULL),
 
3369
  : ::google::protobuf::Message(),
 
3370
    _extensions_(&FileOptions_descriptor_,
 
3371
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
3372
                 ::google::protobuf::MessageFactory::generated_factory()),
2760
3373
    _cached_size_(0),
2761
3374
    java_package_(const_cast< ::std::string*>(&_default_java_package_)),
2762
3375
    java_outer_classname_(const_cast< ::std::string*>(&_default_java_outer_classname_)),
2763
3376
    java_multiple_files_(false),
2764
3377
    optimize_for_(2) {
2765
3378
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
2766
 
  if (this == &default_instance_) {
2767
 
  }
2768
3379
}
2769
3380
 
 
3381
void FileOptions::InitAsDefaultInstance() {}
 
3382
 
2770
3383
FileOptions::FileOptions(const FileOptions& from)
2771
 
  : _reflection_(descriptor(),
2772
 
                 this, &default_instance_,
2773
 
                 _offsets_, _has_bits_, NULL),
 
3384
  : ::google::protobuf::Message(),
 
3385
    _extensions_(&FileOptions_descriptor_,
 
3386
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
3387
                 ::google::protobuf::MessageFactory::generated_factory()),
2774
3388
    _cached_size_(0),
2775
3389
    java_package_(const_cast< ::std::string*>(&_default_java_package_)),
2776
3390
    java_outer_classname_(const_cast< ::std::string*>(&_default_java_outer_classname_)),
2787
3401
  if (java_outer_classname_ != &_default_java_outer_classname_) {
2788
3402
    delete java_outer_classname_;
2789
3403
  }
2790
 
  if (this != &default_instance_) {
 
3404
  if (this != default_instance_) {
2791
3405
  }
2792
3406
}
2793
3407
 
2794
3408
const ::google::protobuf::Descriptor* FileOptions::descriptor() {
2795
 
  if (FileOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
3409
  if (FileOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
2796
3410
  return FileOptions_descriptor_;
2797
3411
}
2798
3412
 
 
3413
const FileOptions& FileOptions::default_instance() {
 
3414
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3415
  return *default_instance_;
 
3416
}
 
3417
 
 
3418
FileOptions* FileOptions::default_instance_ = NULL;
 
3419
 
2799
3420
FileOptions* FileOptions::New() const {
2800
3421
  return new FileOptions;
2801
3422
}
2802
3423
 
2803
3424
void FileOptions::Clear() {
 
3425
  _extensions_.Clear();
2804
3426
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2805
3427
    if (_has_bit(0)) {
2806
3428
      if (java_package_ != &_default_java_package_) {
2815
3437
    java_multiple_files_ = false;
2816
3438
    optimize_for_ = 2;
2817
3439
  }
 
3440
  uninterpreted_option_.Clear();
2818
3441
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
2819
3442
  mutable_unknown_fields()->Clear();
2820
3443
}
2876
3499
        DO_(::google::protobuf::internal::WireFormat::ReadBool(
2877
3500
              input, &java_multiple_files_));
2878
3501
        _set_bit(2);
 
3502
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
3503
        break;
 
3504
      }
 
3505
      
 
3506
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
3507
      case 999: {
 
3508
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
3509
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
3510
          goto handle_uninterpreted;
 
3511
        }
 
3512
       parse_uninterpreted_option:
 
3513
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
3514
             input, add_uninterpreted_option()));
 
3515
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
2879
3516
        if (input->ExpectAtEnd()) return true;
2880
3517
        break;
2881
3518
      }
2886
3523
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
2887
3524
          return true;
2888
3525
        }
 
3526
        if ((8000u <= tag)) {
 
3527
          DO_(_extensions_.ParseField(tag, input, this));
 
3528
          continue;
 
3529
        }
2889
3530
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2890
3531
              input, tag, mutable_unknown_fields()));
2891
3532
        break;
2919
3560
    DO_(::google::protobuf::internal::WireFormat::WriteBool(10, this->java_multiple_files(), output));
2920
3561
  }
2921
3562
  
 
3563
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
3564
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
3565
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
3566
  }
 
3567
  
 
3568
  // Extension range [1000, 536870912)
 
3569
  DO_(_extensions_.SerializeWithCachedSizes(
 
3570
      1000, 536870912, *this, output));
 
3571
  
2922
3572
  if (!unknown_fields().empty()) {
2923
3573
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2924
3574
        unknown_fields(), output));
2955
3605
    }
2956
3606
    
2957
3607
  }
 
3608
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
3609
  total_size += 2 * uninterpreted_option_size();
 
3610
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
3611
    total_size +=
 
3612
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
3613
        this->uninterpreted_option(i));
 
3614
  }
 
3615
  
 
3616
  total_size += _extensions_.ByteSize(*this);
 
3617
  
2958
3618
  if (!unknown_fields().empty()) {
2959
3619
    total_size +=
2960
3620
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2970
3630
    ::google::protobuf::internal::dynamic_cast_if_available<const FileOptions*>(
2971
3631
      &from);
2972
3632
  if (source == NULL) {
2973
 
    ::google::protobuf::internal::ReflectionOps::Merge(
2974
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
3633
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2975
3634
  } else {
2976
3635
    MergeFrom(*source);
2977
3636
  }
2979
3638
 
2980
3639
void FileOptions::MergeFrom(const FileOptions& from) {
2981
3640
  GOOGLE_CHECK_NE(&from, this);
 
3641
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
2982
3642
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2983
3643
    if (from._has_bit(0)) {
2984
3644
      set_java_package(from.java_package());
2993
3653
      set_optimize_for(from.optimize_for());
2994
3654
    }
2995
3655
  }
 
3656
  _extensions_.MergeFrom(from._extensions_);
2996
3657
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
2997
3658
}
2998
3659
 
3008
3669
  MergeFrom(from);
3009
3670
}
3010
3671
 
 
3672
void FileOptions::Swap(FileOptions* other) {
 
3673
  if (other != this) {
 
3674
    std::swap(java_package_, other->java_package_);
 
3675
    std::swap(java_outer_classname_, other->java_outer_classname_);
 
3676
    std::swap(java_multiple_files_, other->java_multiple_files_);
 
3677
    std::swap(optimize_for_, other->optimize_for_);
 
3678
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
3679
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
3680
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
3681
    std::swap(_cached_size_, other->_cached_size_);
 
3682
    _extensions_.Swap(&other->_extensions_);
 
3683
  }
 
3684
}
 
3685
 
3011
3686
bool FileOptions::IsInitialized() const {
3012
3687
  
3013
 
  return true;
 
3688
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
3689
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
3690
  }
 
3691
  
 
3692
  if (!_extensions_.IsInitialized()) return false;  return true;
3014
3693
}
3015
3694
 
3016
3695
const ::google::protobuf::Descriptor* FileOptions::GetDescriptor() const {
3017
3696
  return descriptor();
3018
3697
}
3019
3698
 
3020
 
const ::google::protobuf::Message::Reflection*
3021
 
FileOptions::GetReflection() const {
3022
 
  return &_reflection_;
3023
 
}
3024
 
 
3025
 
::google::protobuf::Message::Reflection* FileOptions::GetReflection() {
3026
 
  return &_reflection_;
 
3699
const ::google::protobuf::Reflection* FileOptions::GetReflection() const {
 
3700
  if (FileOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3701
  return FileOptions_reflection_;
3027
3702
}
3028
3703
 
3029
3704
// ===================================================================
3030
3705
 
3031
 
const MessageOptions MessageOptions::default_instance_;
3032
 
 
3033
 
 
3034
 
const int MessageOptions::_offsets_[1] = {
3035
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, message_set_wire_format_),
3036
 
};
 
3706
 
3037
3707
 
3038
3708
MessageOptions::MessageOptions()
3039
 
  : _reflection_(descriptor(),
3040
 
                 this, &default_instance_,
3041
 
                 _offsets_, _has_bits_, NULL),
 
3709
  : ::google::protobuf::Message(),
 
3710
    _extensions_(&MessageOptions_descriptor_,
 
3711
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
3712
                 ::google::protobuf::MessageFactory::generated_factory()),
3042
3713
    _cached_size_(0),
3043
3714
    message_set_wire_format_(false) {
3044
3715
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3045
 
  if (this == &default_instance_) {
3046
 
  }
3047
3716
}
3048
3717
 
 
3718
void MessageOptions::InitAsDefaultInstance() {}
 
3719
 
3049
3720
MessageOptions::MessageOptions(const MessageOptions& from)
3050
 
  : _reflection_(descriptor(),
3051
 
                 this, &default_instance_,
3052
 
                 _offsets_, _has_bits_, NULL),
 
3721
  : ::google::protobuf::Message(),
 
3722
    _extensions_(&MessageOptions_descriptor_,
 
3723
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
3724
                 ::google::protobuf::MessageFactory::generated_factory()),
3053
3725
    _cached_size_(0),
3054
3726
    message_set_wire_format_(false) {
3055
3727
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3057
3729
}
3058
3730
 
3059
3731
MessageOptions::~MessageOptions() {
3060
 
  if (this != &default_instance_) {
 
3732
  if (this != default_instance_) {
3061
3733
  }
3062
3734
}
3063
3735
 
3064
3736
const ::google::protobuf::Descriptor* MessageOptions::descriptor() {
3065
 
  if (MessageOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
3737
  if (MessageOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3066
3738
  return MessageOptions_descriptor_;
3067
3739
}
3068
3740
 
 
3741
const MessageOptions& MessageOptions::default_instance() {
 
3742
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3743
  return *default_instance_;
 
3744
}
 
3745
 
 
3746
MessageOptions* MessageOptions::default_instance_ = NULL;
 
3747
 
3069
3748
MessageOptions* MessageOptions::New() const {
3070
3749
  return new MessageOptions;
3071
3750
}
3072
3751
 
3073
3752
void MessageOptions::Clear() {
 
3753
  _extensions_.Clear();
3074
3754
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3075
3755
    message_set_wire_format_ = false;
3076
3756
  }
 
3757
  uninterpreted_option_.Clear();
3077
3758
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3078
3759
  mutable_unknown_fields()->Clear();
3079
3760
}
3093
3774
        DO_(::google::protobuf::internal::WireFormat::ReadBool(
3094
3775
              input, &message_set_wire_format_));
3095
3776
        _set_bit(0);
 
3777
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
3778
        break;
 
3779
      }
 
3780
      
 
3781
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
3782
      case 999: {
 
3783
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
3784
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
3785
          goto handle_uninterpreted;
 
3786
        }
 
3787
       parse_uninterpreted_option:
 
3788
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
3789
             input, add_uninterpreted_option()));
 
3790
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
3096
3791
        if (input->ExpectAtEnd()) return true;
3097
3792
        break;
3098
3793
      }
3103
3798
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
3104
3799
          return true;
3105
3800
        }
 
3801
        if ((8000u <= tag)) {
 
3802
          DO_(_extensions_.ParseField(tag, input, this));
 
3803
          continue;
 
3804
        }
3106
3805
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3107
3806
              input, tag, mutable_unknown_fields()));
3108
3807
        break;
3121
3820
    DO_(::google::protobuf::internal::WireFormat::WriteBool(1, this->message_set_wire_format(), output));
3122
3821
  }
3123
3822
  
 
3823
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
3824
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
3825
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
3826
  }
 
3827
  
 
3828
  // Extension range [1000, 536870912)
 
3829
  DO_(_extensions_.SerializeWithCachedSizes(
 
3830
      1000, 536870912, *this, output));
 
3831
  
3124
3832
  if (!unknown_fields().empty()) {
3125
3833
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3126
3834
        unknown_fields(), output));
3139
3847
    }
3140
3848
    
3141
3849
  }
 
3850
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
3851
  total_size += 2 * uninterpreted_option_size();
 
3852
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
3853
    total_size +=
 
3854
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
3855
        this->uninterpreted_option(i));
 
3856
  }
 
3857
  
 
3858
  total_size += _extensions_.ByteSize(*this);
 
3859
  
3142
3860
  if (!unknown_fields().empty()) {
3143
3861
    total_size +=
3144
3862
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3154
3872
    ::google::protobuf::internal::dynamic_cast_if_available<const MessageOptions*>(
3155
3873
      &from);
3156
3874
  if (source == NULL) {
3157
 
    ::google::protobuf::internal::ReflectionOps::Merge(
3158
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
3875
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3159
3876
  } else {
3160
3877
    MergeFrom(*source);
3161
3878
  }
3163
3880
 
3164
3881
void MessageOptions::MergeFrom(const MessageOptions& from) {
3165
3882
  GOOGLE_CHECK_NE(&from, this);
 
3883
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
3166
3884
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3167
3885
    if (from._has_bit(0)) {
3168
3886
      set_message_set_wire_format(from.message_set_wire_format());
3169
3887
    }
3170
3888
  }
 
3889
  _extensions_.MergeFrom(from._extensions_);
3171
3890
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
3172
3891
}
3173
3892
 
3183
3902
  MergeFrom(from);
3184
3903
}
3185
3904
 
 
3905
void MessageOptions::Swap(MessageOptions* other) {
 
3906
  if (other != this) {
 
3907
    std::swap(message_set_wire_format_, other->message_set_wire_format_);
 
3908
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
3909
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
3910
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
3911
    std::swap(_cached_size_, other->_cached_size_);
 
3912
    _extensions_.Swap(&other->_extensions_);
 
3913
  }
 
3914
}
 
3915
 
3186
3916
bool MessageOptions::IsInitialized() const {
3187
3917
  
3188
 
  return true;
 
3918
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
3919
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
3920
  }
 
3921
  
 
3922
  if (!_extensions_.IsInitialized()) return false;  return true;
3189
3923
}
3190
3924
 
3191
3925
const ::google::protobuf::Descriptor* MessageOptions::GetDescriptor() const {
3192
3926
  return descriptor();
3193
3927
}
3194
3928
 
3195
 
const ::google::protobuf::Message::Reflection*
3196
 
MessageOptions::GetReflection() const {
3197
 
  return &_reflection_;
3198
 
}
3199
 
 
3200
 
::google::protobuf::Message::Reflection* MessageOptions::GetReflection() {
3201
 
  return &_reflection_;
 
3929
const ::google::protobuf::Reflection* MessageOptions::GetReflection() const {
 
3930
  if (MessageOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3931
  return MessageOptions_reflection_;
3202
3932
}
3203
3933
 
3204
3934
// ===================================================================
3205
3935
 
3206
3936
const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor() {
3207
 
  if (FieldOptions_CType_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
3937
  if (FieldOptions_CType_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3208
3938
  return FieldOptions_CType_descriptor_;
3209
3939
}
3210
3940
bool FieldOptions_CType_IsValid(int value) {
3223
3953
const FieldOptions_CType FieldOptions::CType_MIN;
3224
3954
const FieldOptions_CType FieldOptions::CType_MAX;
3225
3955
#endif  // _MSC_VER
3226
 
const FieldOptions FieldOptions::default_instance_;
3227
 
 
3228
3956
 
3229
3957
const ::std::string FieldOptions::_default_experimental_map_key_;
3230
 
const int FieldOptions::_offsets_[2] = {
3231
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_),
3232
 
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, experimental_map_key_),
3233
 
};
3234
3958
 
3235
3959
FieldOptions::FieldOptions()
3236
 
  : _reflection_(descriptor(),
3237
 
                 this, &default_instance_,
3238
 
                 _offsets_, _has_bits_, NULL),
 
3960
  : ::google::protobuf::Message(),
 
3961
    _extensions_(&FieldOptions_descriptor_,
 
3962
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
3963
                 ::google::protobuf::MessageFactory::generated_factory()),
3239
3964
    _cached_size_(0),
3240
3965
    ctype_(1),
3241
3966
    experimental_map_key_(const_cast< ::std::string*>(&_default_experimental_map_key_)) {
3242
3967
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3243
 
  if (this == &default_instance_) {
3244
 
  }
3245
3968
}
3246
3969
 
 
3970
void FieldOptions::InitAsDefaultInstance() {}
 
3971
 
3247
3972
FieldOptions::FieldOptions(const FieldOptions& from)
3248
 
  : _reflection_(descriptor(),
3249
 
                 this, &default_instance_,
3250
 
                 _offsets_, _has_bits_, NULL),
 
3973
  : ::google::protobuf::Message(),
 
3974
    _extensions_(&FieldOptions_descriptor_,
 
3975
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
3976
                 ::google::protobuf::MessageFactory::generated_factory()),
3251
3977
    _cached_size_(0),
3252
3978
    ctype_(1),
3253
3979
    experimental_map_key_(const_cast< ::std::string*>(&_default_experimental_map_key_)) {
3259
3985
  if (experimental_map_key_ != &_default_experimental_map_key_) {
3260
3986
    delete experimental_map_key_;
3261
3987
  }
3262
 
  if (this != &default_instance_) {
 
3988
  if (this != default_instance_) {
3263
3989
  }
3264
3990
}
3265
3991
 
3266
3992
const ::google::protobuf::Descriptor* FieldOptions::descriptor() {
3267
 
  if (FieldOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
3993
  if (FieldOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3268
3994
  return FieldOptions_descriptor_;
3269
3995
}
3270
3996
 
 
3997
const FieldOptions& FieldOptions::default_instance() {
 
3998
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
3999
  return *default_instance_;
 
4000
}
 
4001
 
 
4002
FieldOptions* FieldOptions::default_instance_ = NULL;
 
4003
 
3271
4004
FieldOptions* FieldOptions::New() const {
3272
4005
  return new FieldOptions;
3273
4006
}
3274
4007
 
3275
4008
void FieldOptions::Clear() {
 
4009
  _extensions_.Clear();
3276
4010
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3277
4011
    ctype_ = 1;
3278
4012
    if (_has_bit(1)) {
3281
4015
      }
3282
4016
    }
3283
4017
  }
 
4018
  uninterpreted_option_.Clear();
3284
4019
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3285
4020
  mutable_unknown_fields()->Clear();
3286
4021
}
3316
4051
        }
3317
4052
       parse_experimental_map_key:
3318
4053
        DO_(::google::protobuf::internal::WireFormat::ReadString(input, mutable_experimental_map_key()));
 
4054
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
4055
        break;
 
4056
      }
 
4057
      
 
4058
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4059
      case 999: {
 
4060
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
4061
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
4062
          goto handle_uninterpreted;
 
4063
        }
 
4064
       parse_uninterpreted_option:
 
4065
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
4066
             input, add_uninterpreted_option()));
 
4067
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
3319
4068
        if (input->ExpectAtEnd()) return true;
3320
4069
        break;
3321
4070
      }
3326
4075
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
3327
4076
          return true;
3328
4077
        }
 
4078
        if ((8000u <= tag)) {
 
4079
          DO_(_extensions_.ParseField(tag, input, this));
 
4080
          continue;
 
4081
        }
3329
4082
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3330
4083
              input, tag, mutable_unknown_fields()));
3331
4084
        break;
3349
4102
    DO_(::google::protobuf::internal::WireFormat::WriteString(9, this->experimental_map_key(), output));
3350
4103
  }
3351
4104
  
 
4105
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4106
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
4107
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
4108
  }
 
4109
  
 
4110
  // Extension range [1000, 536870912)
 
4111
  DO_(_extensions_.SerializeWithCachedSizes(
 
4112
      1000, 536870912, *this, output));
 
4113
  
3352
4114
  if (!unknown_fields().empty()) {
3353
4115
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3354
4116
        unknown_fields(), output));
3374
4136
    }
3375
4137
    
3376
4138
  }
 
4139
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4140
  total_size += 2 * uninterpreted_option_size();
 
4141
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4142
    total_size +=
 
4143
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
4144
        this->uninterpreted_option(i));
 
4145
  }
 
4146
  
 
4147
  total_size += _extensions_.ByteSize(*this);
 
4148
  
3377
4149
  if (!unknown_fields().empty()) {
3378
4150
    total_size +=
3379
4151
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3389
4161
    ::google::protobuf::internal::dynamic_cast_if_available<const FieldOptions*>(
3390
4162
      &from);
3391
4163
  if (source == NULL) {
3392
 
    ::google::protobuf::internal::ReflectionOps::Merge(
3393
 
      descriptor(), *from.GetReflection(), &_reflection_);
 
4164
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3394
4165
  } else {
3395
4166
    MergeFrom(*source);
3396
4167
  }
3398
4169
 
3399
4170
void FieldOptions::MergeFrom(const FieldOptions& from) {
3400
4171
  GOOGLE_CHECK_NE(&from, this);
 
4172
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
3401
4173
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3402
4174
    if (from._has_bit(0)) {
3403
4175
      set_ctype(from.ctype());
3406
4178
      set_experimental_map_key(from.experimental_map_key());
3407
4179
    }
3408
4180
  }
 
4181
  _extensions_.MergeFrom(from._extensions_);
3409
4182
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
3410
4183
}
3411
4184
 
3421
4194
  MergeFrom(from);
3422
4195
}
3423
4196
 
 
4197
void FieldOptions::Swap(FieldOptions* other) {
 
4198
  if (other != this) {
 
4199
    std::swap(ctype_, other->ctype_);
 
4200
    std::swap(experimental_map_key_, other->experimental_map_key_);
 
4201
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
4202
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
4203
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
4204
    std::swap(_cached_size_, other->_cached_size_);
 
4205
    _extensions_.Swap(&other->_extensions_);
 
4206
  }
 
4207
}
 
4208
 
3424
4209
bool FieldOptions::IsInitialized() const {
3425
4210
  
3426
 
  return true;
 
4211
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4212
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
4213
  }
 
4214
  
 
4215
  if (!_extensions_.IsInitialized()) return false;  return true;
3427
4216
}
3428
4217
 
3429
4218
const ::google::protobuf::Descriptor* FieldOptions::GetDescriptor() const {
3430
4219
  return descriptor();
3431
4220
}
3432
4221
 
3433
 
const ::google::protobuf::Message::Reflection*
3434
 
FieldOptions::GetReflection() const {
3435
 
  return &_reflection_;
3436
 
}
3437
 
 
3438
 
::google::protobuf::Message::Reflection* FieldOptions::GetReflection() {
3439
 
  return &_reflection_;
 
4222
const ::google::protobuf::Reflection* FieldOptions::GetReflection() const {
 
4223
  if (FieldOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4224
  return FieldOptions_reflection_;
3440
4225
}
3441
4226
 
3442
4227
// ===================================================================
3443
4228
 
3444
 
const EnumOptions EnumOptions::default_instance_;
3445
 
 
3446
 
const int EnumOptions::_offsets_[1] = {
3447
 
};
3448
4229
 
3449
4230
EnumOptions::EnumOptions()
3450
 
  : _reflection_(descriptor(),
3451
 
                 this, &default_instance_,
3452
 
                 _offsets_, _has_bits_, NULL),
 
4231
  : ::google::protobuf::Message(),
 
4232
    _extensions_(&EnumOptions_descriptor_,
 
4233
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4234
                 ::google::protobuf::MessageFactory::generated_factory()),
3453
4235
    _cached_size_(0) {
3454
4236
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3455
 
  if (this == &default_instance_) {
3456
 
  }
3457
4237
}
3458
4238
 
 
4239
void EnumOptions::InitAsDefaultInstance() {}
 
4240
 
3459
4241
EnumOptions::EnumOptions(const EnumOptions& from)
3460
 
  : _reflection_(descriptor(),
3461
 
                 this, &default_instance_,
3462
 
                 _offsets_, _has_bits_, NULL),
 
4242
  : ::google::protobuf::Message(),
 
4243
    _extensions_(&EnumOptions_descriptor_,
 
4244
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4245
                 ::google::protobuf::MessageFactory::generated_factory()),
3463
4246
    _cached_size_(0) {
3464
4247
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3465
4248
  MergeFrom(from);
3466
4249
}
3467
4250
 
3468
4251
EnumOptions::~EnumOptions() {
3469
 
  if (this != &default_instance_) {
 
4252
  if (this != default_instance_) {
3470
4253
  }
3471
4254
}
3472
4255
 
3473
4256
const ::google::protobuf::Descriptor* EnumOptions::descriptor() {
3474
 
  if (EnumOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
4257
  if (EnumOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3475
4258
  return EnumOptions_descriptor_;
3476
4259
}
3477
4260
 
 
4261
const EnumOptions& EnumOptions::default_instance() {
 
4262
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4263
  return *default_instance_;
 
4264
}
 
4265
 
 
4266
EnumOptions* EnumOptions::default_instance_ = NULL;
 
4267
 
3478
4268
EnumOptions* EnumOptions::New() const {
3479
4269
  return new EnumOptions;
3480
4270
}
3481
4271
 
3482
4272
void EnumOptions::Clear() {
 
4273
  _extensions_.Clear();
 
4274
  uninterpreted_option_.Clear();
3483
4275
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3484
4276
  mutable_unknown_fields()->Clear();
3485
4277
}
3489
4281
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
3490
4282
  ::google::protobuf::uint32 tag;
3491
4283
  while ((tag = input->ReadTag()) != 0) {
3492
 
    if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
3493
 
        ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
3494
 
      return true;
 
4284
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
4285
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4286
      case 999: {
 
4287
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
4288
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
4289
          goto handle_uninterpreted;
 
4290
        }
 
4291
       parse_uninterpreted_option:
 
4292
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
4293
             input, add_uninterpreted_option()));
 
4294
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
4295
        if (input->ExpectAtEnd()) return true;
 
4296
        break;
 
4297
      }
 
4298
      
 
4299
      default: {
 
4300
      handle_uninterpreted:
 
4301
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
4302
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
4303
          return true;
 
4304
        }
 
4305
        if ((8000u <= tag)) {
 
4306
          DO_(_extensions_.ParseField(tag, input, this));
 
4307
          continue;
 
4308
        }
 
4309
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
4310
              input, tag, mutable_unknown_fields()));
 
4311
        break;
 
4312
      }
3495
4313
    }
3496
 
    DO_(::google::protobuf::internal::WireFormat::SkipField(
3497
 
          input, tag, mutable_unknown_fields()));
3498
4314
  }
3499
4315
  return true;
3500
4316
#undef DO_
3503
4319
bool EnumOptions::SerializeWithCachedSizes(
3504
4320
    ::google::protobuf::io::CodedOutputStream* output) const {
3505
4321
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
4322
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4323
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
4324
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
4325
  }
 
4326
  
 
4327
  // Extension range [1000, 536870912)
 
4328
  DO_(_extensions_.SerializeWithCachedSizes(
 
4329
      1000, 536870912, *this, output));
 
4330
  
3506
4331
  if (!unknown_fields().empty()) {
3507
4332
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3508
4333
        unknown_fields(), output));
3514
4339
int EnumOptions::ByteSize() const {
3515
4340
  int total_size = 0;
3516
4341
  
 
4342
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4343
  total_size += 2 * uninterpreted_option_size();
 
4344
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4345
    total_size +=
 
4346
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
4347
        this->uninterpreted_option(i));
 
4348
  }
 
4349
  
 
4350
  total_size += _extensions_.ByteSize(*this);
 
4351
  
3517
4352
  if (!unknown_fields().empty()) {
3518
4353
    total_size +=
3519
4354
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3525
4360
 
3526
4361
void EnumOptions::MergeFrom(const ::google::protobuf::Message& from) {
3527
4362
  GOOGLE_CHECK_NE(&from, this);
 
4363
  const EnumOptions* source =
 
4364
    ::google::protobuf::internal::dynamic_cast_if_available<const EnumOptions*>(
 
4365
      &from);
 
4366
  if (source == NULL) {
 
4367
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
4368
  } else {
 
4369
    MergeFrom(*source);
 
4370
  }
3528
4371
}
3529
4372
 
3530
4373
void EnumOptions::MergeFrom(const EnumOptions& from) {
3531
4374
  GOOGLE_CHECK_NE(&from, this);
 
4375
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
 
4376
  _extensions_.MergeFrom(from._extensions_);
3532
4377
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
3533
4378
}
3534
4379
 
3544
4389
  MergeFrom(from);
3545
4390
}
3546
4391
 
 
4392
void EnumOptions::Swap(EnumOptions* other) {
 
4393
  if (other != this) {
 
4394
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
4395
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
4396
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
4397
    std::swap(_cached_size_, other->_cached_size_);
 
4398
    _extensions_.Swap(&other->_extensions_);
 
4399
  }
 
4400
}
 
4401
 
3547
4402
bool EnumOptions::IsInitialized() const {
3548
4403
  
3549
 
  return true;
 
4404
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4405
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
4406
  }
 
4407
  
 
4408
  if (!_extensions_.IsInitialized()) return false;  return true;
3550
4409
}
3551
4410
 
3552
4411
const ::google::protobuf::Descriptor* EnumOptions::GetDescriptor() const {
3553
4412
  return descriptor();
3554
4413
}
3555
4414
 
3556
 
const ::google::protobuf::Message::Reflection*
3557
 
EnumOptions::GetReflection() const {
3558
 
  return &_reflection_;
3559
 
}
3560
 
 
3561
 
::google::protobuf::Message::Reflection* EnumOptions::GetReflection() {
3562
 
  return &_reflection_;
 
4415
const ::google::protobuf::Reflection* EnumOptions::GetReflection() const {
 
4416
  if (EnumOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4417
  return EnumOptions_reflection_;
3563
4418
}
3564
4419
 
3565
4420
// ===================================================================
3566
4421
 
3567
 
const EnumValueOptions EnumValueOptions::default_instance_;
3568
 
 
3569
 
const int EnumValueOptions::_offsets_[1] = {
3570
 
};
3571
4422
 
3572
4423
EnumValueOptions::EnumValueOptions()
3573
 
  : _reflection_(descriptor(),
3574
 
                 this, &default_instance_,
3575
 
                 _offsets_, _has_bits_, NULL),
 
4424
  : ::google::protobuf::Message(),
 
4425
    _extensions_(&EnumValueOptions_descriptor_,
 
4426
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4427
                 ::google::protobuf::MessageFactory::generated_factory()),
3576
4428
    _cached_size_(0) {
3577
4429
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3578
 
  if (this == &default_instance_) {
3579
 
  }
3580
4430
}
3581
4431
 
 
4432
void EnumValueOptions::InitAsDefaultInstance() {}
 
4433
 
3582
4434
EnumValueOptions::EnumValueOptions(const EnumValueOptions& from)
3583
 
  : _reflection_(descriptor(),
3584
 
                 this, &default_instance_,
3585
 
                 _offsets_, _has_bits_, NULL),
 
4435
  : ::google::protobuf::Message(),
 
4436
    _extensions_(&EnumValueOptions_descriptor_,
 
4437
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4438
                 ::google::protobuf::MessageFactory::generated_factory()),
3586
4439
    _cached_size_(0) {
3587
4440
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3588
4441
  MergeFrom(from);
3589
4442
}
3590
4443
 
3591
4444
EnumValueOptions::~EnumValueOptions() {
3592
 
  if (this != &default_instance_) {
 
4445
  if (this != default_instance_) {
3593
4446
  }
3594
4447
}
3595
4448
 
3596
4449
const ::google::protobuf::Descriptor* EnumValueOptions::descriptor() {
3597
 
  if (EnumValueOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
4450
  if (EnumValueOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3598
4451
  return EnumValueOptions_descriptor_;
3599
4452
}
3600
4453
 
 
4454
const EnumValueOptions& EnumValueOptions::default_instance() {
 
4455
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4456
  return *default_instance_;
 
4457
}
 
4458
 
 
4459
EnumValueOptions* EnumValueOptions::default_instance_ = NULL;
 
4460
 
3601
4461
EnumValueOptions* EnumValueOptions::New() const {
3602
4462
  return new EnumValueOptions;
3603
4463
}
3604
4464
 
3605
4465
void EnumValueOptions::Clear() {
 
4466
  _extensions_.Clear();
 
4467
  uninterpreted_option_.Clear();
3606
4468
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3607
4469
  mutable_unknown_fields()->Clear();
3608
4470
}
3612
4474
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
3613
4475
  ::google::protobuf::uint32 tag;
3614
4476
  while ((tag = input->ReadTag()) != 0) {
3615
 
    if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
3616
 
        ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
3617
 
      return true;
 
4477
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
4478
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4479
      case 999: {
 
4480
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
4481
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
4482
          goto handle_uninterpreted;
 
4483
        }
 
4484
       parse_uninterpreted_option:
 
4485
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
4486
             input, add_uninterpreted_option()));
 
4487
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
4488
        if (input->ExpectAtEnd()) return true;
 
4489
        break;
 
4490
      }
 
4491
      
 
4492
      default: {
 
4493
      handle_uninterpreted:
 
4494
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
4495
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
4496
          return true;
 
4497
        }
 
4498
        if ((8000u <= tag)) {
 
4499
          DO_(_extensions_.ParseField(tag, input, this));
 
4500
          continue;
 
4501
        }
 
4502
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
4503
              input, tag, mutable_unknown_fields()));
 
4504
        break;
 
4505
      }
3618
4506
    }
3619
 
    DO_(::google::protobuf::internal::WireFormat::SkipField(
3620
 
          input, tag, mutable_unknown_fields()));
3621
4507
  }
3622
4508
  return true;
3623
4509
#undef DO_
3626
4512
bool EnumValueOptions::SerializeWithCachedSizes(
3627
4513
    ::google::protobuf::io::CodedOutputStream* output) const {
3628
4514
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
4515
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4516
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
4517
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
4518
  }
 
4519
  
 
4520
  // Extension range [1000, 536870912)
 
4521
  DO_(_extensions_.SerializeWithCachedSizes(
 
4522
      1000, 536870912, *this, output));
 
4523
  
3629
4524
  if (!unknown_fields().empty()) {
3630
4525
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3631
4526
        unknown_fields(), output));
3637
4532
int EnumValueOptions::ByteSize() const {
3638
4533
  int total_size = 0;
3639
4534
  
 
4535
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4536
  total_size += 2 * uninterpreted_option_size();
 
4537
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4538
    total_size +=
 
4539
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
4540
        this->uninterpreted_option(i));
 
4541
  }
 
4542
  
 
4543
  total_size += _extensions_.ByteSize(*this);
 
4544
  
3640
4545
  if (!unknown_fields().empty()) {
3641
4546
    total_size +=
3642
4547
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3648
4553
 
3649
4554
void EnumValueOptions::MergeFrom(const ::google::protobuf::Message& from) {
3650
4555
  GOOGLE_CHECK_NE(&from, this);
 
4556
  const EnumValueOptions* source =
 
4557
    ::google::protobuf::internal::dynamic_cast_if_available<const EnumValueOptions*>(
 
4558
      &from);
 
4559
  if (source == NULL) {
 
4560
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
4561
  } else {
 
4562
    MergeFrom(*source);
 
4563
  }
3651
4564
}
3652
4565
 
3653
4566
void EnumValueOptions::MergeFrom(const EnumValueOptions& from) {
3654
4567
  GOOGLE_CHECK_NE(&from, this);
 
4568
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
 
4569
  _extensions_.MergeFrom(from._extensions_);
3655
4570
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
3656
4571
}
3657
4572
 
3667
4582
  MergeFrom(from);
3668
4583
}
3669
4584
 
 
4585
void EnumValueOptions::Swap(EnumValueOptions* other) {
 
4586
  if (other != this) {
 
4587
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
4588
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
4589
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
4590
    std::swap(_cached_size_, other->_cached_size_);
 
4591
    _extensions_.Swap(&other->_extensions_);
 
4592
  }
 
4593
}
 
4594
 
3670
4595
bool EnumValueOptions::IsInitialized() const {
3671
4596
  
3672
 
  return true;
 
4597
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4598
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
4599
  }
 
4600
  
 
4601
  if (!_extensions_.IsInitialized()) return false;  return true;
3673
4602
}
3674
4603
 
3675
4604
const ::google::protobuf::Descriptor* EnumValueOptions::GetDescriptor() const {
3676
4605
  return descriptor();
3677
4606
}
3678
4607
 
3679
 
const ::google::protobuf::Message::Reflection*
3680
 
EnumValueOptions::GetReflection() const {
3681
 
  return &_reflection_;
3682
 
}
3683
 
 
3684
 
::google::protobuf::Message::Reflection* EnumValueOptions::GetReflection() {
3685
 
  return &_reflection_;
 
4608
const ::google::protobuf::Reflection* EnumValueOptions::GetReflection() const {
 
4609
  if (EnumValueOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4610
  return EnumValueOptions_reflection_;
3686
4611
}
3687
4612
 
3688
4613
// ===================================================================
3689
4614
 
3690
 
const ServiceOptions ServiceOptions::default_instance_;
3691
 
 
3692
 
const int ServiceOptions::_offsets_[1] = {
3693
 
};
3694
4615
 
3695
4616
ServiceOptions::ServiceOptions()
3696
 
  : _reflection_(descriptor(),
3697
 
                 this, &default_instance_,
3698
 
                 _offsets_, _has_bits_, NULL),
 
4617
  : ::google::protobuf::Message(),
 
4618
    _extensions_(&ServiceOptions_descriptor_,
 
4619
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4620
                 ::google::protobuf::MessageFactory::generated_factory()),
3699
4621
    _cached_size_(0) {
3700
4622
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3701
 
  if (this == &default_instance_) {
3702
 
  }
3703
4623
}
3704
4624
 
 
4625
void ServiceOptions::InitAsDefaultInstance() {}
 
4626
 
3705
4627
ServiceOptions::ServiceOptions(const ServiceOptions& from)
3706
 
  : _reflection_(descriptor(),
3707
 
                 this, &default_instance_,
3708
 
                 _offsets_, _has_bits_, NULL),
 
4628
  : ::google::protobuf::Message(),
 
4629
    _extensions_(&ServiceOptions_descriptor_,
 
4630
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4631
                 ::google::protobuf::MessageFactory::generated_factory()),
3709
4632
    _cached_size_(0) {
3710
4633
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3711
4634
  MergeFrom(from);
3712
4635
}
3713
4636
 
3714
4637
ServiceOptions::~ServiceOptions() {
3715
 
  if (this != &default_instance_) {
 
4638
  if (this != default_instance_) {
3716
4639
  }
3717
4640
}
3718
4641
 
3719
4642
const ::google::protobuf::Descriptor* ServiceOptions::descriptor() {
3720
 
  if (ServiceOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
4643
  if (ServiceOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3721
4644
  return ServiceOptions_descriptor_;
3722
4645
}
3723
4646
 
 
4647
const ServiceOptions& ServiceOptions::default_instance() {
 
4648
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4649
  return *default_instance_;
 
4650
}
 
4651
 
 
4652
ServiceOptions* ServiceOptions::default_instance_ = NULL;
 
4653
 
3724
4654
ServiceOptions* ServiceOptions::New() const {
3725
4655
  return new ServiceOptions;
3726
4656
}
3727
4657
 
3728
4658
void ServiceOptions::Clear() {
 
4659
  _extensions_.Clear();
 
4660
  uninterpreted_option_.Clear();
3729
4661
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3730
4662
  mutable_unknown_fields()->Clear();
3731
4663
}
3735
4667
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
3736
4668
  ::google::protobuf::uint32 tag;
3737
4669
  while ((tag = input->ReadTag()) != 0) {
3738
 
    if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
3739
 
        ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
3740
 
      return true;
 
4670
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
4671
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4672
      case 999: {
 
4673
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
4674
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
4675
          goto handle_uninterpreted;
 
4676
        }
 
4677
       parse_uninterpreted_option:
 
4678
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
4679
             input, add_uninterpreted_option()));
 
4680
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
4681
        if (input->ExpectAtEnd()) return true;
 
4682
        break;
 
4683
      }
 
4684
      
 
4685
      default: {
 
4686
      handle_uninterpreted:
 
4687
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
4688
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
4689
          return true;
 
4690
        }
 
4691
        if ((8000u <= tag)) {
 
4692
          DO_(_extensions_.ParseField(tag, input, this));
 
4693
          continue;
 
4694
        }
 
4695
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
4696
              input, tag, mutable_unknown_fields()));
 
4697
        break;
 
4698
      }
3741
4699
    }
3742
 
    DO_(::google::protobuf::internal::WireFormat::SkipField(
3743
 
          input, tag, mutable_unknown_fields()));
3744
4700
  }
3745
4701
  return true;
3746
4702
#undef DO_
3749
4705
bool ServiceOptions::SerializeWithCachedSizes(
3750
4706
    ::google::protobuf::io::CodedOutputStream* output) const {
3751
4707
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
4708
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4709
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
4710
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
4711
  }
 
4712
  
 
4713
  // Extension range [1000, 536870912)
 
4714
  DO_(_extensions_.SerializeWithCachedSizes(
 
4715
      1000, 536870912, *this, output));
 
4716
  
3752
4717
  if (!unknown_fields().empty()) {
3753
4718
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3754
4719
        unknown_fields(), output));
3760
4725
int ServiceOptions::ByteSize() const {
3761
4726
  int total_size = 0;
3762
4727
  
 
4728
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4729
  total_size += 2 * uninterpreted_option_size();
 
4730
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4731
    total_size +=
 
4732
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
4733
        this->uninterpreted_option(i));
 
4734
  }
 
4735
  
 
4736
  total_size += _extensions_.ByteSize(*this);
 
4737
  
3763
4738
  if (!unknown_fields().empty()) {
3764
4739
    total_size +=
3765
4740
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3771
4746
 
3772
4747
void ServiceOptions::MergeFrom(const ::google::protobuf::Message& from) {
3773
4748
  GOOGLE_CHECK_NE(&from, this);
 
4749
  const ServiceOptions* source =
 
4750
    ::google::protobuf::internal::dynamic_cast_if_available<const ServiceOptions*>(
 
4751
      &from);
 
4752
  if (source == NULL) {
 
4753
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
4754
  } else {
 
4755
    MergeFrom(*source);
 
4756
  }
3774
4757
}
3775
4758
 
3776
4759
void ServiceOptions::MergeFrom(const ServiceOptions& from) {
3777
4760
  GOOGLE_CHECK_NE(&from, this);
 
4761
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
 
4762
  _extensions_.MergeFrom(from._extensions_);
3778
4763
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
3779
4764
}
3780
4765
 
3790
4775
  MergeFrom(from);
3791
4776
}
3792
4777
 
 
4778
void ServiceOptions::Swap(ServiceOptions* other) {
 
4779
  if (other != this) {
 
4780
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
4781
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
4782
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
4783
    std::swap(_cached_size_, other->_cached_size_);
 
4784
    _extensions_.Swap(&other->_extensions_);
 
4785
  }
 
4786
}
 
4787
 
3793
4788
bool ServiceOptions::IsInitialized() const {
3794
4789
  
3795
 
  return true;
 
4790
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4791
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
4792
  }
 
4793
  
 
4794
  if (!_extensions_.IsInitialized()) return false;  return true;
3796
4795
}
3797
4796
 
3798
4797
const ::google::protobuf::Descriptor* ServiceOptions::GetDescriptor() const {
3799
4798
  return descriptor();
3800
4799
}
3801
4800
 
3802
 
const ::google::protobuf::Message::Reflection*
3803
 
ServiceOptions::GetReflection() const {
3804
 
  return &_reflection_;
3805
 
}
3806
 
 
3807
 
::google::protobuf::Message::Reflection* ServiceOptions::GetReflection() {
3808
 
  return &_reflection_;
 
4801
const ::google::protobuf::Reflection* ServiceOptions::GetReflection() const {
 
4802
  if (ServiceOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4803
  return ServiceOptions_reflection_;
3809
4804
}
3810
4805
 
3811
4806
// ===================================================================
3812
4807
 
3813
 
const MethodOptions MethodOptions::default_instance_;
3814
 
 
3815
 
const int MethodOptions::_offsets_[1] = {
3816
 
};
3817
4808
 
3818
4809
MethodOptions::MethodOptions()
3819
 
  : _reflection_(descriptor(),
3820
 
                 this, &default_instance_,
3821
 
                 _offsets_, _has_bits_, NULL),
 
4810
  : ::google::protobuf::Message(),
 
4811
    _extensions_(&MethodOptions_descriptor_,
 
4812
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4813
                 ::google::protobuf::MessageFactory::generated_factory()),
3822
4814
    _cached_size_(0) {
3823
4815
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3824
 
  if (this == &default_instance_) {
3825
 
  }
3826
4816
}
3827
4817
 
 
4818
void MethodOptions::InitAsDefaultInstance() {}
 
4819
 
3828
4820
MethodOptions::MethodOptions(const MethodOptions& from)
3829
 
  : _reflection_(descriptor(),
3830
 
                 this, &default_instance_,
3831
 
                 _offsets_, _has_bits_, NULL),
 
4821
  : ::google::protobuf::Message(),
 
4822
    _extensions_(&MethodOptions_descriptor_,
 
4823
                 ::google::protobuf::DescriptorPool::generated_pool(),
 
4824
                 ::google::protobuf::MessageFactory::generated_factory()),
3832
4825
    _cached_size_(0) {
3833
4826
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3834
4827
  MergeFrom(from);
3835
4828
}
3836
4829
 
3837
4830
MethodOptions::~MethodOptions() {
3838
 
  if (this != &default_instance_) {
 
4831
  if (this != default_instance_) {
3839
4832
  }
3840
4833
}
3841
4834
 
3842
4835
const ::google::protobuf::Descriptor* MethodOptions::descriptor() {
3843
 
  if (MethodOptions_descriptor_ == NULL) proto_BuildDescriptors_google_2fprotobuf_2fdescriptor_2eproto();
 
4836
  if (MethodOptions_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
3844
4837
  return MethodOptions_descriptor_;
3845
4838
}
3846
4839
 
 
4840
const MethodOptions& MethodOptions::default_instance() {
 
4841
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4842
  return *default_instance_;
 
4843
}
 
4844
 
 
4845
MethodOptions* MethodOptions::default_instance_ = NULL;
 
4846
 
3847
4847
MethodOptions* MethodOptions::New() const {
3848
4848
  return new MethodOptions;
3849
4849
}
3850
4850
 
3851
4851
void MethodOptions::Clear() {
 
4852
  _extensions_.Clear();
 
4853
  uninterpreted_option_.Clear();
3852
4854
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
3853
4855
  mutable_unknown_fields()->Clear();
3854
4856
}
3858
4860
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
3859
4861
  ::google::protobuf::uint32 tag;
3860
4862
  while ((tag = input->ReadTag()) != 0) {
3861
 
    if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
3862
 
        ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
3863
 
      return true;
 
4863
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
4864
      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4865
      case 999: {
 
4866
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
4867
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
4868
          goto handle_uninterpreted;
 
4869
        }
 
4870
       parse_uninterpreted_option:
 
4871
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
4872
             input, add_uninterpreted_option()));
 
4873
        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;
 
4874
        if (input->ExpectAtEnd()) return true;
 
4875
        break;
 
4876
      }
 
4877
      
 
4878
      default: {
 
4879
      handle_uninterpreted:
 
4880
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
4881
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
4882
          return true;
 
4883
        }
 
4884
        if ((8000u <= tag)) {
 
4885
          DO_(_extensions_.ParseField(tag, input, this));
 
4886
          continue;
 
4887
        }
 
4888
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
4889
              input, tag, mutable_unknown_fields()));
 
4890
        break;
 
4891
      }
3864
4892
    }
3865
 
    DO_(::google::protobuf::internal::WireFormat::SkipField(
3866
 
          input, tag, mutable_unknown_fields()));
3867
4893
  }
3868
4894
  return true;
3869
4895
#undef DO_
3872
4898
bool MethodOptions::SerializeWithCachedSizes(
3873
4899
    ::google::protobuf::io::CodedOutputStream* output) const {
3874
4900
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
4901
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4902
  for (int i = 0; i < uninterpreted_option_.size(); i++) {
 
4903
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(999, this->uninterpreted_option(i), output));
 
4904
  }
 
4905
  
 
4906
  // Extension range [1000, 536870912)
 
4907
  DO_(_extensions_.SerializeWithCachedSizes(
 
4908
      1000, 536870912, *this, output));
 
4909
  
3875
4910
  if (!unknown_fields().empty()) {
3876
4911
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3877
4912
        unknown_fields(), output));
3883
4918
int MethodOptions::ByteSize() const {
3884
4919
  int total_size = 0;
3885
4920
  
 
4921
  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
4922
  total_size += 2 * uninterpreted_option_size();
 
4923
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4924
    total_size +=
 
4925
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
4926
        this->uninterpreted_option(i));
 
4927
  }
 
4928
  
 
4929
  total_size += _extensions_.ByteSize(*this);
 
4930
  
3886
4931
  if (!unknown_fields().empty()) {
3887
4932
    total_size +=
3888
4933
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3894
4939
 
3895
4940
void MethodOptions::MergeFrom(const ::google::protobuf::Message& from) {
3896
4941
  GOOGLE_CHECK_NE(&from, this);
 
4942
  const MethodOptions* source =
 
4943
    ::google::protobuf::internal::dynamic_cast_if_available<const MethodOptions*>(
 
4944
      &from);
 
4945
  if (source == NULL) {
 
4946
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
4947
  } else {
 
4948
    MergeFrom(*source);
 
4949
  }
3897
4950
}
3898
4951
 
3899
4952
void MethodOptions::MergeFrom(const MethodOptions& from) {
3900
4953
  GOOGLE_CHECK_NE(&from, this);
 
4954
  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
 
4955
  _extensions_.MergeFrom(from._extensions_);
3901
4956
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
3902
4957
}
3903
4958
 
3913
4968
  MergeFrom(from);
3914
4969
}
3915
4970
 
 
4971
void MethodOptions::Swap(MethodOptions* other) {
 
4972
  if (other != this) {
 
4973
    uninterpreted_option_.Swap(&other->uninterpreted_option_);
 
4974
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
4975
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
4976
    std::swap(_cached_size_, other->_cached_size_);
 
4977
    _extensions_.Swap(&other->_extensions_);
 
4978
  }
 
4979
}
 
4980
 
3916
4981
bool MethodOptions::IsInitialized() const {
3917
4982
  
3918
 
  return true;
 
4983
  for (int i = 0; i < uninterpreted_option_size(); i++) {
 
4984
    if (!this->uninterpreted_option(i).IsInitialized()) return false;
 
4985
  }
 
4986
  
 
4987
  if (!_extensions_.IsInitialized()) return false;  return true;
3919
4988
}
3920
4989
 
3921
4990
const ::google::protobuf::Descriptor* MethodOptions::GetDescriptor() const {
3922
4991
  return descriptor();
3923
4992
}
3924
4993
 
3925
 
const ::google::protobuf::Message::Reflection*
3926
 
MethodOptions::GetReflection() const {
3927
 
  return &_reflection_;
3928
 
}
3929
 
 
3930
 
::google::protobuf::Message::Reflection* MethodOptions::GetReflection() {
3931
 
  return &_reflection_;
 
4994
const ::google::protobuf::Reflection* MethodOptions::GetReflection() const {
 
4995
  if (MethodOptions_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
4996
  return MethodOptions_reflection_;
 
4997
}
 
4998
 
 
4999
// ===================================================================
 
5000
 
 
5001
const ::std::string UninterpretedOption_NamePart::_default_name_part_;
 
5002
 
 
5003
UninterpretedOption_NamePart::UninterpretedOption_NamePart()
 
5004
  : ::google::protobuf::Message(),
 
5005
    _cached_size_(0),
 
5006
    name_part_(const_cast< ::std::string*>(&_default_name_part_)),
 
5007
    is_extension_(false) {
 
5008
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
5009
}
 
5010
 
 
5011
void UninterpretedOption_NamePart::InitAsDefaultInstance() {}
 
5012
 
 
5013
UninterpretedOption_NamePart::UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from)
 
5014
  : ::google::protobuf::Message(),
 
5015
    _cached_size_(0),
 
5016
    name_part_(const_cast< ::std::string*>(&_default_name_part_)),
 
5017
    is_extension_(false) {
 
5018
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
5019
  MergeFrom(from);
 
5020
}
 
5021
 
 
5022
UninterpretedOption_NamePart::~UninterpretedOption_NamePart() {
 
5023
  if (name_part_ != &_default_name_part_) {
 
5024
    delete name_part_;
 
5025
  }
 
5026
  if (this != default_instance_) {
 
5027
  }
 
5028
}
 
5029
 
 
5030
const ::google::protobuf::Descriptor* UninterpretedOption_NamePart::descriptor() {
 
5031
  if (UninterpretedOption_NamePart_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
5032
  return UninterpretedOption_NamePart_descriptor_;
 
5033
}
 
5034
 
 
5035
const UninterpretedOption_NamePart& UninterpretedOption_NamePart::default_instance() {
 
5036
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
5037
  return *default_instance_;
 
5038
}
 
5039
 
 
5040
UninterpretedOption_NamePart* UninterpretedOption_NamePart::default_instance_ = NULL;
 
5041
 
 
5042
UninterpretedOption_NamePart* UninterpretedOption_NamePart::New() const {
 
5043
  return new UninterpretedOption_NamePart;
 
5044
}
 
5045
 
 
5046
void UninterpretedOption_NamePart::Clear() {
 
5047
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
 
5048
    if (_has_bit(0)) {
 
5049
      if (name_part_ != &_default_name_part_) {
 
5050
        name_part_->clear();
 
5051
      }
 
5052
    }
 
5053
    is_extension_ = false;
 
5054
  }
 
5055
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
5056
  mutable_unknown_fields()->Clear();
 
5057
}
 
5058
 
 
5059
bool UninterpretedOption_NamePart::MergePartialFromCodedStream(
 
5060
    ::google::protobuf::io::CodedInputStream* input) {
 
5061
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
5062
  ::google::protobuf::uint32 tag;
 
5063
  while ((tag = input->ReadTag()) != 0) {
 
5064
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
5065
      // required string name_part = 1;
 
5066
      case 1: {
 
5067
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5068
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
5069
          goto handle_uninterpreted;
 
5070
        }
 
5071
        DO_(::google::protobuf::internal::WireFormat::ReadString(input, mutable_name_part()));
 
5072
        if (input->ExpectTag(16)) goto parse_is_extension;
 
5073
        break;
 
5074
      }
 
5075
      
 
5076
      // required bool is_extension = 2;
 
5077
      case 2: {
 
5078
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5079
            ::google::protobuf::internal::WireFormat::WIRETYPE_VARINT) {
 
5080
          goto handle_uninterpreted;
 
5081
        }
 
5082
       parse_is_extension:
 
5083
        DO_(::google::protobuf::internal::WireFormat::ReadBool(
 
5084
              input, &is_extension_));
 
5085
        _set_bit(1);
 
5086
        if (input->ExpectAtEnd()) return true;
 
5087
        break;
 
5088
      }
 
5089
      
 
5090
      default: {
 
5091
      handle_uninterpreted:
 
5092
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
5093
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
5094
          return true;
 
5095
        }
 
5096
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
5097
              input, tag, mutable_unknown_fields()));
 
5098
        break;
 
5099
      }
 
5100
    }
 
5101
  }
 
5102
  return true;
 
5103
#undef DO_
 
5104
}
 
5105
 
 
5106
bool UninterpretedOption_NamePart::SerializeWithCachedSizes(
 
5107
    ::google::protobuf::io::CodedOutputStream* output) const {
 
5108
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
5109
  // required string name_part = 1;
 
5110
  if (_has_bit(0)) {
 
5111
    DO_(::google::protobuf::internal::WireFormat::WriteString(1, this->name_part(), output));
 
5112
  }
 
5113
  
 
5114
  // required bool is_extension = 2;
 
5115
  if (_has_bit(1)) {
 
5116
    DO_(::google::protobuf::internal::WireFormat::WriteBool(2, this->is_extension(), output));
 
5117
  }
 
5118
  
 
5119
  if (!unknown_fields().empty()) {
 
5120
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
 
5121
        unknown_fields(), output));
 
5122
  }
 
5123
  return true;
 
5124
#undef DO_
 
5125
}
 
5126
 
 
5127
int UninterpretedOption_NamePart::ByteSize() const {
 
5128
  int total_size = 0;
 
5129
  
 
5130
  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
 
5131
    // required string name_part = 1;
 
5132
    if (has_name_part()) {
 
5133
      total_size += 1 +
 
5134
        ::google::protobuf::internal::WireFormat::StringSize(this->name_part());
 
5135
    }
 
5136
    
 
5137
    // required bool is_extension = 2;
 
5138
    if (has_is_extension()) {
 
5139
      total_size += 1 + 1;
 
5140
    }
 
5141
    
 
5142
  }
 
5143
  if (!unknown_fields().empty()) {
 
5144
    total_size +=
 
5145
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
 
5146
        unknown_fields());
 
5147
  }
 
5148
  _cached_size_ = total_size;
 
5149
  return total_size;
 
5150
}
 
5151
 
 
5152
void UninterpretedOption_NamePart::MergeFrom(const ::google::protobuf::Message& from) {
 
5153
  GOOGLE_CHECK_NE(&from, this);
 
5154
  const UninterpretedOption_NamePart* source =
 
5155
    ::google::protobuf::internal::dynamic_cast_if_available<const UninterpretedOption_NamePart*>(
 
5156
      &from);
 
5157
  if (source == NULL) {
 
5158
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
5159
  } else {
 
5160
    MergeFrom(*source);
 
5161
  }
 
5162
}
 
5163
 
 
5164
void UninterpretedOption_NamePart::MergeFrom(const UninterpretedOption_NamePart& from) {
 
5165
  GOOGLE_CHECK_NE(&from, this);
 
5166
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
 
5167
    if (from._has_bit(0)) {
 
5168
      set_name_part(from.name_part());
 
5169
    }
 
5170
    if (from._has_bit(1)) {
 
5171
      set_is_extension(from.is_extension());
 
5172
    }
 
5173
  }
 
5174
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
 
5175
}
 
5176
 
 
5177
void UninterpretedOption_NamePart::CopyFrom(const ::google::protobuf::Message& from) {
 
5178
  if (&from == this) return;
 
5179
  Clear();
 
5180
  MergeFrom(from);
 
5181
}
 
5182
 
 
5183
void UninterpretedOption_NamePart::CopyFrom(const UninterpretedOption_NamePart& from) {
 
5184
  if (&from == this) return;
 
5185
  Clear();
 
5186
  MergeFrom(from);
 
5187
}
 
5188
 
 
5189
void UninterpretedOption_NamePart::Swap(UninterpretedOption_NamePart* other) {
 
5190
  if (other != this) {
 
5191
    std::swap(name_part_, other->name_part_);
 
5192
    std::swap(is_extension_, other->is_extension_);
 
5193
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
5194
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
5195
    std::swap(_cached_size_, other->_cached_size_);
 
5196
  }
 
5197
}
 
5198
 
 
5199
bool UninterpretedOption_NamePart::IsInitialized() const {
 
5200
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
 
5201
  
 
5202
  return true;
 
5203
}
 
5204
 
 
5205
const ::google::protobuf::Descriptor* UninterpretedOption_NamePart::GetDescriptor() const {
 
5206
  return descriptor();
 
5207
}
 
5208
 
 
5209
const ::google::protobuf::Reflection* UninterpretedOption_NamePart::GetReflection() const {
 
5210
  if (UninterpretedOption_NamePart_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
5211
  return UninterpretedOption_NamePart_reflection_;
 
5212
}
 
5213
 
 
5214
// -------------------------------------------------------------------
 
5215
 
 
5216
 
 
5217
const ::std::string UninterpretedOption::_default_identifier_value_;
 
5218
 
 
5219
 
 
5220
 
 
5221
const ::std::string UninterpretedOption::_default_string_value_;
 
5222
UninterpretedOption::UninterpretedOption()
 
5223
  : ::google::protobuf::Message(),
 
5224
    _cached_size_(0),
 
5225
    identifier_value_(const_cast< ::std::string*>(&_default_identifier_value_)),
 
5226
    positive_int_value_(GOOGLE_ULONGLONG(0)),
 
5227
    negative_int_value_(GOOGLE_LONGLONG(0)),
 
5228
    double_value_(0),
 
5229
    string_value_(const_cast< ::std::string*>(&_default_string_value_)) {
 
5230
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
5231
}
 
5232
 
 
5233
void UninterpretedOption::InitAsDefaultInstance() {}
 
5234
 
 
5235
UninterpretedOption::UninterpretedOption(const UninterpretedOption& from)
 
5236
  : ::google::protobuf::Message(),
 
5237
    _cached_size_(0),
 
5238
    identifier_value_(const_cast< ::std::string*>(&_default_identifier_value_)),
 
5239
    positive_int_value_(GOOGLE_ULONGLONG(0)),
 
5240
    negative_int_value_(GOOGLE_LONGLONG(0)),
 
5241
    double_value_(0),
 
5242
    string_value_(const_cast< ::std::string*>(&_default_string_value_)) {
 
5243
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
5244
  MergeFrom(from);
 
5245
}
 
5246
 
 
5247
UninterpretedOption::~UninterpretedOption() {
 
5248
  if (identifier_value_ != &_default_identifier_value_) {
 
5249
    delete identifier_value_;
 
5250
  }
 
5251
  if (string_value_ != &_default_string_value_) {
 
5252
    delete string_value_;
 
5253
  }
 
5254
  if (this != default_instance_) {
 
5255
  }
 
5256
}
 
5257
 
 
5258
const ::google::protobuf::Descriptor* UninterpretedOption::descriptor() {
 
5259
  if (UninterpretedOption_descriptor_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
5260
  return UninterpretedOption_descriptor_;
 
5261
}
 
5262
 
 
5263
const UninterpretedOption& UninterpretedOption::default_instance() {
 
5264
  if (default_instance_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
5265
  return *default_instance_;
 
5266
}
 
5267
 
 
5268
UninterpretedOption* UninterpretedOption::default_instance_ = NULL;
 
5269
 
 
5270
UninterpretedOption* UninterpretedOption::New() const {
 
5271
  return new UninterpretedOption;
 
5272
}
 
5273
 
 
5274
void UninterpretedOption::Clear() {
 
5275
  if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
 
5276
    if (_has_bit(1)) {
 
5277
      if (identifier_value_ != &_default_identifier_value_) {
 
5278
        identifier_value_->clear();
 
5279
      }
 
5280
    }
 
5281
    positive_int_value_ = GOOGLE_ULONGLONG(0);
 
5282
    negative_int_value_ = GOOGLE_LONGLONG(0);
 
5283
    double_value_ = 0;
 
5284
    if (_has_bit(5)) {
 
5285
      if (string_value_ != &_default_string_value_) {
 
5286
        string_value_->clear();
 
5287
      }
 
5288
    }
 
5289
  }
 
5290
  name_.Clear();
 
5291
  ::memset(_has_bits_, 0, sizeof(_has_bits_));
 
5292
  mutable_unknown_fields()->Clear();
 
5293
}
 
5294
 
 
5295
bool UninterpretedOption::MergePartialFromCodedStream(
 
5296
    ::google::protobuf::io::CodedInputStream* input) {
 
5297
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
5298
  ::google::protobuf::uint32 tag;
 
5299
  while ((tag = input->ReadTag()) != 0) {
 
5300
    switch (::google::protobuf::internal::WireFormat::GetTagFieldNumber(tag)) {
 
5301
      // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
 
5302
      case 2: {
 
5303
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5304
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
5305
          goto handle_uninterpreted;
 
5306
        }
 
5307
       parse_name:
 
5308
        DO_(::google::protobuf::internal::WireFormat::ReadMessageNoVirtual(
 
5309
             input, add_name()));
 
5310
        if (input->ExpectTag(18)) goto parse_name;
 
5311
        if (input->ExpectTag(26)) goto parse_identifier_value;
 
5312
        break;
 
5313
      }
 
5314
      
 
5315
      // optional string identifier_value = 3;
 
5316
      case 3: {
 
5317
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5318
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
5319
          goto handle_uninterpreted;
 
5320
        }
 
5321
       parse_identifier_value:
 
5322
        DO_(::google::protobuf::internal::WireFormat::ReadString(input, mutable_identifier_value()));
 
5323
        if (input->ExpectTag(32)) goto parse_positive_int_value;
 
5324
        break;
 
5325
      }
 
5326
      
 
5327
      // optional uint64 positive_int_value = 4;
 
5328
      case 4: {
 
5329
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5330
            ::google::protobuf::internal::WireFormat::WIRETYPE_VARINT) {
 
5331
          goto handle_uninterpreted;
 
5332
        }
 
5333
       parse_positive_int_value:
 
5334
        DO_(::google::protobuf::internal::WireFormat::ReadUInt64(
 
5335
              input, &positive_int_value_));
 
5336
        _set_bit(2);
 
5337
        if (input->ExpectTag(40)) goto parse_negative_int_value;
 
5338
        break;
 
5339
      }
 
5340
      
 
5341
      // optional int64 negative_int_value = 5;
 
5342
      case 5: {
 
5343
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5344
            ::google::protobuf::internal::WireFormat::WIRETYPE_VARINT) {
 
5345
          goto handle_uninterpreted;
 
5346
        }
 
5347
       parse_negative_int_value:
 
5348
        DO_(::google::protobuf::internal::WireFormat::ReadInt64(
 
5349
              input, &negative_int_value_));
 
5350
        _set_bit(3);
 
5351
        if (input->ExpectTag(49)) goto parse_double_value;
 
5352
        break;
 
5353
      }
 
5354
      
 
5355
      // optional double double_value = 6;
 
5356
      case 6: {
 
5357
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5358
            ::google::protobuf::internal::WireFormat::WIRETYPE_FIXED64) {
 
5359
          goto handle_uninterpreted;
 
5360
        }
 
5361
       parse_double_value:
 
5362
        DO_(::google::protobuf::internal::WireFormat::ReadDouble(
 
5363
              input, &double_value_));
 
5364
        _set_bit(4);
 
5365
        if (input->ExpectTag(58)) goto parse_string_value;
 
5366
        break;
 
5367
      }
 
5368
      
 
5369
      // optional bytes string_value = 7;
 
5370
      case 7: {
 
5371
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) !=
 
5372
            ::google::protobuf::internal::WireFormat::WIRETYPE_LENGTH_DELIMITED) {
 
5373
          goto handle_uninterpreted;
 
5374
        }
 
5375
       parse_string_value:
 
5376
        DO_(::google::protobuf::internal::WireFormat::ReadBytes(input, mutable_string_value()));
 
5377
        if (input->ExpectAtEnd()) return true;
 
5378
        break;
 
5379
      }
 
5380
      
 
5381
      default: {
 
5382
      handle_uninterpreted:
 
5383
        if (::google::protobuf::internal::WireFormat::GetTagWireType(tag) ==
 
5384
            ::google::protobuf::internal::WireFormat::WIRETYPE_END_GROUP) {
 
5385
          return true;
 
5386
        }
 
5387
        DO_(::google::protobuf::internal::WireFormat::SkipField(
 
5388
              input, tag, mutable_unknown_fields()));
 
5389
        break;
 
5390
      }
 
5391
    }
 
5392
  }
 
5393
  return true;
 
5394
#undef DO_
 
5395
}
 
5396
 
 
5397
bool UninterpretedOption::SerializeWithCachedSizes(
 
5398
    ::google::protobuf::io::CodedOutputStream* output) const {
 
5399
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
 
5400
  // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
 
5401
  for (int i = 0; i < name_.size(); i++) {
 
5402
    DO_(::google::protobuf::internal::WireFormat::WriteMessageNoVirtual(2, this->name(i), output));
 
5403
  }
 
5404
  
 
5405
  // optional string identifier_value = 3;
 
5406
  if (_has_bit(1)) {
 
5407
    DO_(::google::protobuf::internal::WireFormat::WriteString(3, this->identifier_value(), output));
 
5408
  }
 
5409
  
 
5410
  // optional uint64 positive_int_value = 4;
 
5411
  if (_has_bit(2)) {
 
5412
    DO_(::google::protobuf::internal::WireFormat::WriteUInt64(4, this->positive_int_value(), output));
 
5413
  }
 
5414
  
 
5415
  // optional int64 negative_int_value = 5;
 
5416
  if (_has_bit(3)) {
 
5417
    DO_(::google::protobuf::internal::WireFormat::WriteInt64(5, this->negative_int_value(), output));
 
5418
  }
 
5419
  
 
5420
  // optional double double_value = 6;
 
5421
  if (_has_bit(4)) {
 
5422
    DO_(::google::protobuf::internal::WireFormat::WriteDouble(6, this->double_value(), output));
 
5423
  }
 
5424
  
 
5425
  // optional bytes string_value = 7;
 
5426
  if (_has_bit(5)) {
 
5427
    DO_(::google::protobuf::internal::WireFormat::WriteBytes(7, this->string_value(), output));
 
5428
  }
 
5429
  
 
5430
  if (!unknown_fields().empty()) {
 
5431
    DO_(::google::protobuf::internal::WireFormat::SerializeUnknownFields(
 
5432
        unknown_fields(), output));
 
5433
  }
 
5434
  return true;
 
5435
#undef DO_
 
5436
}
 
5437
 
 
5438
int UninterpretedOption::ByteSize() const {
 
5439
  int total_size = 0;
 
5440
  
 
5441
  if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
 
5442
    // optional string identifier_value = 3;
 
5443
    if (has_identifier_value()) {
 
5444
      total_size += 1 +
 
5445
        ::google::protobuf::internal::WireFormat::StringSize(this->identifier_value());
 
5446
    }
 
5447
    
 
5448
    // optional uint64 positive_int_value = 4;
 
5449
    if (has_positive_int_value()) {
 
5450
      total_size += 1 +
 
5451
        ::google::protobuf::internal::WireFormat::UInt64Size(
 
5452
          this->positive_int_value());
 
5453
    }
 
5454
    
 
5455
    // optional int64 negative_int_value = 5;
 
5456
    if (has_negative_int_value()) {
 
5457
      total_size += 1 +
 
5458
        ::google::protobuf::internal::WireFormat::Int64Size(
 
5459
          this->negative_int_value());
 
5460
    }
 
5461
    
 
5462
    // optional double double_value = 6;
 
5463
    if (has_double_value()) {
 
5464
      total_size += 1 + 8;
 
5465
    }
 
5466
    
 
5467
    // optional bytes string_value = 7;
 
5468
    if (has_string_value()) {
 
5469
      total_size += 1 +
 
5470
        ::google::protobuf::internal::WireFormat::BytesSize(this->string_value());
 
5471
    }
 
5472
    
 
5473
  }
 
5474
  // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
 
5475
  total_size += 1 * name_size();
 
5476
  for (int i = 0; i < name_size(); i++) {
 
5477
    total_size +=
 
5478
      ::google::protobuf::internal::WireFormat::MessageSizeNoVirtual(
 
5479
        this->name(i));
 
5480
  }
 
5481
  
 
5482
  if (!unknown_fields().empty()) {
 
5483
    total_size +=
 
5484
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
 
5485
        unknown_fields());
 
5486
  }
 
5487
  _cached_size_ = total_size;
 
5488
  return total_size;
 
5489
}
 
5490
 
 
5491
void UninterpretedOption::MergeFrom(const ::google::protobuf::Message& from) {
 
5492
  GOOGLE_CHECK_NE(&from, this);
 
5493
  const UninterpretedOption* source =
 
5494
    ::google::protobuf::internal::dynamic_cast_if_available<const UninterpretedOption*>(
 
5495
      &from);
 
5496
  if (source == NULL) {
 
5497
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
 
5498
  } else {
 
5499
    MergeFrom(*source);
 
5500
  }
 
5501
}
 
5502
 
 
5503
void UninterpretedOption::MergeFrom(const UninterpretedOption& from) {
 
5504
  GOOGLE_CHECK_NE(&from, this);
 
5505
  name_.MergeFrom(from.name_);
 
5506
  if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {
 
5507
    if (from._has_bit(1)) {
 
5508
      set_identifier_value(from.identifier_value());
 
5509
    }
 
5510
    if (from._has_bit(2)) {
 
5511
      set_positive_int_value(from.positive_int_value());
 
5512
    }
 
5513
    if (from._has_bit(3)) {
 
5514
      set_negative_int_value(from.negative_int_value());
 
5515
    }
 
5516
    if (from._has_bit(4)) {
 
5517
      set_double_value(from.double_value());
 
5518
    }
 
5519
    if (from._has_bit(5)) {
 
5520
      set_string_value(from.string_value());
 
5521
    }
 
5522
  }
 
5523
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
 
5524
}
 
5525
 
 
5526
void UninterpretedOption::CopyFrom(const ::google::protobuf::Message& from) {
 
5527
  if (&from == this) return;
 
5528
  Clear();
 
5529
  MergeFrom(from);
 
5530
}
 
5531
 
 
5532
void UninterpretedOption::CopyFrom(const UninterpretedOption& from) {
 
5533
  if (&from == this) return;
 
5534
  Clear();
 
5535
  MergeFrom(from);
 
5536
}
 
5537
 
 
5538
void UninterpretedOption::Swap(UninterpretedOption* other) {
 
5539
  if (other != this) {
 
5540
    name_.Swap(&other->name_);
 
5541
    std::swap(identifier_value_, other->identifier_value_);
 
5542
    std::swap(positive_int_value_, other->positive_int_value_);
 
5543
    std::swap(negative_int_value_, other->negative_int_value_);
 
5544
    std::swap(double_value_, other->double_value_);
 
5545
    std::swap(string_value_, other->string_value_);
 
5546
    std::swap(_has_bits_[0], other->_has_bits_[0]);
 
5547
    _unknown_fields_.Swap(&other->_unknown_fields_);
 
5548
    std::swap(_cached_size_, other->_cached_size_);
 
5549
  }
 
5550
}
 
5551
 
 
5552
bool UninterpretedOption::IsInitialized() const {
 
5553
  
 
5554
  for (int i = 0; i < name_size(); i++) {
 
5555
    if (!this->name(i).IsInitialized()) return false;
 
5556
  }
 
5557
  return true;
 
5558
}
 
5559
 
 
5560
const ::google::protobuf::Descriptor* UninterpretedOption::GetDescriptor() const {
 
5561
  return descriptor();
 
5562
}
 
5563
 
 
5564
const ::google::protobuf::Reflection* UninterpretedOption::GetReflection() const {
 
5565
  if (UninterpretedOption_reflection_ == NULL) protobuf_BuildDesc_google_2fprotobuf_2fdescriptor_2eproto();
 
5566
  return UninterpretedOption_reflection_;
3932
5567
}
3933
5568
 
3934
5569
}  // namespace protobuf