4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto__INCLUDED 5 #define PROTOBUF_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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> 36 void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
37 void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
38 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
49 bool Enum1_IsValid(
int value);
50 const Enum1 Enum1_MIN = ENUM_A;
51 const Enum1 Enum1_MAX = ENUM_C;
52 const int Enum1_ARRAYSIZE = Enum1_MAX + 1;
54 const ::google::protobuf::EnumDescriptor* Enum1_descriptor();
55 inline const ::std::string& Enum1_Name(Enum1 value) {
56 return ::google::protobuf::internal::NameOfEnum(
57 Enum1_descriptor(), value);
59 inline bool Enum1_Parse(
60 const ::std::string& name, Enum1* value) {
61 return ::google::protobuf::internal::ParseNamedEnum<Enum1>(
62 Enum1_descriptor(), name, value);
78 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
79 return _unknown_fields_;
82 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
83 return &_unknown_fields_;
86 static const ::google::protobuf::Descriptor* descriptor();
94 void CopyFrom(const ::google::protobuf::Message& from);
95 void MergeFrom(const ::google::protobuf::Message& from);
99 bool IsInitialized()
const;
101 int ByteSize()
const;
102 bool MergePartialFromCodedStream(
103 ::google::protobuf::io::CodedInputStream* input);
104 void SerializeWithCachedSizes(
105 ::google::protobuf::io::CodedOutputStream* output)
const;
106 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
107 int GetCachedSize()
const {
return _cached_size_; }
111 void SetCachedSize(
int size)
const;
113 ::google::protobuf::Metadata GetMetadata()
const;
120 inline bool has_val()
const;
121 inline void clear_val();
122 static const int kValFieldNumber = 1;
123 inline double val()
const;
124 inline void set_val(
double value);
127 inline bool has_msg()
const;
128 inline void clear_msg();
129 static const int kMsgFieldNumber = 2;
130 inline const ::EmbeddedMsg2& msg()
const;
131 inline ::EmbeddedMsg2* mutable_msg();
132 inline ::EmbeddedMsg2* release_msg();
137 inline void set_has_val();
138 inline void clear_has_val();
139 inline void set_has_msg();
140 inline void clear_has_msg();
142 ::google::protobuf::UnknownFieldSet _unknown_fields_;
144 ::google::protobuf::uint32 _has_bits_[1];
145 mutable int _cached_size_;
148 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
149 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
150 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
152 void InitAsDefaultInstance();
169 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
170 return _unknown_fields_;
173 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
174 return &_unknown_fields_;
177 static const ::google::protobuf::Descriptor* descriptor();
185 void CopyFrom(const ::google::protobuf::Message& from);
186 void MergeFrom(const ::google::protobuf::Message& from);
190 bool IsInitialized()
const;
192 int ByteSize()
const;
193 bool MergePartialFromCodedStream(
194 ::google::protobuf::io::CodedInputStream* input);
195 void SerializeWithCachedSizes(
196 ::google::protobuf::io::CodedOutputStream* output)
const;
197 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
198 int GetCachedSize()
const {
return _cached_size_; }
202 void SetCachedSize(
int size)
const;
204 ::google::protobuf::Metadata GetMetadata()
const;
211 inline bool has_val()
const;
212 inline void clear_val();
213 static const int kValFieldNumber = 1;
214 inline double val()
const;
215 inline void set_val(
double value);
218 inline bool has_sval()
const;
219 inline void clear_sval();
220 static const int kSvalFieldNumber = 2;
221 inline const ::std::string& sval()
const;
222 inline void set_sval(const ::std::string& value);
223 inline void set_sval(
const char* value);
224 inline void set_sval(
const char* value,
size_t size);
225 inline ::std::string* mutable_sval();
226 inline ::std::string* release_sval();
227 inline void set_allocated_sval(::std::string* sval);
230 inline bool has_enum_default()
const;
231 inline void clear_enum_default();
232 static const int kEnumDefaultFieldNumber = 3;
233 inline ::Enum1 enum_default()
const;
234 inline void set_enum_default(::Enum1 value);
238 inline void set_has_val();
239 inline void clear_has_val();
240 inline void set_has_sval();
241 inline void clear_has_sval();
242 inline void set_has_enum_default();
243 inline void clear_has_enum_default();
245 ::google::protobuf::UnknownFieldSet _unknown_fields_;
247 ::google::protobuf::uint32 _has_bits_[1];
248 mutable int _cached_size_;
250 ::std::string* sval_;
252 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
253 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
254 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
256 void InitAsDefaultInstance();
261 class TestMsg :
public ::google::protobuf::Message {
273 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
274 return _unknown_fields_;
277 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
278 return &_unknown_fields_;
281 static const ::google::protobuf::Descriptor* descriptor();
282 static const TestMsg& default_instance();
289 void CopyFrom(const ::google::protobuf::Message& from);
290 void MergeFrom(const ::google::protobuf::Message& from);
291 void CopyFrom(
const TestMsg& from);
292 void MergeFrom(
const TestMsg& from);
294 bool IsInitialized()
const;
296 int ByteSize()
const;
297 bool MergePartialFromCodedStream(
298 ::google::protobuf::io::CodedInputStream* input);
299 void SerializeWithCachedSizes(
300 ::google::protobuf::io::CodedOutputStream* output)
const;
301 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
302 int GetCachedSize()
const {
return _cached_size_; }
306 void SetCachedSize(
int size)
const;
308 ::google::protobuf::Metadata GetMetadata()
const;
315 inline bool has_double_default_optional()
const;
316 inline void clear_double_default_optional();
317 static const int kDoubleDefaultOptionalFieldNumber = 1;
318 inline double double_default_optional()
const;
319 inline void set_double_default_optional(
double value);
322 inline bool has_float_default_optional()
const;
323 inline void clear_float_default_optional();
324 static const int kFloatDefaultOptionalFieldNumber = 2;
325 inline float float_default_optional()
const;
326 inline void set_float_default_optional(
float value);
329 inline bool has_int32_default_optional()
const;
330 inline void clear_int32_default_optional();
331 static const int kInt32DefaultOptionalFieldNumber = 3;
332 inline ::google::protobuf::int32 int32_default_optional()
const;
333 inline void set_int32_default_optional(::google::protobuf::int32 value);
336 inline bool has_int64_default_optional()
const;
337 inline void clear_int64_default_optional();
338 static const int kInt64DefaultOptionalFieldNumber = 4;
339 inline ::google::protobuf::int64 int64_default_optional()
const;
340 inline void set_int64_default_optional(::google::protobuf::int64 value);
343 inline bool has_uint32_default_optional()
const;
344 inline void clear_uint32_default_optional();
345 static const int kUint32DefaultOptionalFieldNumber = 5;
346 inline ::google::protobuf::uint32 uint32_default_optional()
const;
347 inline void set_uint32_default_optional(::google::protobuf::uint32 value);
350 inline bool has_uint64_default_optional()
const;
351 inline void clear_uint64_default_optional();
352 static const int kUint64DefaultOptionalFieldNumber = 6;
353 inline ::google::protobuf::uint64 uint64_default_optional()
const;
354 inline void set_uint64_default_optional(::google::protobuf::uint64 value);
357 inline bool has_sint32_default_optional()
const;
358 inline void clear_sint32_default_optional();
359 static const int kSint32DefaultOptionalFieldNumber = 7;
360 inline ::google::protobuf::int32 sint32_default_optional()
const;
361 inline void set_sint32_default_optional(::google::protobuf::int32 value);
364 inline bool has_sint64_default_optional()
const;
365 inline void clear_sint64_default_optional();
366 static const int kSint64DefaultOptionalFieldNumber = 8;
367 inline ::google::protobuf::int64 sint64_default_optional()
const;
368 inline void set_sint64_default_optional(::google::protobuf::int64 value);
371 inline bool has_fixed32_default_optional()
const;
372 inline void clear_fixed32_default_optional();
373 static const int kFixed32DefaultOptionalFieldNumber = 9;
374 inline ::google::protobuf::uint32 fixed32_default_optional()
const;
375 inline void set_fixed32_default_optional(::google::protobuf::uint32 value);
378 inline bool has_fixed64_default_optional()
const;
379 inline void clear_fixed64_default_optional();
380 static const int kFixed64DefaultOptionalFieldNumber = 10;
381 inline ::google::protobuf::uint64 fixed64_default_optional()
const;
382 inline void set_fixed64_default_optional(::google::protobuf::uint64 value);
385 inline bool has_sfixed32_default_optional()
const;
386 inline void clear_sfixed32_default_optional();
387 static const int kSfixed32DefaultOptionalFieldNumber = 11;
388 inline ::google::protobuf::int32 sfixed32_default_optional()
const;
389 inline void set_sfixed32_default_optional(::google::protobuf::int32 value);
392 inline bool has_sfixed64_default_optional()
const;
393 inline void clear_sfixed64_default_optional();
394 static const int kSfixed64DefaultOptionalFieldNumber = 12;
395 inline ::google::protobuf::int64 sfixed64_default_optional()
const;
396 inline void set_sfixed64_default_optional(::google::protobuf::int64 value);
399 inline bool has_bool_default_optional()
const;
400 inline void clear_bool_default_optional();
401 static const int kBoolDefaultOptionalFieldNumber = 13;
402 inline bool bool_default_optional()
const;
403 inline void set_bool_default_optional(
bool value);
406 inline bool has_string_default_optional()
const;
407 inline void clear_string_default_optional();
408 static const int kStringDefaultOptionalFieldNumber = 14;
409 inline const ::std::string& string_default_optional()
const;
410 inline void set_string_default_optional(const ::std::string& value);
411 inline void set_string_default_optional(
const char* value);
412 inline void set_string_default_optional(
const char* value,
size_t size);
413 inline ::std::string* mutable_string_default_optional();
414 inline ::std::string* release_string_default_optional();
415 inline void set_allocated_string_default_optional(::std::string* string_default_optional);
418 inline bool has_bytes_default_optional()
const;
419 inline void clear_bytes_default_optional();
420 static const int kBytesDefaultOptionalFieldNumber = 15;
421 inline const ::std::string& bytes_default_optional()
const;
422 inline void set_bytes_default_optional(const ::std::string& value);
423 inline void set_bytes_default_optional(
const char* value);
424 inline void set_bytes_default_optional(
const void* value,
size_t size);
425 inline ::std::string* mutable_bytes_default_optional();
426 inline ::std::string* release_bytes_default_optional();
427 inline void set_allocated_bytes_default_optional(::std::string* bytes_default_optional);
430 inline bool has_enum_default_optional()
const;
431 inline void clear_enum_default_optional();
432 static const int kEnumDefaultOptionalFieldNumber = 16;
433 inline ::Enum1 enum_default_optional()
const;
434 inline void set_enum_default_optional(::Enum1 value);
437 inline bool has_msg_default_optional()
const;
438 inline void clear_msg_default_optional();
439 static const int kMsgDefaultOptionalFieldNumber = 17;
440 inline const ::EmbeddedMsg1& msg_default_optional()
const;
441 inline ::EmbeddedMsg1* mutable_msg_default_optional();
442 inline ::EmbeddedMsg1* release_msg_default_optional();
443 inline void set_allocated_msg_default_optional(::
EmbeddedMsg1* msg_default_optional);
446 inline bool has_double_default_required()
const;
447 inline void clear_double_default_required();
448 static const int kDoubleDefaultRequiredFieldNumber = 21;
449 inline double double_default_required()
const;
450 inline void set_double_default_required(
double value);
453 inline bool has_float_default_required()
const;
454 inline void clear_float_default_required();
455 static const int kFloatDefaultRequiredFieldNumber = 22;
456 inline float float_default_required()
const;
457 inline void set_float_default_required(
float value);
460 inline bool has_int32_default_required()
const;
461 inline void clear_int32_default_required();
462 static const int kInt32DefaultRequiredFieldNumber = 23;
463 inline ::google::protobuf::int32 int32_default_required()
const;
464 inline void set_int32_default_required(::google::protobuf::int32 value);
467 inline bool has_int64_default_required()
const;
468 inline void clear_int64_default_required();
469 static const int kInt64DefaultRequiredFieldNumber = 24;
470 inline ::google::protobuf::int64 int64_default_required()
const;
471 inline void set_int64_default_required(::google::protobuf::int64 value);
474 inline bool has_uint32_default_required()
const;
475 inline void clear_uint32_default_required();
476 static const int kUint32DefaultRequiredFieldNumber = 25;
477 inline ::google::protobuf::uint32 uint32_default_required()
const;
478 inline void set_uint32_default_required(::google::protobuf::uint32 value);
481 inline bool has_uint64_default_required()
const;
482 inline void clear_uint64_default_required();
483 static const int kUint64DefaultRequiredFieldNumber = 26;
484 inline ::google::protobuf::uint64 uint64_default_required()
const;
485 inline void set_uint64_default_required(::google::protobuf::uint64 value);
488 inline bool has_sint32_default_required()
const;
489 inline void clear_sint32_default_required();
490 static const int kSint32DefaultRequiredFieldNumber = 27;
491 inline ::google::protobuf::int32 sint32_default_required()
const;
492 inline void set_sint32_default_required(::google::protobuf::int32 value);
495 inline bool has_sint64_default_required()
const;
496 inline void clear_sint64_default_required();
497 static const int kSint64DefaultRequiredFieldNumber = 28;
498 inline ::google::protobuf::int64 sint64_default_required()
const;
499 inline void set_sint64_default_required(::google::protobuf::int64 value);
502 inline bool has_fixed32_default_required()
const;
503 inline void clear_fixed32_default_required();
504 static const int kFixed32DefaultRequiredFieldNumber = 29;
505 inline ::google::protobuf::uint32 fixed32_default_required()
const;
506 inline void set_fixed32_default_required(::google::protobuf::uint32 value);
509 inline bool has_fixed64_default_required()
const;
510 inline void clear_fixed64_default_required();
511 static const int kFixed64DefaultRequiredFieldNumber = 30;
512 inline ::google::protobuf::uint64 fixed64_default_required()
const;
513 inline void set_fixed64_default_required(::google::protobuf::uint64 value);
516 inline bool has_sfixed32_default_required()
const;
517 inline void clear_sfixed32_default_required();
518 static const int kSfixed32DefaultRequiredFieldNumber = 31;
519 inline ::google::protobuf::int32 sfixed32_default_required()
const;
520 inline void set_sfixed32_default_required(::google::protobuf::int32 value);
523 inline bool has_sfixed64_default_required()
const;
524 inline void clear_sfixed64_default_required();
525 static const int kSfixed64DefaultRequiredFieldNumber = 32;
526 inline ::google::protobuf::int64 sfixed64_default_required()
const;
527 inline void set_sfixed64_default_required(::google::protobuf::int64 value);
530 inline bool has_bool_default_required()
const;
531 inline void clear_bool_default_required();
532 static const int kBoolDefaultRequiredFieldNumber = 33;
533 inline bool bool_default_required()
const;
534 inline void set_bool_default_required(
bool value);
537 inline bool has_string_default_required()
const;
538 inline void clear_string_default_required();
539 static const int kStringDefaultRequiredFieldNumber = 34;
540 inline const ::std::string& string_default_required()
const;
541 inline void set_string_default_required(const ::std::string& value);
542 inline void set_string_default_required(
const char* value);
543 inline void set_string_default_required(
const char* value,
size_t size);
544 inline ::std::string* mutable_string_default_required();
545 inline ::std::string* release_string_default_required();
546 inline void set_allocated_string_default_required(::std::string* string_default_required);
549 inline bool has_bytes_default_required()
const;
550 inline void clear_bytes_default_required();
551 static const int kBytesDefaultRequiredFieldNumber = 35;
552 inline const ::std::string& bytes_default_required()
const;
553 inline void set_bytes_default_required(const ::std::string& value);
554 inline void set_bytes_default_required(
const char* value);
555 inline void set_bytes_default_required(
const void* value,
size_t size);
556 inline ::std::string* mutable_bytes_default_required();
557 inline ::std::string* release_bytes_default_required();
558 inline void set_allocated_bytes_default_required(::std::string* bytes_default_required);
561 inline bool has_enum_default_required()
const;
562 inline void clear_enum_default_required();
563 static const int kEnumDefaultRequiredFieldNumber = 36;
564 inline ::Enum1 enum_default_required()
const;
565 inline void set_enum_default_required(::Enum1 value);
568 inline bool has_msg_default_required()
const;
569 inline void clear_msg_default_required();
570 static const int kMsgDefaultRequiredFieldNumber = 37;
571 inline const ::EmbeddedMsg1& msg_default_required()
const;
572 inline ::EmbeddedMsg1* mutable_msg_default_required();
573 inline ::EmbeddedMsg1* release_msg_default_required();
574 inline void set_allocated_msg_default_required(::
EmbeddedMsg1* msg_default_required);
577 inline int double_default_repeat_size()
const;
578 inline void clear_double_default_repeat();
579 static const int kDoubleDefaultRepeatFieldNumber = 101;
580 inline double double_default_repeat(
int index)
const;
581 inline void set_double_default_repeat(
int index,
double value);
582 inline void add_double_default_repeat(
double value);
583 inline const ::google::protobuf::RepeatedField< double >&
584 double_default_repeat()
const;
585 inline ::google::protobuf::RepeatedField< double >*
586 mutable_double_default_repeat();
589 inline int float_default_repeat_size()
const;
590 inline void clear_float_default_repeat();
591 static const int kFloatDefaultRepeatFieldNumber = 102;
592 inline float float_default_repeat(
int index)
const;
593 inline void set_float_default_repeat(
int index,
float value);
594 inline void add_float_default_repeat(
float value);
595 inline const ::google::protobuf::RepeatedField< float >&
596 float_default_repeat()
const;
597 inline ::google::protobuf::RepeatedField< float >*
598 mutable_float_default_repeat();
601 inline int int32_default_repeat_size()
const;
602 inline void clear_int32_default_repeat();
603 static const int kInt32DefaultRepeatFieldNumber = 103;
604 inline ::google::protobuf::int32 int32_default_repeat(
int index)
const;
605 inline void set_int32_default_repeat(
int index, ::google::protobuf::int32 value);
606 inline void add_int32_default_repeat(::google::protobuf::int32 value);
607 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
608 int32_default_repeat()
const;
609 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
610 mutable_int32_default_repeat();
613 inline int int64_default_repeat_size()
const;
614 inline void clear_int64_default_repeat();
615 static const int kInt64DefaultRepeatFieldNumber = 104;
616 inline ::google::protobuf::int64 int64_default_repeat(
int index)
const;
617 inline void set_int64_default_repeat(
int index, ::google::protobuf::int64 value);
618 inline void add_int64_default_repeat(::google::protobuf::int64 value);
619 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
620 int64_default_repeat()
const;
621 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
622 mutable_int64_default_repeat();
625 inline int uint32_default_repeat_size()
const;
626 inline void clear_uint32_default_repeat();
627 static const int kUint32DefaultRepeatFieldNumber = 105;
628 inline ::google::protobuf::uint32 uint32_default_repeat(
int index)
const;
629 inline void set_uint32_default_repeat(
int index, ::google::protobuf::uint32 value);
630 inline void add_uint32_default_repeat(::google::protobuf::uint32 value);
631 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
632 uint32_default_repeat()
const;
633 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
634 mutable_uint32_default_repeat();
637 inline int uint64_default_repeat_size()
const;
638 inline void clear_uint64_default_repeat();
639 static const int kUint64DefaultRepeatFieldNumber = 106;
640 inline ::google::protobuf::uint64 uint64_default_repeat(
int index)
const;
641 inline void set_uint64_default_repeat(
int index, ::google::protobuf::uint64 value);
642 inline void add_uint64_default_repeat(::google::protobuf::uint64 value);
643 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
644 uint64_default_repeat()
const;
645 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
646 mutable_uint64_default_repeat();
649 inline int sint32_default_repeat_size()
const;
650 inline void clear_sint32_default_repeat();
651 static const int kSint32DefaultRepeatFieldNumber = 107;
652 inline ::google::protobuf::int32 sint32_default_repeat(
int index)
const;
653 inline void set_sint32_default_repeat(
int index, ::google::protobuf::int32 value);
654 inline void add_sint32_default_repeat(::google::protobuf::int32 value);
655 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
656 sint32_default_repeat()
const;
657 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
658 mutable_sint32_default_repeat();
661 inline int sint64_default_repeat_size()
const;
662 inline void clear_sint64_default_repeat();
663 static const int kSint64DefaultRepeatFieldNumber = 108;
664 inline ::google::protobuf::int64 sint64_default_repeat(
int index)
const;
665 inline void set_sint64_default_repeat(
int index, ::google::protobuf::int64 value);
666 inline void add_sint64_default_repeat(::google::protobuf::int64 value);
667 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
668 sint64_default_repeat()
const;
669 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
670 mutable_sint64_default_repeat();
673 inline int fixed32_default_repeat_size()
const;
674 inline void clear_fixed32_default_repeat();
675 static const int kFixed32DefaultRepeatFieldNumber = 109;
676 inline ::google::protobuf::uint32 fixed32_default_repeat(
int index)
const;
677 inline void set_fixed32_default_repeat(
int index, ::google::protobuf::uint32 value);
678 inline void add_fixed32_default_repeat(::google::protobuf::uint32 value);
679 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
680 fixed32_default_repeat()
const;
681 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
682 mutable_fixed32_default_repeat();
685 inline int fixed64_default_repeat_size()
const;
686 inline void clear_fixed64_default_repeat();
687 static const int kFixed64DefaultRepeatFieldNumber = 110;
688 inline ::google::protobuf::uint64 fixed64_default_repeat(
int index)
const;
689 inline void set_fixed64_default_repeat(
int index, ::google::protobuf::uint64 value);
690 inline void add_fixed64_default_repeat(::google::protobuf::uint64 value);
691 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
692 fixed64_default_repeat()
const;
693 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
694 mutable_fixed64_default_repeat();
697 inline int sfixed32_default_repeat_size()
const;
698 inline void clear_sfixed32_default_repeat();
699 static const int kSfixed32DefaultRepeatFieldNumber = 111;
700 inline ::google::protobuf::int32 sfixed32_default_repeat(
int index)
const;
701 inline void set_sfixed32_default_repeat(
int index, ::google::protobuf::int32 value);
702 inline void add_sfixed32_default_repeat(::google::protobuf::int32 value);
703 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
704 sfixed32_default_repeat()
const;
705 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
706 mutable_sfixed32_default_repeat();
709 inline int sfixed64_default_repeat_size()
const;
710 inline void clear_sfixed64_default_repeat();
711 static const int kSfixed64DefaultRepeatFieldNumber = 112;
712 inline ::google::protobuf::int64 sfixed64_default_repeat(
int index)
const;
713 inline void set_sfixed64_default_repeat(
int index, ::google::protobuf::int64 value);
714 inline void add_sfixed64_default_repeat(::google::protobuf::int64 value);
715 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
716 sfixed64_default_repeat()
const;
717 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
718 mutable_sfixed64_default_repeat();
721 inline int bool_default_repeat_size()
const;
722 inline void clear_bool_default_repeat();
723 static const int kBoolDefaultRepeatFieldNumber = 113;
724 inline bool bool_default_repeat(
int index)
const;
725 inline void set_bool_default_repeat(
int index,
bool value);
726 inline void add_bool_default_repeat(
bool value);
727 inline const ::google::protobuf::RepeatedField< bool >&
728 bool_default_repeat()
const;
729 inline ::google::protobuf::RepeatedField< bool >*
730 mutable_bool_default_repeat();
733 inline int string_default_repeat_size()
const;
734 inline void clear_string_default_repeat();
735 static const int kStringDefaultRepeatFieldNumber = 114;
736 inline const ::std::string& string_default_repeat(
int index)
const;
737 inline ::std::string* mutable_string_default_repeat(
int index);
738 inline void set_string_default_repeat(
int index, const ::std::string& value);
739 inline void set_string_default_repeat(
int index,
const char* value);
740 inline void set_string_default_repeat(
int index,
const char* value,
size_t size);
741 inline ::std::string* add_string_default_repeat();
742 inline void add_string_default_repeat(const ::std::string& value);
743 inline void add_string_default_repeat(
const char* value);
744 inline void add_string_default_repeat(
const char* value,
size_t size);
745 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& string_default_repeat()
const;
746 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_string_default_repeat();
749 inline int bytes_default_repeat_size()
const;
750 inline void clear_bytes_default_repeat();
751 static const int kBytesDefaultRepeatFieldNumber = 115;
752 inline const ::std::string& bytes_default_repeat(
int index)
const;
753 inline ::std::string* mutable_bytes_default_repeat(
int index);
754 inline void set_bytes_default_repeat(
int index, const ::std::string& value);
755 inline void set_bytes_default_repeat(
int index,
const char* value);
756 inline void set_bytes_default_repeat(
int index,
const void* value,
size_t size);
757 inline ::std::string* add_bytes_default_repeat();
758 inline void add_bytes_default_repeat(const ::std::string& value);
759 inline void add_bytes_default_repeat(
const char* value);
760 inline void add_bytes_default_repeat(
const void* value,
size_t size);
761 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& bytes_default_repeat()
const;
762 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_bytes_default_repeat();
765 inline int enum_default_repeat_size()
const;
766 inline void clear_enum_default_repeat();
767 static const int kEnumDefaultRepeatFieldNumber = 116;
768 inline ::Enum1 enum_default_repeat(
int index)
const;
769 inline void set_enum_default_repeat(
int index, ::Enum1 value);
770 inline void add_enum_default_repeat(::Enum1 value);
771 inline const ::google::protobuf::RepeatedField<int>& enum_default_repeat()
const;
772 inline ::google::protobuf::RepeatedField<int>* mutable_enum_default_repeat();
775 inline int msg_default_repeat_size()
const;
776 inline void clear_msg_default_repeat();
777 static const int kMsgDefaultRepeatFieldNumber = 117;
778 inline const ::EmbeddedMsg1& msg_default_repeat(
int index)
const;
779 inline ::EmbeddedMsg1* mutable_msg_default_repeat(
int index);
780 inline ::EmbeddedMsg1* add_msg_default_repeat();
781 inline const ::google::protobuf::RepeatedPtrField< ::EmbeddedMsg1 >&
782 msg_default_repeat()
const;
783 inline ::google::protobuf::RepeatedPtrField< ::EmbeddedMsg1 >*
784 mutable_msg_default_repeat();
786 enum DCCLParameters { DCCL_ID = 2, DCCL_MAX_BYTES = 512 };
789 inline void set_has_double_default_optional();
790 inline void clear_has_double_default_optional();
791 inline void set_has_float_default_optional();
792 inline void clear_has_float_default_optional();
793 inline void set_has_int32_default_optional();
794 inline void clear_has_int32_default_optional();
795 inline void set_has_int64_default_optional();
796 inline void clear_has_int64_default_optional();
797 inline void set_has_uint32_default_optional();
798 inline void clear_has_uint32_default_optional();
799 inline void set_has_uint64_default_optional();
800 inline void clear_has_uint64_default_optional();
801 inline void set_has_sint32_default_optional();
802 inline void clear_has_sint32_default_optional();
803 inline void set_has_sint64_default_optional();
804 inline void clear_has_sint64_default_optional();
805 inline void set_has_fixed32_default_optional();
806 inline void clear_has_fixed32_default_optional();
807 inline void set_has_fixed64_default_optional();
808 inline void clear_has_fixed64_default_optional();
809 inline void set_has_sfixed32_default_optional();
810 inline void clear_has_sfixed32_default_optional();
811 inline void set_has_sfixed64_default_optional();
812 inline void clear_has_sfixed64_default_optional();
813 inline void set_has_bool_default_optional();
814 inline void clear_has_bool_default_optional();
815 inline void set_has_string_default_optional();
816 inline void clear_has_string_default_optional();
817 inline void set_has_bytes_default_optional();
818 inline void clear_has_bytes_default_optional();
819 inline void set_has_enum_default_optional();
820 inline void clear_has_enum_default_optional();
821 inline void set_has_msg_default_optional();
822 inline void clear_has_msg_default_optional();
823 inline void set_has_double_default_required();
824 inline void clear_has_double_default_required();
825 inline void set_has_float_default_required();
826 inline void clear_has_float_default_required();
827 inline void set_has_int32_default_required();
828 inline void clear_has_int32_default_required();
829 inline void set_has_int64_default_required();
830 inline void clear_has_int64_default_required();
831 inline void set_has_uint32_default_required();
832 inline void clear_has_uint32_default_required();
833 inline void set_has_uint64_default_required();
834 inline void clear_has_uint64_default_required();
835 inline void set_has_sint32_default_required();
836 inline void clear_has_sint32_default_required();
837 inline void set_has_sint64_default_required();
838 inline void clear_has_sint64_default_required();
839 inline void set_has_fixed32_default_required();
840 inline void clear_has_fixed32_default_required();
841 inline void set_has_fixed64_default_required();
842 inline void clear_has_fixed64_default_required();
843 inline void set_has_sfixed32_default_required();
844 inline void clear_has_sfixed32_default_required();
845 inline void set_has_sfixed64_default_required();
846 inline void clear_has_sfixed64_default_required();
847 inline void set_has_bool_default_required();
848 inline void clear_has_bool_default_required();
849 inline void set_has_string_default_required();
850 inline void clear_has_string_default_required();
851 inline void set_has_bytes_default_required();
852 inline void clear_has_bytes_default_required();
853 inline void set_has_enum_default_required();
854 inline void clear_has_enum_default_required();
855 inline void set_has_msg_default_required();
856 inline void clear_has_msg_default_required();
858 ::google::protobuf::UnknownFieldSet _unknown_fields_;
860 ::google::protobuf::uint32 _has_bits_[2];
861 double double_default_optional_;
862 float float_default_optional_;
863 ::google::protobuf::int32 int32_default_optional_;
864 ::google::protobuf::int64 int64_default_optional_;
865 ::google::protobuf::uint64 uint64_default_optional_;
866 ::google::protobuf::uint32 uint32_default_optional_;
867 ::google::protobuf::int32 sint32_default_optional_;
868 ::google::protobuf::int64 sint64_default_optional_;
869 ::google::protobuf::uint64 fixed64_default_optional_;
870 ::google::protobuf::uint32 fixed32_default_optional_;
871 ::google::protobuf::int32 sfixed32_default_optional_;
872 ::google::protobuf::int64 sfixed64_default_optional_;
873 ::std::string* string_default_optional_;
874 ::std::string* bytes_default_optional_;
876 int enum_default_optional_;
877 float float_default_required_;
878 double double_default_required_;
879 ::google::protobuf::int64 int64_default_required_;
880 ::google::protobuf::int32 int32_default_required_;
881 bool bool_default_optional_;
882 bool bool_default_required_;
883 ::google::protobuf::uint64 uint64_default_required_;
884 ::google::protobuf::uint32 uint32_default_required_;
885 ::google::protobuf::int32 sint32_default_required_;
886 ::google::protobuf::int64 sint64_default_required_;
887 ::google::protobuf::uint64 fixed64_default_required_;
888 ::google::protobuf::uint32 fixed32_default_required_;
889 ::google::protobuf::int32 sfixed32_default_required_;
890 ::google::protobuf::int64 sfixed64_default_required_;
891 ::std::string* string_default_required_;
892 ::std::string* bytes_default_required_;
894 ::google::protobuf::RepeatedField< double > double_default_repeat_;
895 ::google::protobuf::RepeatedField< float > float_default_repeat_;
896 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > int32_default_repeat_;
897 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > int64_default_repeat_;
898 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > uint32_default_repeat_;
899 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > uint64_default_repeat_;
900 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > sint32_default_repeat_;
901 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > sint64_default_repeat_;
902 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > fixed32_default_repeat_;
903 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > fixed64_default_repeat_;
904 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > sfixed32_default_repeat_;
905 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > sfixed64_default_repeat_;
906 ::google::protobuf::RepeatedField< bool > bool_default_repeat_;
907 ::google::protobuf::RepeatedPtrField< ::std::string> string_default_repeat_;
908 ::google::protobuf::RepeatedPtrField< ::std::string> bytes_default_repeat_;
909 ::google::protobuf::RepeatedField<int> enum_default_repeat_;
910 ::google::protobuf::RepeatedPtrField< ::EmbeddedMsg1 > msg_default_repeat_;
911 int enum_default_required_;
912 mutable int _cached_size_;
913 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
914 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
915 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto();
917 void InitAsDefaultInstance();
918 static TestMsg* default_instance_;
928 inline bool EmbeddedMsg1::has_val()
const {
929 return (_has_bits_[0] & 0x00000001u) != 0;
931 inline void EmbeddedMsg1::set_has_val() {
932 _has_bits_[0] |= 0x00000001u;
934 inline void EmbeddedMsg1::clear_has_val() {
935 _has_bits_[0] &= ~0x00000001u;
937 inline void EmbeddedMsg1::clear_val() {
941 inline double EmbeddedMsg1::val()
const {
945 inline void EmbeddedMsg1::set_val(
double value) {
952 inline bool EmbeddedMsg1::has_msg()
const {
953 return (_has_bits_[0] & 0x00000002u) != 0;
955 inline void EmbeddedMsg1::set_has_msg() {
956 _has_bits_[0] |= 0x00000002u;
958 inline void EmbeddedMsg1::clear_has_msg() {
959 _has_bits_[0] &= ~0x00000002u;
961 inline void EmbeddedMsg1::clear_msg() {
962 if (msg_ != NULL) msg_->::EmbeddedMsg2::Clear();
965 inline const ::EmbeddedMsg2& EmbeddedMsg1::msg()
const {
967 return msg_ != NULL ? *msg_ : *default_instance_->msg_;
969 inline ::EmbeddedMsg2* EmbeddedMsg1::mutable_msg() {
971 if (msg_ == NULL) msg_ = new ::EmbeddedMsg2;
975 inline ::EmbeddedMsg2* EmbeddedMsg1::release_msg() {
981 inline void EmbeddedMsg1::set_allocated_msg(::
EmbeddedMsg2* msg) {
997 inline bool EmbeddedMsg2::has_val()
const {
998 return (_has_bits_[0] & 0x00000001u) != 0;
1000 inline void EmbeddedMsg2::set_has_val() {
1001 _has_bits_[0] |= 0x00000001u;
1003 inline void EmbeddedMsg2::clear_has_val() {
1004 _has_bits_[0] &= ~0x00000001u;
1006 inline void EmbeddedMsg2::clear_val() {
1010 inline double EmbeddedMsg2::val()
const {
1014 inline void EmbeddedMsg2::set_val(
double value) {
1021 inline bool EmbeddedMsg2::has_sval()
const {
1022 return (_has_bits_[0] & 0x00000002u) != 0;
1024 inline void EmbeddedMsg2::set_has_sval() {
1025 _has_bits_[0] |= 0x00000002u;
1027 inline void EmbeddedMsg2::clear_has_sval() {
1028 _has_bits_[0] &= ~0x00000002u;
1030 inline void EmbeddedMsg2::clear_sval() {
1031 if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1036 inline const ::std::string& EmbeddedMsg2::sval()
const {
1040 inline void EmbeddedMsg2::set_sval(const ::std::string& value) {
1042 if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1043 sval_ = new ::std::string;
1045 sval_->assign(value);
1048 inline void EmbeddedMsg2::set_sval(
const char* value) {
1050 if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1051 sval_ = new ::std::string;
1053 sval_->assign(value);
1056 inline void EmbeddedMsg2::set_sval(
const char* value,
size_t size) {
1058 if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1059 sval_ = new ::std::string;
1061 sval_->assign(reinterpret_cast<const char*>(value), size);
1064 inline ::std::string* EmbeddedMsg2::mutable_sval() {
1066 if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1067 sval_ = new ::std::string;
1072 inline ::std::string* EmbeddedMsg2::release_sval() {
1074 if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1077 ::std::string* temp = sval_;
1078 sval_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1082 inline void EmbeddedMsg2::set_allocated_sval(::std::string* sval) {
1083 if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1091 sval_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1097 inline bool EmbeddedMsg2::has_enum_default()
const {
1098 return (_has_bits_[0] & 0x00000004u) != 0;
1100 inline void EmbeddedMsg2::set_has_enum_default() {
1101 _has_bits_[0] |= 0x00000004u;
1103 inline void EmbeddedMsg2::clear_has_enum_default() {
1104 _has_bits_[0] &= ~0x00000004u;
1106 inline void EmbeddedMsg2::clear_enum_default() {
1108 clear_has_enum_default();
1110 inline ::Enum1 EmbeddedMsg2::enum_default()
const {
1112 return static_cast< ::Enum1
>(enum_default_);
1114 inline void EmbeddedMsg2::set_enum_default(::Enum1 value) {
1115 assert(::Enum1_IsValid(value));
1116 set_has_enum_default();
1117 enum_default_ = value;
1126 inline bool TestMsg::has_double_default_optional()
const {
1127 return (_has_bits_[0] & 0x00000001u) != 0;
1129 inline void TestMsg::set_has_double_default_optional() {
1130 _has_bits_[0] |= 0x00000001u;
1132 inline void TestMsg::clear_has_double_default_optional() {
1133 _has_bits_[0] &= ~0x00000001u;
1135 inline void TestMsg::clear_double_default_optional() {
1136 double_default_optional_ = 0;
1137 clear_has_double_default_optional();
1139 inline double TestMsg::double_default_optional()
const {
1141 return double_default_optional_;
1143 inline void TestMsg::set_double_default_optional(
double value) {
1144 set_has_double_default_optional();
1145 double_default_optional_ = value;
1150 inline bool TestMsg::has_float_default_optional()
const {
1151 return (_has_bits_[0] & 0x00000002u) != 0;
1153 inline void TestMsg::set_has_float_default_optional() {
1154 _has_bits_[0] |= 0x00000002u;
1156 inline void TestMsg::clear_has_float_default_optional() {
1157 _has_bits_[0] &= ~0x00000002u;
1159 inline void TestMsg::clear_float_default_optional() {
1160 float_default_optional_ = 0;
1161 clear_has_float_default_optional();
1163 inline float TestMsg::float_default_optional()
const {
1165 return float_default_optional_;
1167 inline void TestMsg::set_float_default_optional(
float value) {
1168 set_has_float_default_optional();
1169 float_default_optional_ = value;
1174 inline bool TestMsg::has_int32_default_optional()
const {
1175 return (_has_bits_[0] & 0x00000004u) != 0;
1177 inline void TestMsg::set_has_int32_default_optional() {
1178 _has_bits_[0] |= 0x00000004u;
1180 inline void TestMsg::clear_has_int32_default_optional() {
1181 _has_bits_[0] &= ~0x00000004u;
1183 inline void TestMsg::clear_int32_default_optional() {
1184 int32_default_optional_ = 0;
1185 clear_has_int32_default_optional();
1187 inline ::google::protobuf::int32 TestMsg::int32_default_optional()
const {
1189 return int32_default_optional_;
1191 inline void TestMsg::set_int32_default_optional(::google::protobuf::int32 value) {
1192 set_has_int32_default_optional();
1193 int32_default_optional_ = value;
1198 inline bool TestMsg::has_int64_default_optional()
const {
1199 return (_has_bits_[0] & 0x00000008u) != 0;
1201 inline void TestMsg::set_has_int64_default_optional() {
1202 _has_bits_[0] |= 0x00000008u;
1204 inline void TestMsg::clear_has_int64_default_optional() {
1205 _has_bits_[0] &= ~0x00000008u;
1207 inline void TestMsg::clear_int64_default_optional() {
1208 int64_default_optional_ = GOOGLE_LONGLONG(0);
1209 clear_has_int64_default_optional();
1211 inline ::google::protobuf::int64 TestMsg::int64_default_optional()
const {
1213 return int64_default_optional_;
1215 inline void TestMsg::set_int64_default_optional(::google::protobuf::int64 value) {
1216 set_has_int64_default_optional();
1217 int64_default_optional_ = value;
1222 inline bool TestMsg::has_uint32_default_optional()
const {
1223 return (_has_bits_[0] & 0x00000010u) != 0;
1225 inline void TestMsg::set_has_uint32_default_optional() {
1226 _has_bits_[0] |= 0x00000010u;
1228 inline void TestMsg::clear_has_uint32_default_optional() {
1229 _has_bits_[0] &= ~0x00000010u;
1231 inline void TestMsg::clear_uint32_default_optional() {
1232 uint32_default_optional_ = 0u;
1233 clear_has_uint32_default_optional();
1235 inline ::google::protobuf::uint32 TestMsg::uint32_default_optional()
const {
1237 return uint32_default_optional_;
1239 inline void TestMsg::set_uint32_default_optional(::google::protobuf::uint32 value) {
1240 set_has_uint32_default_optional();
1241 uint32_default_optional_ = value;
1246 inline bool TestMsg::has_uint64_default_optional()
const {
1247 return (_has_bits_[0] & 0x00000020u) != 0;
1249 inline void TestMsg::set_has_uint64_default_optional() {
1250 _has_bits_[0] |= 0x00000020u;
1252 inline void TestMsg::clear_has_uint64_default_optional() {
1253 _has_bits_[0] &= ~0x00000020u;
1255 inline void TestMsg::clear_uint64_default_optional() {
1256 uint64_default_optional_ = GOOGLE_ULONGLONG(0);
1257 clear_has_uint64_default_optional();
1259 inline ::google::protobuf::uint64 TestMsg::uint64_default_optional()
const {
1261 return uint64_default_optional_;
1263 inline void TestMsg::set_uint64_default_optional(::google::protobuf::uint64 value) {
1264 set_has_uint64_default_optional();
1265 uint64_default_optional_ = value;
1270 inline bool TestMsg::has_sint32_default_optional()
const {
1271 return (_has_bits_[0] & 0x00000040u) != 0;
1273 inline void TestMsg::set_has_sint32_default_optional() {
1274 _has_bits_[0] |= 0x00000040u;
1276 inline void TestMsg::clear_has_sint32_default_optional() {
1277 _has_bits_[0] &= ~0x00000040u;
1279 inline void TestMsg::clear_sint32_default_optional() {
1280 sint32_default_optional_ = 0;
1281 clear_has_sint32_default_optional();
1283 inline ::google::protobuf::int32 TestMsg::sint32_default_optional()
const {
1285 return sint32_default_optional_;
1287 inline void TestMsg::set_sint32_default_optional(::google::protobuf::int32 value) {
1288 set_has_sint32_default_optional();
1289 sint32_default_optional_ = value;
1294 inline bool TestMsg::has_sint64_default_optional()
const {
1295 return (_has_bits_[0] & 0x00000080u) != 0;
1297 inline void TestMsg::set_has_sint64_default_optional() {
1298 _has_bits_[0] |= 0x00000080u;
1300 inline void TestMsg::clear_has_sint64_default_optional() {
1301 _has_bits_[0] &= ~0x00000080u;
1303 inline void TestMsg::clear_sint64_default_optional() {
1304 sint64_default_optional_ = GOOGLE_LONGLONG(0);
1305 clear_has_sint64_default_optional();
1307 inline ::google::protobuf::int64 TestMsg::sint64_default_optional()
const {
1309 return sint64_default_optional_;
1311 inline void TestMsg::set_sint64_default_optional(::google::protobuf::int64 value) {
1312 set_has_sint64_default_optional();
1313 sint64_default_optional_ = value;
1318 inline bool TestMsg::has_fixed32_default_optional()
const {
1319 return (_has_bits_[0] & 0x00000100u) != 0;
1321 inline void TestMsg::set_has_fixed32_default_optional() {
1322 _has_bits_[0] |= 0x00000100u;
1324 inline void TestMsg::clear_has_fixed32_default_optional() {
1325 _has_bits_[0] &= ~0x00000100u;
1327 inline void TestMsg::clear_fixed32_default_optional() {
1328 fixed32_default_optional_ = 0u;
1329 clear_has_fixed32_default_optional();
1331 inline ::google::protobuf::uint32 TestMsg::fixed32_default_optional()
const {
1333 return fixed32_default_optional_;
1335 inline void TestMsg::set_fixed32_default_optional(::google::protobuf::uint32 value) {
1336 set_has_fixed32_default_optional();
1337 fixed32_default_optional_ = value;
1342 inline bool TestMsg::has_fixed64_default_optional()
const {
1343 return (_has_bits_[0] & 0x00000200u) != 0;
1345 inline void TestMsg::set_has_fixed64_default_optional() {
1346 _has_bits_[0] |= 0x00000200u;
1348 inline void TestMsg::clear_has_fixed64_default_optional() {
1349 _has_bits_[0] &= ~0x00000200u;
1351 inline void TestMsg::clear_fixed64_default_optional() {
1352 fixed64_default_optional_ = GOOGLE_ULONGLONG(0);
1353 clear_has_fixed64_default_optional();
1355 inline ::google::protobuf::uint64 TestMsg::fixed64_default_optional()
const {
1357 return fixed64_default_optional_;
1359 inline void TestMsg::set_fixed64_default_optional(::google::protobuf::uint64 value) {
1360 set_has_fixed64_default_optional();
1361 fixed64_default_optional_ = value;
1366 inline bool TestMsg::has_sfixed32_default_optional()
const {
1367 return (_has_bits_[0] & 0x00000400u) != 0;
1369 inline void TestMsg::set_has_sfixed32_default_optional() {
1370 _has_bits_[0] |= 0x00000400u;
1372 inline void TestMsg::clear_has_sfixed32_default_optional() {
1373 _has_bits_[0] &= ~0x00000400u;
1375 inline void TestMsg::clear_sfixed32_default_optional() {
1376 sfixed32_default_optional_ = 0;
1377 clear_has_sfixed32_default_optional();
1379 inline ::google::protobuf::int32 TestMsg::sfixed32_default_optional()
const {
1381 return sfixed32_default_optional_;
1383 inline void TestMsg::set_sfixed32_default_optional(::google::protobuf::int32 value) {
1384 set_has_sfixed32_default_optional();
1385 sfixed32_default_optional_ = value;
1390 inline bool TestMsg::has_sfixed64_default_optional()
const {
1391 return (_has_bits_[0] & 0x00000800u) != 0;
1393 inline void TestMsg::set_has_sfixed64_default_optional() {
1394 _has_bits_[0] |= 0x00000800u;
1396 inline void TestMsg::clear_has_sfixed64_default_optional() {
1397 _has_bits_[0] &= ~0x00000800u;
1399 inline void TestMsg::clear_sfixed64_default_optional() {
1400 sfixed64_default_optional_ = GOOGLE_LONGLONG(0);
1401 clear_has_sfixed64_default_optional();
1403 inline ::google::protobuf::int64 TestMsg::sfixed64_default_optional()
const {
1405 return sfixed64_default_optional_;
1407 inline void TestMsg::set_sfixed64_default_optional(::google::protobuf::int64 value) {
1408 set_has_sfixed64_default_optional();
1409 sfixed64_default_optional_ = value;
1414 inline bool TestMsg::has_bool_default_optional()
const {
1415 return (_has_bits_[0] & 0x00001000u) != 0;
1417 inline void TestMsg::set_has_bool_default_optional() {
1418 _has_bits_[0] |= 0x00001000u;
1420 inline void TestMsg::clear_has_bool_default_optional() {
1421 _has_bits_[0] &= ~0x00001000u;
1423 inline void TestMsg::clear_bool_default_optional() {
1424 bool_default_optional_ =
false;
1425 clear_has_bool_default_optional();
1427 inline bool TestMsg::bool_default_optional()
const {
1429 return bool_default_optional_;
1431 inline void TestMsg::set_bool_default_optional(
bool value) {
1432 set_has_bool_default_optional();
1433 bool_default_optional_ = value;
1438 inline bool TestMsg::has_string_default_optional()
const {
1439 return (_has_bits_[0] & 0x00002000u) != 0;
1441 inline void TestMsg::set_has_string_default_optional() {
1442 _has_bits_[0] |= 0x00002000u;
1444 inline void TestMsg::clear_has_string_default_optional() {
1445 _has_bits_[0] &= ~0x00002000u;
1447 inline void TestMsg::clear_string_default_optional() {
1448 if (string_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1449 string_default_optional_->clear();
1451 clear_has_string_default_optional();
1453 inline const ::std::string& TestMsg::string_default_optional()
const {
1455 return *string_default_optional_;
1457 inline void TestMsg::set_string_default_optional(const ::std::string& value) {
1458 set_has_string_default_optional();
1459 if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1460 string_default_optional_ = new ::std::string;
1462 string_default_optional_->assign(value);
1465 inline void TestMsg::set_string_default_optional(
const char* value) {
1466 set_has_string_default_optional();
1467 if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1468 string_default_optional_ = new ::std::string;
1470 string_default_optional_->assign(value);
1473 inline void TestMsg::set_string_default_optional(
const char* value,
size_t size) {
1474 set_has_string_default_optional();
1475 if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1476 string_default_optional_ = new ::std::string;
1478 string_default_optional_->assign(reinterpret_cast<const char*>(value), size);
1481 inline ::std::string* TestMsg::mutable_string_default_optional() {
1482 set_has_string_default_optional();
1483 if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1484 string_default_optional_ = new ::std::string;
1487 return string_default_optional_;
1489 inline ::std::string* TestMsg::release_string_default_optional() {
1490 clear_has_string_default_optional();
1491 if (string_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1494 ::std::string* temp = string_default_optional_;
1495 string_default_optional_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1499 inline void TestMsg::set_allocated_string_default_optional(::std::string* string_default_optional) {
1500 if (string_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1501 delete string_default_optional_;
1503 if (string_default_optional) {
1504 set_has_string_default_optional();
1505 string_default_optional_ = string_default_optional;
1507 clear_has_string_default_optional();
1508 string_default_optional_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1514 inline bool TestMsg::has_bytes_default_optional()
const {
1515 return (_has_bits_[0] & 0x00004000u) != 0;
1517 inline void TestMsg::set_has_bytes_default_optional() {
1518 _has_bits_[0] |= 0x00004000u;
1520 inline void TestMsg::clear_has_bytes_default_optional() {
1521 _has_bits_[0] &= ~0x00004000u;
1523 inline void TestMsg::clear_bytes_default_optional() {
1524 if (bytes_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1525 bytes_default_optional_->clear();
1527 clear_has_bytes_default_optional();
1529 inline const ::std::string& TestMsg::bytes_default_optional()
const {
1531 return *bytes_default_optional_;
1533 inline void TestMsg::set_bytes_default_optional(const ::std::string& value) {
1534 set_has_bytes_default_optional();
1535 if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1536 bytes_default_optional_ = new ::std::string;
1538 bytes_default_optional_->assign(value);
1541 inline void TestMsg::set_bytes_default_optional(
const char* value) {
1542 set_has_bytes_default_optional();
1543 if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1544 bytes_default_optional_ = new ::std::string;
1546 bytes_default_optional_->assign(value);
1549 inline void TestMsg::set_bytes_default_optional(
const void* value,
size_t size) {
1550 set_has_bytes_default_optional();
1551 if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1552 bytes_default_optional_ = new ::std::string;
1554 bytes_default_optional_->assign(reinterpret_cast<const char*>(value), size);
1557 inline ::std::string* TestMsg::mutable_bytes_default_optional() {
1558 set_has_bytes_default_optional();
1559 if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1560 bytes_default_optional_ = new ::std::string;
1563 return bytes_default_optional_;
1565 inline ::std::string* TestMsg::release_bytes_default_optional() {
1566 clear_has_bytes_default_optional();
1567 if (bytes_default_optional_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1570 ::std::string* temp = bytes_default_optional_;
1571 bytes_default_optional_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1575 inline void TestMsg::set_allocated_bytes_default_optional(::std::string* bytes_default_optional) {
1576 if (bytes_default_optional_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1577 delete bytes_default_optional_;
1579 if (bytes_default_optional) {
1580 set_has_bytes_default_optional();
1581 bytes_default_optional_ = bytes_default_optional;
1583 clear_has_bytes_default_optional();
1584 bytes_default_optional_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1590 inline bool TestMsg::has_enum_default_optional()
const {
1591 return (_has_bits_[0] & 0x00008000u) != 0;
1593 inline void TestMsg::set_has_enum_default_optional() {
1594 _has_bits_[0] |= 0x00008000u;
1596 inline void TestMsg::clear_has_enum_default_optional() {
1597 _has_bits_[0] &= ~0x00008000u;
1599 inline void TestMsg::clear_enum_default_optional() {
1600 enum_default_optional_ = 1;
1601 clear_has_enum_default_optional();
1603 inline ::Enum1 TestMsg::enum_default_optional()
const {
1605 return static_cast< ::Enum1
>(enum_default_optional_);
1607 inline void TestMsg::set_enum_default_optional(::Enum1 value) {
1608 assert(::Enum1_IsValid(value));
1609 set_has_enum_default_optional();
1610 enum_default_optional_ = value;
1615 inline bool TestMsg::has_msg_default_optional()
const {
1616 return (_has_bits_[0] & 0x00010000u) != 0;
1618 inline void TestMsg::set_has_msg_default_optional() {
1619 _has_bits_[0] |= 0x00010000u;
1621 inline void TestMsg::clear_has_msg_default_optional() {
1622 _has_bits_[0] &= ~0x00010000u;
1624 inline void TestMsg::clear_msg_default_optional() {
1625 if (msg_default_optional_ != NULL) msg_default_optional_->::EmbeddedMsg1::Clear();
1626 clear_has_msg_default_optional();
1628 inline const ::EmbeddedMsg1& TestMsg::msg_default_optional()
const {
1630 return msg_default_optional_ != NULL ? *msg_default_optional_ : *default_instance_->msg_default_optional_;
1632 inline ::EmbeddedMsg1* TestMsg::mutable_msg_default_optional() {
1633 set_has_msg_default_optional();
1634 if (msg_default_optional_ == NULL) msg_default_optional_ = new ::EmbeddedMsg1;
1636 return msg_default_optional_;
1638 inline ::EmbeddedMsg1* TestMsg::release_msg_default_optional() {
1639 clear_has_msg_default_optional();
1641 msg_default_optional_ = NULL;
1644 inline void TestMsg::set_allocated_msg_default_optional(::
EmbeddedMsg1* msg_default_optional) {
1645 delete msg_default_optional_;
1646 msg_default_optional_ = msg_default_optional;
1647 if (msg_default_optional) {
1648 set_has_msg_default_optional();
1650 clear_has_msg_default_optional();
1656 inline bool TestMsg::has_double_default_required()
const {
1657 return (_has_bits_[0] & 0x00020000u) != 0;
1659 inline void TestMsg::set_has_double_default_required() {
1660 _has_bits_[0] |= 0x00020000u;
1662 inline void TestMsg::clear_has_double_default_required() {
1663 _has_bits_[0] &= ~0x00020000u;
1665 inline void TestMsg::clear_double_default_required() {
1666 double_default_required_ = 0;
1667 clear_has_double_default_required();
1669 inline double TestMsg::double_default_required()
const {
1671 return double_default_required_;
1673 inline void TestMsg::set_double_default_required(
double value) {
1674 set_has_double_default_required();
1675 double_default_required_ = value;
1680 inline bool TestMsg::has_float_default_required()
const {
1681 return (_has_bits_[0] & 0x00040000u) != 0;
1683 inline void TestMsg::set_has_float_default_required() {
1684 _has_bits_[0] |= 0x00040000u;
1686 inline void TestMsg::clear_has_float_default_required() {
1687 _has_bits_[0] &= ~0x00040000u;
1689 inline void TestMsg::clear_float_default_required() {
1690 float_default_required_ = 0;
1691 clear_has_float_default_required();
1693 inline float TestMsg::float_default_required()
const {
1695 return float_default_required_;
1697 inline void TestMsg::set_float_default_required(
float value) {
1698 set_has_float_default_required();
1699 float_default_required_ = value;
1704 inline bool TestMsg::has_int32_default_required()
const {
1705 return (_has_bits_[0] & 0x00080000u) != 0;
1707 inline void TestMsg::set_has_int32_default_required() {
1708 _has_bits_[0] |= 0x00080000u;
1710 inline void TestMsg::clear_has_int32_default_required() {
1711 _has_bits_[0] &= ~0x00080000u;
1713 inline void TestMsg::clear_int32_default_required() {
1714 int32_default_required_ = 0;
1715 clear_has_int32_default_required();
1717 inline ::google::protobuf::int32 TestMsg::int32_default_required()
const {
1719 return int32_default_required_;
1721 inline void TestMsg::set_int32_default_required(::google::protobuf::int32 value) {
1722 set_has_int32_default_required();
1723 int32_default_required_ = value;
1728 inline bool TestMsg::has_int64_default_required()
const {
1729 return (_has_bits_[0] & 0x00100000u) != 0;
1731 inline void TestMsg::set_has_int64_default_required() {
1732 _has_bits_[0] |= 0x00100000u;
1734 inline void TestMsg::clear_has_int64_default_required() {
1735 _has_bits_[0] &= ~0x00100000u;
1737 inline void TestMsg::clear_int64_default_required() {
1738 int64_default_required_ = GOOGLE_LONGLONG(0);
1739 clear_has_int64_default_required();
1741 inline ::google::protobuf::int64 TestMsg::int64_default_required()
const {
1743 return int64_default_required_;
1745 inline void TestMsg::set_int64_default_required(::google::protobuf::int64 value) {
1746 set_has_int64_default_required();
1747 int64_default_required_ = value;
1752 inline bool TestMsg::has_uint32_default_required()
const {
1753 return (_has_bits_[0] & 0x00200000u) != 0;
1755 inline void TestMsg::set_has_uint32_default_required() {
1756 _has_bits_[0] |= 0x00200000u;
1758 inline void TestMsg::clear_has_uint32_default_required() {
1759 _has_bits_[0] &= ~0x00200000u;
1761 inline void TestMsg::clear_uint32_default_required() {
1762 uint32_default_required_ = 0u;
1763 clear_has_uint32_default_required();
1765 inline ::google::protobuf::uint32 TestMsg::uint32_default_required()
const {
1767 return uint32_default_required_;
1769 inline void TestMsg::set_uint32_default_required(::google::protobuf::uint32 value) {
1770 set_has_uint32_default_required();
1771 uint32_default_required_ = value;
1776 inline bool TestMsg::has_uint64_default_required()
const {
1777 return (_has_bits_[0] & 0x00400000u) != 0;
1779 inline void TestMsg::set_has_uint64_default_required() {
1780 _has_bits_[0] |= 0x00400000u;
1782 inline void TestMsg::clear_has_uint64_default_required() {
1783 _has_bits_[0] &= ~0x00400000u;
1785 inline void TestMsg::clear_uint64_default_required() {
1786 uint64_default_required_ = GOOGLE_ULONGLONG(0);
1787 clear_has_uint64_default_required();
1789 inline ::google::protobuf::uint64 TestMsg::uint64_default_required()
const {
1791 return uint64_default_required_;
1793 inline void TestMsg::set_uint64_default_required(::google::protobuf::uint64 value) {
1794 set_has_uint64_default_required();
1795 uint64_default_required_ = value;
1800 inline bool TestMsg::has_sint32_default_required()
const {
1801 return (_has_bits_[0] & 0x00800000u) != 0;
1803 inline void TestMsg::set_has_sint32_default_required() {
1804 _has_bits_[0] |= 0x00800000u;
1806 inline void TestMsg::clear_has_sint32_default_required() {
1807 _has_bits_[0] &= ~0x00800000u;
1809 inline void TestMsg::clear_sint32_default_required() {
1810 sint32_default_required_ = 0;
1811 clear_has_sint32_default_required();
1813 inline ::google::protobuf::int32 TestMsg::sint32_default_required()
const {
1815 return sint32_default_required_;
1817 inline void TestMsg::set_sint32_default_required(::google::protobuf::int32 value) {
1818 set_has_sint32_default_required();
1819 sint32_default_required_ = value;
1824 inline bool TestMsg::has_sint64_default_required()
const {
1825 return (_has_bits_[0] & 0x01000000u) != 0;
1827 inline void TestMsg::set_has_sint64_default_required() {
1828 _has_bits_[0] |= 0x01000000u;
1830 inline void TestMsg::clear_has_sint64_default_required() {
1831 _has_bits_[0] &= ~0x01000000u;
1833 inline void TestMsg::clear_sint64_default_required() {
1834 sint64_default_required_ = GOOGLE_LONGLONG(0);
1835 clear_has_sint64_default_required();
1837 inline ::google::protobuf::int64 TestMsg::sint64_default_required()
const {
1839 return sint64_default_required_;
1841 inline void TestMsg::set_sint64_default_required(::google::protobuf::int64 value) {
1842 set_has_sint64_default_required();
1843 sint64_default_required_ = value;
1848 inline bool TestMsg::has_fixed32_default_required()
const {
1849 return (_has_bits_[0] & 0x02000000u) != 0;
1851 inline void TestMsg::set_has_fixed32_default_required() {
1852 _has_bits_[0] |= 0x02000000u;
1854 inline void TestMsg::clear_has_fixed32_default_required() {
1855 _has_bits_[0] &= ~0x02000000u;
1857 inline void TestMsg::clear_fixed32_default_required() {
1858 fixed32_default_required_ = 0u;
1859 clear_has_fixed32_default_required();
1861 inline ::google::protobuf::uint32 TestMsg::fixed32_default_required()
const {
1863 return fixed32_default_required_;
1865 inline void TestMsg::set_fixed32_default_required(::google::protobuf::uint32 value) {
1866 set_has_fixed32_default_required();
1867 fixed32_default_required_ = value;
1872 inline bool TestMsg::has_fixed64_default_required()
const {
1873 return (_has_bits_[0] & 0x04000000u) != 0;
1875 inline void TestMsg::set_has_fixed64_default_required() {
1876 _has_bits_[0] |= 0x04000000u;
1878 inline void TestMsg::clear_has_fixed64_default_required() {
1879 _has_bits_[0] &= ~0x04000000u;
1881 inline void TestMsg::clear_fixed64_default_required() {
1882 fixed64_default_required_ = GOOGLE_ULONGLONG(0);
1883 clear_has_fixed64_default_required();
1885 inline ::google::protobuf::uint64 TestMsg::fixed64_default_required()
const {
1887 return fixed64_default_required_;
1889 inline void TestMsg::set_fixed64_default_required(::google::protobuf::uint64 value) {
1890 set_has_fixed64_default_required();
1891 fixed64_default_required_ = value;
1896 inline bool TestMsg::has_sfixed32_default_required()
const {
1897 return (_has_bits_[0] & 0x08000000u) != 0;
1899 inline void TestMsg::set_has_sfixed32_default_required() {
1900 _has_bits_[0] |= 0x08000000u;
1902 inline void TestMsg::clear_has_sfixed32_default_required() {
1903 _has_bits_[0] &= ~0x08000000u;
1905 inline void TestMsg::clear_sfixed32_default_required() {
1906 sfixed32_default_required_ = 0;
1907 clear_has_sfixed32_default_required();
1909 inline ::google::protobuf::int32 TestMsg::sfixed32_default_required()
const {
1911 return sfixed32_default_required_;
1913 inline void TestMsg::set_sfixed32_default_required(::google::protobuf::int32 value) {
1914 set_has_sfixed32_default_required();
1915 sfixed32_default_required_ = value;
1920 inline bool TestMsg::has_sfixed64_default_required()
const {
1921 return (_has_bits_[0] & 0x10000000u) != 0;
1923 inline void TestMsg::set_has_sfixed64_default_required() {
1924 _has_bits_[0] |= 0x10000000u;
1926 inline void TestMsg::clear_has_sfixed64_default_required() {
1927 _has_bits_[0] &= ~0x10000000u;
1929 inline void TestMsg::clear_sfixed64_default_required() {
1930 sfixed64_default_required_ = GOOGLE_LONGLONG(0);
1931 clear_has_sfixed64_default_required();
1933 inline ::google::protobuf::int64 TestMsg::sfixed64_default_required()
const {
1935 return sfixed64_default_required_;
1937 inline void TestMsg::set_sfixed64_default_required(::google::protobuf::int64 value) {
1938 set_has_sfixed64_default_required();
1939 sfixed64_default_required_ = value;
1944 inline bool TestMsg::has_bool_default_required()
const {
1945 return (_has_bits_[0] & 0x20000000u) != 0;
1947 inline void TestMsg::set_has_bool_default_required() {
1948 _has_bits_[0] |= 0x20000000u;
1950 inline void TestMsg::clear_has_bool_default_required() {
1951 _has_bits_[0] &= ~0x20000000u;
1953 inline void TestMsg::clear_bool_default_required() {
1954 bool_default_required_ =
false;
1955 clear_has_bool_default_required();
1957 inline bool TestMsg::bool_default_required()
const {
1959 return bool_default_required_;
1961 inline void TestMsg::set_bool_default_required(
bool value) {
1962 set_has_bool_default_required();
1963 bool_default_required_ = value;
1968 inline bool TestMsg::has_string_default_required()
const {
1969 return (_has_bits_[0] & 0x40000000u) != 0;
1971 inline void TestMsg::set_has_string_default_required() {
1972 _has_bits_[0] |= 0x40000000u;
1974 inline void TestMsg::clear_has_string_default_required() {
1975 _has_bits_[0] &= ~0x40000000u;
1977 inline void TestMsg::clear_string_default_required() {
1978 if (string_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1979 string_default_required_->clear();
1981 clear_has_string_default_required();
1983 inline const ::std::string& TestMsg::string_default_required()
const {
1985 return *string_default_required_;
1987 inline void TestMsg::set_string_default_required(const ::std::string& value) {
1988 set_has_string_default_required();
1989 if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1990 string_default_required_ = new ::std::string;
1992 string_default_required_->assign(value);
1995 inline void TestMsg::set_string_default_required(
const char* value) {
1996 set_has_string_default_required();
1997 if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1998 string_default_required_ = new ::std::string;
2000 string_default_required_->assign(value);
2003 inline void TestMsg::set_string_default_required(
const char* value,
size_t size) {
2004 set_has_string_default_required();
2005 if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2006 string_default_required_ = new ::std::string;
2008 string_default_required_->assign(reinterpret_cast<const char*>(value), size);
2011 inline ::std::string* TestMsg::mutable_string_default_required() {
2012 set_has_string_default_required();
2013 if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2014 string_default_required_ = new ::std::string;
2017 return string_default_required_;
2019 inline ::std::string* TestMsg::release_string_default_required() {
2020 clear_has_string_default_required();
2021 if (string_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2024 ::std::string* temp = string_default_required_;
2025 string_default_required_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2029 inline void TestMsg::set_allocated_string_default_required(::std::string* string_default_required) {
2030 if (string_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2031 delete string_default_required_;
2033 if (string_default_required) {
2034 set_has_string_default_required();
2035 string_default_required_ = string_default_required;
2037 clear_has_string_default_required();
2038 string_default_required_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2044 inline bool TestMsg::has_bytes_default_required()
const {
2045 return (_has_bits_[0] & 0x80000000u) != 0;
2047 inline void TestMsg::set_has_bytes_default_required() {
2048 _has_bits_[0] |= 0x80000000u;
2050 inline void TestMsg::clear_has_bytes_default_required() {
2051 _has_bits_[0] &= ~0x80000000u;
2053 inline void TestMsg::clear_bytes_default_required() {
2054 if (bytes_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2055 bytes_default_required_->clear();
2057 clear_has_bytes_default_required();
2059 inline const ::std::string& TestMsg::bytes_default_required()
const {
2061 return *bytes_default_required_;
2063 inline void TestMsg::set_bytes_default_required(const ::std::string& value) {
2064 set_has_bytes_default_required();
2065 if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2066 bytes_default_required_ = new ::std::string;
2068 bytes_default_required_->assign(value);
2071 inline void TestMsg::set_bytes_default_required(
const char* value) {
2072 set_has_bytes_default_required();
2073 if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2074 bytes_default_required_ = new ::std::string;
2076 bytes_default_required_->assign(value);
2079 inline void TestMsg::set_bytes_default_required(
const void* value,
size_t size) {
2080 set_has_bytes_default_required();
2081 if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2082 bytes_default_required_ = new ::std::string;
2084 bytes_default_required_->assign(reinterpret_cast<const char*>(value), size);
2087 inline ::std::string* TestMsg::mutable_bytes_default_required() {
2088 set_has_bytes_default_required();
2089 if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2090 bytes_default_required_ = new ::std::string;
2093 return bytes_default_required_;
2095 inline ::std::string* TestMsg::release_bytes_default_required() {
2096 clear_has_bytes_default_required();
2097 if (bytes_default_required_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2100 ::std::string* temp = bytes_default_required_;
2101 bytes_default_required_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2105 inline void TestMsg::set_allocated_bytes_default_required(::std::string* bytes_default_required) {
2106 if (bytes_default_required_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2107 delete bytes_default_required_;
2109 if (bytes_default_required) {
2110 set_has_bytes_default_required();
2111 bytes_default_required_ = bytes_default_required;
2113 clear_has_bytes_default_required();
2114 bytes_default_required_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2120 inline bool TestMsg::has_enum_default_required()
const {
2121 return (_has_bits_[1] & 0x00000001u) != 0;
2123 inline void TestMsg::set_has_enum_default_required() {
2124 _has_bits_[1] |= 0x00000001u;
2126 inline void TestMsg::clear_has_enum_default_required() {
2127 _has_bits_[1] &= ~0x00000001u;
2129 inline void TestMsg::clear_enum_default_required() {
2130 enum_default_required_ = 1;
2131 clear_has_enum_default_required();
2133 inline ::Enum1 TestMsg::enum_default_required()
const {
2135 return static_cast< ::Enum1
>(enum_default_required_);
2137 inline void TestMsg::set_enum_default_required(::Enum1 value) {
2138 assert(::Enum1_IsValid(value));
2139 set_has_enum_default_required();
2140 enum_default_required_ = value;
2145 inline bool TestMsg::has_msg_default_required()
const {
2146 return (_has_bits_[1] & 0x00000002u) != 0;
2148 inline void TestMsg::set_has_msg_default_required() {
2149 _has_bits_[1] |= 0x00000002u;
2151 inline void TestMsg::clear_has_msg_default_required() {
2152 _has_bits_[1] &= ~0x00000002u;
2154 inline void TestMsg::clear_msg_default_required() {
2155 if (msg_default_required_ != NULL) msg_default_required_->::EmbeddedMsg1::Clear();
2156 clear_has_msg_default_required();
2158 inline const ::EmbeddedMsg1& TestMsg::msg_default_required()
const {
2160 return msg_default_required_ != NULL ? *msg_default_required_ : *default_instance_->msg_default_required_;
2162 inline ::EmbeddedMsg1* TestMsg::mutable_msg_default_required() {
2163 set_has_msg_default_required();
2164 if (msg_default_required_ == NULL) msg_default_required_ = new ::EmbeddedMsg1;
2166 return msg_default_required_;
2168 inline ::EmbeddedMsg1* TestMsg::release_msg_default_required() {
2169 clear_has_msg_default_required();
2171 msg_default_required_ = NULL;
2174 inline void TestMsg::set_allocated_msg_default_required(::
EmbeddedMsg1* msg_default_required) {
2175 delete msg_default_required_;
2176 msg_default_required_ = msg_default_required;
2177 if (msg_default_required) {
2178 set_has_msg_default_required();
2180 clear_has_msg_default_required();
2186 inline int TestMsg::double_default_repeat_size()
const {
2187 return double_default_repeat_.size();
2189 inline void TestMsg::clear_double_default_repeat() {
2190 double_default_repeat_.Clear();
2192 inline double TestMsg::double_default_repeat(
int index)
const {
2194 return double_default_repeat_.Get(index);
2196 inline void TestMsg::set_double_default_repeat(
int index,
double value) {
2197 double_default_repeat_.Set(index, value);
2200 inline void TestMsg::add_double_default_repeat(
double value) {
2201 double_default_repeat_.Add(value);
2204 inline const ::google::protobuf::RepeatedField< double >&
2205 TestMsg::double_default_repeat()
const {
2207 return double_default_repeat_;
2209 inline ::google::protobuf::RepeatedField< double >*
2210 TestMsg::mutable_double_default_repeat() {
2212 return &double_default_repeat_;
2216 inline int TestMsg::float_default_repeat_size()
const {
2217 return float_default_repeat_.size();
2219 inline void TestMsg::clear_float_default_repeat() {
2220 float_default_repeat_.Clear();
2222 inline float TestMsg::float_default_repeat(
int index)
const {
2224 return float_default_repeat_.Get(index);
2226 inline void TestMsg::set_float_default_repeat(
int index,
float value) {
2227 float_default_repeat_.Set(index, value);
2230 inline void TestMsg::add_float_default_repeat(
float value) {
2231 float_default_repeat_.Add(value);
2234 inline const ::google::protobuf::RepeatedField< float >&
2235 TestMsg::float_default_repeat()
const {
2237 return float_default_repeat_;
2239 inline ::google::protobuf::RepeatedField< float >*
2240 TestMsg::mutable_float_default_repeat() {
2242 return &float_default_repeat_;
2246 inline int TestMsg::int32_default_repeat_size()
const {
2247 return int32_default_repeat_.size();
2249 inline void TestMsg::clear_int32_default_repeat() {
2250 int32_default_repeat_.Clear();
2252 inline ::google::protobuf::int32 TestMsg::int32_default_repeat(
int index)
const {
2254 return int32_default_repeat_.Get(index);
2256 inline void TestMsg::set_int32_default_repeat(
int index, ::google::protobuf::int32 value) {
2257 int32_default_repeat_.Set(index, value);
2260 inline void TestMsg::add_int32_default_repeat(::google::protobuf::int32 value) {
2261 int32_default_repeat_.Add(value);
2264 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2265 TestMsg::int32_default_repeat()
const {
2267 return int32_default_repeat_;
2269 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2270 TestMsg::mutable_int32_default_repeat() {
2272 return &int32_default_repeat_;
2276 inline int TestMsg::int64_default_repeat_size()
const {
2277 return int64_default_repeat_.size();
2279 inline void TestMsg::clear_int64_default_repeat() {
2280 int64_default_repeat_.Clear();
2282 inline ::google::protobuf::int64 TestMsg::int64_default_repeat(
int index)
const {
2284 return int64_default_repeat_.Get(index);
2286 inline void TestMsg::set_int64_default_repeat(
int index, ::google::protobuf::int64 value) {
2287 int64_default_repeat_.Set(index, value);
2290 inline void TestMsg::add_int64_default_repeat(::google::protobuf::int64 value) {
2291 int64_default_repeat_.Add(value);
2294 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2295 TestMsg::int64_default_repeat()
const {
2297 return int64_default_repeat_;
2299 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2300 TestMsg::mutable_int64_default_repeat() {
2302 return &int64_default_repeat_;
2306 inline int TestMsg::uint32_default_repeat_size()
const {
2307 return uint32_default_repeat_.size();
2309 inline void TestMsg::clear_uint32_default_repeat() {
2310 uint32_default_repeat_.Clear();
2312 inline ::google::protobuf::uint32 TestMsg::uint32_default_repeat(
int index)
const {
2314 return uint32_default_repeat_.Get(index);
2316 inline void TestMsg::set_uint32_default_repeat(
int index, ::google::protobuf::uint32 value) {
2317 uint32_default_repeat_.Set(index, value);
2320 inline void TestMsg::add_uint32_default_repeat(::google::protobuf::uint32 value) {
2321 uint32_default_repeat_.Add(value);
2324 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2325 TestMsg::uint32_default_repeat()
const {
2327 return uint32_default_repeat_;
2329 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2330 TestMsg::mutable_uint32_default_repeat() {
2332 return &uint32_default_repeat_;
2336 inline int TestMsg::uint64_default_repeat_size()
const {
2337 return uint64_default_repeat_.size();
2339 inline void TestMsg::clear_uint64_default_repeat() {
2340 uint64_default_repeat_.Clear();
2342 inline ::google::protobuf::uint64 TestMsg::uint64_default_repeat(
int index)
const {
2344 return uint64_default_repeat_.Get(index);
2346 inline void TestMsg::set_uint64_default_repeat(
int index, ::google::protobuf::uint64 value) {
2347 uint64_default_repeat_.Set(index, value);
2350 inline void TestMsg::add_uint64_default_repeat(::google::protobuf::uint64 value) {
2351 uint64_default_repeat_.Add(value);
2354 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2355 TestMsg::uint64_default_repeat()
const {
2357 return uint64_default_repeat_;
2359 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2360 TestMsg::mutable_uint64_default_repeat() {
2362 return &uint64_default_repeat_;
2366 inline int TestMsg::sint32_default_repeat_size()
const {
2367 return sint32_default_repeat_.size();
2369 inline void TestMsg::clear_sint32_default_repeat() {
2370 sint32_default_repeat_.Clear();
2372 inline ::google::protobuf::int32 TestMsg::sint32_default_repeat(
int index)
const {
2374 return sint32_default_repeat_.Get(index);
2376 inline void TestMsg::set_sint32_default_repeat(
int index, ::google::protobuf::int32 value) {
2377 sint32_default_repeat_.Set(index, value);
2380 inline void TestMsg::add_sint32_default_repeat(::google::protobuf::int32 value) {
2381 sint32_default_repeat_.Add(value);
2384 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2385 TestMsg::sint32_default_repeat()
const {
2387 return sint32_default_repeat_;
2389 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2390 TestMsg::mutable_sint32_default_repeat() {
2392 return &sint32_default_repeat_;
2396 inline int TestMsg::sint64_default_repeat_size()
const {
2397 return sint64_default_repeat_.size();
2399 inline void TestMsg::clear_sint64_default_repeat() {
2400 sint64_default_repeat_.Clear();
2402 inline ::google::protobuf::int64 TestMsg::sint64_default_repeat(
int index)
const {
2404 return sint64_default_repeat_.Get(index);
2406 inline void TestMsg::set_sint64_default_repeat(
int index, ::google::protobuf::int64 value) {
2407 sint64_default_repeat_.Set(index, value);
2410 inline void TestMsg::add_sint64_default_repeat(::google::protobuf::int64 value) {
2411 sint64_default_repeat_.Add(value);
2414 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2415 TestMsg::sint64_default_repeat()
const {
2417 return sint64_default_repeat_;
2419 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2420 TestMsg::mutable_sint64_default_repeat() {
2422 return &sint64_default_repeat_;
2426 inline int TestMsg::fixed32_default_repeat_size()
const {
2427 return fixed32_default_repeat_.size();
2429 inline void TestMsg::clear_fixed32_default_repeat() {
2430 fixed32_default_repeat_.Clear();
2432 inline ::google::protobuf::uint32 TestMsg::fixed32_default_repeat(
int index)
const {
2434 return fixed32_default_repeat_.Get(index);
2436 inline void TestMsg::set_fixed32_default_repeat(
int index, ::google::protobuf::uint32 value) {
2437 fixed32_default_repeat_.Set(index, value);
2440 inline void TestMsg::add_fixed32_default_repeat(::google::protobuf::uint32 value) {
2441 fixed32_default_repeat_.Add(value);
2444 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2445 TestMsg::fixed32_default_repeat()
const {
2447 return fixed32_default_repeat_;
2449 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2450 TestMsg::mutable_fixed32_default_repeat() {
2452 return &fixed32_default_repeat_;
2456 inline int TestMsg::fixed64_default_repeat_size()
const {
2457 return fixed64_default_repeat_.size();
2459 inline void TestMsg::clear_fixed64_default_repeat() {
2460 fixed64_default_repeat_.Clear();
2462 inline ::google::protobuf::uint64 TestMsg::fixed64_default_repeat(
int index)
const {
2464 return fixed64_default_repeat_.Get(index);
2466 inline void TestMsg::set_fixed64_default_repeat(
int index, ::google::protobuf::uint64 value) {
2467 fixed64_default_repeat_.Set(index, value);
2470 inline void TestMsg::add_fixed64_default_repeat(::google::protobuf::uint64 value) {
2471 fixed64_default_repeat_.Add(value);
2474 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2475 TestMsg::fixed64_default_repeat()
const {
2477 return fixed64_default_repeat_;
2479 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2480 TestMsg::mutable_fixed64_default_repeat() {
2482 return &fixed64_default_repeat_;
2486 inline int TestMsg::sfixed32_default_repeat_size()
const {
2487 return sfixed32_default_repeat_.size();
2489 inline void TestMsg::clear_sfixed32_default_repeat() {
2490 sfixed32_default_repeat_.Clear();
2492 inline ::google::protobuf::int32 TestMsg::sfixed32_default_repeat(
int index)
const {
2494 return sfixed32_default_repeat_.Get(index);
2496 inline void TestMsg::set_sfixed32_default_repeat(
int index, ::google::protobuf::int32 value) {
2497 sfixed32_default_repeat_.Set(index, value);
2500 inline void TestMsg::add_sfixed32_default_repeat(::google::protobuf::int32 value) {
2501 sfixed32_default_repeat_.Add(value);
2504 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2505 TestMsg::sfixed32_default_repeat()
const {
2507 return sfixed32_default_repeat_;
2509 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2510 TestMsg::mutable_sfixed32_default_repeat() {
2512 return &sfixed32_default_repeat_;
2516 inline int TestMsg::sfixed64_default_repeat_size()
const {
2517 return sfixed64_default_repeat_.size();
2519 inline void TestMsg::clear_sfixed64_default_repeat() {
2520 sfixed64_default_repeat_.Clear();
2522 inline ::google::protobuf::int64 TestMsg::sfixed64_default_repeat(
int index)
const {
2524 return sfixed64_default_repeat_.Get(index);
2526 inline void TestMsg::set_sfixed64_default_repeat(
int index, ::google::protobuf::int64 value) {
2527 sfixed64_default_repeat_.Set(index, value);
2530 inline void TestMsg::add_sfixed64_default_repeat(::google::protobuf::int64 value) {
2531 sfixed64_default_repeat_.Add(value);
2534 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2535 TestMsg::sfixed64_default_repeat()
const {
2537 return sfixed64_default_repeat_;
2539 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2540 TestMsg::mutable_sfixed64_default_repeat() {
2542 return &sfixed64_default_repeat_;
2546 inline int TestMsg::bool_default_repeat_size()
const {
2547 return bool_default_repeat_.size();
2549 inline void TestMsg::clear_bool_default_repeat() {
2550 bool_default_repeat_.Clear();
2552 inline bool TestMsg::bool_default_repeat(
int index)
const {
2554 return bool_default_repeat_.Get(index);
2556 inline void TestMsg::set_bool_default_repeat(
int index,
bool value) {
2557 bool_default_repeat_.Set(index, value);
2560 inline void TestMsg::add_bool_default_repeat(
bool value) {
2561 bool_default_repeat_.Add(value);
2564 inline const ::google::protobuf::RepeatedField< bool >&
2565 TestMsg::bool_default_repeat()
const {
2567 return bool_default_repeat_;
2569 inline ::google::protobuf::RepeatedField< bool >*
2570 TestMsg::mutable_bool_default_repeat() {
2572 return &bool_default_repeat_;
2576 inline int TestMsg::string_default_repeat_size()
const {
2577 return string_default_repeat_.size();
2579 inline void TestMsg::clear_string_default_repeat() {
2580 string_default_repeat_.Clear();
2582 inline const ::std::string& TestMsg::string_default_repeat(
int index)
const {
2584 return string_default_repeat_.Get(index);
2586 inline ::std::string* TestMsg::mutable_string_default_repeat(
int index) {
2588 return string_default_repeat_.Mutable(index);
2590 inline void TestMsg::set_string_default_repeat(
int index, const ::std::string& value) {
2592 string_default_repeat_.Mutable(index)->assign(value);
2594 inline void TestMsg::set_string_default_repeat(
int index,
const char* value) {
2595 string_default_repeat_.Mutable(index)->assign(value);
2598 inline void TestMsg::set_string_default_repeat(
int index,
const char* value,
size_t size) {
2599 string_default_repeat_.Mutable(index)->assign(
2600 reinterpret_cast<const char*>(value), size);
2603 inline ::std::string* TestMsg::add_string_default_repeat() {
2604 return string_default_repeat_.Add();
2606 inline void TestMsg::add_string_default_repeat(const ::std::string& value) {
2607 string_default_repeat_.Add()->assign(value);
2610 inline void TestMsg::add_string_default_repeat(
const char* value) {
2611 string_default_repeat_.Add()->assign(value);
2614 inline void TestMsg::add_string_default_repeat(
const char* value,
size_t size) {
2615 string_default_repeat_.Add()->assign(reinterpret_cast<const char*>(value), size);
2618 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2619 TestMsg::string_default_repeat()
const {
2621 return string_default_repeat_;
2623 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2624 TestMsg::mutable_string_default_repeat() {
2626 return &string_default_repeat_;
2630 inline int TestMsg::bytes_default_repeat_size()
const {
2631 return bytes_default_repeat_.size();
2633 inline void TestMsg::clear_bytes_default_repeat() {
2634 bytes_default_repeat_.Clear();
2636 inline const ::std::string& TestMsg::bytes_default_repeat(
int index)
const {
2638 return bytes_default_repeat_.Get(index);
2640 inline ::std::string* TestMsg::mutable_bytes_default_repeat(
int index) {
2642 return bytes_default_repeat_.Mutable(index);
2644 inline void TestMsg::set_bytes_default_repeat(
int index, const ::std::string& value) {
2646 bytes_default_repeat_.Mutable(index)->assign(value);
2648 inline void TestMsg::set_bytes_default_repeat(
int index,
const char* value) {
2649 bytes_default_repeat_.Mutable(index)->assign(value);
2652 inline void TestMsg::set_bytes_default_repeat(
int index,
const void* value,
size_t size) {
2653 bytes_default_repeat_.Mutable(index)->assign(
2654 reinterpret_cast<const char*>(value), size);
2657 inline ::std::string* TestMsg::add_bytes_default_repeat() {
2658 return bytes_default_repeat_.Add();
2660 inline void TestMsg::add_bytes_default_repeat(const ::std::string& value) {
2661 bytes_default_repeat_.Add()->assign(value);
2664 inline void TestMsg::add_bytes_default_repeat(
const char* value) {
2665 bytes_default_repeat_.Add()->assign(value);
2668 inline void TestMsg::add_bytes_default_repeat(
const void* value,
size_t size) {
2669 bytes_default_repeat_.Add()->assign(reinterpret_cast<const char*>(value), size);
2672 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2673 TestMsg::bytes_default_repeat()
const {
2675 return bytes_default_repeat_;
2677 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2678 TestMsg::mutable_bytes_default_repeat() {
2680 return &bytes_default_repeat_;
2684 inline int TestMsg::enum_default_repeat_size()
const {
2685 return enum_default_repeat_.size();
2687 inline void TestMsg::clear_enum_default_repeat() {
2688 enum_default_repeat_.Clear();
2690 inline ::Enum1 TestMsg::enum_default_repeat(
int index)
const {
2692 return static_cast< ::Enum1
>(enum_default_repeat_.Get(index));
2694 inline void TestMsg::set_enum_default_repeat(
int index, ::Enum1 value) {
2695 assert(::Enum1_IsValid(value));
2696 enum_default_repeat_.Set(index, value);
2699 inline void TestMsg::add_enum_default_repeat(::Enum1 value) {
2700 assert(::Enum1_IsValid(value));
2701 enum_default_repeat_.Add(value);
2704 inline const ::google::protobuf::RepeatedField<int>&
2705 TestMsg::enum_default_repeat()
const {
2707 return enum_default_repeat_;
2709 inline ::google::protobuf::RepeatedField<int>*
2710 TestMsg::mutable_enum_default_repeat() {
2712 return &enum_default_repeat_;
2716 inline int TestMsg::msg_default_repeat_size()
const {
2717 return msg_default_repeat_.size();
2719 inline void TestMsg::clear_msg_default_repeat() {
2720 msg_default_repeat_.Clear();
2722 inline const ::EmbeddedMsg1& TestMsg::msg_default_repeat(
int index)
const {
2724 return msg_default_repeat_.Get(index);
2726 inline ::EmbeddedMsg1* TestMsg::mutable_msg_default_repeat(
int index) {
2728 return msg_default_repeat_.Mutable(index);
2730 inline ::EmbeddedMsg1* TestMsg::add_msg_default_repeat() {
2732 return msg_default_repeat_.Add();
2734 inline const ::google::protobuf::RepeatedPtrField< ::EmbeddedMsg1 >&
2735 TestMsg::msg_default_repeat()
const {
2737 return msg_default_repeat_;
2739 inline ::google::protobuf::RepeatedPtrField< ::EmbeddedMsg1 >*
2740 TestMsg::mutable_msg_default_repeat() {
2742 return &msg_default_repeat_;
2750 namespace protobuf {
2752 template <>
struct is_proto_enum< ::Enum1> : ::google::protobuf::internal::true_type {};
2754 inline const EnumDescriptor* GetEnumDescriptor< ::Enum1>() {
2755 return ::Enum1_descriptor();
2764 #endif // PROTOBUF_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto__INCLUDED