4 #ifndef PROTOBUF_sync_2dstate_2eproto__INCLUDED
5 #define PROTOBUF_sync_2dstate_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
12 #if GOOGLE_PROTOBUF_VERSION < 2005000
14 #if GOOGLE_PROTOBUF_VERSION < 2004000
15 #error This file was generated by a newer version of protoc which is
16 #error incompatible with your Protocol Buffer headers. Please update
19 #if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
20 #error This file was generated by an older version of protoc which is
21 #error incompatible with your Protocol Buffer headers. Please
22 #error regenerate this file with a newer version of protoc.
25 #include <google/protobuf/generated_message_util.h>
26 #include <google/protobuf/repeated_field.h>
27 #include <google/protobuf/extension_set.h>
28 #include <google/protobuf/generated_message_reflection.h>
34 void protobuf_AddDesc_sync_2dstate_2eproto();
35 void protobuf_AssignDesc_sync_2dstate_2eproto();
36 void protobuf_ShutdownFile_sync_2dstate_2eproto();
39 class SyncState_SeqNo;
42 enum SyncState_ActionType {
43 SyncState_ActionType_UPDATE = 0,
44 SyncState_ActionType_DELETE = 1,
45 SyncState_ActionType_OTHER = 2
47 bool SyncState_ActionType_IsValid(
int value);
48 const SyncState_ActionType SyncState_ActionType_ActionType_MIN = SyncState_ActionType_UPDATE;
49 const SyncState_ActionType SyncState_ActionType_ActionType_MAX = SyncState_ActionType_OTHER;
50 const int SyncState_ActionType_ActionType_ARRAYSIZE = SyncState_ActionType_ActionType_MAX + 1;
52 const ::google::protobuf::EnumDescriptor* SyncState_ActionType_descriptor();
53 inline const ::std::string& SyncState_ActionType_Name(SyncState_ActionType value) {
54 return ::google::protobuf::internal::NameOfEnum(
55 SyncState_ActionType_descriptor(), value);
57 inline bool SyncState_ActionType_Parse(
58 const ::std::string& name, SyncState_ActionType* value) {
59 return ::google::protobuf::internal::ParseNamedEnum<SyncState_ActionType>(
60 SyncState_ActionType_descriptor(), name, value);
76 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
77 return _unknown_fields_;
80 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
81 return &_unknown_fields_;
84 static const ::google::protobuf::Descriptor* descriptor();
92 void CopyFrom(const ::google::protobuf::Message& from);
93 void MergeFrom(const ::google::protobuf::Message& from);
97 bool IsInitialized()
const;
100 bool MergePartialFromCodedStream(
101 ::google::protobuf::io::CodedInputStream* input);
102 void SerializeWithCachedSizes(
103 ::google::protobuf::io::CodedOutputStream* output)
const;
104 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
105 int GetCachedSize()
const {
return _cached_size_; }
109 void SetCachedSize(
int size)
const;
112 ::google::protobuf::Metadata GetMetadata()
const;
119 inline bool has_seq()
const;
120 inline void clear_seq();
121 static const int kSeqFieldNumber = 1;
122 inline ::google::protobuf::uint64 seq()
const;
123 inline void set_seq(::google::protobuf::uint64 value);
126 inline bool has_session()
const;
127 inline void clear_session();
128 static const int kSessionFieldNumber = 2;
129 inline ::google::protobuf::uint64 session()
const;
130 inline void set_session(::google::protobuf::uint64 value);
134 inline void set_has_seq();
135 inline void clear_has_seq();
136 inline void set_has_session();
137 inline void clear_has_session();
139 ::google::protobuf::UnknownFieldSet _unknown_fields_;
141 ::google::protobuf::uint64 seq_;
142 ::google::protobuf::uint64 session_;
144 mutable int _cached_size_;
145 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
147 friend void protobuf_AddDesc_sync_2dstate_2eproto();
148 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
149 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
151 void InitAsDefaultInstance();
168 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
169 return _unknown_fields_;
172 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
173 return &_unknown_fields_;
176 static const ::google::protobuf::Descriptor* descriptor();
177 static const SyncState& default_instance();
184 void CopyFrom(const ::google::protobuf::Message& from);
185 void MergeFrom(const ::google::protobuf::Message& from);
189 bool IsInitialized()
const;
191 int ByteSize()
const;
192 bool MergePartialFromCodedStream(
193 ::google::protobuf::io::CodedInputStream* input);
194 void SerializeWithCachedSizes(
195 ::google::protobuf::io::CodedOutputStream* output)
const;
196 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
197 int GetCachedSize()
const {
return _cached_size_; }
201 void SetCachedSize(
int size)
const;
204 ::google::protobuf::Metadata GetMetadata()
const;
210 typedef SyncState_ActionType ActionType;
211 static const ActionType UPDATE = SyncState_ActionType_UPDATE;
212 static const ActionType DELETE = SyncState_ActionType_DELETE;
213 static const ActionType OTHER = SyncState_ActionType_OTHER;
214 static inline bool ActionType_IsValid(
int value) {
215 return SyncState_ActionType_IsValid(value);
217 static const ActionType ActionType_MIN =
218 SyncState_ActionType_ActionType_MIN;
219 static const ActionType ActionType_MAX =
220 SyncState_ActionType_ActionType_MAX;
221 static const int ActionType_ARRAYSIZE =
222 SyncState_ActionType_ActionType_ARRAYSIZE;
223 static inline const ::google::protobuf::EnumDescriptor*
224 ActionType_descriptor() {
225 return SyncState_ActionType_descriptor();
227 static inline const ::std::string& ActionType_Name(ActionType value) {
228 return SyncState_ActionType_Name(value);
230 static inline bool ActionType_Parse(const ::std::string& name,
232 return SyncState_ActionType_Parse(name, value);
238 inline bool has_name()
const;
239 inline void clear_name();
240 static const int kNameFieldNumber = 1;
241 inline const ::std::string& name()
const;
242 inline void set_name(const ::std::string& value);
243 inline void set_name(
const char* value);
244 inline void set_name(
const char* value,
size_t size);
245 inline ::std::string* mutable_name();
246 inline ::std::string* release_name();
249 inline bool has_type()
const;
250 inline void clear_type();
251 static const int kTypeFieldNumber = 2;
252 inline ::Sync::SyncState_ActionType type()
const;
253 inline void set_type(::Sync::SyncState_ActionType value);
256 inline bool has_seqno()
const;
257 inline void clear_seqno();
258 static const int kSeqnoFieldNumber = 3;
259 inline const ::Sync::SyncState_SeqNo& seqno()
const;
260 inline ::Sync::SyncState_SeqNo* mutable_seqno();
261 inline ::Sync::SyncState_SeqNo* release_seqno();
265 inline void set_has_name();
266 inline void clear_has_name();
267 inline void set_has_type();
268 inline void clear_has_type();
269 inline void set_has_seqno();
270 inline void clear_has_seqno();
272 ::google::protobuf::UnknownFieldSet _unknown_fields_;
274 ::std::string* name_;
278 mutable int _cached_size_;
279 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
281 friend void protobuf_AddDesc_sync_2dstate_2eproto();
282 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
283 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
285 void InitAsDefaultInstance();
302 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
303 return _unknown_fields_;
306 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
307 return &_unknown_fields_;
310 static const ::google::protobuf::Descriptor* descriptor();
318 void CopyFrom(const ::google::protobuf::Message& from);
319 void MergeFrom(const ::google::protobuf::Message& from);
323 bool IsInitialized()
const;
325 int ByteSize()
const;
326 bool MergePartialFromCodedStream(
327 ::google::protobuf::io::CodedInputStream* input);
328 void SerializeWithCachedSizes(
329 ::google::protobuf::io::CodedOutputStream* output)
const;
330 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
331 int GetCachedSize()
const {
return _cached_size_; }
335 void SetCachedSize(
int size)
const;
338 ::google::protobuf::Metadata GetMetadata()
const;
345 inline int ss_size()
const;
346 inline void clear_ss();
347 static const int kSsFieldNumber = 1;
348 inline const ::Sync::SyncState& ss(
int index)
const;
349 inline ::Sync::SyncState* mutable_ss(
int index);
350 inline ::Sync::SyncState* add_ss();
351 inline const ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >&
353 inline ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >*
359 ::google::protobuf::UnknownFieldSet _unknown_fields_;
363 mutable int _cached_size_;
364 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
366 friend void protobuf_AddDesc_sync_2dstate_2eproto();
367 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
368 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
370 void InitAsDefaultInstance();
381 inline bool SyncState_SeqNo::has_seq()
const {
382 return (_has_bits_[0] & 0x00000001u) != 0;
384 inline void SyncState_SeqNo::set_has_seq() {
385 _has_bits_[0] |= 0x00000001u;
387 inline void SyncState_SeqNo::clear_has_seq() {
388 _has_bits_[0] &= ~0x00000001u;
390 inline void SyncState_SeqNo::clear_seq() {
391 seq_ = GOOGLE_ULONGLONG(0);
394 inline ::google::protobuf::uint64 SyncState_SeqNo::seq()
const {
397 inline void SyncState_SeqNo::set_seq(::google::protobuf::uint64 value) {
403 inline bool SyncState_SeqNo::has_session()
const {
404 return (_has_bits_[0] & 0x00000002u) != 0;
406 inline void SyncState_SeqNo::set_has_session() {
407 _has_bits_[0] |= 0x00000002u;
409 inline void SyncState_SeqNo::clear_has_session() {
410 _has_bits_[0] &= ~0x00000002u;
412 inline void SyncState_SeqNo::clear_session() {
413 session_ = GOOGLE_ULONGLONG(0);
416 inline ::google::protobuf::uint64 SyncState_SeqNo::session()
const {
419 inline void SyncState_SeqNo::set_session(::google::protobuf::uint64 value) {
429 inline bool SyncState::has_name()
const {
430 return (_has_bits_[0] & 0x00000001u) != 0;
432 inline void SyncState::set_has_name() {
433 _has_bits_[0] |= 0x00000001u;
435 inline void SyncState::clear_has_name() {
436 _has_bits_[0] &= ~0x00000001u;
438 inline void SyncState::clear_name() {
439 if (name_ != &::google::protobuf::internal::kEmptyString) {
444 inline const ::std::string& SyncState::name()
const {
447 inline void SyncState::set_name(const ::std::string& value) {
449 if (name_ == &::google::protobuf::internal::kEmptyString) {
450 name_ = new ::std::string;
452 name_->assign(value);
454 inline void SyncState::set_name(
const char* value) {
456 if (name_ == &::google::protobuf::internal::kEmptyString) {
457 name_ = new ::std::string;
459 name_->assign(value);
461 inline void SyncState::set_name(
const char* value,
size_t size) {
463 if (name_ == &::google::protobuf::internal::kEmptyString) {
464 name_ = new ::std::string;
466 name_->assign(reinterpret_cast<const char*>(value), size);
468 inline ::std::string* SyncState::mutable_name() {
470 if (name_ == &::google::protobuf::internal::kEmptyString) {
471 name_ = new ::std::string;
475 inline ::std::string* SyncState::release_name() {
477 if (name_ == &::google::protobuf::internal::kEmptyString) {
480 ::std::string* temp = name_;
481 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
487 inline bool SyncState::has_type()
const {
488 return (_has_bits_[0] & 0x00000002u) != 0;
490 inline void SyncState::set_has_type() {
491 _has_bits_[0] |= 0x00000002u;
493 inline void SyncState::clear_has_type() {
494 _has_bits_[0] &= ~0x00000002u;
496 inline void SyncState::clear_type() {
500 inline ::Sync::SyncState_ActionType SyncState::type()
const {
501 return static_cast< ::Sync::SyncState_ActionType
>(type_);
503 inline void SyncState::set_type(::Sync::SyncState_ActionType value) {
504 GOOGLE_DCHECK(::Sync::SyncState_ActionType_IsValid(value));
510 inline bool SyncState::has_seqno()
const {
511 return (_has_bits_[0] & 0x00000004u) != 0;
513 inline void SyncState::set_has_seqno() {
514 _has_bits_[0] |= 0x00000004u;
516 inline void SyncState::clear_has_seqno() {
517 _has_bits_[0] &= ~0x00000004u;
519 inline void SyncState::clear_seqno() {
520 if (seqno_ != NULL) seqno_->::Sync::SyncState_SeqNo::Clear();
523 inline const ::Sync::SyncState_SeqNo& SyncState::seqno()
const {
524 return seqno_ != NULL ? *seqno_ : *default_instance_->seqno_;
526 inline ::Sync::SyncState_SeqNo* SyncState::mutable_seqno() {
528 if (seqno_ == NULL) seqno_ = new ::Sync::SyncState_SeqNo;
531 inline ::Sync::SyncState_SeqNo* SyncState::release_seqno() {
543 inline int SyncStateMsg::ss_size()
const {
546 inline void SyncStateMsg::clear_ss() {
549 inline const ::Sync::SyncState& SyncStateMsg::ss(
int index)
const {
550 return ss_.Get(index);
552 inline ::Sync::SyncState* SyncStateMsg::mutable_ss(
int index) {
553 return ss_.Mutable(index);
555 inline ::Sync::SyncState* SyncStateMsg::add_ss() {
558 inline const ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >&
559 SyncStateMsg::ss()
const {
562 inline ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >*
563 SyncStateMsg::mutable_ss() {
577 inline const EnumDescriptor* GetEnumDescriptor< ::Sync::SyncState_ActionType>() {
578 return ::Sync::SyncState_ActionType_descriptor();
587 #elif GOOGLE_PROTOBUF_VERSION < 2006000
589 #if GOOGLE_PROTOBUF_VERSION < 2005000
590 #error This file was generated by a newer version of protoc which is
591 #error incompatible with your Protocol Buffer headers. Please update
594 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
595 #error This file was generated by an older version of protoc which is
596 #error incompatible with your Protocol Buffer headers. Please
597 #error regenerate this file with a newer version of protoc.
600 #include <google/protobuf/generated_message_util.h>
601 #include <google/protobuf/message.h>
602 #include <google/protobuf/repeated_field.h>
603 #include <google/protobuf/extension_set.h>
604 #include <google/protobuf/generated_enum_reflection.h>
605 #include <google/protobuf/unknown_field_set.h>
611 void protobuf_AddDesc_sync_2dstate_2eproto();
612 void protobuf_AssignDesc_sync_2dstate_2eproto();
613 void protobuf_ShutdownFile_sync_2dstate_2eproto();
616 class SyncState_SeqNo;
619 enum SyncState_ActionType {
620 SyncState_ActionType_UPDATE = 0,
621 SyncState_ActionType_DELETE = 1,
622 SyncState_ActionType_OTHER = 2
624 bool SyncState_ActionType_IsValid(
int value);
625 const SyncState_ActionType SyncState_ActionType_ActionType_MIN = SyncState_ActionType_UPDATE;
626 const SyncState_ActionType SyncState_ActionType_ActionType_MAX = SyncState_ActionType_OTHER;
627 const int SyncState_ActionType_ActionType_ARRAYSIZE = SyncState_ActionType_ActionType_MAX + 1;
629 const ::google::protobuf::EnumDescriptor* SyncState_ActionType_descriptor();
630 inline const ::std::string& SyncState_ActionType_Name(SyncState_ActionType value) {
631 return ::google::protobuf::internal::NameOfEnum(
632 SyncState_ActionType_descriptor(), value);
634 inline bool SyncState_ActionType_Parse(
635 const ::std::string& name, SyncState_ActionType* value) {
636 return ::google::protobuf::internal::ParseNamedEnum<SyncState_ActionType>(
637 SyncState_ActionType_descriptor(), name, value);
641 class SyncState_SeqNo :
public ::google::protobuf::Message {
644 virtual ~SyncState_SeqNo();
646 SyncState_SeqNo(
const SyncState_SeqNo& from);
648 inline SyncState_SeqNo& operator=(
const SyncState_SeqNo& from) {
653 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
654 return _unknown_fields_;
657 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
658 return &_unknown_fields_;
661 static const ::google::protobuf::Descriptor* descriptor();
662 static const SyncState_SeqNo& default_instance();
664 void Swap(SyncState_SeqNo* other);
668 SyncState_SeqNo* New()
const;
669 void CopyFrom(const ::google::protobuf::Message& from);
670 void MergeFrom(const ::google::protobuf::Message& from);
671 void CopyFrom(
const SyncState_SeqNo& from);
672 void MergeFrom(
const SyncState_SeqNo& from);
674 bool IsInitialized()
const;
676 int ByteSize()
const;
677 bool MergePartialFromCodedStream(
678 ::google::protobuf::io::CodedInputStream* input);
679 void SerializeWithCachedSizes(
680 ::google::protobuf::io::CodedOutputStream* output)
const;
681 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
682 int GetCachedSize()
const {
return _cached_size_; }
686 void SetCachedSize(
int size)
const;
689 ::google::protobuf::Metadata GetMetadata()
const;
696 inline bool has_seq()
const;
697 inline void clear_seq();
698 static const int kSeqFieldNumber = 1;
699 inline ::google::protobuf::uint64 seq()
const;
700 inline void set_seq(::google::protobuf::uint64 value);
703 inline bool has_session()
const;
704 inline void clear_session();
705 static const int kSessionFieldNumber = 2;
706 inline ::google::protobuf::uint64 session()
const;
707 inline void set_session(::google::protobuf::uint64 value);
711 inline void set_has_seq();
712 inline void clear_has_seq();
713 inline void set_has_session();
714 inline void clear_has_session();
716 ::google::protobuf::UnknownFieldSet _unknown_fields_;
718 ::google::protobuf::uint64 seq_;
719 ::google::protobuf::uint64 session_;
721 mutable int _cached_size_;
722 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
724 friend void protobuf_AddDesc_sync_2dstate_2eproto();
725 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
726 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
728 void InitAsDefaultInstance();
729 static SyncState_SeqNo* default_instance_;
733 class SyncState :
public ::google::protobuf::Message {
736 virtual ~SyncState();
738 SyncState(
const SyncState& from);
740 inline SyncState& operator=(
const SyncState& from) {
745 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
746 return _unknown_fields_;
749 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
750 return &_unknown_fields_;
753 static const ::google::protobuf::Descriptor* descriptor();
754 static const SyncState& default_instance();
756 void Swap(SyncState* other);
760 SyncState* New()
const;
761 void CopyFrom(const ::google::protobuf::Message& from);
762 void MergeFrom(const ::google::protobuf::Message& from);
763 void CopyFrom(
const SyncState& from);
764 void MergeFrom(
const SyncState& from);
766 bool IsInitialized()
const;
768 int ByteSize()
const;
769 bool MergePartialFromCodedStream(
770 ::google::protobuf::io::CodedInputStream* input);
771 void SerializeWithCachedSizes(
772 ::google::protobuf::io::CodedOutputStream* output)
const;
773 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
774 int GetCachedSize()
const {
return _cached_size_; }
778 void SetCachedSize(
int size)
const;
781 ::google::protobuf::Metadata GetMetadata()
const;
785 typedef SyncState_SeqNo SeqNo;
787 typedef SyncState_ActionType ActionType;
788 static const ActionType UPDATE = SyncState_ActionType_UPDATE;
789 static const ActionType DELETE = SyncState_ActionType_DELETE;
790 static const ActionType OTHER = SyncState_ActionType_OTHER;
791 static inline bool ActionType_IsValid(
int value) {
792 return SyncState_ActionType_IsValid(value);
794 static const ActionType ActionType_MIN =
795 SyncState_ActionType_ActionType_MIN;
796 static const ActionType ActionType_MAX =
797 SyncState_ActionType_ActionType_MAX;
798 static const int ActionType_ARRAYSIZE =
799 SyncState_ActionType_ActionType_ARRAYSIZE;
800 static inline const ::google::protobuf::EnumDescriptor*
801 ActionType_descriptor() {
802 return SyncState_ActionType_descriptor();
804 static inline const ::std::string& ActionType_Name(ActionType value) {
805 return SyncState_ActionType_Name(value);
807 static inline bool ActionType_Parse(const ::std::string& name,
809 return SyncState_ActionType_Parse(name, value);
815 inline bool has_name()
const;
816 inline void clear_name();
817 static const int kNameFieldNumber = 1;
818 inline const ::std::string& name()
const;
819 inline void set_name(const ::std::string& value);
820 inline void set_name(
const char* value);
821 inline void set_name(
const char* value,
size_t size);
822 inline ::std::string* mutable_name();
823 inline ::std::string* release_name();
824 inline void set_allocated_name(::std::string* name);
827 inline bool has_type()
const;
828 inline void clear_type();
829 static const int kTypeFieldNumber = 2;
830 inline ::Sync::SyncState_ActionType type()
const;
831 inline void set_type(::Sync::SyncState_ActionType value);
834 inline bool has_seqno()
const;
835 inline void clear_seqno();
836 static const int kSeqnoFieldNumber = 3;
837 inline const ::Sync::SyncState_SeqNo& seqno()
const;
838 inline ::Sync::SyncState_SeqNo* mutable_seqno();
839 inline ::Sync::SyncState_SeqNo* release_seqno();
844 inline void set_has_name();
845 inline void clear_has_name();
846 inline void set_has_type();
847 inline void clear_has_type();
848 inline void set_has_seqno();
849 inline void clear_has_seqno();
851 ::google::protobuf::UnknownFieldSet _unknown_fields_;
853 ::std::string* name_;
857 mutable int _cached_size_;
858 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
860 friend void protobuf_AddDesc_sync_2dstate_2eproto();
861 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
862 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
864 void InitAsDefaultInstance();
865 static SyncState* default_instance_;
869 class SyncStateMsg :
public ::google::protobuf::Message {
872 virtual ~SyncStateMsg();
874 SyncStateMsg(
const SyncStateMsg& from);
876 inline SyncStateMsg& operator=(
const SyncStateMsg& from) {
881 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
882 return _unknown_fields_;
885 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
886 return &_unknown_fields_;
889 static const ::google::protobuf::Descriptor* descriptor();
890 static const SyncStateMsg& default_instance();
892 void Swap(SyncStateMsg* other);
896 SyncStateMsg* New()
const;
897 void CopyFrom(const ::google::protobuf::Message& from);
898 void MergeFrom(const ::google::protobuf::Message& from);
899 void CopyFrom(
const SyncStateMsg& from);
900 void MergeFrom(
const SyncStateMsg& from);
902 bool IsInitialized()
const;
904 int ByteSize()
const;
905 bool MergePartialFromCodedStream(
906 ::google::protobuf::io::CodedInputStream* input);
907 void SerializeWithCachedSizes(
908 ::google::protobuf::io::CodedOutputStream* output)
const;
909 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
910 int GetCachedSize()
const {
return _cached_size_; }
914 void SetCachedSize(
int size)
const;
917 ::google::protobuf::Metadata GetMetadata()
const;
924 inline int ss_size()
const;
925 inline void clear_ss();
926 static const int kSsFieldNumber = 1;
927 inline const ::Sync::SyncState& ss(
int index)
const;
928 inline ::Sync::SyncState* mutable_ss(
int index);
929 inline ::Sync::SyncState* add_ss();
930 inline const ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >&
932 inline ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >*
938 ::google::protobuf::UnknownFieldSet _unknown_fields_;
942 mutable int _cached_size_;
943 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
945 friend void protobuf_AddDesc_sync_2dstate_2eproto();
946 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
947 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
949 void InitAsDefaultInstance();
950 static SyncStateMsg* default_instance_;
960 inline bool SyncState_SeqNo::has_seq()
const {
961 return (_has_bits_[0] & 0x00000001u) != 0;
963 inline void SyncState_SeqNo::set_has_seq() {
964 _has_bits_[0] |= 0x00000001u;
966 inline void SyncState_SeqNo::clear_has_seq() {
967 _has_bits_[0] &= ~0x00000001u;
969 inline void SyncState_SeqNo::clear_seq() {
970 seq_ = GOOGLE_ULONGLONG(0);
973 inline ::google::protobuf::uint64 SyncState_SeqNo::seq()
const {
976 inline void SyncState_SeqNo::set_seq(::google::protobuf::uint64 value) {
982 inline bool SyncState_SeqNo::has_session()
const {
983 return (_has_bits_[0] & 0x00000002u) != 0;
985 inline void SyncState_SeqNo::set_has_session() {
986 _has_bits_[0] |= 0x00000002u;
988 inline void SyncState_SeqNo::clear_has_session() {
989 _has_bits_[0] &= ~0x00000002u;
991 inline void SyncState_SeqNo::clear_session() {
992 session_ = GOOGLE_ULONGLONG(0);
995 inline ::google::protobuf::uint64 SyncState_SeqNo::session()
const {
998 inline void SyncState_SeqNo::set_session(::google::protobuf::uint64 value) {
1008 inline bool SyncState::has_name()
const {
1009 return (_has_bits_[0] & 0x00000001u) != 0;
1011 inline void SyncState::set_has_name() {
1012 _has_bits_[0] |= 0x00000001u;
1014 inline void SyncState::clear_has_name() {
1015 _has_bits_[0] &= ~0x00000001u;
1017 inline void SyncState::clear_name() {
1018 if (name_ != &::google::protobuf::internal::kEmptyString) {
1023 inline const ::std::string& SyncState::name()
const {
1026 inline void SyncState::set_name(const ::std::string& value) {
1028 if (name_ == &::google::protobuf::internal::kEmptyString) {
1029 name_ = new ::std::string;
1031 name_->assign(value);
1033 inline void SyncState::set_name(
const char* value) {
1035 if (name_ == &::google::protobuf::internal::kEmptyString) {
1036 name_ = new ::std::string;
1038 name_->assign(value);
1040 inline void SyncState::set_name(
const char* value,
size_t size) {
1042 if (name_ == &::google::protobuf::internal::kEmptyString) {
1043 name_ = new ::std::string;
1045 name_->assign(reinterpret_cast<const char*>(value), size);
1047 inline ::std::string* SyncState::mutable_name() {
1049 if (name_ == &::google::protobuf::internal::kEmptyString) {
1050 name_ = new ::std::string;
1054 inline ::std::string* SyncState::release_name() {
1056 if (name_ == &::google::protobuf::internal::kEmptyString) {
1059 ::std::string* temp = name_;
1060 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1064 inline void SyncState::set_allocated_name(::std::string* name) {
1065 if (name_ != &::google::protobuf::internal::kEmptyString) {
1073 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1078 inline bool SyncState::has_type()
const {
1079 return (_has_bits_[0] & 0x00000002u) != 0;
1081 inline void SyncState::set_has_type() {
1082 _has_bits_[0] |= 0x00000002u;
1084 inline void SyncState::clear_has_type() {
1085 _has_bits_[0] &= ~0x00000002u;
1087 inline void SyncState::clear_type() {
1091 inline ::Sync::SyncState_ActionType SyncState::type()
const {
1092 return static_cast< ::Sync::SyncState_ActionType
>(type_);
1094 inline void SyncState::set_type(::Sync::SyncState_ActionType value) {
1095 assert(::Sync::SyncState_ActionType_IsValid(value));
1101 inline bool SyncState::has_seqno()
const {
1102 return (_has_bits_[0] & 0x00000004u) != 0;
1104 inline void SyncState::set_has_seqno() {
1105 _has_bits_[0] |= 0x00000004u;
1107 inline void SyncState::clear_has_seqno() {
1108 _has_bits_[0] &= ~0x00000004u;
1110 inline void SyncState::clear_seqno() {
1111 if (seqno_ != NULL) seqno_->::Sync::SyncState_SeqNo::Clear();
1114 inline const ::Sync::SyncState_SeqNo& SyncState::seqno()
const {
1115 return seqno_ != NULL ? *seqno_ : *default_instance_->seqno_;
1117 inline ::Sync::SyncState_SeqNo* SyncState::mutable_seqno() {
1119 if (seqno_ == NULL) seqno_ = new ::Sync::SyncState_SeqNo;
1122 inline ::Sync::SyncState_SeqNo* SyncState::release_seqno() {
1143 inline int SyncStateMsg::ss_size()
const {
1146 inline void SyncStateMsg::clear_ss() {
1149 inline const ::Sync::SyncState& SyncStateMsg::ss(
int index)
const {
1150 return ss_.Get(index);
1152 inline ::Sync::SyncState* SyncStateMsg::mutable_ss(
int index) {
1153 return ss_.Mutable(index);
1155 inline ::Sync::SyncState* SyncStateMsg::add_ss() {
1158 inline const ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >&
1159 SyncStateMsg::ss()
const {
1162 inline ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >*
1163 SyncStateMsg::mutable_ss() {
1174 namespace protobuf {
1177 inline const EnumDescriptor* GetEnumDescriptor< ::Sync::SyncState_ActionType>() {
1178 return ::Sync::SyncState_ActionType_descriptor();
1187 #else // GOOGLE_PROTOBUF_VERSION < 2006000
1189 #if GOOGLE_PROTOBUF_VERSION < 2006000
1190 #error This file was generated by a newer version of protoc which is
1191 #error incompatible with your Protocol Buffer headers. Please update
1192 #error your headers.
1194 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
1195 #error This file was generated by an older version of protoc which is
1196 #error incompatible with your Protocol Buffer headers. Please
1197 #error regenerate this file with a newer version of protoc.
1200 #include <google/protobuf/generated_message_util.h>
1201 #include <google/protobuf/message.h>
1202 #include <google/protobuf/repeated_field.h>
1203 #include <google/protobuf/extension_set.h>
1204 #include <google/protobuf/generated_enum_reflection.h>
1205 #include <google/protobuf/unknown_field_set.h>
1211 void protobuf_AddDesc_sync_2dstate_2eproto();
1212 void protobuf_AssignDesc_sync_2dstate_2eproto();
1213 void protobuf_ShutdownFile_sync_2dstate_2eproto();
1216 class SyncState_SeqNo;
1219 enum SyncState_ActionType {
1220 SyncState_ActionType_UPDATE = 0,
1221 SyncState_ActionType_DELETE = 1,
1222 SyncState_ActionType_OTHER = 2
1224 bool SyncState_ActionType_IsValid(
int value);
1225 const SyncState_ActionType SyncState_ActionType_ActionType_MIN = SyncState_ActionType_UPDATE;
1226 const SyncState_ActionType SyncState_ActionType_ActionType_MAX = SyncState_ActionType_OTHER;
1227 const int SyncState_ActionType_ActionType_ARRAYSIZE = SyncState_ActionType_ActionType_MAX + 1;
1229 const ::google::protobuf::EnumDescriptor* SyncState_ActionType_descriptor();
1230 inline const ::std::string& SyncState_ActionType_Name(SyncState_ActionType value) {
1231 return ::google::protobuf::internal::NameOfEnum(
1232 SyncState_ActionType_descriptor(), value);
1234 inline bool SyncState_ActionType_Parse(
1235 const ::std::string& name, SyncState_ActionType* value) {
1236 return ::google::protobuf::internal::ParseNamedEnum<SyncState_ActionType>(
1237 SyncState_ActionType_descriptor(), name, value);
1241 class SyncState_SeqNo :
public ::google::protobuf::Message {
1244 virtual ~SyncState_SeqNo();
1246 SyncState_SeqNo(
const SyncState_SeqNo& from);
1248 inline SyncState_SeqNo& operator=(
const SyncState_SeqNo& from) {
1253 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1254 return _unknown_fields_;
1257 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1258 return &_unknown_fields_;
1261 static const ::google::protobuf::Descriptor* descriptor();
1262 static const SyncState_SeqNo& default_instance();
1264 void Swap(SyncState_SeqNo* other);
1268 SyncState_SeqNo* New()
const;
1269 void CopyFrom(const ::google::protobuf::Message& from);
1270 void MergeFrom(const ::google::protobuf::Message& from);
1271 void CopyFrom(
const SyncState_SeqNo& from);
1272 void MergeFrom(
const SyncState_SeqNo& from);
1274 bool IsInitialized()
const;
1276 int ByteSize()
const;
1277 bool MergePartialFromCodedStream(
1278 ::google::protobuf::io::CodedInputStream* input);
1279 void SerializeWithCachedSizes(
1280 ::google::protobuf::io::CodedOutputStream* output)
const;
1281 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1282 int GetCachedSize()
const {
return _cached_size_; }
1286 void SetCachedSize(
int size)
const;
1288 ::google::protobuf::Metadata GetMetadata()
const;
1295 inline bool has_seq()
const;
1296 inline void clear_seq();
1297 static const int kSeqFieldNumber = 1;
1298 inline ::google::protobuf::uint64 seq()
const;
1299 inline void set_seq(::google::protobuf::uint64 value);
1302 inline bool has_session()
const;
1303 inline void clear_session();
1304 static const int kSessionFieldNumber = 2;
1305 inline ::google::protobuf::uint64 session()
const;
1306 inline void set_session(::google::protobuf::uint64 value);
1310 inline void set_has_seq();
1311 inline void clear_has_seq();
1312 inline void set_has_session();
1313 inline void clear_has_session();
1315 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1317 ::google::protobuf::uint32 _has_bits_[1];
1318 mutable int _cached_size_;
1319 ::google::protobuf::uint64 seq_;
1320 ::google::protobuf::uint64 session_;
1321 friend void protobuf_AddDesc_sync_2dstate_2eproto();
1322 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
1323 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
1325 void InitAsDefaultInstance();
1326 static SyncState_SeqNo* default_instance_;
1330 class SyncState :
public ::google::protobuf::Message {
1333 virtual ~SyncState();
1335 SyncState(
const SyncState& from);
1337 inline SyncState& operator=(
const SyncState& from) {
1342 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1343 return _unknown_fields_;
1346 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1347 return &_unknown_fields_;
1350 static const ::google::protobuf::Descriptor* descriptor();
1351 static const SyncState& default_instance();
1353 void Swap(SyncState* other);
1357 SyncState* New()
const;
1358 void CopyFrom(const ::google::protobuf::Message& from);
1359 void MergeFrom(const ::google::protobuf::Message& from);
1360 void CopyFrom(
const SyncState& from);
1361 void MergeFrom(
const SyncState& from);
1363 bool IsInitialized()
const;
1365 int ByteSize()
const;
1366 bool MergePartialFromCodedStream(
1367 ::google::protobuf::io::CodedInputStream* input);
1368 void SerializeWithCachedSizes(
1369 ::google::protobuf::io::CodedOutputStream* output)
const;
1370 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1371 int GetCachedSize()
const {
return _cached_size_; }
1375 void SetCachedSize(
int size)
const;
1377 ::google::protobuf::Metadata GetMetadata()
const;
1381 typedef SyncState_SeqNo SeqNo;
1383 typedef SyncState_ActionType ActionType;
1384 static const ActionType UPDATE = SyncState_ActionType_UPDATE;
1385 static const ActionType DELETE = SyncState_ActionType_DELETE;
1386 static const ActionType OTHER = SyncState_ActionType_OTHER;
1387 static inline bool ActionType_IsValid(
int value) {
1388 return SyncState_ActionType_IsValid(value);
1390 static const ActionType ActionType_MIN =
1391 SyncState_ActionType_ActionType_MIN;
1392 static const ActionType ActionType_MAX =
1393 SyncState_ActionType_ActionType_MAX;
1394 static const int ActionType_ARRAYSIZE =
1395 SyncState_ActionType_ActionType_ARRAYSIZE;
1396 static inline const ::google::protobuf::EnumDescriptor*
1397 ActionType_descriptor() {
1398 return SyncState_ActionType_descriptor();
1400 static inline const ::std::string& ActionType_Name(ActionType value) {
1401 return SyncState_ActionType_Name(value);
1403 static inline bool ActionType_Parse(const ::std::string& name,
1404 ActionType* value) {
1405 return SyncState_ActionType_Parse(name, value);
1411 inline bool has_name()
const;
1412 inline void clear_name();
1413 static const int kNameFieldNumber = 1;
1414 inline const ::std::string& name()
const;
1415 inline void set_name(const ::std::string& value);
1416 inline void set_name(
const char* value);
1417 inline void set_name(
const char* value,
size_t size);
1418 inline ::std::string* mutable_name();
1419 inline ::std::string* release_name();
1420 inline void set_allocated_name(::std::string* name);
1423 inline bool has_type()
const;
1424 inline void clear_type();
1425 static const int kTypeFieldNumber = 2;
1426 inline ::Sync::SyncState_ActionType type()
const;
1427 inline void set_type(::Sync::SyncState_ActionType value);
1430 inline bool has_seqno()
const;
1431 inline void clear_seqno();
1432 static const int kSeqnoFieldNumber = 3;
1433 inline const ::Sync::SyncState_SeqNo& seqno()
const;
1434 inline ::Sync::SyncState_SeqNo* mutable_seqno();
1435 inline ::Sync::SyncState_SeqNo* release_seqno();
1440 inline void set_has_name();
1441 inline void clear_has_name();
1442 inline void set_has_type();
1443 inline void clear_has_type();
1444 inline void set_has_seqno();
1445 inline void clear_has_seqno();
1447 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1449 ::google::protobuf::uint32 _has_bits_[1];
1450 mutable int _cached_size_;
1451 ::std::string* name_;
1454 friend void protobuf_AddDesc_sync_2dstate_2eproto();
1455 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
1456 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
1458 void InitAsDefaultInstance();
1459 static SyncState* default_instance_;
1463 class SyncStateMsg :
public ::google::protobuf::Message {
1466 virtual ~SyncStateMsg();
1468 SyncStateMsg(
const SyncStateMsg& from);
1470 inline SyncStateMsg& operator=(
const SyncStateMsg& from) {
1475 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1476 return _unknown_fields_;
1479 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1480 return &_unknown_fields_;
1483 static const ::google::protobuf::Descriptor* descriptor();
1484 static const SyncStateMsg& default_instance();
1486 void Swap(SyncStateMsg* other);
1490 SyncStateMsg* New()
const;
1491 void CopyFrom(const ::google::protobuf::Message& from);
1492 void MergeFrom(const ::google::protobuf::Message& from);
1493 void CopyFrom(
const SyncStateMsg& from);
1494 void MergeFrom(
const SyncStateMsg& from);
1496 bool IsInitialized()
const;
1498 int ByteSize()
const;
1499 bool MergePartialFromCodedStream(
1500 ::google::protobuf::io::CodedInputStream* input);
1501 void SerializeWithCachedSizes(
1502 ::google::protobuf::io::CodedOutputStream* output)
const;
1503 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1504 int GetCachedSize()
const {
return _cached_size_; }
1508 void SetCachedSize(
int size)
const;
1510 ::google::protobuf::Metadata GetMetadata()
const;
1517 inline int ss_size()
const;
1518 inline void clear_ss();
1519 static const int kSsFieldNumber = 1;
1520 inline const ::Sync::SyncState& ss(
int index)
const;
1521 inline ::Sync::SyncState* mutable_ss(
int index);
1522 inline ::Sync::SyncState* add_ss();
1523 inline const ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >&
1525 inline ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >*
1531 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1533 ::google::protobuf::uint32 _has_bits_[1];
1534 mutable int _cached_size_;
1536 friend void protobuf_AddDesc_sync_2dstate_2eproto();
1537 friend void protobuf_AssignDesc_sync_2dstate_2eproto();
1538 friend void protobuf_ShutdownFile_sync_2dstate_2eproto();
1540 void InitAsDefaultInstance();
1541 static SyncStateMsg* default_instance_;
1551 inline bool SyncState_SeqNo::has_seq()
const {
1552 return (_has_bits_[0] & 0x00000001u) != 0;
1554 inline void SyncState_SeqNo::set_has_seq() {
1555 _has_bits_[0] |= 0x00000001u;
1557 inline void SyncState_SeqNo::clear_has_seq() {
1558 _has_bits_[0] &= ~0x00000001u;
1560 inline void SyncState_SeqNo::clear_seq() {
1561 seq_ = GOOGLE_ULONGLONG(0);
1564 inline ::google::protobuf::uint64 SyncState_SeqNo::seq()
const {
1568 inline void SyncState_SeqNo::set_seq(::google::protobuf::uint64 value) {
1575 inline bool SyncState_SeqNo::has_session()
const {
1576 return (_has_bits_[0] & 0x00000002u) != 0;
1578 inline void SyncState_SeqNo::set_has_session() {
1579 _has_bits_[0] |= 0x00000002u;
1581 inline void SyncState_SeqNo::clear_has_session() {
1582 _has_bits_[0] &= ~0x00000002u;
1584 inline void SyncState_SeqNo::clear_session() {
1585 session_ = GOOGLE_ULONGLONG(0);
1586 clear_has_session();
1588 inline ::google::protobuf::uint64 SyncState_SeqNo::session()
const {
1592 inline void SyncState_SeqNo::set_session(::google::protobuf::uint64 value) {
1603 inline bool SyncState::has_name()
const {
1604 return (_has_bits_[0] & 0x00000001u) != 0;
1606 inline void SyncState::set_has_name() {
1607 _has_bits_[0] |= 0x00000001u;
1609 inline void SyncState::clear_has_name() {
1610 _has_bits_[0] &= ~0x00000001u;
1612 inline void SyncState::clear_name() {
1613 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1618 inline const ::std::string& SyncState::name()
const {
1622 inline void SyncState::set_name(const ::std::string& value) {
1624 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1625 name_ = new ::std::string;
1627 name_->assign(value);
1630 inline void SyncState::set_name(
const char* value) {
1632 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1633 name_ = new ::std::string;
1635 name_->assign(value);
1638 inline void SyncState::set_name(
const char* value,
size_t size) {
1640 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1641 name_ = new ::std::string;
1643 name_->assign(reinterpret_cast<const char*>(value), size);
1646 inline ::std::string* SyncState::mutable_name() {
1648 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1649 name_ = new ::std::string;
1654 inline ::std::string* SyncState::release_name() {
1656 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1659 ::std::string* temp = name_;
1660 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1664 inline void SyncState::set_allocated_name(::std::string* name) {
1665 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1673 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1679 inline bool SyncState::has_type()
const {
1680 return (_has_bits_[0] & 0x00000002u) != 0;
1682 inline void SyncState::set_has_type() {
1683 _has_bits_[0] |= 0x00000002u;
1685 inline void SyncState::clear_has_type() {
1686 _has_bits_[0] &= ~0x00000002u;
1688 inline void SyncState::clear_type() {
1692 inline ::Sync::SyncState_ActionType SyncState::type()
const {
1694 return static_cast< ::Sync::SyncState_ActionType
>(type_);
1696 inline void SyncState::set_type(::Sync::SyncState_ActionType value) {
1697 assert(::Sync::SyncState_ActionType_IsValid(value));
1704 inline bool SyncState::has_seqno()
const {
1705 return (_has_bits_[0] & 0x00000004u) != 0;
1707 inline void SyncState::set_has_seqno() {
1708 _has_bits_[0] |= 0x00000004u;
1710 inline void SyncState::clear_has_seqno() {
1711 _has_bits_[0] &= ~0x00000004u;
1713 inline void SyncState::clear_seqno() {
1714 if (seqno_ != NULL) seqno_->::Sync::SyncState_SeqNo::Clear();
1717 inline const ::Sync::SyncState_SeqNo& SyncState::seqno()
const {
1719 return seqno_ != NULL ? *seqno_ : *default_instance_->seqno_;
1721 inline ::Sync::SyncState_SeqNo* SyncState::mutable_seqno() {
1723 if (seqno_ == NULL) seqno_ = new ::Sync::SyncState_SeqNo;
1727 inline ::Sync::SyncState_SeqNo* SyncState::release_seqno() {
1749 inline int SyncStateMsg::ss_size()
const {
1752 inline void SyncStateMsg::clear_ss() {
1755 inline const ::Sync::SyncState& SyncStateMsg::ss(
int index)
const {
1757 return ss_.Get(index);
1759 inline ::Sync::SyncState* SyncStateMsg::mutable_ss(
int index) {
1761 return ss_.Mutable(index);
1763 inline ::Sync::SyncState* SyncStateMsg::add_ss() {
1767 inline const ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >&
1768 SyncStateMsg::ss()
const {
1772 inline ::google::protobuf::RepeatedPtrField< ::Sync::SyncState >*
1773 SyncStateMsg::mutable_ss() {
1785 namespace protobuf {
1787 template <>
struct is_proto_enum< ::Sync::SyncState_ActionType> : ::google::protobuf::internal::true_type {};
1789 inline const EnumDescriptor* GetEnumDescriptor< ::Sync::SyncState_ActionType>() {
1790 return ::Sync::SyncState_ActionType_descriptor();
1799 #endif // GOOGLE_PROTOBUF_VERSION < 2006000
1801 #endif // PROTOBUF_sync_2dstate_2eproto__INCLUDED
Definition: sync-state.pb.h:290
Definition: chrono-sync2013.hpp:32
Definition: chrono-sync2013.hpp:31
Definition: sync-state.pb.h:156
Definition: sync-state.pb.h:64
Copyright (C) 2014-2016 Regents of the University of California.
Definition: channel-status.pb.h:315