DCCL v3
test.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: dccl/test/dccl_all_fields/test.proto
3 
4 #ifndef PROTOBUF_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto__INCLUDED
5 #define PROTOBUF_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "dccl/option_extensions.pb.h"
29 #include <boost/units/quantity.hpp>
30 #include <boost/units/absolute.hpp>
31 #include <boost/units/dimensionless_type.hpp>
32 #include <boost/units/make_scaled_unit.hpp>
33 // @@protoc_insertion_point(includes)
34 
35 namespace dccl {
36 namespace test {
37 
38 // Internal implementation detail -- do not call these.
39 void protobuf_AddDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
40 void protobuf_AssignDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
41 void protobuf_ShutdownFile_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
42 
43 class EmbeddedMsg1;
44 class EmbeddedMsg2;
45 class TestMsg;
46 
47 enum Enum1 {
48  ENUM_A = 1,
49  ENUM_B = 2,
50  ENUM_C = 3
51 };
52 bool Enum1_IsValid(int value);
53 const Enum1 Enum1_MIN = ENUM_A;
54 const Enum1 Enum1_MAX = ENUM_C;
55 const int Enum1_ARRAYSIZE = Enum1_MAX + 1;
56 
57 const ::google::protobuf::EnumDescriptor* Enum1_descriptor();
58 inline const ::std::string& Enum1_Name(Enum1 value) {
59  return ::google::protobuf::internal::NameOfEnum(
60  Enum1_descriptor(), value);
61 }
62 inline bool Enum1_Parse(
63  const ::std::string& name, Enum1* value) {
64  return ::google::protobuf::internal::ParseNamedEnum<Enum1>(
65  Enum1_descriptor(), name, value);
66 }
67 // ===================================================================
68 
69 class EmbeddedMsg1 : public ::google::protobuf::Message {
70  public:
71  EmbeddedMsg1();
72  virtual ~EmbeddedMsg1();
73 
74  EmbeddedMsg1(const EmbeddedMsg1& from);
75 
76  inline EmbeddedMsg1& operator=(const EmbeddedMsg1& from) {
77  CopyFrom(from);
78  return *this;
79  }
80 
81  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
82  return _unknown_fields_;
83  }
84 
85  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
86  return &_unknown_fields_;
87  }
88 
89  static const ::google::protobuf::Descriptor* descriptor();
90  static const EmbeddedMsg1& default_instance();
91 
92  void Swap(EmbeddedMsg1* other);
93 
94  // implements Message ----------------------------------------------
95 
96  EmbeddedMsg1* New() const;
97  void CopyFrom(const ::google::protobuf::Message& from);
98  void MergeFrom(const ::google::protobuf::Message& from);
99  void CopyFrom(const EmbeddedMsg1& from);
100  void MergeFrom(const EmbeddedMsg1& from);
101  void Clear();
102  bool IsInitialized() const;
103 
104  int ByteSize() const;
105  bool MergePartialFromCodedStream(
106  ::google::protobuf::io::CodedInputStream* input);
107  void SerializeWithCachedSizes(
108  ::google::protobuf::io::CodedOutputStream* output) const;
109  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
110  int GetCachedSize() const { return _cached_size_; }
111  private:
112  void SharedCtor();
113  void SharedDtor();
114  void SetCachedSize(int size) const;
115  public:
116  ::google::protobuf::Metadata GetMetadata() const;
117 
118  // nested types ----------------------------------------------------
119 
120  // accessors -------------------------------------------------------
121 
122  // optional double val = 1;
123  inline bool has_val() const;
124  inline void clear_val();
125  static const int kValFieldNumber = 1;
126  inline double val() const;
127  inline void set_val(double value);
128 
129  // optional .dccl.test.EmbeddedMsg2 msg = 2;
130  inline bool has_msg() const;
131  inline void clear_msg();
132  static const int kMsgFieldNumber = 2;
133  inline const ::dccl::test::EmbeddedMsg2& msg() const;
134  inline ::dccl::test::EmbeddedMsg2* mutable_msg();
135  inline ::dccl::test::EmbeddedMsg2* release_msg();
136  inline void set_allocated_msg(::dccl::test::EmbeddedMsg2* msg);
137 
138  // @@protoc_insertion_point(class_scope:dccl.test.EmbeddedMsg1)
139  private:
140  inline void set_has_val();
141  inline void clear_has_val();
142  inline void set_has_msg();
143  inline void clear_has_msg();
144 
145  ::google::protobuf::UnknownFieldSet _unknown_fields_;
146 
147  ::google::protobuf::uint32 _has_bits_[1];
148  mutable int _cached_size_;
149  double val_;
151  friend void protobuf_AddDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
152  friend void protobuf_AssignDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
153  friend void protobuf_ShutdownFile_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
154 
155  void InitAsDefaultInstance();
156  static EmbeddedMsg1* default_instance_;
157 };
158 // -------------------------------------------------------------------
159 
160 class EmbeddedMsg2 : public ::google::protobuf::Message {
161  public:
162  EmbeddedMsg2();
163  virtual ~EmbeddedMsg2();
164 
165  EmbeddedMsg2(const EmbeddedMsg2& from);
166 
167  inline EmbeddedMsg2& operator=(const EmbeddedMsg2& from) {
168  CopyFrom(from);
169  return *this;
170  }
171 
172  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
173  return _unknown_fields_;
174  }
175 
176  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177  return &_unknown_fields_;
178  }
179 
180  static const ::google::protobuf::Descriptor* descriptor();
181  static const EmbeddedMsg2& default_instance();
182 
183  void Swap(EmbeddedMsg2* other);
184 
185  // implements Message ----------------------------------------------
186 
187  EmbeddedMsg2* New() const;
188  void CopyFrom(const ::google::protobuf::Message& from);
189  void MergeFrom(const ::google::protobuf::Message& from);
190  void CopyFrom(const EmbeddedMsg2& from);
191  void MergeFrom(const EmbeddedMsg2& from);
192  void Clear();
193  bool IsInitialized() const;
194 
195  int ByteSize() const;
196  bool MergePartialFromCodedStream(
197  ::google::protobuf::io::CodedInputStream* input);
198  void SerializeWithCachedSizes(
199  ::google::protobuf::io::CodedOutputStream* output) const;
200  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
201  int GetCachedSize() const { return _cached_size_; }
202  private:
203  void SharedCtor();
204  void SharedDtor();
205  void SetCachedSize(int size) const;
206  public:
207  ::google::protobuf::Metadata GetMetadata() const;
208 
209  // nested types ----------------------------------------------------
210 
211  // accessors -------------------------------------------------------
212 
213  // optional double val = 1;
214  inline bool has_val() const;
215  inline void clear_val();
216  static const int kValFieldNumber = 1;
217  inline double val() const;
218  inline void set_val(double value);
219 
220  // optional string sval = 2;
221  inline bool has_sval() const;
222  inline void clear_sval();
223  static const int kSvalFieldNumber = 2;
224  inline const ::std::string& sval() const;
225  inline void set_sval(const ::std::string& value);
226  inline void set_sval(const char* value);
227  inline void set_sval(const char* value, size_t size);
228  inline ::std::string* mutable_sval();
229  inline ::std::string* release_sval();
230  inline void set_allocated_sval(::std::string* sval);
231 
232  // optional .dccl.test.Enum1 enum_default = 3;
233  inline bool has_enum_default() const;
234  inline void clear_enum_default();
235  static const int kEnumDefaultFieldNumber = 3;
236  inline ::dccl::test::Enum1 enum_default() const;
237  inline void set_enum_default(::dccl::test::Enum1 value);
238 
239  // @@protoc_insertion_point(class_scope:dccl.test.EmbeddedMsg2)
240  private:
241  inline void set_has_val();
242  inline void clear_has_val();
243  inline void set_has_sval();
244  inline void clear_has_sval();
245  inline void set_has_enum_default();
246  inline void clear_has_enum_default();
247 
248  ::google::protobuf::UnknownFieldSet _unknown_fields_;
249 
250  ::google::protobuf::uint32 _has_bits_[1];
251  mutable int _cached_size_;
252  double val_;
253  ::std::string* sval_;
254  int enum_default_;
255  friend void protobuf_AddDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
256  friend void protobuf_AssignDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
257  friend void protobuf_ShutdownFile_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
258 
259  void InitAsDefaultInstance();
260  static EmbeddedMsg2* default_instance_;
261 };
262 // -------------------------------------------------------------------
263 
264 class TestMsg : public ::google::protobuf::Message {
265  public:
266  TestMsg();
267  virtual ~TestMsg();
268 
269  TestMsg(const TestMsg& from);
270 
271  inline TestMsg& operator=(const TestMsg& from) {
272  CopyFrom(from);
273  return *this;
274  }
275 
276  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
277  return _unknown_fields_;
278  }
279 
280  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
281  return &_unknown_fields_;
282  }
283 
284  static const ::google::protobuf::Descriptor* descriptor();
285  static const TestMsg& default_instance();
286 
287  void Swap(TestMsg* other);
288 
289  // implements Message ----------------------------------------------
290 
291  TestMsg* New() const;
292  void CopyFrom(const ::google::protobuf::Message& from);
293  void MergeFrom(const ::google::protobuf::Message& from);
294  void CopyFrom(const TestMsg& from);
295  void MergeFrom(const TestMsg& from);
296  void Clear();
297  bool IsInitialized() const;
298 
299  int ByteSize() const;
300  bool MergePartialFromCodedStream(
301  ::google::protobuf::io::CodedInputStream* input);
302  void SerializeWithCachedSizes(
303  ::google::protobuf::io::CodedOutputStream* output) const;
304  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
305  int GetCachedSize() const { return _cached_size_; }
306  private:
307  void SharedCtor();
308  void SharedDtor();
309  void SetCachedSize(int size) const;
310  public:
311  ::google::protobuf::Metadata GetMetadata() const;
312 
313  // nested types ----------------------------------------------------
314 
315  // accessors -------------------------------------------------------
316 
317  // optional double double_default_optional = 1;
318  inline bool has_double_default_optional() const;
319  inline void clear_double_default_optional();
320  static const int kDoubleDefaultOptionalFieldNumber = 1;
321  inline double double_default_optional() const;
322  inline void set_double_default_optional(double value);
323 
324  // optional float float_default_optional = 2;
325  inline bool has_float_default_optional() const;
326  inline void clear_float_default_optional();
327  static const int kFloatDefaultOptionalFieldNumber = 2;
328  inline float float_default_optional() const;
329  inline void set_float_default_optional(float value);
330 
331  // optional int32 int32_default_optional = 3;
332  inline bool has_int32_default_optional() const;
333  inline void clear_int32_default_optional();
334  static const int kInt32DefaultOptionalFieldNumber = 3;
335  inline ::google::protobuf::int32 int32_default_optional() const;
336  inline void set_int32_default_optional(::google::protobuf::int32 value);
337 
338  // optional int64 int64_default_optional = 4;
339  inline bool has_int64_default_optional() const;
340  inline void clear_int64_default_optional();
341  static const int kInt64DefaultOptionalFieldNumber = 4;
342  inline ::google::protobuf::int64 int64_default_optional() const;
343  inline void set_int64_default_optional(::google::protobuf::int64 value);
344 
345  // optional uint32 uint32_default_optional = 5;
346  inline bool has_uint32_default_optional() const;
347  inline void clear_uint32_default_optional();
348  static const int kUint32DefaultOptionalFieldNumber = 5;
349  inline ::google::protobuf::uint32 uint32_default_optional() const;
350  inline void set_uint32_default_optional(::google::protobuf::uint32 value);
351 
352  // optional uint64 uint64_default_optional = 6;
353  inline bool has_uint64_default_optional() const;
354  inline void clear_uint64_default_optional();
355  static const int kUint64DefaultOptionalFieldNumber = 6;
356  inline ::google::protobuf::uint64 uint64_default_optional() const;
357  inline void set_uint64_default_optional(::google::protobuf::uint64 value);
358 
359  // optional sint32 sint32_default_optional = 7;
360  inline bool has_sint32_default_optional() const;
361  inline void clear_sint32_default_optional();
362  static const int kSint32DefaultOptionalFieldNumber = 7;
363  inline ::google::protobuf::int32 sint32_default_optional() const;
364  inline void set_sint32_default_optional(::google::protobuf::int32 value);
365 
366  // optional sint64 sint64_default_optional = 8;
367  inline bool has_sint64_default_optional() const;
368  inline void clear_sint64_default_optional();
369  static const int kSint64DefaultOptionalFieldNumber = 8;
370  inline ::google::protobuf::int64 sint64_default_optional() const;
371  inline void set_sint64_default_optional(::google::protobuf::int64 value);
372 
373  // optional fixed32 fixed32_default_optional = 9;
374  inline bool has_fixed32_default_optional() const;
375  inline void clear_fixed32_default_optional();
376  static const int kFixed32DefaultOptionalFieldNumber = 9;
377  inline ::google::protobuf::uint32 fixed32_default_optional() const;
378  inline void set_fixed32_default_optional(::google::protobuf::uint32 value);
379 
380  // optional fixed64 fixed64_default_optional = 10;
381  inline bool has_fixed64_default_optional() const;
382  inline void clear_fixed64_default_optional();
383  static const int kFixed64DefaultOptionalFieldNumber = 10;
384  inline ::google::protobuf::uint64 fixed64_default_optional() const;
385  inline void set_fixed64_default_optional(::google::protobuf::uint64 value);
386 
387  // optional sfixed32 sfixed32_default_optional = 11;
388  inline bool has_sfixed32_default_optional() const;
389  inline void clear_sfixed32_default_optional();
390  static const int kSfixed32DefaultOptionalFieldNumber = 11;
391  inline ::google::protobuf::int32 sfixed32_default_optional() const;
392  inline void set_sfixed32_default_optional(::google::protobuf::int32 value);
393 
394  // optional sfixed64 sfixed64_default_optional = 12;
395  inline bool has_sfixed64_default_optional() const;
396  inline void clear_sfixed64_default_optional();
397  static const int kSfixed64DefaultOptionalFieldNumber = 12;
398  inline ::google::protobuf::int64 sfixed64_default_optional() const;
399  inline void set_sfixed64_default_optional(::google::protobuf::int64 value);
400 
401  // optional bool bool_default_optional = 13;
402  inline bool has_bool_default_optional() const;
403  inline void clear_bool_default_optional();
404  static const int kBoolDefaultOptionalFieldNumber = 13;
405  inline bool bool_default_optional() const;
406  inline void set_bool_default_optional(bool value);
407 
408  // optional string string_default_optional = 14;
409  inline bool has_string_default_optional() const;
410  inline void clear_string_default_optional();
411  static const int kStringDefaultOptionalFieldNumber = 14;
412  inline const ::std::string& string_default_optional() const;
413  inline void set_string_default_optional(const ::std::string& value);
414  inline void set_string_default_optional(const char* value);
415  inline void set_string_default_optional(const char* value, size_t size);
416  inline ::std::string* mutable_string_default_optional();
417  inline ::std::string* release_string_default_optional();
418  inline void set_allocated_string_default_optional(::std::string* string_default_optional);
419 
420  // optional bytes bytes_default_optional = 15;
421  inline bool has_bytes_default_optional() const;
422  inline void clear_bytes_default_optional();
423  static const int kBytesDefaultOptionalFieldNumber = 15;
424  inline const ::std::string& bytes_default_optional() const;
425  inline void set_bytes_default_optional(const ::std::string& value);
426  inline void set_bytes_default_optional(const char* value);
427  inline void set_bytes_default_optional(const void* value, size_t size);
428  inline ::std::string* mutable_bytes_default_optional();
429  inline ::std::string* release_bytes_default_optional();
430  inline void set_allocated_bytes_default_optional(::std::string* bytes_default_optional);
431 
432  // optional .dccl.test.Enum1 enum_default_optional = 16;
433  inline bool has_enum_default_optional() const;
434  inline void clear_enum_default_optional();
435  static const int kEnumDefaultOptionalFieldNumber = 16;
436  inline ::dccl::test::Enum1 enum_default_optional() const;
437  inline void set_enum_default_optional(::dccl::test::Enum1 value);
438 
439  // optional .dccl.test.EmbeddedMsg1 msg_default_optional = 17;
440  inline bool has_msg_default_optional() const;
441  inline void clear_msg_default_optional();
442  static const int kMsgDefaultOptionalFieldNumber = 17;
443  inline const ::dccl::test::EmbeddedMsg1& msg_default_optional() const;
444  inline ::dccl::test::EmbeddedMsg1* mutable_msg_default_optional();
445  inline ::dccl::test::EmbeddedMsg1* release_msg_default_optional();
446  inline void set_allocated_msg_default_optional(::dccl::test::EmbeddedMsg1* msg_default_optional);
447 
448  // required double double_default_required = 21;
449  inline bool has_double_default_required() const;
450  inline void clear_double_default_required();
451  static const int kDoubleDefaultRequiredFieldNumber = 21;
452  inline double double_default_required() const;
453  inline void set_double_default_required(double value);
454 
455  // required float float_default_required = 22;
456  inline bool has_float_default_required() const;
457  inline void clear_float_default_required();
458  static const int kFloatDefaultRequiredFieldNumber = 22;
459  inline float float_default_required() const;
460  inline void set_float_default_required(float value);
461 
462  // required int32 int32_default_required = 23;
463  inline bool has_int32_default_required() const;
464  inline void clear_int32_default_required();
465  static const int kInt32DefaultRequiredFieldNumber = 23;
466  inline ::google::protobuf::int32 int32_default_required() const;
467  inline void set_int32_default_required(::google::protobuf::int32 value);
468 
469  // required int64 int64_default_required = 24;
470  inline bool has_int64_default_required() const;
471  inline void clear_int64_default_required();
472  static const int kInt64DefaultRequiredFieldNumber = 24;
473  inline ::google::protobuf::int64 int64_default_required() const;
474  inline void set_int64_default_required(::google::protobuf::int64 value);
475 
476  // required uint32 uint32_default_required = 25;
477  inline bool has_uint32_default_required() const;
478  inline void clear_uint32_default_required();
479  static const int kUint32DefaultRequiredFieldNumber = 25;
480  inline ::google::protobuf::uint32 uint32_default_required() const;
481  inline void set_uint32_default_required(::google::protobuf::uint32 value);
482 
483  // required uint64 uint64_default_required = 26;
484  inline bool has_uint64_default_required() const;
485  inline void clear_uint64_default_required();
486  static const int kUint64DefaultRequiredFieldNumber = 26;
487  inline ::google::protobuf::uint64 uint64_default_required() const;
488  inline void set_uint64_default_required(::google::protobuf::uint64 value);
489 
490  // required sint32 sint32_default_required = 27;
491  inline bool has_sint32_default_required() const;
492  inline void clear_sint32_default_required();
493  static const int kSint32DefaultRequiredFieldNumber = 27;
494  inline ::google::protobuf::int32 sint32_default_required() const;
495  inline void set_sint32_default_required(::google::protobuf::int32 value);
496 
497  // required sint64 sint64_default_required = 28;
498  inline bool has_sint64_default_required() const;
499  inline void clear_sint64_default_required();
500  static const int kSint64DefaultRequiredFieldNumber = 28;
501  inline ::google::protobuf::int64 sint64_default_required() const;
502  inline void set_sint64_default_required(::google::protobuf::int64 value);
503 
504  // required fixed32 fixed32_default_required = 29;
505  inline bool has_fixed32_default_required() const;
506  inline void clear_fixed32_default_required();
507  static const int kFixed32DefaultRequiredFieldNumber = 29;
508  inline ::google::protobuf::uint32 fixed32_default_required() const;
509  inline void set_fixed32_default_required(::google::protobuf::uint32 value);
510 
511  // required fixed64 fixed64_default_required = 30;
512  inline bool has_fixed64_default_required() const;
513  inline void clear_fixed64_default_required();
514  static const int kFixed64DefaultRequiredFieldNumber = 30;
515  inline ::google::protobuf::uint64 fixed64_default_required() const;
516  inline void set_fixed64_default_required(::google::protobuf::uint64 value);
517 
518  // required sfixed32 sfixed32_default_required = 31;
519  inline bool has_sfixed32_default_required() const;
520  inline void clear_sfixed32_default_required();
521  static const int kSfixed32DefaultRequiredFieldNumber = 31;
522  inline ::google::protobuf::int32 sfixed32_default_required() const;
523  inline void set_sfixed32_default_required(::google::protobuf::int32 value);
524 
525  // required sfixed64 sfixed64_default_required = 32;
526  inline bool has_sfixed64_default_required() const;
527  inline void clear_sfixed64_default_required();
528  static const int kSfixed64DefaultRequiredFieldNumber = 32;
529  inline ::google::protobuf::int64 sfixed64_default_required() const;
530  inline void set_sfixed64_default_required(::google::protobuf::int64 value);
531 
532  // required bool bool_default_required = 33;
533  inline bool has_bool_default_required() const;
534  inline void clear_bool_default_required();
535  static const int kBoolDefaultRequiredFieldNumber = 33;
536  inline bool bool_default_required() const;
537  inline void set_bool_default_required(bool value);
538 
539  // required string string_default_required = 34;
540  inline bool has_string_default_required() const;
541  inline void clear_string_default_required();
542  static const int kStringDefaultRequiredFieldNumber = 34;
543  inline const ::std::string& string_default_required() const;
544  inline void set_string_default_required(const ::std::string& value);
545  inline void set_string_default_required(const char* value);
546  inline void set_string_default_required(const char* value, size_t size);
547  inline ::std::string* mutable_string_default_required();
548  inline ::std::string* release_string_default_required();
549  inline void set_allocated_string_default_required(::std::string* string_default_required);
550 
551  // required bytes bytes_default_required = 35;
552  inline bool has_bytes_default_required() const;
553  inline void clear_bytes_default_required();
554  static const int kBytesDefaultRequiredFieldNumber = 35;
555  inline const ::std::string& bytes_default_required() const;
556  inline void set_bytes_default_required(const ::std::string& value);
557  inline void set_bytes_default_required(const char* value);
558  inline void set_bytes_default_required(const void* value, size_t size);
559  inline ::std::string* mutable_bytes_default_required();
560  inline ::std::string* release_bytes_default_required();
561  inline void set_allocated_bytes_default_required(::std::string* bytes_default_required);
562 
563  // required .dccl.test.Enum1 enum_default_required = 36;
564  inline bool has_enum_default_required() const;
565  inline void clear_enum_default_required();
566  static const int kEnumDefaultRequiredFieldNumber = 36;
567  inline ::dccl::test::Enum1 enum_default_required() const;
568  inline void set_enum_default_required(::dccl::test::Enum1 value);
569 
570  // required .dccl.test.EmbeddedMsg1 msg_default_required = 37;
571  inline bool has_msg_default_required() const;
572  inline void clear_msg_default_required();
573  static const int kMsgDefaultRequiredFieldNumber = 37;
574  inline const ::dccl::test::EmbeddedMsg1& msg_default_required() const;
575  inline ::dccl::test::EmbeddedMsg1* mutable_msg_default_required();
576  inline ::dccl::test::EmbeddedMsg1* release_msg_default_required();
577  inline void set_allocated_msg_default_required(::dccl::test::EmbeddedMsg1* msg_default_required);
578 
579  // repeated double double_default_repeat = 101;
580  inline int double_default_repeat_size() const;
581  inline void clear_double_default_repeat();
582  static const int kDoubleDefaultRepeatFieldNumber = 101;
583  inline double double_default_repeat(int index) const;
584  inline void set_double_default_repeat(int index, double value);
585  inline void add_double_default_repeat(double value);
586  inline const ::google::protobuf::RepeatedField< double >&
587  double_default_repeat() const;
588  inline ::google::protobuf::RepeatedField< double >*
589  mutable_double_default_repeat();
590 
591  // repeated float float_default_repeat = 102;
592  inline int float_default_repeat_size() const;
593  inline void clear_float_default_repeat();
594  static const int kFloatDefaultRepeatFieldNumber = 102;
595  inline float float_default_repeat(int index) const;
596  inline void set_float_default_repeat(int index, float value);
597  inline void add_float_default_repeat(float value);
598  inline const ::google::protobuf::RepeatedField< float >&
599  float_default_repeat() const;
600  inline ::google::protobuf::RepeatedField< float >*
601  mutable_float_default_repeat();
602 
603  // repeated int32 int32_default_repeat = 103;
604  inline int int32_default_repeat_size() const;
605  inline void clear_int32_default_repeat();
606  static const int kInt32DefaultRepeatFieldNumber = 103;
607  inline ::google::protobuf::int32 int32_default_repeat(int index) const;
608  inline void set_int32_default_repeat(int index, ::google::protobuf::int32 value);
609  inline void add_int32_default_repeat(::google::protobuf::int32 value);
610  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
611  int32_default_repeat() const;
612  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
613  mutable_int32_default_repeat();
614 
615  // repeated int64 int64_default_repeat = 104;
616  inline int int64_default_repeat_size() const;
617  inline void clear_int64_default_repeat();
618  static const int kInt64DefaultRepeatFieldNumber = 104;
619  inline ::google::protobuf::int64 int64_default_repeat(int index) const;
620  inline void set_int64_default_repeat(int index, ::google::protobuf::int64 value);
621  inline void add_int64_default_repeat(::google::protobuf::int64 value);
622  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
623  int64_default_repeat() const;
624  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
625  mutable_int64_default_repeat();
626 
627  // repeated uint32 uint32_default_repeat = 105;
628  inline int uint32_default_repeat_size() const;
629  inline void clear_uint32_default_repeat();
630  static const int kUint32DefaultRepeatFieldNumber = 105;
631  inline ::google::protobuf::uint32 uint32_default_repeat(int index) const;
632  inline void set_uint32_default_repeat(int index, ::google::protobuf::uint32 value);
633  inline void add_uint32_default_repeat(::google::protobuf::uint32 value);
634  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
635  uint32_default_repeat() const;
636  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
637  mutable_uint32_default_repeat();
638 
639  // repeated uint64 uint64_default_repeat = 106;
640  inline int uint64_default_repeat_size() const;
641  inline void clear_uint64_default_repeat();
642  static const int kUint64DefaultRepeatFieldNumber = 106;
643  inline ::google::protobuf::uint64 uint64_default_repeat(int index) const;
644  inline void set_uint64_default_repeat(int index, ::google::protobuf::uint64 value);
645  inline void add_uint64_default_repeat(::google::protobuf::uint64 value);
646  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
647  uint64_default_repeat() const;
648  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
649  mutable_uint64_default_repeat();
650 
651  // repeated sint32 sint32_default_repeat = 107;
652  inline int sint32_default_repeat_size() const;
653  inline void clear_sint32_default_repeat();
654  static const int kSint32DefaultRepeatFieldNumber = 107;
655  inline ::google::protobuf::int32 sint32_default_repeat(int index) const;
656  inline void set_sint32_default_repeat(int index, ::google::protobuf::int32 value);
657  inline void add_sint32_default_repeat(::google::protobuf::int32 value);
658  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
659  sint32_default_repeat() const;
660  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
661  mutable_sint32_default_repeat();
662 
663  // repeated sint64 sint64_default_repeat = 108;
664  inline int sint64_default_repeat_size() const;
665  inline void clear_sint64_default_repeat();
666  static const int kSint64DefaultRepeatFieldNumber = 108;
667  inline ::google::protobuf::int64 sint64_default_repeat(int index) const;
668  inline void set_sint64_default_repeat(int index, ::google::protobuf::int64 value);
669  inline void add_sint64_default_repeat(::google::protobuf::int64 value);
670  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
671  sint64_default_repeat() const;
672  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
673  mutable_sint64_default_repeat();
674 
675  // repeated fixed32 fixed32_default_repeat = 109;
676  inline int fixed32_default_repeat_size() const;
677  inline void clear_fixed32_default_repeat();
678  static const int kFixed32DefaultRepeatFieldNumber = 109;
679  inline ::google::protobuf::uint32 fixed32_default_repeat(int index) const;
680  inline void set_fixed32_default_repeat(int index, ::google::protobuf::uint32 value);
681  inline void add_fixed32_default_repeat(::google::protobuf::uint32 value);
682  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
683  fixed32_default_repeat() const;
684  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
685  mutable_fixed32_default_repeat();
686 
687  // repeated fixed64 fixed64_default_repeat = 110;
688  inline int fixed64_default_repeat_size() const;
689  inline void clear_fixed64_default_repeat();
690  static const int kFixed64DefaultRepeatFieldNumber = 110;
691  inline ::google::protobuf::uint64 fixed64_default_repeat(int index) const;
692  inline void set_fixed64_default_repeat(int index, ::google::protobuf::uint64 value);
693  inline void add_fixed64_default_repeat(::google::protobuf::uint64 value);
694  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
695  fixed64_default_repeat() const;
696  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
697  mutable_fixed64_default_repeat();
698 
699  // repeated sfixed32 sfixed32_default_repeat = 111;
700  inline int sfixed32_default_repeat_size() const;
701  inline void clear_sfixed32_default_repeat();
702  static const int kSfixed32DefaultRepeatFieldNumber = 111;
703  inline ::google::protobuf::int32 sfixed32_default_repeat(int index) const;
704  inline void set_sfixed32_default_repeat(int index, ::google::protobuf::int32 value);
705  inline void add_sfixed32_default_repeat(::google::protobuf::int32 value);
706  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
707  sfixed32_default_repeat() const;
708  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
709  mutable_sfixed32_default_repeat();
710 
711  // repeated sfixed64 sfixed64_default_repeat = 112;
712  inline int sfixed64_default_repeat_size() const;
713  inline void clear_sfixed64_default_repeat();
714  static const int kSfixed64DefaultRepeatFieldNumber = 112;
715  inline ::google::protobuf::int64 sfixed64_default_repeat(int index) const;
716  inline void set_sfixed64_default_repeat(int index, ::google::protobuf::int64 value);
717  inline void add_sfixed64_default_repeat(::google::protobuf::int64 value);
718  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
719  sfixed64_default_repeat() const;
720  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
721  mutable_sfixed64_default_repeat();
722 
723  // repeated bool bool_default_repeat = 113;
724  inline int bool_default_repeat_size() const;
725  inline void clear_bool_default_repeat();
726  static const int kBoolDefaultRepeatFieldNumber = 113;
727  inline bool bool_default_repeat(int index) const;
728  inline void set_bool_default_repeat(int index, bool value);
729  inline void add_bool_default_repeat(bool value);
730  inline const ::google::protobuf::RepeatedField< bool >&
731  bool_default_repeat() const;
732  inline ::google::protobuf::RepeatedField< bool >*
733  mutable_bool_default_repeat();
734 
735  // repeated string string_default_repeat = 114;
736  inline int string_default_repeat_size() const;
737  inline void clear_string_default_repeat();
738  static const int kStringDefaultRepeatFieldNumber = 114;
739  inline const ::std::string& string_default_repeat(int index) const;
740  inline ::std::string* mutable_string_default_repeat(int index);
741  inline void set_string_default_repeat(int index, const ::std::string& value);
742  inline void set_string_default_repeat(int index, const char* value);
743  inline void set_string_default_repeat(int index, const char* value, size_t size);
744  inline ::std::string* add_string_default_repeat();
745  inline void add_string_default_repeat(const ::std::string& value);
746  inline void add_string_default_repeat(const char* value);
747  inline void add_string_default_repeat(const char* value, size_t size);
748  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& string_default_repeat() const;
749  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_string_default_repeat();
750 
751  // repeated bytes bytes_default_repeat = 115;
752  inline int bytes_default_repeat_size() const;
753  inline void clear_bytes_default_repeat();
754  static const int kBytesDefaultRepeatFieldNumber = 115;
755  inline const ::std::string& bytes_default_repeat(int index) const;
756  inline ::std::string* mutable_bytes_default_repeat(int index);
757  inline void set_bytes_default_repeat(int index, const ::std::string& value);
758  inline void set_bytes_default_repeat(int index, const char* value);
759  inline void set_bytes_default_repeat(int index, const void* value, size_t size);
760  inline ::std::string* add_bytes_default_repeat();
761  inline void add_bytes_default_repeat(const ::std::string& value);
762  inline void add_bytes_default_repeat(const char* value);
763  inline void add_bytes_default_repeat(const void* value, size_t size);
764  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& bytes_default_repeat() const;
765  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_bytes_default_repeat();
766 
767  // repeated .dccl.test.Enum1 enum_default_repeat = 116;
768  inline int enum_default_repeat_size() const;
769  inline void clear_enum_default_repeat();
770  static const int kEnumDefaultRepeatFieldNumber = 116;
771  inline ::dccl::test::Enum1 enum_default_repeat(int index) const;
772  inline void set_enum_default_repeat(int index, ::dccl::test::Enum1 value);
773  inline void add_enum_default_repeat(::dccl::test::Enum1 value);
774  inline const ::google::protobuf::RepeatedField<int>& enum_default_repeat() const;
775  inline ::google::protobuf::RepeatedField<int>* mutable_enum_default_repeat();
776 
777  // repeated .dccl.test.EmbeddedMsg1 msg_default_repeat = 117;
778  inline int msg_default_repeat_size() const;
779  inline void clear_msg_default_repeat();
780  static const int kMsgDefaultRepeatFieldNumber = 117;
781  inline const ::dccl::test::EmbeddedMsg1& msg_default_repeat(int index) const;
782  inline ::dccl::test::EmbeddedMsg1* mutable_msg_default_repeat(int index);
783  inline ::dccl::test::EmbeddedMsg1* add_msg_default_repeat();
784  inline const ::google::protobuf::RepeatedPtrField< ::dccl::test::EmbeddedMsg1 >&
785  msg_default_repeat() const;
786  inline ::google::protobuf::RepeatedPtrField< ::dccl::test::EmbeddedMsg1 >*
787  mutable_msg_default_repeat();
788 
789  enum DCCLParameters { DCCL_ID = 2, DCCL_MAX_BYTES = 512 };
790  // @@protoc_insertion_point(class_scope:dccl.test.TestMsg)
791  private:
792  inline void set_has_double_default_optional();
793  inline void clear_has_double_default_optional();
794  inline void set_has_float_default_optional();
795  inline void clear_has_float_default_optional();
796  inline void set_has_int32_default_optional();
797  inline void clear_has_int32_default_optional();
798  inline void set_has_int64_default_optional();
799  inline void clear_has_int64_default_optional();
800  inline void set_has_uint32_default_optional();
801  inline void clear_has_uint32_default_optional();
802  inline void set_has_uint64_default_optional();
803  inline void clear_has_uint64_default_optional();
804  inline void set_has_sint32_default_optional();
805  inline void clear_has_sint32_default_optional();
806  inline void set_has_sint64_default_optional();
807  inline void clear_has_sint64_default_optional();
808  inline void set_has_fixed32_default_optional();
809  inline void clear_has_fixed32_default_optional();
810  inline void set_has_fixed64_default_optional();
811  inline void clear_has_fixed64_default_optional();
812  inline void set_has_sfixed32_default_optional();
813  inline void clear_has_sfixed32_default_optional();
814  inline void set_has_sfixed64_default_optional();
815  inline void clear_has_sfixed64_default_optional();
816  inline void set_has_bool_default_optional();
817  inline void clear_has_bool_default_optional();
818  inline void set_has_string_default_optional();
819  inline void clear_has_string_default_optional();
820  inline void set_has_bytes_default_optional();
821  inline void clear_has_bytes_default_optional();
822  inline void set_has_enum_default_optional();
823  inline void clear_has_enum_default_optional();
824  inline void set_has_msg_default_optional();
825  inline void clear_has_msg_default_optional();
826  inline void set_has_double_default_required();
827  inline void clear_has_double_default_required();
828  inline void set_has_float_default_required();
829  inline void clear_has_float_default_required();
830  inline void set_has_int32_default_required();
831  inline void clear_has_int32_default_required();
832  inline void set_has_int64_default_required();
833  inline void clear_has_int64_default_required();
834  inline void set_has_uint32_default_required();
835  inline void clear_has_uint32_default_required();
836  inline void set_has_uint64_default_required();
837  inline void clear_has_uint64_default_required();
838  inline void set_has_sint32_default_required();
839  inline void clear_has_sint32_default_required();
840  inline void set_has_sint64_default_required();
841  inline void clear_has_sint64_default_required();
842  inline void set_has_fixed32_default_required();
843  inline void clear_has_fixed32_default_required();
844  inline void set_has_fixed64_default_required();
845  inline void clear_has_fixed64_default_required();
846  inline void set_has_sfixed32_default_required();
847  inline void clear_has_sfixed32_default_required();
848  inline void set_has_sfixed64_default_required();
849  inline void clear_has_sfixed64_default_required();
850  inline void set_has_bool_default_required();
851  inline void clear_has_bool_default_required();
852  inline void set_has_string_default_required();
853  inline void clear_has_string_default_required();
854  inline void set_has_bytes_default_required();
855  inline void clear_has_bytes_default_required();
856  inline void set_has_enum_default_required();
857  inline void clear_has_enum_default_required();
858  inline void set_has_msg_default_required();
859  inline void clear_has_msg_default_required();
860 
861  ::google::protobuf::UnknownFieldSet _unknown_fields_;
862 
863  ::google::protobuf::uint32 _has_bits_[2];
864  double double_default_optional_;
865  float float_default_optional_;
866  ::google::protobuf::int32 int32_default_optional_;
867  ::google::protobuf::int64 int64_default_optional_;
868  ::google::protobuf::uint64 uint64_default_optional_;
869  ::google::protobuf::uint32 uint32_default_optional_;
870  ::google::protobuf::int32 sint32_default_optional_;
871  ::google::protobuf::int64 sint64_default_optional_;
872  ::google::protobuf::uint64 fixed64_default_optional_;
873  ::google::protobuf::uint32 fixed32_default_optional_;
874  ::google::protobuf::int32 sfixed32_default_optional_;
875  ::google::protobuf::int64 sfixed64_default_optional_;
876  ::std::string* string_default_optional_;
877  ::std::string* bytes_default_optional_;
878  ::dccl::test::EmbeddedMsg1* msg_default_optional_;
879  int enum_default_optional_;
880  float float_default_required_;
881  double double_default_required_;
882  ::google::protobuf::int64 int64_default_required_;
883  ::google::protobuf::int32 int32_default_required_;
884  bool bool_default_optional_;
885  bool bool_default_required_;
886  ::google::protobuf::uint64 uint64_default_required_;
887  ::google::protobuf::uint32 uint32_default_required_;
888  ::google::protobuf::int32 sint32_default_required_;
889  ::google::protobuf::int64 sint64_default_required_;
890  ::google::protobuf::uint64 fixed64_default_required_;
891  ::google::protobuf::uint32 fixed32_default_required_;
892  ::google::protobuf::int32 sfixed32_default_required_;
893  ::google::protobuf::int64 sfixed64_default_required_;
894  ::std::string* string_default_required_;
895  ::std::string* bytes_default_required_;
896  ::dccl::test::EmbeddedMsg1* msg_default_required_;
897  ::google::protobuf::RepeatedField< double > double_default_repeat_;
898  ::google::protobuf::RepeatedField< float > float_default_repeat_;
899  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > int32_default_repeat_;
900  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > int64_default_repeat_;
901  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > uint32_default_repeat_;
902  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > uint64_default_repeat_;
903  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > sint32_default_repeat_;
904  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > sint64_default_repeat_;
905  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > fixed32_default_repeat_;
906  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > fixed64_default_repeat_;
907  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > sfixed32_default_repeat_;
908  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > sfixed64_default_repeat_;
909  ::google::protobuf::RepeatedField< bool > bool_default_repeat_;
910  ::google::protobuf::RepeatedPtrField< ::std::string> string_default_repeat_;
911  ::google::protobuf::RepeatedPtrField< ::std::string> bytes_default_repeat_;
912  ::google::protobuf::RepeatedField<int> enum_default_repeat_;
913  ::google::protobuf::RepeatedPtrField< ::dccl::test::EmbeddedMsg1 > msg_default_repeat_;
914  int enum_default_required_;
915  mutable int _cached_size_;
916  friend void protobuf_AddDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
917  friend void protobuf_AssignDesc_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
918  friend void protobuf_ShutdownFile_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto();
919 
920  void InitAsDefaultInstance();
921  static TestMsg* default_instance_;
922 };
923 // ===================================================================
924 
925 
926 // ===================================================================
927 
928 // EmbeddedMsg1
929 
930 // optional double val = 1;
931 inline bool EmbeddedMsg1::has_val() const {
932  return (_has_bits_[0] & 0x00000001u) != 0;
933 }
934 inline void EmbeddedMsg1::set_has_val() {
935  _has_bits_[0] |= 0x00000001u;
936 }
937 inline void EmbeddedMsg1::clear_has_val() {
938  _has_bits_[0] &= ~0x00000001u;
939 }
940 inline void EmbeddedMsg1::clear_val() {
941  val_ = 0;
942  clear_has_val();
943 }
944 inline double EmbeddedMsg1::val() const {
945  // @@protoc_insertion_point(field_get:dccl.test.EmbeddedMsg1.val)
946  return val_;
947 }
948 inline void EmbeddedMsg1::set_val(double value) {
949  set_has_val();
950  val_ = value;
951  // @@protoc_insertion_point(field_set:dccl.test.EmbeddedMsg1.val)
952 }
953 
954 // optional .dccl.test.EmbeddedMsg2 msg = 2;
955 inline bool EmbeddedMsg1::has_msg() const {
956  return (_has_bits_[0] & 0x00000002u) != 0;
957 }
958 inline void EmbeddedMsg1::set_has_msg() {
959  _has_bits_[0] |= 0x00000002u;
960 }
961 inline void EmbeddedMsg1::clear_has_msg() {
962  _has_bits_[0] &= ~0x00000002u;
963 }
964 inline void EmbeddedMsg1::clear_msg() {
965  if (msg_ != NULL) msg_->::dccl::test::EmbeddedMsg2::Clear();
966  clear_has_msg();
967 }
968 inline const ::dccl::test::EmbeddedMsg2& EmbeddedMsg1::msg() const {
969  // @@protoc_insertion_point(field_get:dccl.test.EmbeddedMsg1.msg)
970  return msg_ != NULL ? *msg_ : *default_instance_->msg_;
971 }
972 inline ::dccl::test::EmbeddedMsg2* EmbeddedMsg1::mutable_msg() {
973  set_has_msg();
974  if (msg_ == NULL) msg_ = new ::dccl::test::EmbeddedMsg2;
975  // @@protoc_insertion_point(field_mutable:dccl.test.EmbeddedMsg1.msg)
976  return msg_;
977 }
978 inline ::dccl::test::EmbeddedMsg2* EmbeddedMsg1::release_msg() {
979  clear_has_msg();
980  ::dccl::test::EmbeddedMsg2* temp = msg_;
981  msg_ = NULL;
982  return temp;
983 }
984 inline void EmbeddedMsg1::set_allocated_msg(::dccl::test::EmbeddedMsg2* msg) {
985  delete msg_;
986  msg_ = msg;
987  if (msg) {
988  set_has_msg();
989  } else {
990  clear_has_msg();
991  }
992  // @@protoc_insertion_point(field_set_allocated:dccl.test.EmbeddedMsg1.msg)
993 }
994 
995 // -------------------------------------------------------------------
996 
997 // EmbeddedMsg2
998 
999 // optional double val = 1;
1000 inline bool EmbeddedMsg2::has_val() const {
1001  return (_has_bits_[0] & 0x00000001u) != 0;
1002 }
1003 inline void EmbeddedMsg2::set_has_val() {
1004  _has_bits_[0] |= 0x00000001u;
1005 }
1006 inline void EmbeddedMsg2::clear_has_val() {
1007  _has_bits_[0] &= ~0x00000001u;
1008 }
1009 inline void EmbeddedMsg2::clear_val() {
1010  val_ = 0;
1011  clear_has_val();
1012 }
1013 inline double EmbeddedMsg2::val() const {
1014  // @@protoc_insertion_point(field_get:dccl.test.EmbeddedMsg2.val)
1015  return val_;
1016 }
1017 inline void EmbeddedMsg2::set_val(double value) {
1018  set_has_val();
1019  val_ = value;
1020  // @@protoc_insertion_point(field_set:dccl.test.EmbeddedMsg2.val)
1021 }
1022 
1023 // optional string sval = 2;
1024 inline bool EmbeddedMsg2::has_sval() const {
1025  return (_has_bits_[0] & 0x00000002u) != 0;
1026 }
1027 inline void EmbeddedMsg2::set_has_sval() {
1028  _has_bits_[0] |= 0x00000002u;
1029 }
1030 inline void EmbeddedMsg2::clear_has_sval() {
1031  _has_bits_[0] &= ~0x00000002u;
1032 }
1033 inline void EmbeddedMsg2::clear_sval() {
1034  if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1035  sval_->clear();
1036  }
1037  clear_has_sval();
1038 }
1039 inline const ::std::string& EmbeddedMsg2::sval() const {
1040  // @@protoc_insertion_point(field_get:dccl.test.EmbeddedMsg2.sval)
1041  return *sval_;
1042 }
1043 inline void EmbeddedMsg2::set_sval(const ::std::string& value) {
1044  set_has_sval();
1045  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1046  sval_ = new ::std::string;
1047  }
1048  sval_->assign(value);
1049  // @@protoc_insertion_point(field_set:dccl.test.EmbeddedMsg2.sval)
1050 }
1051 inline void EmbeddedMsg2::set_sval(const char* value) {
1052  set_has_sval();
1053  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1054  sval_ = new ::std::string;
1055  }
1056  sval_->assign(value);
1057  // @@protoc_insertion_point(field_set_char:dccl.test.EmbeddedMsg2.sval)
1058 }
1059 inline void EmbeddedMsg2::set_sval(const char* value, size_t size) {
1060  set_has_sval();
1061  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1062  sval_ = new ::std::string;
1063  }
1064  sval_->assign(reinterpret_cast<const char*>(value), size);
1065  // @@protoc_insertion_point(field_set_pointer:dccl.test.EmbeddedMsg2.sval)
1066 }
1067 inline ::std::string* EmbeddedMsg2::mutable_sval() {
1068  set_has_sval();
1069  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1070  sval_ = new ::std::string;
1071  }
1072  // @@protoc_insertion_point(field_mutable:dccl.test.EmbeddedMsg2.sval)
1073  return sval_;
1074 }
1075 inline ::std::string* EmbeddedMsg2::release_sval() {
1076  clear_has_sval();
1077  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1078  return NULL;
1079  } else {
1080  ::std::string* temp = sval_;
1081  sval_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1082  return temp;
1083  }
1084 }
1085 inline void EmbeddedMsg2::set_allocated_sval(::std::string* sval) {
1086  if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1087  delete sval_;
1088  }
1089  if (sval) {
1090  set_has_sval();
1091  sval_ = sval;
1092  } else {
1093  clear_has_sval();
1094  sval_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1095  }
1096  // @@protoc_insertion_point(field_set_allocated:dccl.test.EmbeddedMsg2.sval)
1097 }
1098 
1099 // optional .dccl.test.Enum1 enum_default = 3;
1100 inline bool EmbeddedMsg2::has_enum_default() const {
1101  return (_has_bits_[0] & 0x00000004u) != 0;
1102 }
1103 inline void EmbeddedMsg2::set_has_enum_default() {
1104  _has_bits_[0] |= 0x00000004u;
1105 }
1106 inline void EmbeddedMsg2::clear_has_enum_default() {
1107  _has_bits_[0] &= ~0x00000004u;
1108 }
1109 inline void EmbeddedMsg2::clear_enum_default() {
1110  enum_default_ = 1;
1111  clear_has_enum_default();
1112 }
1113 inline ::dccl::test::Enum1 EmbeddedMsg2::enum_default() const {
1114  // @@protoc_insertion_point(field_get:dccl.test.EmbeddedMsg2.enum_default)
1115  return static_cast< ::dccl::test::Enum1 >(enum_default_);
1116 }
1117 inline void EmbeddedMsg2::set_enum_default(::dccl::test::Enum1 value) {
1118  assert(::dccl::test::Enum1_IsValid(value));
1119  set_has_enum_default();
1120  enum_default_ = value;
1121  // @@protoc_insertion_point(field_set:dccl.test.EmbeddedMsg2.enum_default)
1122 }
1123 
1124 // -------------------------------------------------------------------
1125 
1126 // TestMsg
1127 
1128 // optional double double_default_optional = 1;
1129 inline bool TestMsg::has_double_default_optional() const {
1130  return (_has_bits_[0] & 0x00000001u) != 0;
1131 }
1132 inline void TestMsg::set_has_double_default_optional() {
1133  _has_bits_[0] |= 0x00000001u;
1134 }
1135 inline void TestMsg::clear_has_double_default_optional() {
1136  _has_bits_[0] &= ~0x00000001u;
1137 }
1138 inline void TestMsg::clear_double_default_optional() {
1139  double_default_optional_ = 0;
1140  clear_has_double_default_optional();
1141 }
1142 inline double TestMsg::double_default_optional() const {
1143  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.double_default_optional)
1144  return double_default_optional_;
1145 }
1146 inline void TestMsg::set_double_default_optional(double value) {
1147  set_has_double_default_optional();
1148  double_default_optional_ = value;
1149  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.double_default_optional)
1150 }
1151 
1152 // optional float float_default_optional = 2;
1153 inline bool TestMsg::has_float_default_optional() const {
1154  return (_has_bits_[0] & 0x00000002u) != 0;
1155 }
1156 inline void TestMsg::set_has_float_default_optional() {
1157  _has_bits_[0] |= 0x00000002u;
1158 }
1159 inline void TestMsg::clear_has_float_default_optional() {
1160  _has_bits_[0] &= ~0x00000002u;
1161 }
1162 inline void TestMsg::clear_float_default_optional() {
1163  float_default_optional_ = 0;
1164  clear_has_float_default_optional();
1165 }
1166 inline float TestMsg::float_default_optional() const {
1167  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.float_default_optional)
1168  return float_default_optional_;
1169 }
1170 inline void TestMsg::set_float_default_optional(float value) {
1171  set_has_float_default_optional();
1172  float_default_optional_ = value;
1173  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.float_default_optional)
1174 }
1175 
1176 // optional int32 int32_default_optional = 3;
1177 inline bool TestMsg::has_int32_default_optional() const {
1178  return (_has_bits_[0] & 0x00000004u) != 0;
1179 }
1180 inline void TestMsg::set_has_int32_default_optional() {
1181  _has_bits_[0] |= 0x00000004u;
1182 }
1183 inline void TestMsg::clear_has_int32_default_optional() {
1184  _has_bits_[0] &= ~0x00000004u;
1185 }
1186 inline void TestMsg::clear_int32_default_optional() {
1187  int32_default_optional_ = 0;
1188  clear_has_int32_default_optional();
1189 }
1190 inline ::google::protobuf::int32 TestMsg::int32_default_optional() const {
1191  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.int32_default_optional)
1192  return int32_default_optional_;
1193 }
1194 inline void TestMsg::set_int32_default_optional(::google::protobuf::int32 value) {
1195  set_has_int32_default_optional();
1196  int32_default_optional_ = value;
1197  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.int32_default_optional)
1198 }
1199 
1200 // optional int64 int64_default_optional = 4;
1201 inline bool TestMsg::has_int64_default_optional() const {
1202  return (_has_bits_[0] & 0x00000008u) != 0;
1203 }
1204 inline void TestMsg::set_has_int64_default_optional() {
1205  _has_bits_[0] |= 0x00000008u;
1206 }
1207 inline void TestMsg::clear_has_int64_default_optional() {
1208  _has_bits_[0] &= ~0x00000008u;
1209 }
1210 inline void TestMsg::clear_int64_default_optional() {
1211  int64_default_optional_ = GOOGLE_LONGLONG(0);
1212  clear_has_int64_default_optional();
1213 }
1214 inline ::google::protobuf::int64 TestMsg::int64_default_optional() const {
1215  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.int64_default_optional)
1216  return int64_default_optional_;
1217 }
1218 inline void TestMsg::set_int64_default_optional(::google::protobuf::int64 value) {
1219  set_has_int64_default_optional();
1220  int64_default_optional_ = value;
1221  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.int64_default_optional)
1222 }
1223 
1224 // optional uint32 uint32_default_optional = 5;
1225 inline bool TestMsg::has_uint32_default_optional() const {
1226  return (_has_bits_[0] & 0x00000010u) != 0;
1227 }
1228 inline void TestMsg::set_has_uint32_default_optional() {
1229  _has_bits_[0] |= 0x00000010u;
1230 }
1231 inline void TestMsg::clear_has_uint32_default_optional() {
1232  _has_bits_[0] &= ~0x00000010u;
1233 }
1234 inline void TestMsg::clear_uint32_default_optional() {
1235  uint32_default_optional_ = 0u;
1236  clear_has_uint32_default_optional();
1237 }
1238 inline ::google::protobuf::uint32 TestMsg::uint32_default_optional() const {
1239  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.uint32_default_optional)
1240  return uint32_default_optional_;
1241 }
1242 inline void TestMsg::set_uint32_default_optional(::google::protobuf::uint32 value) {
1243  set_has_uint32_default_optional();
1244  uint32_default_optional_ = value;
1245  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.uint32_default_optional)
1246 }
1247 
1248 // optional uint64 uint64_default_optional = 6;
1249 inline bool TestMsg::has_uint64_default_optional() const {
1250  return (_has_bits_[0] & 0x00000020u) != 0;
1251 }
1252 inline void TestMsg::set_has_uint64_default_optional() {
1253  _has_bits_[0] |= 0x00000020u;
1254 }
1255 inline void TestMsg::clear_has_uint64_default_optional() {
1256  _has_bits_[0] &= ~0x00000020u;
1257 }
1258 inline void TestMsg::clear_uint64_default_optional() {
1259  uint64_default_optional_ = GOOGLE_ULONGLONG(0);
1260  clear_has_uint64_default_optional();
1261 }
1262 inline ::google::protobuf::uint64 TestMsg::uint64_default_optional() const {
1263  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.uint64_default_optional)
1264  return uint64_default_optional_;
1265 }
1266 inline void TestMsg::set_uint64_default_optional(::google::protobuf::uint64 value) {
1267  set_has_uint64_default_optional();
1268  uint64_default_optional_ = value;
1269  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.uint64_default_optional)
1270 }
1271 
1272 // optional sint32 sint32_default_optional = 7;
1273 inline bool TestMsg::has_sint32_default_optional() const {
1274  return (_has_bits_[0] & 0x00000040u) != 0;
1275 }
1276 inline void TestMsg::set_has_sint32_default_optional() {
1277  _has_bits_[0] |= 0x00000040u;
1278 }
1279 inline void TestMsg::clear_has_sint32_default_optional() {
1280  _has_bits_[0] &= ~0x00000040u;
1281 }
1282 inline void TestMsg::clear_sint32_default_optional() {
1283  sint32_default_optional_ = 0;
1284  clear_has_sint32_default_optional();
1285 }
1286 inline ::google::protobuf::int32 TestMsg::sint32_default_optional() const {
1287  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sint32_default_optional)
1288  return sint32_default_optional_;
1289 }
1290 inline void TestMsg::set_sint32_default_optional(::google::protobuf::int32 value) {
1291  set_has_sint32_default_optional();
1292  sint32_default_optional_ = value;
1293  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sint32_default_optional)
1294 }
1295 
1296 // optional sint64 sint64_default_optional = 8;
1297 inline bool TestMsg::has_sint64_default_optional() const {
1298  return (_has_bits_[0] & 0x00000080u) != 0;
1299 }
1300 inline void TestMsg::set_has_sint64_default_optional() {
1301  _has_bits_[0] |= 0x00000080u;
1302 }
1303 inline void TestMsg::clear_has_sint64_default_optional() {
1304  _has_bits_[0] &= ~0x00000080u;
1305 }
1306 inline void TestMsg::clear_sint64_default_optional() {
1307  sint64_default_optional_ = GOOGLE_LONGLONG(0);
1308  clear_has_sint64_default_optional();
1309 }
1310 inline ::google::protobuf::int64 TestMsg::sint64_default_optional() const {
1311  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sint64_default_optional)
1312  return sint64_default_optional_;
1313 }
1314 inline void TestMsg::set_sint64_default_optional(::google::protobuf::int64 value) {
1315  set_has_sint64_default_optional();
1316  sint64_default_optional_ = value;
1317  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sint64_default_optional)
1318 }
1319 
1320 // optional fixed32 fixed32_default_optional = 9;
1321 inline bool TestMsg::has_fixed32_default_optional() const {
1322  return (_has_bits_[0] & 0x00000100u) != 0;
1323 }
1324 inline void TestMsg::set_has_fixed32_default_optional() {
1325  _has_bits_[0] |= 0x00000100u;
1326 }
1327 inline void TestMsg::clear_has_fixed32_default_optional() {
1328  _has_bits_[0] &= ~0x00000100u;
1329 }
1330 inline void TestMsg::clear_fixed32_default_optional() {
1331  fixed32_default_optional_ = 0u;
1332  clear_has_fixed32_default_optional();
1333 }
1334 inline ::google::protobuf::uint32 TestMsg::fixed32_default_optional() const {
1335  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.fixed32_default_optional)
1336  return fixed32_default_optional_;
1337 }
1338 inline void TestMsg::set_fixed32_default_optional(::google::protobuf::uint32 value) {
1339  set_has_fixed32_default_optional();
1340  fixed32_default_optional_ = value;
1341  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.fixed32_default_optional)
1342 }
1343 
1344 // optional fixed64 fixed64_default_optional = 10;
1345 inline bool TestMsg::has_fixed64_default_optional() const {
1346  return (_has_bits_[0] & 0x00000200u) != 0;
1347 }
1348 inline void TestMsg::set_has_fixed64_default_optional() {
1349  _has_bits_[0] |= 0x00000200u;
1350 }
1351 inline void TestMsg::clear_has_fixed64_default_optional() {
1352  _has_bits_[0] &= ~0x00000200u;
1353 }
1354 inline void TestMsg::clear_fixed64_default_optional() {
1355  fixed64_default_optional_ = GOOGLE_ULONGLONG(0);
1356  clear_has_fixed64_default_optional();
1357 }
1358 inline ::google::protobuf::uint64 TestMsg::fixed64_default_optional() const {
1359  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.fixed64_default_optional)
1360  return fixed64_default_optional_;
1361 }
1362 inline void TestMsg::set_fixed64_default_optional(::google::protobuf::uint64 value) {
1363  set_has_fixed64_default_optional();
1364  fixed64_default_optional_ = value;
1365  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.fixed64_default_optional)
1366 }
1367 
1368 // optional sfixed32 sfixed32_default_optional = 11;
1369 inline bool TestMsg::has_sfixed32_default_optional() const {
1370  return (_has_bits_[0] & 0x00000400u) != 0;
1371 }
1372 inline void TestMsg::set_has_sfixed32_default_optional() {
1373  _has_bits_[0] |= 0x00000400u;
1374 }
1375 inline void TestMsg::clear_has_sfixed32_default_optional() {
1376  _has_bits_[0] &= ~0x00000400u;
1377 }
1378 inline void TestMsg::clear_sfixed32_default_optional() {
1379  sfixed32_default_optional_ = 0;
1380  clear_has_sfixed32_default_optional();
1381 }
1382 inline ::google::protobuf::int32 TestMsg::sfixed32_default_optional() const {
1383  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sfixed32_default_optional)
1384  return sfixed32_default_optional_;
1385 }
1386 inline void TestMsg::set_sfixed32_default_optional(::google::protobuf::int32 value) {
1387  set_has_sfixed32_default_optional();
1388  sfixed32_default_optional_ = value;
1389  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sfixed32_default_optional)
1390 }
1391 
1392 // optional sfixed64 sfixed64_default_optional = 12;
1393 inline bool TestMsg::has_sfixed64_default_optional() const {
1394  return (_has_bits_[0] & 0x00000800u) != 0;
1395 }
1396 inline void TestMsg::set_has_sfixed64_default_optional() {
1397  _has_bits_[0] |= 0x00000800u;
1398 }
1399 inline void TestMsg::clear_has_sfixed64_default_optional() {
1400  _has_bits_[0] &= ~0x00000800u;
1401 }
1402 inline void TestMsg::clear_sfixed64_default_optional() {
1403  sfixed64_default_optional_ = GOOGLE_LONGLONG(0);
1404  clear_has_sfixed64_default_optional();
1405 }
1406 inline ::google::protobuf::int64 TestMsg::sfixed64_default_optional() const {
1407  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sfixed64_default_optional)
1408  return sfixed64_default_optional_;
1409 }
1410 inline void TestMsg::set_sfixed64_default_optional(::google::protobuf::int64 value) {
1411  set_has_sfixed64_default_optional();
1412  sfixed64_default_optional_ = value;
1413  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sfixed64_default_optional)
1414 }
1415 
1416 // optional bool bool_default_optional = 13;
1417 inline bool TestMsg::has_bool_default_optional() const {
1418  return (_has_bits_[0] & 0x00001000u) != 0;
1419 }
1420 inline void TestMsg::set_has_bool_default_optional() {
1421  _has_bits_[0] |= 0x00001000u;
1422 }
1423 inline void TestMsg::clear_has_bool_default_optional() {
1424  _has_bits_[0] &= ~0x00001000u;
1425 }
1426 inline void TestMsg::clear_bool_default_optional() {
1427  bool_default_optional_ = false;
1428  clear_has_bool_default_optional();
1429 }
1430 inline bool TestMsg::bool_default_optional() const {
1431  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.bool_default_optional)
1432  return bool_default_optional_;
1433 }
1434 inline void TestMsg::set_bool_default_optional(bool value) {
1435  set_has_bool_default_optional();
1436  bool_default_optional_ = value;
1437  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.bool_default_optional)
1438 }
1439 
1440 // optional string string_default_optional = 14;
1441 inline bool TestMsg::has_string_default_optional() const {
1442  return (_has_bits_[0] & 0x00002000u) != 0;
1443 }
1444 inline void TestMsg::set_has_string_default_optional() {
1445  _has_bits_[0] |= 0x00002000u;
1446 }
1447 inline void TestMsg::clear_has_string_default_optional() {
1448  _has_bits_[0] &= ~0x00002000u;
1449 }
1450 inline void TestMsg::clear_string_default_optional() {
1451  if (string_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1452  string_default_optional_->clear();
1453  }
1454  clear_has_string_default_optional();
1455 }
1456 inline const ::std::string& TestMsg::string_default_optional() const {
1457  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.string_default_optional)
1458  return *string_default_optional_;
1459 }
1460 inline void TestMsg::set_string_default_optional(const ::std::string& value) {
1461  set_has_string_default_optional();
1462  if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1463  string_default_optional_ = new ::std::string;
1464  }
1465  string_default_optional_->assign(value);
1466  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.string_default_optional)
1467 }
1468 inline void TestMsg::set_string_default_optional(const char* value) {
1469  set_has_string_default_optional();
1470  if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1471  string_default_optional_ = new ::std::string;
1472  }
1473  string_default_optional_->assign(value);
1474  // @@protoc_insertion_point(field_set_char:dccl.test.TestMsg.string_default_optional)
1475 }
1476 inline void TestMsg::set_string_default_optional(const char* value, size_t size) {
1477  set_has_string_default_optional();
1478  if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1479  string_default_optional_ = new ::std::string;
1480  }
1481  string_default_optional_->assign(reinterpret_cast<const char*>(value), size);
1482  // @@protoc_insertion_point(field_set_pointer:dccl.test.TestMsg.string_default_optional)
1483 }
1484 inline ::std::string* TestMsg::mutable_string_default_optional() {
1485  set_has_string_default_optional();
1486  if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1487  string_default_optional_ = new ::std::string;
1488  }
1489  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.string_default_optional)
1490  return string_default_optional_;
1491 }
1492 inline ::std::string* TestMsg::release_string_default_optional() {
1493  clear_has_string_default_optional();
1494  if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1495  return NULL;
1496  } else {
1497  ::std::string* temp = string_default_optional_;
1498  string_default_optional_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1499  return temp;
1500  }
1501 }
1502 inline void TestMsg::set_allocated_string_default_optional(::std::string* string_default_optional) {
1503  if (string_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1504  delete string_default_optional_;
1505  }
1506  if (string_default_optional) {
1507  set_has_string_default_optional();
1508  string_default_optional_ = string_default_optional;
1509  } else {
1510  clear_has_string_default_optional();
1511  string_default_optional_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1512  }
1513  // @@protoc_insertion_point(field_set_allocated:dccl.test.TestMsg.string_default_optional)
1514 }
1515 
1516 // optional bytes bytes_default_optional = 15;
1517 inline bool TestMsg::has_bytes_default_optional() const {
1518  return (_has_bits_[0] & 0x00004000u) != 0;
1519 }
1520 inline void TestMsg::set_has_bytes_default_optional() {
1521  _has_bits_[0] |= 0x00004000u;
1522 }
1523 inline void TestMsg::clear_has_bytes_default_optional() {
1524  _has_bits_[0] &= ~0x00004000u;
1525 }
1526 inline void TestMsg::clear_bytes_default_optional() {
1527  if (bytes_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1528  bytes_default_optional_->clear();
1529  }
1530  clear_has_bytes_default_optional();
1531 }
1532 inline const ::std::string& TestMsg::bytes_default_optional() const {
1533  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.bytes_default_optional)
1534  return *bytes_default_optional_;
1535 }
1536 inline void TestMsg::set_bytes_default_optional(const ::std::string& value) {
1537  set_has_bytes_default_optional();
1538  if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1539  bytes_default_optional_ = new ::std::string;
1540  }
1541  bytes_default_optional_->assign(value);
1542  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.bytes_default_optional)
1543 }
1544 inline void TestMsg::set_bytes_default_optional(const char* value) {
1545  set_has_bytes_default_optional();
1546  if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1547  bytes_default_optional_ = new ::std::string;
1548  }
1549  bytes_default_optional_->assign(value);
1550  // @@protoc_insertion_point(field_set_char:dccl.test.TestMsg.bytes_default_optional)
1551 }
1552 inline void TestMsg::set_bytes_default_optional(const void* value, size_t size) {
1553  set_has_bytes_default_optional();
1554  if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1555  bytes_default_optional_ = new ::std::string;
1556  }
1557  bytes_default_optional_->assign(reinterpret_cast<const char*>(value), size);
1558  // @@protoc_insertion_point(field_set_pointer:dccl.test.TestMsg.bytes_default_optional)
1559 }
1560 inline ::std::string* TestMsg::mutable_bytes_default_optional() {
1561  set_has_bytes_default_optional();
1562  if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1563  bytes_default_optional_ = new ::std::string;
1564  }
1565  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.bytes_default_optional)
1566  return bytes_default_optional_;
1567 }
1568 inline ::std::string* TestMsg::release_bytes_default_optional() {
1569  clear_has_bytes_default_optional();
1570  if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1571  return NULL;
1572  } else {
1573  ::std::string* temp = bytes_default_optional_;
1574  bytes_default_optional_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1575  return temp;
1576  }
1577 }
1578 inline void TestMsg::set_allocated_bytes_default_optional(::std::string* bytes_default_optional) {
1579  if (bytes_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1580  delete bytes_default_optional_;
1581  }
1582  if (bytes_default_optional) {
1583  set_has_bytes_default_optional();
1584  bytes_default_optional_ = bytes_default_optional;
1585  } else {
1586  clear_has_bytes_default_optional();
1587  bytes_default_optional_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1588  }
1589  // @@protoc_insertion_point(field_set_allocated:dccl.test.TestMsg.bytes_default_optional)
1590 }
1591 
1592 // optional .dccl.test.Enum1 enum_default_optional = 16;
1593 inline bool TestMsg::has_enum_default_optional() const {
1594  return (_has_bits_[0] & 0x00008000u) != 0;
1595 }
1596 inline void TestMsg::set_has_enum_default_optional() {
1597  _has_bits_[0] |= 0x00008000u;
1598 }
1599 inline void TestMsg::clear_has_enum_default_optional() {
1600  _has_bits_[0] &= ~0x00008000u;
1601 }
1602 inline void TestMsg::clear_enum_default_optional() {
1603  enum_default_optional_ = 1;
1604  clear_has_enum_default_optional();
1605 }
1606 inline ::dccl::test::Enum1 TestMsg::enum_default_optional() const {
1607  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.enum_default_optional)
1608  return static_cast< ::dccl::test::Enum1 >(enum_default_optional_);
1609 }
1610 inline void TestMsg::set_enum_default_optional(::dccl::test::Enum1 value) {
1611  assert(::dccl::test::Enum1_IsValid(value));
1612  set_has_enum_default_optional();
1613  enum_default_optional_ = value;
1614  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.enum_default_optional)
1615 }
1616 
1617 // optional .dccl.test.EmbeddedMsg1 msg_default_optional = 17;
1618 inline bool TestMsg::has_msg_default_optional() const {
1619  return (_has_bits_[0] & 0x00010000u) != 0;
1620 }
1621 inline void TestMsg::set_has_msg_default_optional() {
1622  _has_bits_[0] |= 0x00010000u;
1623 }
1624 inline void TestMsg::clear_has_msg_default_optional() {
1625  _has_bits_[0] &= ~0x00010000u;
1626 }
1627 inline void TestMsg::clear_msg_default_optional() {
1628  if (msg_default_optional_ != NULL) msg_default_optional_->::dccl::test::EmbeddedMsg1::Clear();
1629  clear_has_msg_default_optional();
1630 }
1631 inline const ::dccl::test::EmbeddedMsg1& TestMsg::msg_default_optional() const {
1632  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.msg_default_optional)
1633  return msg_default_optional_ != NULL ? *msg_default_optional_ : *default_instance_->msg_default_optional_;
1634 }
1635 inline ::dccl::test::EmbeddedMsg1* TestMsg::mutable_msg_default_optional() {
1636  set_has_msg_default_optional();
1637  if (msg_default_optional_ == NULL) msg_default_optional_ = new ::dccl::test::EmbeddedMsg1;
1638  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.msg_default_optional)
1639  return msg_default_optional_;
1640 }
1641 inline ::dccl::test::EmbeddedMsg1* TestMsg::release_msg_default_optional() {
1642  clear_has_msg_default_optional();
1643  ::dccl::test::EmbeddedMsg1* temp = msg_default_optional_;
1644  msg_default_optional_ = NULL;
1645  return temp;
1646 }
1647 inline void TestMsg::set_allocated_msg_default_optional(::dccl::test::EmbeddedMsg1* msg_default_optional) {
1648  delete msg_default_optional_;
1649  msg_default_optional_ = msg_default_optional;
1650  if (msg_default_optional) {
1651  set_has_msg_default_optional();
1652  } else {
1653  clear_has_msg_default_optional();
1654  }
1655  // @@protoc_insertion_point(field_set_allocated:dccl.test.TestMsg.msg_default_optional)
1656 }
1657 
1658 // required double double_default_required = 21;
1659 inline bool TestMsg::has_double_default_required() const {
1660  return (_has_bits_[0] & 0x00020000u) != 0;
1661 }
1662 inline void TestMsg::set_has_double_default_required() {
1663  _has_bits_[0] |= 0x00020000u;
1664 }
1665 inline void TestMsg::clear_has_double_default_required() {
1666  _has_bits_[0] &= ~0x00020000u;
1667 }
1668 inline void TestMsg::clear_double_default_required() {
1669  double_default_required_ = 0;
1670  clear_has_double_default_required();
1671 }
1672 inline double TestMsg::double_default_required() const {
1673  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.double_default_required)
1674  return double_default_required_;
1675 }
1676 inline void TestMsg::set_double_default_required(double value) {
1677  set_has_double_default_required();
1678  double_default_required_ = value;
1679  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.double_default_required)
1680 }
1681 
1682 // required float float_default_required = 22;
1683 inline bool TestMsg::has_float_default_required() const {
1684  return (_has_bits_[0] & 0x00040000u) != 0;
1685 }
1686 inline void TestMsg::set_has_float_default_required() {
1687  _has_bits_[0] |= 0x00040000u;
1688 }
1689 inline void TestMsg::clear_has_float_default_required() {
1690  _has_bits_[0] &= ~0x00040000u;
1691 }
1692 inline void TestMsg::clear_float_default_required() {
1693  float_default_required_ = 0;
1694  clear_has_float_default_required();
1695 }
1696 inline float TestMsg::float_default_required() const {
1697  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.float_default_required)
1698  return float_default_required_;
1699 }
1700 inline void TestMsg::set_float_default_required(float value) {
1701  set_has_float_default_required();
1702  float_default_required_ = value;
1703  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.float_default_required)
1704 }
1705 
1706 // required int32 int32_default_required = 23;
1707 inline bool TestMsg::has_int32_default_required() const {
1708  return (_has_bits_[0] & 0x00080000u) != 0;
1709 }
1710 inline void TestMsg::set_has_int32_default_required() {
1711  _has_bits_[0] |= 0x00080000u;
1712 }
1713 inline void TestMsg::clear_has_int32_default_required() {
1714  _has_bits_[0] &= ~0x00080000u;
1715 }
1716 inline void TestMsg::clear_int32_default_required() {
1717  int32_default_required_ = 0;
1718  clear_has_int32_default_required();
1719 }
1720 inline ::google::protobuf::int32 TestMsg::int32_default_required() const {
1721  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.int32_default_required)
1722  return int32_default_required_;
1723 }
1724 inline void TestMsg::set_int32_default_required(::google::protobuf::int32 value) {
1725  set_has_int32_default_required();
1726  int32_default_required_ = value;
1727  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.int32_default_required)
1728 }
1729 
1730 // required int64 int64_default_required = 24;
1731 inline bool TestMsg::has_int64_default_required() const {
1732  return (_has_bits_[0] & 0x00100000u) != 0;
1733 }
1734 inline void TestMsg::set_has_int64_default_required() {
1735  _has_bits_[0] |= 0x00100000u;
1736 }
1737 inline void TestMsg::clear_has_int64_default_required() {
1738  _has_bits_[0] &= ~0x00100000u;
1739 }
1740 inline void TestMsg::clear_int64_default_required() {
1741  int64_default_required_ = GOOGLE_LONGLONG(0);
1742  clear_has_int64_default_required();
1743 }
1744 inline ::google::protobuf::int64 TestMsg::int64_default_required() const {
1745  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.int64_default_required)
1746  return int64_default_required_;
1747 }
1748 inline void TestMsg::set_int64_default_required(::google::protobuf::int64 value) {
1749  set_has_int64_default_required();
1750  int64_default_required_ = value;
1751  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.int64_default_required)
1752 }
1753 
1754 // required uint32 uint32_default_required = 25;
1755 inline bool TestMsg::has_uint32_default_required() const {
1756  return (_has_bits_[0] & 0x00200000u) != 0;
1757 }
1758 inline void TestMsg::set_has_uint32_default_required() {
1759  _has_bits_[0] |= 0x00200000u;
1760 }
1761 inline void TestMsg::clear_has_uint32_default_required() {
1762  _has_bits_[0] &= ~0x00200000u;
1763 }
1764 inline void TestMsg::clear_uint32_default_required() {
1765  uint32_default_required_ = 0u;
1766  clear_has_uint32_default_required();
1767 }
1768 inline ::google::protobuf::uint32 TestMsg::uint32_default_required() const {
1769  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.uint32_default_required)
1770  return uint32_default_required_;
1771 }
1772 inline void TestMsg::set_uint32_default_required(::google::protobuf::uint32 value) {
1773  set_has_uint32_default_required();
1774  uint32_default_required_ = value;
1775  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.uint32_default_required)
1776 }
1777 
1778 // required uint64 uint64_default_required = 26;
1779 inline bool TestMsg::has_uint64_default_required() const {
1780  return (_has_bits_[0] & 0x00400000u) != 0;
1781 }
1782 inline void TestMsg::set_has_uint64_default_required() {
1783  _has_bits_[0] |= 0x00400000u;
1784 }
1785 inline void TestMsg::clear_has_uint64_default_required() {
1786  _has_bits_[0] &= ~0x00400000u;
1787 }
1788 inline void TestMsg::clear_uint64_default_required() {
1789  uint64_default_required_ = GOOGLE_ULONGLONG(0);
1790  clear_has_uint64_default_required();
1791 }
1792 inline ::google::protobuf::uint64 TestMsg::uint64_default_required() const {
1793  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.uint64_default_required)
1794  return uint64_default_required_;
1795 }
1796 inline void TestMsg::set_uint64_default_required(::google::protobuf::uint64 value) {
1797  set_has_uint64_default_required();
1798  uint64_default_required_ = value;
1799  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.uint64_default_required)
1800 }
1801 
1802 // required sint32 sint32_default_required = 27;
1803 inline bool TestMsg::has_sint32_default_required() const {
1804  return (_has_bits_[0] & 0x00800000u) != 0;
1805 }
1806 inline void TestMsg::set_has_sint32_default_required() {
1807  _has_bits_[0] |= 0x00800000u;
1808 }
1809 inline void TestMsg::clear_has_sint32_default_required() {
1810  _has_bits_[0] &= ~0x00800000u;
1811 }
1812 inline void TestMsg::clear_sint32_default_required() {
1813  sint32_default_required_ = 0;
1814  clear_has_sint32_default_required();
1815 }
1816 inline ::google::protobuf::int32 TestMsg::sint32_default_required() const {
1817  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sint32_default_required)
1818  return sint32_default_required_;
1819 }
1820 inline void TestMsg::set_sint32_default_required(::google::protobuf::int32 value) {
1821  set_has_sint32_default_required();
1822  sint32_default_required_ = value;
1823  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sint32_default_required)
1824 }
1825 
1826 // required sint64 sint64_default_required = 28;
1827 inline bool TestMsg::has_sint64_default_required() const {
1828  return (_has_bits_[0] & 0x01000000u) != 0;
1829 }
1830 inline void TestMsg::set_has_sint64_default_required() {
1831  _has_bits_[0] |= 0x01000000u;
1832 }
1833 inline void TestMsg::clear_has_sint64_default_required() {
1834  _has_bits_[0] &= ~0x01000000u;
1835 }
1836 inline void TestMsg::clear_sint64_default_required() {
1837  sint64_default_required_ = GOOGLE_LONGLONG(0);
1838  clear_has_sint64_default_required();
1839 }
1840 inline ::google::protobuf::int64 TestMsg::sint64_default_required() const {
1841  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sint64_default_required)
1842  return sint64_default_required_;
1843 }
1844 inline void TestMsg::set_sint64_default_required(::google::protobuf::int64 value) {
1845  set_has_sint64_default_required();
1846  sint64_default_required_ = value;
1847  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sint64_default_required)
1848 }
1849 
1850 // required fixed32 fixed32_default_required = 29;
1851 inline bool TestMsg::has_fixed32_default_required() const {
1852  return (_has_bits_[0] & 0x02000000u) != 0;
1853 }
1854 inline void TestMsg::set_has_fixed32_default_required() {
1855  _has_bits_[0] |= 0x02000000u;
1856 }
1857 inline void TestMsg::clear_has_fixed32_default_required() {
1858  _has_bits_[0] &= ~0x02000000u;
1859 }
1860 inline void TestMsg::clear_fixed32_default_required() {
1861  fixed32_default_required_ = 0u;
1862  clear_has_fixed32_default_required();
1863 }
1864 inline ::google::protobuf::uint32 TestMsg::fixed32_default_required() const {
1865  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.fixed32_default_required)
1866  return fixed32_default_required_;
1867 }
1868 inline void TestMsg::set_fixed32_default_required(::google::protobuf::uint32 value) {
1869  set_has_fixed32_default_required();
1870  fixed32_default_required_ = value;
1871  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.fixed32_default_required)
1872 }
1873 
1874 // required fixed64 fixed64_default_required = 30;
1875 inline bool TestMsg::has_fixed64_default_required() const {
1876  return (_has_bits_[0] & 0x04000000u) != 0;
1877 }
1878 inline void TestMsg::set_has_fixed64_default_required() {
1879  _has_bits_[0] |= 0x04000000u;
1880 }
1881 inline void TestMsg::clear_has_fixed64_default_required() {
1882  _has_bits_[0] &= ~0x04000000u;
1883 }
1884 inline void TestMsg::clear_fixed64_default_required() {
1885  fixed64_default_required_ = GOOGLE_ULONGLONG(0);
1886  clear_has_fixed64_default_required();
1887 }
1888 inline ::google::protobuf::uint64 TestMsg::fixed64_default_required() const {
1889  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.fixed64_default_required)
1890  return fixed64_default_required_;
1891 }
1892 inline void TestMsg::set_fixed64_default_required(::google::protobuf::uint64 value) {
1893  set_has_fixed64_default_required();
1894  fixed64_default_required_ = value;
1895  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.fixed64_default_required)
1896 }
1897 
1898 // required sfixed32 sfixed32_default_required = 31;
1899 inline bool TestMsg::has_sfixed32_default_required() const {
1900  return (_has_bits_[0] & 0x08000000u) != 0;
1901 }
1902 inline void TestMsg::set_has_sfixed32_default_required() {
1903  _has_bits_[0] |= 0x08000000u;
1904 }
1905 inline void TestMsg::clear_has_sfixed32_default_required() {
1906  _has_bits_[0] &= ~0x08000000u;
1907 }
1908 inline void TestMsg::clear_sfixed32_default_required() {
1909  sfixed32_default_required_ = 0;
1910  clear_has_sfixed32_default_required();
1911 }
1912 inline ::google::protobuf::int32 TestMsg::sfixed32_default_required() const {
1913  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sfixed32_default_required)
1914  return sfixed32_default_required_;
1915 }
1916 inline void TestMsg::set_sfixed32_default_required(::google::protobuf::int32 value) {
1917  set_has_sfixed32_default_required();
1918  sfixed32_default_required_ = value;
1919  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sfixed32_default_required)
1920 }
1921 
1922 // required sfixed64 sfixed64_default_required = 32;
1923 inline bool TestMsg::has_sfixed64_default_required() const {
1924  return (_has_bits_[0] & 0x10000000u) != 0;
1925 }
1926 inline void TestMsg::set_has_sfixed64_default_required() {
1927  _has_bits_[0] |= 0x10000000u;
1928 }
1929 inline void TestMsg::clear_has_sfixed64_default_required() {
1930  _has_bits_[0] &= ~0x10000000u;
1931 }
1932 inline void TestMsg::clear_sfixed64_default_required() {
1933  sfixed64_default_required_ = GOOGLE_LONGLONG(0);
1934  clear_has_sfixed64_default_required();
1935 }
1936 inline ::google::protobuf::int64 TestMsg::sfixed64_default_required() const {
1937  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sfixed64_default_required)
1938  return sfixed64_default_required_;
1939 }
1940 inline void TestMsg::set_sfixed64_default_required(::google::protobuf::int64 value) {
1941  set_has_sfixed64_default_required();
1942  sfixed64_default_required_ = value;
1943  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sfixed64_default_required)
1944 }
1945 
1946 // required bool bool_default_required = 33;
1947 inline bool TestMsg::has_bool_default_required() const {
1948  return (_has_bits_[0] & 0x20000000u) != 0;
1949 }
1950 inline void TestMsg::set_has_bool_default_required() {
1951  _has_bits_[0] |= 0x20000000u;
1952 }
1953 inline void TestMsg::clear_has_bool_default_required() {
1954  _has_bits_[0] &= ~0x20000000u;
1955 }
1956 inline void TestMsg::clear_bool_default_required() {
1957  bool_default_required_ = false;
1958  clear_has_bool_default_required();
1959 }
1960 inline bool TestMsg::bool_default_required() const {
1961  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.bool_default_required)
1962  return bool_default_required_;
1963 }
1964 inline void TestMsg::set_bool_default_required(bool value) {
1965  set_has_bool_default_required();
1966  bool_default_required_ = value;
1967  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.bool_default_required)
1968 }
1969 
1970 // required string string_default_required = 34;
1971 inline bool TestMsg::has_string_default_required() const {
1972  return (_has_bits_[0] & 0x40000000u) != 0;
1973 }
1974 inline void TestMsg::set_has_string_default_required() {
1975  _has_bits_[0] |= 0x40000000u;
1976 }
1977 inline void TestMsg::clear_has_string_default_required() {
1978  _has_bits_[0] &= ~0x40000000u;
1979 }
1980 inline void TestMsg::clear_string_default_required() {
1981  if (string_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1982  string_default_required_->clear();
1983  }
1984  clear_has_string_default_required();
1985 }
1986 inline const ::std::string& TestMsg::string_default_required() const {
1987  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.string_default_required)
1988  return *string_default_required_;
1989 }
1990 inline void TestMsg::set_string_default_required(const ::std::string& value) {
1991  set_has_string_default_required();
1992  if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1993  string_default_required_ = new ::std::string;
1994  }
1995  string_default_required_->assign(value);
1996  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.string_default_required)
1997 }
1998 inline void TestMsg::set_string_default_required(const char* value) {
1999  set_has_string_default_required();
2000  if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2001  string_default_required_ = new ::std::string;
2002  }
2003  string_default_required_->assign(value);
2004  // @@protoc_insertion_point(field_set_char:dccl.test.TestMsg.string_default_required)
2005 }
2006 inline void TestMsg::set_string_default_required(const char* value, size_t size) {
2007  set_has_string_default_required();
2008  if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2009  string_default_required_ = new ::std::string;
2010  }
2011  string_default_required_->assign(reinterpret_cast<const char*>(value), size);
2012  // @@protoc_insertion_point(field_set_pointer:dccl.test.TestMsg.string_default_required)
2013 }
2014 inline ::std::string* TestMsg::mutable_string_default_required() {
2015  set_has_string_default_required();
2016  if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2017  string_default_required_ = new ::std::string;
2018  }
2019  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.string_default_required)
2020  return string_default_required_;
2021 }
2022 inline ::std::string* TestMsg::release_string_default_required() {
2023  clear_has_string_default_required();
2024  if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2025  return NULL;
2026  } else {
2027  ::std::string* temp = string_default_required_;
2028  string_default_required_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2029  return temp;
2030  }
2031 }
2032 inline void TestMsg::set_allocated_string_default_required(::std::string* string_default_required) {
2033  if (string_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2034  delete string_default_required_;
2035  }
2036  if (string_default_required) {
2037  set_has_string_default_required();
2038  string_default_required_ = string_default_required;
2039  } else {
2040  clear_has_string_default_required();
2041  string_default_required_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2042  }
2043  // @@protoc_insertion_point(field_set_allocated:dccl.test.TestMsg.string_default_required)
2044 }
2045 
2046 // required bytes bytes_default_required = 35;
2047 inline bool TestMsg::has_bytes_default_required() const {
2048  return (_has_bits_[0] & 0x80000000u) != 0;
2049 }
2050 inline void TestMsg::set_has_bytes_default_required() {
2051  _has_bits_[0] |= 0x80000000u;
2052 }
2053 inline void TestMsg::clear_has_bytes_default_required() {
2054  _has_bits_[0] &= ~0x80000000u;
2055 }
2056 inline void TestMsg::clear_bytes_default_required() {
2057  if (bytes_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2058  bytes_default_required_->clear();
2059  }
2060  clear_has_bytes_default_required();
2061 }
2062 inline const ::std::string& TestMsg::bytes_default_required() const {
2063  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.bytes_default_required)
2064  return *bytes_default_required_;
2065 }
2066 inline void TestMsg::set_bytes_default_required(const ::std::string& value) {
2067  set_has_bytes_default_required();
2068  if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2069  bytes_default_required_ = new ::std::string;
2070  }
2071  bytes_default_required_->assign(value);
2072  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.bytes_default_required)
2073 }
2074 inline void TestMsg::set_bytes_default_required(const char* value) {
2075  set_has_bytes_default_required();
2076  if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2077  bytes_default_required_ = new ::std::string;
2078  }
2079  bytes_default_required_->assign(value);
2080  // @@protoc_insertion_point(field_set_char:dccl.test.TestMsg.bytes_default_required)
2081 }
2082 inline void TestMsg::set_bytes_default_required(const void* value, size_t size) {
2083  set_has_bytes_default_required();
2084  if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2085  bytes_default_required_ = new ::std::string;
2086  }
2087  bytes_default_required_->assign(reinterpret_cast<const char*>(value), size);
2088  // @@protoc_insertion_point(field_set_pointer:dccl.test.TestMsg.bytes_default_required)
2089 }
2090 inline ::std::string* TestMsg::mutable_bytes_default_required() {
2091  set_has_bytes_default_required();
2092  if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2093  bytes_default_required_ = new ::std::string;
2094  }
2095  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.bytes_default_required)
2096  return bytes_default_required_;
2097 }
2098 inline ::std::string* TestMsg::release_bytes_default_required() {
2099  clear_has_bytes_default_required();
2100  if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2101  return NULL;
2102  } else {
2103  ::std::string* temp = bytes_default_required_;
2104  bytes_default_required_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2105  return temp;
2106  }
2107 }
2108 inline void TestMsg::set_allocated_bytes_default_required(::std::string* bytes_default_required) {
2109  if (bytes_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2110  delete bytes_default_required_;
2111  }
2112  if (bytes_default_required) {
2113  set_has_bytes_default_required();
2114  bytes_default_required_ = bytes_default_required;
2115  } else {
2116  clear_has_bytes_default_required();
2117  bytes_default_required_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2118  }
2119  // @@protoc_insertion_point(field_set_allocated:dccl.test.TestMsg.bytes_default_required)
2120 }
2121 
2122 // required .dccl.test.Enum1 enum_default_required = 36;
2123 inline bool TestMsg::has_enum_default_required() const {
2124  return (_has_bits_[1] & 0x00000001u) != 0;
2125 }
2126 inline void TestMsg::set_has_enum_default_required() {
2127  _has_bits_[1] |= 0x00000001u;
2128 }
2129 inline void TestMsg::clear_has_enum_default_required() {
2130  _has_bits_[1] &= ~0x00000001u;
2131 }
2132 inline void TestMsg::clear_enum_default_required() {
2133  enum_default_required_ = 1;
2134  clear_has_enum_default_required();
2135 }
2136 inline ::dccl::test::Enum1 TestMsg::enum_default_required() const {
2137  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.enum_default_required)
2138  return static_cast< ::dccl::test::Enum1 >(enum_default_required_);
2139 }
2140 inline void TestMsg::set_enum_default_required(::dccl::test::Enum1 value) {
2141  assert(::dccl::test::Enum1_IsValid(value));
2142  set_has_enum_default_required();
2143  enum_default_required_ = value;
2144  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.enum_default_required)
2145 }
2146 
2147 // required .dccl.test.EmbeddedMsg1 msg_default_required = 37;
2148 inline bool TestMsg::has_msg_default_required() const {
2149  return (_has_bits_[1] & 0x00000002u) != 0;
2150 }
2151 inline void TestMsg::set_has_msg_default_required() {
2152  _has_bits_[1] |= 0x00000002u;
2153 }
2154 inline void TestMsg::clear_has_msg_default_required() {
2155  _has_bits_[1] &= ~0x00000002u;
2156 }
2157 inline void TestMsg::clear_msg_default_required() {
2158  if (msg_default_required_ != NULL) msg_default_required_->::dccl::test::EmbeddedMsg1::Clear();
2159  clear_has_msg_default_required();
2160 }
2161 inline const ::dccl::test::EmbeddedMsg1& TestMsg::msg_default_required() const {
2162  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.msg_default_required)
2163  return msg_default_required_ != NULL ? *msg_default_required_ : *default_instance_->msg_default_required_;
2164 }
2165 inline ::dccl::test::EmbeddedMsg1* TestMsg::mutable_msg_default_required() {
2166  set_has_msg_default_required();
2167  if (msg_default_required_ == NULL) msg_default_required_ = new ::dccl::test::EmbeddedMsg1;
2168  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.msg_default_required)
2169  return msg_default_required_;
2170 }
2171 inline ::dccl::test::EmbeddedMsg1* TestMsg::release_msg_default_required() {
2172  clear_has_msg_default_required();
2173  ::dccl::test::EmbeddedMsg1* temp = msg_default_required_;
2174  msg_default_required_ = NULL;
2175  return temp;
2176 }
2177 inline void TestMsg::set_allocated_msg_default_required(::dccl::test::EmbeddedMsg1* msg_default_required) {
2178  delete msg_default_required_;
2179  msg_default_required_ = msg_default_required;
2180  if (msg_default_required) {
2181  set_has_msg_default_required();
2182  } else {
2183  clear_has_msg_default_required();
2184  }
2185  // @@protoc_insertion_point(field_set_allocated:dccl.test.TestMsg.msg_default_required)
2186 }
2187 
2188 // repeated double double_default_repeat = 101;
2189 inline int TestMsg::double_default_repeat_size() const {
2190  return double_default_repeat_.size();
2191 }
2192 inline void TestMsg::clear_double_default_repeat() {
2193  double_default_repeat_.Clear();
2194 }
2195 inline double TestMsg::double_default_repeat(int index) const {
2196  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.double_default_repeat)
2197  return double_default_repeat_.Get(index);
2198 }
2199 inline void TestMsg::set_double_default_repeat(int index, double value) {
2200  double_default_repeat_.Set(index, value);
2201  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.double_default_repeat)
2202 }
2203 inline void TestMsg::add_double_default_repeat(double value) {
2204  double_default_repeat_.Add(value);
2205  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.double_default_repeat)
2206 }
2207 inline const ::google::protobuf::RepeatedField< double >&
2208 TestMsg::double_default_repeat() const {
2209  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.double_default_repeat)
2210  return double_default_repeat_;
2211 }
2212 inline ::google::protobuf::RepeatedField< double >*
2213 TestMsg::mutable_double_default_repeat() {
2214  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.double_default_repeat)
2215  return &double_default_repeat_;
2216 }
2217 
2218 // repeated float float_default_repeat = 102;
2219 inline int TestMsg::float_default_repeat_size() const {
2220  return float_default_repeat_.size();
2221 }
2222 inline void TestMsg::clear_float_default_repeat() {
2223  float_default_repeat_.Clear();
2224 }
2225 inline float TestMsg::float_default_repeat(int index) const {
2226  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.float_default_repeat)
2227  return float_default_repeat_.Get(index);
2228 }
2229 inline void TestMsg::set_float_default_repeat(int index, float value) {
2230  float_default_repeat_.Set(index, value);
2231  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.float_default_repeat)
2232 }
2233 inline void TestMsg::add_float_default_repeat(float value) {
2234  float_default_repeat_.Add(value);
2235  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.float_default_repeat)
2236 }
2237 inline const ::google::protobuf::RepeatedField< float >&
2238 TestMsg::float_default_repeat() const {
2239  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.float_default_repeat)
2240  return float_default_repeat_;
2241 }
2242 inline ::google::protobuf::RepeatedField< float >*
2243 TestMsg::mutable_float_default_repeat() {
2244  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.float_default_repeat)
2245  return &float_default_repeat_;
2246 }
2247 
2248 // repeated int32 int32_default_repeat = 103;
2249 inline int TestMsg::int32_default_repeat_size() const {
2250  return int32_default_repeat_.size();
2251 }
2252 inline void TestMsg::clear_int32_default_repeat() {
2253  int32_default_repeat_.Clear();
2254 }
2255 inline ::google::protobuf::int32 TestMsg::int32_default_repeat(int index) const {
2256  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.int32_default_repeat)
2257  return int32_default_repeat_.Get(index);
2258 }
2259 inline void TestMsg::set_int32_default_repeat(int index, ::google::protobuf::int32 value) {
2260  int32_default_repeat_.Set(index, value);
2261  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.int32_default_repeat)
2262 }
2263 inline void TestMsg::add_int32_default_repeat(::google::protobuf::int32 value) {
2264  int32_default_repeat_.Add(value);
2265  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.int32_default_repeat)
2266 }
2267 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2268 TestMsg::int32_default_repeat() const {
2269  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.int32_default_repeat)
2270  return int32_default_repeat_;
2271 }
2272 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2273 TestMsg::mutable_int32_default_repeat() {
2274  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.int32_default_repeat)
2275  return &int32_default_repeat_;
2276 }
2277 
2278 // repeated int64 int64_default_repeat = 104;
2279 inline int TestMsg::int64_default_repeat_size() const {
2280  return int64_default_repeat_.size();
2281 }
2282 inline void TestMsg::clear_int64_default_repeat() {
2283  int64_default_repeat_.Clear();
2284 }
2285 inline ::google::protobuf::int64 TestMsg::int64_default_repeat(int index) const {
2286  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.int64_default_repeat)
2287  return int64_default_repeat_.Get(index);
2288 }
2289 inline void TestMsg::set_int64_default_repeat(int index, ::google::protobuf::int64 value) {
2290  int64_default_repeat_.Set(index, value);
2291  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.int64_default_repeat)
2292 }
2293 inline void TestMsg::add_int64_default_repeat(::google::protobuf::int64 value) {
2294  int64_default_repeat_.Add(value);
2295  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.int64_default_repeat)
2296 }
2297 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2298 TestMsg::int64_default_repeat() const {
2299  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.int64_default_repeat)
2300  return int64_default_repeat_;
2301 }
2302 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2303 TestMsg::mutable_int64_default_repeat() {
2304  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.int64_default_repeat)
2305  return &int64_default_repeat_;
2306 }
2307 
2308 // repeated uint32 uint32_default_repeat = 105;
2309 inline int TestMsg::uint32_default_repeat_size() const {
2310  return uint32_default_repeat_.size();
2311 }
2312 inline void TestMsg::clear_uint32_default_repeat() {
2313  uint32_default_repeat_.Clear();
2314 }
2315 inline ::google::protobuf::uint32 TestMsg::uint32_default_repeat(int index) const {
2316  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.uint32_default_repeat)
2317  return uint32_default_repeat_.Get(index);
2318 }
2319 inline void TestMsg::set_uint32_default_repeat(int index, ::google::protobuf::uint32 value) {
2320  uint32_default_repeat_.Set(index, value);
2321  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.uint32_default_repeat)
2322 }
2323 inline void TestMsg::add_uint32_default_repeat(::google::protobuf::uint32 value) {
2324  uint32_default_repeat_.Add(value);
2325  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.uint32_default_repeat)
2326 }
2327 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2328 TestMsg::uint32_default_repeat() const {
2329  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.uint32_default_repeat)
2330  return uint32_default_repeat_;
2331 }
2332 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2333 TestMsg::mutable_uint32_default_repeat() {
2334  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.uint32_default_repeat)
2335  return &uint32_default_repeat_;
2336 }
2337 
2338 // repeated uint64 uint64_default_repeat = 106;
2339 inline int TestMsg::uint64_default_repeat_size() const {
2340  return uint64_default_repeat_.size();
2341 }
2342 inline void TestMsg::clear_uint64_default_repeat() {
2343  uint64_default_repeat_.Clear();
2344 }
2345 inline ::google::protobuf::uint64 TestMsg::uint64_default_repeat(int index) const {
2346  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.uint64_default_repeat)
2347  return uint64_default_repeat_.Get(index);
2348 }
2349 inline void TestMsg::set_uint64_default_repeat(int index, ::google::protobuf::uint64 value) {
2350  uint64_default_repeat_.Set(index, value);
2351  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.uint64_default_repeat)
2352 }
2353 inline void TestMsg::add_uint64_default_repeat(::google::protobuf::uint64 value) {
2354  uint64_default_repeat_.Add(value);
2355  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.uint64_default_repeat)
2356 }
2357 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2358 TestMsg::uint64_default_repeat() const {
2359  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.uint64_default_repeat)
2360  return uint64_default_repeat_;
2361 }
2362 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2363 TestMsg::mutable_uint64_default_repeat() {
2364  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.uint64_default_repeat)
2365  return &uint64_default_repeat_;
2366 }
2367 
2368 // repeated sint32 sint32_default_repeat = 107;
2369 inline int TestMsg::sint32_default_repeat_size() const {
2370  return sint32_default_repeat_.size();
2371 }
2372 inline void TestMsg::clear_sint32_default_repeat() {
2373  sint32_default_repeat_.Clear();
2374 }
2375 inline ::google::protobuf::int32 TestMsg::sint32_default_repeat(int index) const {
2376  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sint32_default_repeat)
2377  return sint32_default_repeat_.Get(index);
2378 }
2379 inline void TestMsg::set_sint32_default_repeat(int index, ::google::protobuf::int32 value) {
2380  sint32_default_repeat_.Set(index, value);
2381  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sint32_default_repeat)
2382 }
2383 inline void TestMsg::add_sint32_default_repeat(::google::protobuf::int32 value) {
2384  sint32_default_repeat_.Add(value);
2385  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.sint32_default_repeat)
2386 }
2387 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2388 TestMsg::sint32_default_repeat() const {
2389  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.sint32_default_repeat)
2390  return sint32_default_repeat_;
2391 }
2392 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2393 TestMsg::mutable_sint32_default_repeat() {
2394  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.sint32_default_repeat)
2395  return &sint32_default_repeat_;
2396 }
2397 
2398 // repeated sint64 sint64_default_repeat = 108;
2399 inline int TestMsg::sint64_default_repeat_size() const {
2400  return sint64_default_repeat_.size();
2401 }
2402 inline void TestMsg::clear_sint64_default_repeat() {
2403  sint64_default_repeat_.Clear();
2404 }
2405 inline ::google::protobuf::int64 TestMsg::sint64_default_repeat(int index) const {
2406  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sint64_default_repeat)
2407  return sint64_default_repeat_.Get(index);
2408 }
2409 inline void TestMsg::set_sint64_default_repeat(int index, ::google::protobuf::int64 value) {
2410  sint64_default_repeat_.Set(index, value);
2411  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sint64_default_repeat)
2412 }
2413 inline void TestMsg::add_sint64_default_repeat(::google::protobuf::int64 value) {
2414  sint64_default_repeat_.Add(value);
2415  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.sint64_default_repeat)
2416 }
2417 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2418 TestMsg::sint64_default_repeat() const {
2419  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.sint64_default_repeat)
2420  return sint64_default_repeat_;
2421 }
2422 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2423 TestMsg::mutable_sint64_default_repeat() {
2424  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.sint64_default_repeat)
2425  return &sint64_default_repeat_;
2426 }
2427 
2428 // repeated fixed32 fixed32_default_repeat = 109;
2429 inline int TestMsg::fixed32_default_repeat_size() const {
2430  return fixed32_default_repeat_.size();
2431 }
2432 inline void TestMsg::clear_fixed32_default_repeat() {
2433  fixed32_default_repeat_.Clear();
2434 }
2435 inline ::google::protobuf::uint32 TestMsg::fixed32_default_repeat(int index) const {
2436  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.fixed32_default_repeat)
2437  return fixed32_default_repeat_.Get(index);
2438 }
2439 inline void TestMsg::set_fixed32_default_repeat(int index, ::google::protobuf::uint32 value) {
2440  fixed32_default_repeat_.Set(index, value);
2441  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.fixed32_default_repeat)
2442 }
2443 inline void TestMsg::add_fixed32_default_repeat(::google::protobuf::uint32 value) {
2444  fixed32_default_repeat_.Add(value);
2445  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.fixed32_default_repeat)
2446 }
2447 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2448 TestMsg::fixed32_default_repeat() const {
2449  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.fixed32_default_repeat)
2450  return fixed32_default_repeat_;
2451 }
2452 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2453 TestMsg::mutable_fixed32_default_repeat() {
2454  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.fixed32_default_repeat)
2455  return &fixed32_default_repeat_;
2456 }
2457 
2458 // repeated fixed64 fixed64_default_repeat = 110;
2459 inline int TestMsg::fixed64_default_repeat_size() const {
2460  return fixed64_default_repeat_.size();
2461 }
2462 inline void TestMsg::clear_fixed64_default_repeat() {
2463  fixed64_default_repeat_.Clear();
2464 }
2465 inline ::google::protobuf::uint64 TestMsg::fixed64_default_repeat(int index) const {
2466  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.fixed64_default_repeat)
2467  return fixed64_default_repeat_.Get(index);
2468 }
2469 inline void TestMsg::set_fixed64_default_repeat(int index, ::google::protobuf::uint64 value) {
2470  fixed64_default_repeat_.Set(index, value);
2471  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.fixed64_default_repeat)
2472 }
2473 inline void TestMsg::add_fixed64_default_repeat(::google::protobuf::uint64 value) {
2474  fixed64_default_repeat_.Add(value);
2475  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.fixed64_default_repeat)
2476 }
2477 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2478 TestMsg::fixed64_default_repeat() const {
2479  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.fixed64_default_repeat)
2480  return fixed64_default_repeat_;
2481 }
2482 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2483 TestMsg::mutable_fixed64_default_repeat() {
2484  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.fixed64_default_repeat)
2485  return &fixed64_default_repeat_;
2486 }
2487 
2488 // repeated sfixed32 sfixed32_default_repeat = 111;
2489 inline int TestMsg::sfixed32_default_repeat_size() const {
2490  return sfixed32_default_repeat_.size();
2491 }
2492 inline void TestMsg::clear_sfixed32_default_repeat() {
2493  sfixed32_default_repeat_.Clear();
2494 }
2495 inline ::google::protobuf::int32 TestMsg::sfixed32_default_repeat(int index) const {
2496  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sfixed32_default_repeat)
2497  return sfixed32_default_repeat_.Get(index);
2498 }
2499 inline void TestMsg::set_sfixed32_default_repeat(int index, ::google::protobuf::int32 value) {
2500  sfixed32_default_repeat_.Set(index, value);
2501  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sfixed32_default_repeat)
2502 }
2503 inline void TestMsg::add_sfixed32_default_repeat(::google::protobuf::int32 value) {
2504  sfixed32_default_repeat_.Add(value);
2505  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.sfixed32_default_repeat)
2506 }
2507 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2508 TestMsg::sfixed32_default_repeat() const {
2509  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.sfixed32_default_repeat)
2510  return sfixed32_default_repeat_;
2511 }
2512 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2513 TestMsg::mutable_sfixed32_default_repeat() {
2514  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.sfixed32_default_repeat)
2515  return &sfixed32_default_repeat_;
2516 }
2517 
2518 // repeated sfixed64 sfixed64_default_repeat = 112;
2519 inline int TestMsg::sfixed64_default_repeat_size() const {
2520  return sfixed64_default_repeat_.size();
2521 }
2522 inline void TestMsg::clear_sfixed64_default_repeat() {
2523  sfixed64_default_repeat_.Clear();
2524 }
2525 inline ::google::protobuf::int64 TestMsg::sfixed64_default_repeat(int index) const {
2526  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.sfixed64_default_repeat)
2527  return sfixed64_default_repeat_.Get(index);
2528 }
2529 inline void TestMsg::set_sfixed64_default_repeat(int index, ::google::protobuf::int64 value) {
2530  sfixed64_default_repeat_.Set(index, value);
2531  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.sfixed64_default_repeat)
2532 }
2533 inline void TestMsg::add_sfixed64_default_repeat(::google::protobuf::int64 value) {
2534  sfixed64_default_repeat_.Add(value);
2535  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.sfixed64_default_repeat)
2536 }
2537 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2538 TestMsg::sfixed64_default_repeat() const {
2539  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.sfixed64_default_repeat)
2540  return sfixed64_default_repeat_;
2541 }
2542 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2543 TestMsg::mutable_sfixed64_default_repeat() {
2544  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.sfixed64_default_repeat)
2545  return &sfixed64_default_repeat_;
2546 }
2547 
2548 // repeated bool bool_default_repeat = 113;
2549 inline int TestMsg::bool_default_repeat_size() const {
2550  return bool_default_repeat_.size();
2551 }
2552 inline void TestMsg::clear_bool_default_repeat() {
2553  bool_default_repeat_.Clear();
2554 }
2555 inline bool TestMsg::bool_default_repeat(int index) const {
2556  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.bool_default_repeat)
2557  return bool_default_repeat_.Get(index);
2558 }
2559 inline void TestMsg::set_bool_default_repeat(int index, bool value) {
2560  bool_default_repeat_.Set(index, value);
2561  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.bool_default_repeat)
2562 }
2563 inline void TestMsg::add_bool_default_repeat(bool value) {
2564  bool_default_repeat_.Add(value);
2565  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.bool_default_repeat)
2566 }
2567 inline const ::google::protobuf::RepeatedField< bool >&
2568 TestMsg::bool_default_repeat() const {
2569  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.bool_default_repeat)
2570  return bool_default_repeat_;
2571 }
2572 inline ::google::protobuf::RepeatedField< bool >*
2573 TestMsg::mutable_bool_default_repeat() {
2574  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.bool_default_repeat)
2575  return &bool_default_repeat_;
2576 }
2577 
2578 // repeated string string_default_repeat = 114;
2579 inline int TestMsg::string_default_repeat_size() const {
2580  return string_default_repeat_.size();
2581 }
2582 inline void TestMsg::clear_string_default_repeat() {
2583  string_default_repeat_.Clear();
2584 }
2585 inline const ::std::string& TestMsg::string_default_repeat(int index) const {
2586  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.string_default_repeat)
2587  return string_default_repeat_.Get(index);
2588 }
2589 inline ::std::string* TestMsg::mutable_string_default_repeat(int index) {
2590  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.string_default_repeat)
2591  return string_default_repeat_.Mutable(index);
2592 }
2593 inline void TestMsg::set_string_default_repeat(int index, const ::std::string& value) {
2594  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.string_default_repeat)
2595  string_default_repeat_.Mutable(index)->assign(value);
2596 }
2597 inline void TestMsg::set_string_default_repeat(int index, const char* value) {
2598  string_default_repeat_.Mutable(index)->assign(value);
2599  // @@protoc_insertion_point(field_set_char:dccl.test.TestMsg.string_default_repeat)
2600 }
2601 inline void TestMsg::set_string_default_repeat(int index, const char* value, size_t size) {
2602  string_default_repeat_.Mutable(index)->assign(
2603  reinterpret_cast<const char*>(value), size);
2604  // @@protoc_insertion_point(field_set_pointer:dccl.test.TestMsg.string_default_repeat)
2605 }
2606 inline ::std::string* TestMsg::add_string_default_repeat() {
2607  return string_default_repeat_.Add();
2608 }
2609 inline void TestMsg::add_string_default_repeat(const ::std::string& value) {
2610  string_default_repeat_.Add()->assign(value);
2611  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.string_default_repeat)
2612 }
2613 inline void TestMsg::add_string_default_repeat(const char* value) {
2614  string_default_repeat_.Add()->assign(value);
2615  // @@protoc_insertion_point(field_add_char:dccl.test.TestMsg.string_default_repeat)
2616 }
2617 inline void TestMsg::add_string_default_repeat(const char* value, size_t size) {
2618  string_default_repeat_.Add()->assign(reinterpret_cast<const char*>(value), size);
2619  // @@protoc_insertion_point(field_add_pointer:dccl.test.TestMsg.string_default_repeat)
2620 }
2621 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2622 TestMsg::string_default_repeat() const {
2623  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.string_default_repeat)
2624  return string_default_repeat_;
2625 }
2626 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2627 TestMsg::mutable_string_default_repeat() {
2628  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.string_default_repeat)
2629  return &string_default_repeat_;
2630 }
2631 
2632 // repeated bytes bytes_default_repeat = 115;
2633 inline int TestMsg::bytes_default_repeat_size() const {
2634  return bytes_default_repeat_.size();
2635 }
2636 inline void TestMsg::clear_bytes_default_repeat() {
2637  bytes_default_repeat_.Clear();
2638 }
2639 inline const ::std::string& TestMsg::bytes_default_repeat(int index) const {
2640  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.bytes_default_repeat)
2641  return bytes_default_repeat_.Get(index);
2642 }
2643 inline ::std::string* TestMsg::mutable_bytes_default_repeat(int index) {
2644  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.bytes_default_repeat)
2645  return bytes_default_repeat_.Mutable(index);
2646 }
2647 inline void TestMsg::set_bytes_default_repeat(int index, const ::std::string& value) {
2648  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.bytes_default_repeat)
2649  bytes_default_repeat_.Mutable(index)->assign(value);
2650 }
2651 inline void TestMsg::set_bytes_default_repeat(int index, const char* value) {
2652  bytes_default_repeat_.Mutable(index)->assign(value);
2653  // @@protoc_insertion_point(field_set_char:dccl.test.TestMsg.bytes_default_repeat)
2654 }
2655 inline void TestMsg::set_bytes_default_repeat(int index, const void* value, size_t size) {
2656  bytes_default_repeat_.Mutable(index)->assign(
2657  reinterpret_cast<const char*>(value), size);
2658  // @@protoc_insertion_point(field_set_pointer:dccl.test.TestMsg.bytes_default_repeat)
2659 }
2660 inline ::std::string* TestMsg::add_bytes_default_repeat() {
2661  return bytes_default_repeat_.Add();
2662 }
2663 inline void TestMsg::add_bytes_default_repeat(const ::std::string& value) {
2664  bytes_default_repeat_.Add()->assign(value);
2665  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.bytes_default_repeat)
2666 }
2667 inline void TestMsg::add_bytes_default_repeat(const char* value) {
2668  bytes_default_repeat_.Add()->assign(value);
2669  // @@protoc_insertion_point(field_add_char:dccl.test.TestMsg.bytes_default_repeat)
2670 }
2671 inline void TestMsg::add_bytes_default_repeat(const void* value, size_t size) {
2672  bytes_default_repeat_.Add()->assign(reinterpret_cast<const char*>(value), size);
2673  // @@protoc_insertion_point(field_add_pointer:dccl.test.TestMsg.bytes_default_repeat)
2674 }
2675 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2676 TestMsg::bytes_default_repeat() const {
2677  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.bytes_default_repeat)
2678  return bytes_default_repeat_;
2679 }
2680 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2681 TestMsg::mutable_bytes_default_repeat() {
2682  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.bytes_default_repeat)
2683  return &bytes_default_repeat_;
2684 }
2685 
2686 // repeated .dccl.test.Enum1 enum_default_repeat = 116;
2687 inline int TestMsg::enum_default_repeat_size() const {
2688  return enum_default_repeat_.size();
2689 }
2690 inline void TestMsg::clear_enum_default_repeat() {
2691  enum_default_repeat_.Clear();
2692 }
2693 inline ::dccl::test::Enum1 TestMsg::enum_default_repeat(int index) const {
2694  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.enum_default_repeat)
2695  return static_cast< ::dccl::test::Enum1 >(enum_default_repeat_.Get(index));
2696 }
2697 inline void TestMsg::set_enum_default_repeat(int index, ::dccl::test::Enum1 value) {
2698  assert(::dccl::test::Enum1_IsValid(value));
2699  enum_default_repeat_.Set(index, value);
2700  // @@protoc_insertion_point(field_set:dccl.test.TestMsg.enum_default_repeat)
2701 }
2702 inline void TestMsg::add_enum_default_repeat(::dccl::test::Enum1 value) {
2703  assert(::dccl::test::Enum1_IsValid(value));
2704  enum_default_repeat_.Add(value);
2705  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.enum_default_repeat)
2706 }
2707 inline const ::google::protobuf::RepeatedField<int>&
2708 TestMsg::enum_default_repeat() const {
2709  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.enum_default_repeat)
2710  return enum_default_repeat_;
2711 }
2712 inline ::google::protobuf::RepeatedField<int>*
2713 TestMsg::mutable_enum_default_repeat() {
2714  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.enum_default_repeat)
2715  return &enum_default_repeat_;
2716 }
2717 
2718 // repeated .dccl.test.EmbeddedMsg1 msg_default_repeat = 117;
2719 inline int TestMsg::msg_default_repeat_size() const {
2720  return msg_default_repeat_.size();
2721 }
2722 inline void TestMsg::clear_msg_default_repeat() {
2723  msg_default_repeat_.Clear();
2724 }
2725 inline const ::dccl::test::EmbeddedMsg1& TestMsg::msg_default_repeat(int index) const {
2726  // @@protoc_insertion_point(field_get:dccl.test.TestMsg.msg_default_repeat)
2727  return msg_default_repeat_.Get(index);
2728 }
2729 inline ::dccl::test::EmbeddedMsg1* TestMsg::mutable_msg_default_repeat(int index) {
2730  // @@protoc_insertion_point(field_mutable:dccl.test.TestMsg.msg_default_repeat)
2731  return msg_default_repeat_.Mutable(index);
2732 }
2733 inline ::dccl::test::EmbeddedMsg1* TestMsg::add_msg_default_repeat() {
2734  // @@protoc_insertion_point(field_add:dccl.test.TestMsg.msg_default_repeat)
2735  return msg_default_repeat_.Add();
2736 }
2737 inline const ::google::protobuf::RepeatedPtrField< ::dccl::test::EmbeddedMsg1 >&
2738 TestMsg::msg_default_repeat() const {
2739  // @@protoc_insertion_point(field_list:dccl.test.TestMsg.msg_default_repeat)
2740  return msg_default_repeat_;
2741 }
2742 inline ::google::protobuf::RepeatedPtrField< ::dccl::test::EmbeddedMsg1 >*
2743 TestMsg::mutable_msg_default_repeat() {
2744  // @@protoc_insertion_point(field_mutable_list:dccl.test.TestMsg.msg_default_repeat)
2745  return &msg_default_repeat_;
2746 }
2747 
2748 
2749 // @@protoc_insertion_point(namespace_scope)
2750 
2751 } // namespace test
2752 } // namespace dccl
2753 
2754 #ifndef SWIG
2755 namespace google {
2756 namespace protobuf {
2757 
2758 template <> struct is_proto_enum< ::dccl::test::Enum1> : ::google::protobuf::internal::true_type {};
2759 template <>
2760 inline const EnumDescriptor* GetEnumDescriptor< ::dccl::test::Enum1>() {
2761  return ::dccl::test::Enum1_descriptor();
2762 }
2763 
2764 } // namespace google
2765 } // namespace protobuf
2766 #endif // SWIG
2767 
2768 // @@protoc_insertion_point(global_scope)
2769 
2770 #endif // PROTOBUF_dccl_2ftest_2fdccl_5fall_5ffields_2ftest_2eproto__INCLUDED
Dynamic Compact Control Language namespace.