Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5041)

Unified Diff: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/sync.pb.h

Issue 4124013: autofill code review. Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/sync.pb.h
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/sync.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/sync.pb.h
new file mode 100755
index 0000000000000000000000000000000000000000..b7630ad0320af8484a6428860c76a4e05fcbc991
--- /dev/null
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/sync.pb.h
@@ -0,0 +1,4996 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: sync.proto
+
+#ifndef PROTOBUF_sync_2eproto__INCLUDED
+#define PROTOBUF_sync_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2003000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2003001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/unknown_field_set.h>
+// @@protoc_insertion_point(includes)
+
+namespace sync_pb {
+
+// Internal implementation detail -- do not call these.
+void protobuf_AddDesc_sync_2eproto();
+void protobuf_AssignDesc_sync_2eproto();
+void protobuf_ShutdownFile_sync_2eproto();
+
+class ProfilingData;
+class EntitySpecifics;
+class SyncEntity;
+class SyncEntity_BookmarkData;
+class ChromiumExtensionsActivity;
+class CommitMessage;
+class GetUpdatesCallerInfo;
+class DataTypeProgressMarker;
+class GetUpdatesMessage;
+class AuthenticateMessage;
+class ClearUserDataMessage;
+class ClearUserDataResponse;
+class ClientToServerMessage;
+class CommitResponse;
+class CommitResponse_EntryResponse;
+class GetUpdatesResponse;
+class UserIdentification;
+class AuthenticateResponse;
+class ThrottleParameters;
+class ClientCommand;
+class ClientToServerResponse;
+
+enum GetUpdatesCallerInfo_GetUpdatesSource {
+ GetUpdatesCallerInfo_GetUpdatesSource_UNKNOWN = 0,
+ GetUpdatesCallerInfo_GetUpdatesSource_FIRST_UPDATE = 1,
+ GetUpdatesCallerInfo_GetUpdatesSource_LOCAL = 2,
+ GetUpdatesCallerInfo_GetUpdatesSource_NOTIFICATION = 3,
+ GetUpdatesCallerInfo_GetUpdatesSource_PERIODIC = 4,
+ GetUpdatesCallerInfo_GetUpdatesSource_SYNC_CYCLE_CONTINUATION = 5,
+ GetUpdatesCallerInfo_GetUpdatesSource_CLEAR_PRIVATE_DATA = 6
+};
+bool GetUpdatesCallerInfo_GetUpdatesSource_IsValid(int value);
+const GetUpdatesCallerInfo_GetUpdatesSource GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_MIN = GetUpdatesCallerInfo_GetUpdatesSource_UNKNOWN;
+const GetUpdatesCallerInfo_GetUpdatesSource GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_MAX = GetUpdatesCallerInfo_GetUpdatesSource_CLEAR_PRIVATE_DATA;
+const int GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_ARRAYSIZE = GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_MAX + 1;
+
+enum ClientToServerMessage_Contents {
+ ClientToServerMessage_Contents_COMMIT = 1,
+ ClientToServerMessage_Contents_GET_UPDATES = 2,
+ ClientToServerMessage_Contents_AUTHENTICATE = 3,
+ ClientToServerMessage_Contents_CLEAR_DATA = 4
+};
+bool ClientToServerMessage_Contents_IsValid(int value);
+const ClientToServerMessage_Contents ClientToServerMessage_Contents_Contents_MIN = ClientToServerMessage_Contents_COMMIT;
+const ClientToServerMessage_Contents ClientToServerMessage_Contents_Contents_MAX = ClientToServerMessage_Contents_CLEAR_DATA;
+const int ClientToServerMessage_Contents_Contents_ARRAYSIZE = ClientToServerMessage_Contents_Contents_MAX + 1;
+
+enum CommitResponse_ResponseType {
+ CommitResponse_ResponseType_SUCCESS = 1,
+ CommitResponse_ResponseType_CONFLICT = 2,
+ CommitResponse_ResponseType_RETRY = 3,
+ CommitResponse_ResponseType_INVALID_MESSAGE = 4,
+ CommitResponse_ResponseType_OVER_QUOTA = 5,
+ CommitResponse_ResponseType_TRANSIENT_ERROR = 6
+};
+bool CommitResponse_ResponseType_IsValid(int value);
+const CommitResponse_ResponseType CommitResponse_ResponseType_ResponseType_MIN = CommitResponse_ResponseType_SUCCESS;
+const CommitResponse_ResponseType CommitResponse_ResponseType_ResponseType_MAX = CommitResponse_ResponseType_TRANSIENT_ERROR;
+const int CommitResponse_ResponseType_ResponseType_ARRAYSIZE = CommitResponse_ResponseType_ResponseType_MAX + 1;
+
+enum ClientToServerResponse_ErrorType {
+ ClientToServerResponse_ErrorType_SUCCESS = 0,
+ ClientToServerResponse_ErrorType_ACCESS_DENIED = 1,
+ ClientToServerResponse_ErrorType_NOT_MY_BIRTHDAY = 2,
+ ClientToServerResponse_ErrorType_THROTTLED = 3,
+ ClientToServerResponse_ErrorType_AUTH_EXPIRED = 4,
+ ClientToServerResponse_ErrorType_USER_NOT_ACTIVATED = 5,
+ ClientToServerResponse_ErrorType_AUTH_INVALID = 6,
+ ClientToServerResponse_ErrorType_CLEAR_PENDING = 7
+};
+bool ClientToServerResponse_ErrorType_IsValid(int value);
+const ClientToServerResponse_ErrorType ClientToServerResponse_ErrorType_ErrorType_MIN = ClientToServerResponse_ErrorType_SUCCESS;
+const ClientToServerResponse_ErrorType ClientToServerResponse_ErrorType_ErrorType_MAX = ClientToServerResponse_ErrorType_CLEAR_PENDING;
+const int ClientToServerResponse_ErrorType_ErrorType_ARRAYSIZE = ClientToServerResponse_ErrorType_ErrorType_MAX + 1;
+
+// ===================================================================
+
+class ProfilingData : public ::google::protobuf::MessageLite {
+ public:
+ ProfilingData();
+ virtual ~ProfilingData();
+
+ ProfilingData(const ProfilingData& from);
+
+ inline ProfilingData& operator=(const ProfilingData& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ProfilingData& default_instance();
+
+ void Swap(ProfilingData* other);
+
+ // implements Message ----------------------------------------------
+
+ ProfilingData* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ProfilingData& from);
+ void MergeFrom(const ProfilingData& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional int64 meta_data_write_time = 1;
+ inline bool has_meta_data_write_time() const;
+ inline void clear_meta_data_write_time();
+ static const int kMetaDataWriteTimeFieldNumber = 1;
+ inline ::google::protobuf::int64 meta_data_write_time() const;
+ inline void set_meta_data_write_time(::google::protobuf::int64 value);
+
+ // optional int64 file_data_write_time = 2;
+ inline bool has_file_data_write_time() const;
+ inline void clear_file_data_write_time();
+ static const int kFileDataWriteTimeFieldNumber = 2;
+ inline ::google::protobuf::int64 file_data_write_time() const;
+ inline void set_file_data_write_time(::google::protobuf::int64 value);
+
+ // optional int64 user_lookup_time = 3;
+ inline bool has_user_lookup_time() const;
+ inline void clear_user_lookup_time();
+ static const int kUserLookupTimeFieldNumber = 3;
+ inline ::google::protobuf::int64 user_lookup_time() const;
+ inline void set_user_lookup_time(::google::protobuf::int64 value);
+
+ // optional int64 meta_data_read_time = 4;
+ inline bool has_meta_data_read_time() const;
+ inline void clear_meta_data_read_time();
+ static const int kMetaDataReadTimeFieldNumber = 4;
+ inline ::google::protobuf::int64 meta_data_read_time() const;
+ inline void set_meta_data_read_time(::google::protobuf::int64 value);
+
+ // optional int64 file_data_read_time = 5;
+ inline bool has_file_data_read_time() const;
+ inline void clear_file_data_read_time();
+ static const int kFileDataReadTimeFieldNumber = 5;
+ inline ::google::protobuf::int64 file_data_read_time() const;
+ inline void set_file_data_read_time(::google::protobuf::int64 value);
+
+ // optional int64 total_request_time = 6;
+ inline bool has_total_request_time() const;
+ inline void clear_total_request_time();
+ static const int kTotalRequestTimeFieldNumber = 6;
+ inline ::google::protobuf::int64 total_request_time() const;
+ inline void set_total_request_time(::google::protobuf::int64 value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ProfilingData)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::int64 meta_data_write_time_;
+ ::google::protobuf::int64 file_data_write_time_;
+ ::google::protobuf::int64 user_lookup_time_;
+ ::google::protobuf::int64 meta_data_read_time_;
+ ::google::protobuf::int64 file_data_read_time_;
+ ::google::protobuf::int64 total_request_time_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ProfilingData* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class EntitySpecifics : public ::google::protobuf::MessageLite {
+ public:
+ EntitySpecifics();
+ virtual ~EntitySpecifics();
+
+ EntitySpecifics(const EntitySpecifics& from);
+
+ inline EntitySpecifics& operator=(const EntitySpecifics& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const EntitySpecifics& default_instance();
+
+ void Swap(EntitySpecifics* other);
+
+ // implements Message ----------------------------------------------
+
+ EntitySpecifics* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const EntitySpecifics& from);
+ void MergeFrom(const EntitySpecifics& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EntitySpecifics)
+ // @@protoc_insertion_point(class_scope:sync_pb.EntitySpecifics)
+ private:
+ ::google::protobuf::internal::ExtensionSet _extensions_;
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[1];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static EntitySpecifics* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class SyncEntity_BookmarkData : public ::google::protobuf::MessageLite {
+ public:
+ SyncEntity_BookmarkData();
+ virtual ~SyncEntity_BookmarkData();
+
+ SyncEntity_BookmarkData(const SyncEntity_BookmarkData& from);
+
+ inline SyncEntity_BookmarkData& operator=(const SyncEntity_BookmarkData& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const SyncEntity_BookmarkData& default_instance();
+
+ void Swap(SyncEntity_BookmarkData* other);
+
+ // implements Message ----------------------------------------------
+
+ SyncEntity_BookmarkData* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const SyncEntity_BookmarkData& from);
+ void MergeFrom(const SyncEntity_BookmarkData& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required bool bookmark_folder = 12;
+ inline bool has_bookmark_folder() const;
+ inline void clear_bookmark_folder();
+ static const int kBookmarkFolderFieldNumber = 12;
+ inline bool bookmark_folder() const;
+ inline void set_bookmark_folder(bool value);
+
+ // optional string bookmark_url = 13;
+ inline bool has_bookmark_url() const;
+ inline void clear_bookmark_url();
+ static const int kBookmarkUrlFieldNumber = 13;
+ inline const ::std::string& bookmark_url() const;
+ inline void set_bookmark_url(const ::std::string& value);
+ inline void set_bookmark_url(const char* value);
+ inline void set_bookmark_url(const char* value, size_t size);
+ inline ::std::string* mutable_bookmark_url();
+
+ // optional bytes bookmark_favicon = 14;
+ inline bool has_bookmark_favicon() const;
+ inline void clear_bookmark_favicon();
+ static const int kBookmarkFaviconFieldNumber = 14;
+ inline const ::std::string& bookmark_favicon() const;
+ inline void set_bookmark_favicon(const ::std::string& value);
+ inline void set_bookmark_favicon(const char* value);
+ inline void set_bookmark_favicon(const void* value, size_t size);
+ inline ::std::string* mutable_bookmark_favicon();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.SyncEntity.BookmarkData)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ bool bookmark_folder_;
+ ::std::string* bookmark_url_;
+ static const ::std::string _default_bookmark_url_;
+ ::std::string* bookmark_favicon_;
+ static const ::std::string _default_bookmark_favicon_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static SyncEntity_BookmarkData* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class SyncEntity : public ::google::protobuf::MessageLite {
+ public:
+ SyncEntity();
+ virtual ~SyncEntity();
+
+ SyncEntity(const SyncEntity& from);
+
+ inline SyncEntity& operator=(const SyncEntity& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const SyncEntity& default_instance();
+
+ void Swap(SyncEntity* other);
+
+ // implements Message ----------------------------------------------
+
+ SyncEntity* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const SyncEntity& from);
+ void MergeFrom(const SyncEntity& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ typedef SyncEntity_BookmarkData BookmarkData;
+
+ // accessors -------------------------------------------------------
+
+ // optional string id_string = 1;
+ inline bool has_id_string() const;
+ inline void clear_id_string();
+ static const int kIdStringFieldNumber = 1;
+ inline const ::std::string& id_string() const;
+ inline void set_id_string(const ::std::string& value);
+ inline void set_id_string(const char* value);
+ inline void set_id_string(const char* value, size_t size);
+ inline ::std::string* mutable_id_string();
+
+ // optional string parent_id_string = 2;
+ inline bool has_parent_id_string() const;
+ inline void clear_parent_id_string();
+ static const int kParentIdStringFieldNumber = 2;
+ inline const ::std::string& parent_id_string() const;
+ inline void set_parent_id_string(const ::std::string& value);
+ inline void set_parent_id_string(const char* value);
+ inline void set_parent_id_string(const char* value, size_t size);
+ inline ::std::string* mutable_parent_id_string();
+
+ // optional string old_parent_id = 3;
+ inline bool has_old_parent_id() const;
+ inline void clear_old_parent_id();
+ static const int kOldParentIdFieldNumber = 3;
+ inline const ::std::string& old_parent_id() const;
+ inline void set_old_parent_id(const ::std::string& value);
+ inline void set_old_parent_id(const char* value);
+ inline void set_old_parent_id(const char* value, size_t size);
+ inline ::std::string* mutable_old_parent_id();
+
+ // required int64 version = 4;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 4;
+ inline ::google::protobuf::int64 version() const;
+ inline void set_version(::google::protobuf::int64 value);
+
+ // optional int64 mtime = 5;
+ inline bool has_mtime() const;
+ inline void clear_mtime();
+ static const int kMtimeFieldNumber = 5;
+ inline ::google::protobuf::int64 mtime() const;
+ inline void set_mtime(::google::protobuf::int64 value);
+
+ // optional int64 ctime = 6;
+ inline bool has_ctime() const;
+ inline void clear_ctime();
+ static const int kCtimeFieldNumber = 6;
+ inline ::google::protobuf::int64 ctime() const;
+ inline void set_ctime(::google::protobuf::int64 value);
+
+ // required string name = 7;
+ inline bool has_name() const;
+ inline void clear_name();
+ static const int kNameFieldNumber = 7;
+ inline const ::std::string& name() const;
+ inline void set_name(const ::std::string& value);
+ inline void set_name(const char* value);
+ inline void set_name(const char* value, size_t size);
+ inline ::std::string* mutable_name();
+
+ // optional string non_unique_name = 8;
+ inline bool has_non_unique_name() const;
+ inline void clear_non_unique_name();
+ static const int kNonUniqueNameFieldNumber = 8;
+ inline const ::std::string& non_unique_name() const;
+ inline void set_non_unique_name(const ::std::string& value);
+ inline void set_non_unique_name(const char* value);
+ inline void set_non_unique_name(const char* value, size_t size);
+ inline ::std::string* mutable_non_unique_name();
+
+ // optional int64 sync_timestamp = 9;
+ inline bool has_sync_timestamp() const;
+ inline void clear_sync_timestamp();
+ static const int kSyncTimestampFieldNumber = 9;
+ inline ::google::protobuf::int64 sync_timestamp() const;
+ inline void set_sync_timestamp(::google::protobuf::int64 value);
+
+ // optional string server_defined_unique_tag = 10;
+ inline bool has_server_defined_unique_tag() const;
+ inline void clear_server_defined_unique_tag();
+ static const int kServerDefinedUniqueTagFieldNumber = 10;
+ inline const ::std::string& server_defined_unique_tag() const;
+ inline void set_server_defined_unique_tag(const ::std::string& value);
+ inline void set_server_defined_unique_tag(const char* value);
+ inline void set_server_defined_unique_tag(const char* value, size_t size);
+ inline ::std::string* mutable_server_defined_unique_tag();
+
+ // optional group BookmarkData = 11 {
+ inline bool has_bookmarkdata() const;
+ inline void clear_bookmarkdata();
+ static const int kBookmarkdataFieldNumber = 11;
+ inline const ::sync_pb::SyncEntity_BookmarkData& bookmarkdata() const;
+ inline ::sync_pb::SyncEntity_BookmarkData* mutable_bookmarkdata();
+
+ // optional int64 position_in_parent = 15;
+ inline bool has_position_in_parent() const;
+ inline void clear_position_in_parent();
+ static const int kPositionInParentFieldNumber = 15;
+ inline ::google::protobuf::int64 position_in_parent() const;
+ inline void set_position_in_parent(::google::protobuf::int64 value);
+
+ // optional string insert_after_item_id = 16;
+ inline bool has_insert_after_item_id() const;
+ inline void clear_insert_after_item_id();
+ static const int kInsertAfterItemIdFieldNumber = 16;
+ inline const ::std::string& insert_after_item_id() const;
+ inline void set_insert_after_item_id(const ::std::string& value);
+ inline void set_insert_after_item_id(const char* value);
+ inline void set_insert_after_item_id(const char* value, size_t size);
+ inline ::std::string* mutable_insert_after_item_id();
+
+ // optional bool deleted = 18 [default = false];
+ inline bool has_deleted() const;
+ inline void clear_deleted();
+ static const int kDeletedFieldNumber = 18;
+ inline bool deleted() const;
+ inline void set_deleted(bool value);
+
+ // optional string originator_cache_guid = 19;
+ inline bool has_originator_cache_guid() const;
+ inline void clear_originator_cache_guid();
+ static const int kOriginatorCacheGuidFieldNumber = 19;
+ inline const ::std::string& originator_cache_guid() const;
+ inline void set_originator_cache_guid(const ::std::string& value);
+ inline void set_originator_cache_guid(const char* value);
+ inline void set_originator_cache_guid(const char* value, size_t size);
+ inline ::std::string* mutable_originator_cache_guid();
+
+ // optional string originator_client_item_id = 20;
+ inline bool has_originator_client_item_id() const;
+ inline void clear_originator_client_item_id();
+ static const int kOriginatorClientItemIdFieldNumber = 20;
+ inline const ::std::string& originator_client_item_id() const;
+ inline void set_originator_client_item_id(const ::std::string& value);
+ inline void set_originator_client_item_id(const char* value);
+ inline void set_originator_client_item_id(const char* value, size_t size);
+ inline ::std::string* mutable_originator_client_item_id();
+
+ // optional .sync_pb.EntitySpecifics specifics = 21;
+ inline bool has_specifics() const;
+ inline void clear_specifics();
+ static const int kSpecificsFieldNumber = 21;
+ inline const ::sync_pb::EntitySpecifics& specifics() const;
+ inline ::sync_pb::EntitySpecifics* mutable_specifics();
+
+ // optional bool folder = 22 [default = false];
+ inline bool has_folder() const;
+ inline void clear_folder();
+ static const int kFolderFieldNumber = 22;
+ inline bool folder() const;
+ inline void set_folder(bool value);
+
+ // optional string client_defined_unique_tag = 23;
+ inline bool has_client_defined_unique_tag() const;
+ inline void clear_client_defined_unique_tag();
+ static const int kClientDefinedUniqueTagFieldNumber = 23;
+ inline const ::std::string& client_defined_unique_tag() const;
+ inline void set_client_defined_unique_tag(const ::std::string& value);
+ inline void set_client_defined_unique_tag(const char* value);
+ inline void set_client_defined_unique_tag(const char* value, size_t size);
+ inline ::std::string* mutable_client_defined_unique_tag();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.SyncEntity)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* id_string_;
+ static const ::std::string _default_id_string_;
+ ::std::string* parent_id_string_;
+ static const ::std::string _default_parent_id_string_;
+ ::std::string* old_parent_id_;
+ static const ::std::string _default_old_parent_id_;
+ ::google::protobuf::int64 version_;
+ ::google::protobuf::int64 mtime_;
+ ::google::protobuf::int64 ctime_;
+ ::std::string* name_;
+ static const ::std::string _default_name_;
+ ::std::string* non_unique_name_;
+ static const ::std::string _default_non_unique_name_;
+ ::google::protobuf::int64 sync_timestamp_;
+ ::std::string* server_defined_unique_tag_;
+ static const ::std::string _default_server_defined_unique_tag_;
+ ::sync_pb::SyncEntity_BookmarkData* bookmarkdata_;
+ ::google::protobuf::int64 position_in_parent_;
+ ::std::string* insert_after_item_id_;
+ static const ::std::string _default_insert_after_item_id_;
+ bool deleted_;
+ ::std::string* originator_cache_guid_;
+ static const ::std::string _default_originator_cache_guid_;
+ ::std::string* originator_client_item_id_;
+ static const ::std::string _default_originator_client_item_id_;
+ ::sync_pb::EntitySpecifics* specifics_;
+ bool folder_;
+ ::std::string* client_defined_unique_tag_;
+ static const ::std::string _default_client_defined_unique_tag_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(19 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static SyncEntity* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ChromiumExtensionsActivity : public ::google::protobuf::MessageLite {
+ public:
+ ChromiumExtensionsActivity();
+ virtual ~ChromiumExtensionsActivity();
+
+ ChromiumExtensionsActivity(const ChromiumExtensionsActivity& from);
+
+ inline ChromiumExtensionsActivity& operator=(const ChromiumExtensionsActivity& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ChromiumExtensionsActivity& default_instance();
+
+ void Swap(ChromiumExtensionsActivity* other);
+
+ // implements Message ----------------------------------------------
+
+ ChromiumExtensionsActivity* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ChromiumExtensionsActivity& from);
+ void MergeFrom(const ChromiumExtensionsActivity& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional string extension_id = 1;
+ inline bool has_extension_id() const;
+ inline void clear_extension_id();
+ static const int kExtensionIdFieldNumber = 1;
+ inline const ::std::string& extension_id() const;
+ inline void set_extension_id(const ::std::string& value);
+ inline void set_extension_id(const char* value);
+ inline void set_extension_id(const char* value, size_t size);
+ inline ::std::string* mutable_extension_id();
+
+ // optional uint32 bookmark_writes_since_last_commit = 2;
+ inline bool has_bookmark_writes_since_last_commit() const;
+ inline void clear_bookmark_writes_since_last_commit();
+ static const int kBookmarkWritesSinceLastCommitFieldNumber = 2;
+ inline ::google::protobuf::uint32 bookmark_writes_since_last_commit() const;
+ inline void set_bookmark_writes_since_last_commit(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ChromiumExtensionsActivity)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* extension_id_;
+ static const ::std::string _default_extension_id_;
+ ::google::protobuf::uint32 bookmark_writes_since_last_commit_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ChromiumExtensionsActivity* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class CommitMessage : public ::google::protobuf::MessageLite {
+ public:
+ CommitMessage();
+ virtual ~CommitMessage();
+
+ CommitMessage(const CommitMessage& from);
+
+ inline CommitMessage& operator=(const CommitMessage& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const CommitMessage& default_instance();
+
+ void Swap(CommitMessage* other);
+
+ // implements Message ----------------------------------------------
+
+ CommitMessage* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const CommitMessage& from);
+ void MergeFrom(const CommitMessage& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .sync_pb.SyncEntity entries = 1;
+ inline int entries_size() const;
+ inline void clear_entries();
+ static const int kEntriesFieldNumber = 1;
+ inline const ::sync_pb::SyncEntity& entries(int index) const;
+ inline ::sync_pb::SyncEntity* mutable_entries(int index);
+ inline ::sync_pb::SyncEntity* add_entries();
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
+ entries() const;
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
+ mutable_entries();
+
+ // optional string cache_guid = 2;
+ inline bool has_cache_guid() const;
+ inline void clear_cache_guid();
+ static const int kCacheGuidFieldNumber = 2;
+ inline const ::std::string& cache_guid() const;
+ inline void set_cache_guid(const ::std::string& value);
+ inline void set_cache_guid(const char* value);
+ inline void set_cache_guid(const char* value, size_t size);
+ inline ::std::string* mutable_cache_guid();
+
+ // repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
+ inline int extensions_activity_size() const;
+ inline void clear_extensions_activity();
+ static const int kExtensionsActivityFieldNumber = 3;
+ inline const ::sync_pb::ChromiumExtensionsActivity& extensions_activity(int index) const;
+ inline ::sync_pb::ChromiumExtensionsActivity* mutable_extensions_activity(int index);
+ inline ::sync_pb::ChromiumExtensionsActivity* add_extensions_activity();
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >&
+ extensions_activity() const;
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >*
+ mutable_extensions_activity();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.CommitMessage)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity > entries_;
+ ::std::string* cache_guid_;
+ static const ::std::string _default_cache_guid_;
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity > extensions_activity_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static CommitMessage* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class GetUpdatesCallerInfo : public ::google::protobuf::MessageLite {
+ public:
+ GetUpdatesCallerInfo();
+ virtual ~GetUpdatesCallerInfo();
+
+ GetUpdatesCallerInfo(const GetUpdatesCallerInfo& from);
+
+ inline GetUpdatesCallerInfo& operator=(const GetUpdatesCallerInfo& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const GetUpdatesCallerInfo& default_instance();
+
+ void Swap(GetUpdatesCallerInfo* other);
+
+ // implements Message ----------------------------------------------
+
+ GetUpdatesCallerInfo* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const GetUpdatesCallerInfo& from);
+ void MergeFrom(const GetUpdatesCallerInfo& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ typedef GetUpdatesCallerInfo_GetUpdatesSource GetUpdatesSource;
+ static const GetUpdatesSource UNKNOWN = GetUpdatesCallerInfo_GetUpdatesSource_UNKNOWN;
+ static const GetUpdatesSource FIRST_UPDATE = GetUpdatesCallerInfo_GetUpdatesSource_FIRST_UPDATE;
+ static const GetUpdatesSource LOCAL = GetUpdatesCallerInfo_GetUpdatesSource_LOCAL;
+ static const GetUpdatesSource NOTIFICATION = GetUpdatesCallerInfo_GetUpdatesSource_NOTIFICATION;
+ static const GetUpdatesSource PERIODIC = GetUpdatesCallerInfo_GetUpdatesSource_PERIODIC;
+ static const GetUpdatesSource SYNC_CYCLE_CONTINUATION = GetUpdatesCallerInfo_GetUpdatesSource_SYNC_CYCLE_CONTINUATION;
+ static const GetUpdatesSource CLEAR_PRIVATE_DATA = GetUpdatesCallerInfo_GetUpdatesSource_CLEAR_PRIVATE_DATA;
+ static inline bool GetUpdatesSource_IsValid(int value) {
+ return GetUpdatesCallerInfo_GetUpdatesSource_IsValid(value);
+ }
+ static const GetUpdatesSource GetUpdatesSource_MIN =
+ GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_MIN;
+ static const GetUpdatesSource GetUpdatesSource_MAX =
+ GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_MAX;
+ static const int GetUpdatesSource_ARRAYSIZE =
+ GetUpdatesCallerInfo_GetUpdatesSource_GetUpdatesSource_ARRAYSIZE;
+
+ // accessors -------------------------------------------------------
+
+ // required .sync_pb.GetUpdatesCallerInfo.GetUpdatesSource source = 1;
+ inline bool has_source() const;
+ inline void clear_source();
+ static const int kSourceFieldNumber = 1;
+ inline ::sync_pb::GetUpdatesCallerInfo_GetUpdatesSource source() const;
+ inline void set_source(::sync_pb::GetUpdatesCallerInfo_GetUpdatesSource value);
+
+ // optional bool notifications_enabled = 2;
+ inline bool has_notifications_enabled() const;
+ inline void clear_notifications_enabled();
+ static const int kNotificationsEnabledFieldNumber = 2;
+ inline bool notifications_enabled() const;
+ inline void set_notifications_enabled(bool value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesCallerInfo)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ int source_;
+ bool notifications_enabled_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static GetUpdatesCallerInfo* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class DataTypeProgressMarker : public ::google::protobuf::MessageLite {
+ public:
+ DataTypeProgressMarker();
+ virtual ~DataTypeProgressMarker();
+
+ DataTypeProgressMarker(const DataTypeProgressMarker& from);
+
+ inline DataTypeProgressMarker& operator=(const DataTypeProgressMarker& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const DataTypeProgressMarker& default_instance();
+
+ void Swap(DataTypeProgressMarker* other);
+
+ // implements Message ----------------------------------------------
+
+ DataTypeProgressMarker* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const DataTypeProgressMarker& from);
+ void MergeFrom(const DataTypeProgressMarker& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional int32 data_type_id = 1;
+ inline bool has_data_type_id() const;
+ inline void clear_data_type_id();
+ static const int kDataTypeIdFieldNumber = 1;
+ inline ::google::protobuf::int32 data_type_id() const;
+ inline void set_data_type_id(::google::protobuf::int32 value);
+
+ // optional bytes token = 2;
+ inline bool has_token() const;
+ inline void clear_token();
+ static const int kTokenFieldNumber = 2;
+ inline const ::std::string& token() const;
+ inline void set_token(const ::std::string& value);
+ inline void set_token(const char* value);
+ inline void set_token(const void* value, size_t size);
+ inline ::std::string* mutable_token();
+
+ // optional int64 timestamp_token_for_migration = 3;
+ inline bool has_timestamp_token_for_migration() const;
+ inline void clear_timestamp_token_for_migration();
+ static const int kTimestampTokenForMigrationFieldNumber = 3;
+ inline ::google::protobuf::int64 timestamp_token_for_migration() const;
+ inline void set_timestamp_token_for_migration(::google::protobuf::int64 value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.DataTypeProgressMarker)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::int32 data_type_id_;
+ ::std::string* token_;
+ static const ::std::string _default_token_;
+ ::google::protobuf::int64 timestamp_token_for_migration_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static DataTypeProgressMarker* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class GetUpdatesMessage : public ::google::protobuf::MessageLite {
+ public:
+ GetUpdatesMessage();
+ virtual ~GetUpdatesMessage();
+
+ GetUpdatesMessage(const GetUpdatesMessage& from);
+
+ inline GetUpdatesMessage& operator=(const GetUpdatesMessage& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const GetUpdatesMessage& default_instance();
+
+ void Swap(GetUpdatesMessage* other);
+
+ // implements Message ----------------------------------------------
+
+ GetUpdatesMessage* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const GetUpdatesMessage& from);
+ void MergeFrom(const GetUpdatesMessage& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional int64 from_timestamp = 1;
+ inline bool has_from_timestamp() const;
+ inline void clear_from_timestamp();
+ static const int kFromTimestampFieldNumber = 1;
+ inline ::google::protobuf::int64 from_timestamp() const;
+ inline void set_from_timestamp(::google::protobuf::int64 value);
+
+ // optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
+ inline bool has_caller_info() const;
+ inline void clear_caller_info();
+ static const int kCallerInfoFieldNumber = 2;
+ inline const ::sync_pb::GetUpdatesCallerInfo& caller_info() const;
+ inline ::sync_pb::GetUpdatesCallerInfo* mutable_caller_info();
+
+ // optional bool fetch_folders = 3 [default = true];
+ inline bool has_fetch_folders() const;
+ inline void clear_fetch_folders();
+ static const int kFetchFoldersFieldNumber = 3;
+ inline bool fetch_folders() const;
+ inline void set_fetch_folders(bool value);
+
+ // optional .sync_pb.EntitySpecifics requested_types = 4;
+ inline bool has_requested_types() const;
+ inline void clear_requested_types();
+ static const int kRequestedTypesFieldNumber = 4;
+ inline const ::sync_pb::EntitySpecifics& requested_types() const;
+ inline ::sync_pb::EntitySpecifics* mutable_requested_types();
+
+ // optional int32 batch_size = 5;
+ inline bool has_batch_size() const;
+ inline void clear_batch_size();
+ static const int kBatchSizeFieldNumber = 5;
+ inline ::google::protobuf::int32 batch_size() const;
+ inline void set_batch_size(::google::protobuf::int32 value);
+
+ // repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
+ inline int from_progress_marker_size() const;
+ inline void clear_from_progress_marker();
+ static const int kFromProgressMarkerFieldNumber = 6;
+ inline const ::sync_pb::DataTypeProgressMarker& from_progress_marker(int index) const;
+ inline ::sync_pb::DataTypeProgressMarker* mutable_from_progress_marker(int index);
+ inline ::sync_pb::DataTypeProgressMarker* add_from_progress_marker();
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
+ from_progress_marker() const;
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
+ mutable_from_progress_marker();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesMessage)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::int64 from_timestamp_;
+ ::sync_pb::GetUpdatesCallerInfo* caller_info_;
+ bool fetch_folders_;
+ ::sync_pb::EntitySpecifics* requested_types_;
+ ::google::protobuf::int32 batch_size_;
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker > from_progress_marker_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static GetUpdatesMessage* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class AuthenticateMessage : public ::google::protobuf::MessageLite {
+ public:
+ AuthenticateMessage();
+ virtual ~AuthenticateMessage();
+
+ AuthenticateMessage(const AuthenticateMessage& from);
+
+ inline AuthenticateMessage& operator=(const AuthenticateMessage& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const AuthenticateMessage& default_instance();
+
+ void Swap(AuthenticateMessage* other);
+
+ // implements Message ----------------------------------------------
+
+ AuthenticateMessage* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const AuthenticateMessage& from);
+ void MergeFrom(const AuthenticateMessage& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required string auth_token = 1;
+ inline bool has_auth_token() const;
+ inline void clear_auth_token();
+ static const int kAuthTokenFieldNumber = 1;
+ inline const ::std::string& auth_token() const;
+ inline void set_auth_token(const ::std::string& value);
+ inline void set_auth_token(const char* value);
+ inline void set_auth_token(const char* value, size_t size);
+ inline ::std::string* mutable_auth_token();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.AuthenticateMessage)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* auth_token_;
+ static const ::std::string _default_auth_token_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static AuthenticateMessage* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ClearUserDataMessage : public ::google::protobuf::MessageLite {
+ public:
+ ClearUserDataMessage();
+ virtual ~ClearUserDataMessage();
+
+ ClearUserDataMessage(const ClearUserDataMessage& from);
+
+ inline ClearUserDataMessage& operator=(const ClearUserDataMessage& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ClearUserDataMessage& default_instance();
+
+ void Swap(ClearUserDataMessage* other);
+
+ // implements Message ----------------------------------------------
+
+ ClearUserDataMessage* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ClearUserDataMessage& from);
+ void MergeFrom(const ClearUserDataMessage& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ClearUserDataMessage)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[1];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ClearUserDataMessage* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ClearUserDataResponse : public ::google::protobuf::MessageLite {
+ public:
+ ClearUserDataResponse();
+ virtual ~ClearUserDataResponse();
+
+ ClearUserDataResponse(const ClearUserDataResponse& from);
+
+ inline ClearUserDataResponse& operator=(const ClearUserDataResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ClearUserDataResponse& default_instance();
+
+ void Swap(ClearUserDataResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ ClearUserDataResponse* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ClearUserDataResponse& from);
+ void MergeFrom(const ClearUserDataResponse& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ClearUserDataResponse)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[1];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ClearUserDataResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ClientToServerMessage : public ::google::protobuf::MessageLite {
+ public:
+ ClientToServerMessage();
+ virtual ~ClientToServerMessage();
+
+ ClientToServerMessage(const ClientToServerMessage& from);
+
+ inline ClientToServerMessage& operator=(const ClientToServerMessage& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ClientToServerMessage& default_instance();
+
+ void Swap(ClientToServerMessage* other);
+
+ // implements Message ----------------------------------------------
+
+ ClientToServerMessage* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ClientToServerMessage& from);
+ void MergeFrom(const ClientToServerMessage& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ typedef ClientToServerMessage_Contents Contents;
+ static const Contents COMMIT = ClientToServerMessage_Contents_COMMIT;
+ static const Contents GET_UPDATES = ClientToServerMessage_Contents_GET_UPDATES;
+ static const Contents AUTHENTICATE = ClientToServerMessage_Contents_AUTHENTICATE;
+ static const Contents CLEAR_DATA = ClientToServerMessage_Contents_CLEAR_DATA;
+ static inline bool Contents_IsValid(int value) {
+ return ClientToServerMessage_Contents_IsValid(value);
+ }
+ static const Contents Contents_MIN =
+ ClientToServerMessage_Contents_Contents_MIN;
+ static const Contents Contents_MAX =
+ ClientToServerMessage_Contents_Contents_MAX;
+ static const int Contents_ARRAYSIZE =
+ ClientToServerMessage_Contents_Contents_ARRAYSIZE;
+
+ // accessors -------------------------------------------------------
+
+ // required string share = 1;
+ inline bool has_share() const;
+ inline void clear_share();
+ static const int kShareFieldNumber = 1;
+ inline const ::std::string& share() const;
+ inline void set_share(const ::std::string& value);
+ inline void set_share(const char* value);
+ inline void set_share(const char* value, size_t size);
+ inline ::std::string* mutable_share();
+
+ // optional int32 protocol_version = 2 [default = 24];
+ inline bool has_protocol_version() const;
+ inline void clear_protocol_version();
+ static const int kProtocolVersionFieldNumber = 2;
+ inline ::google::protobuf::int32 protocol_version() const;
+ inline void set_protocol_version(::google::protobuf::int32 value);
+
+ // required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
+ inline bool has_message_contents() const;
+ inline void clear_message_contents();
+ static const int kMessageContentsFieldNumber = 3;
+ inline ::sync_pb::ClientToServerMessage_Contents message_contents() const;
+ inline void set_message_contents(::sync_pb::ClientToServerMessage_Contents value);
+
+ // optional .sync_pb.CommitMessage commit = 4;
+ inline bool has_commit() const;
+ inline void clear_commit();
+ static const int kCommitFieldNumber = 4;
+ inline const ::sync_pb::CommitMessage& commit() const;
+ inline ::sync_pb::CommitMessage* mutable_commit();
+
+ // optional .sync_pb.GetUpdatesMessage get_updates = 5;
+ inline bool has_get_updates() const;
+ inline void clear_get_updates();
+ static const int kGetUpdatesFieldNumber = 5;
+ inline const ::sync_pb::GetUpdatesMessage& get_updates() const;
+ inline ::sync_pb::GetUpdatesMessage* mutable_get_updates();
+
+ // optional .sync_pb.AuthenticateMessage authenticate = 6;
+ inline bool has_authenticate() const;
+ inline void clear_authenticate();
+ static const int kAuthenticateFieldNumber = 6;
+ inline const ::sync_pb::AuthenticateMessage& authenticate() const;
+ inline ::sync_pb::AuthenticateMessage* mutable_authenticate();
+
+ // optional .sync_pb.ClearUserDataMessage clear_user_data = 9;
+ inline bool has_clear_user_data() const;
+ inline void clear_clear_user_data();
+ static const int kClearUserDataFieldNumber = 9;
+ inline const ::sync_pb::ClearUserDataMessage& clear_user_data() const;
+ inline ::sync_pb::ClearUserDataMessage* mutable_clear_user_data();
+
+ // optional string store_birthday = 7;
+ inline bool has_store_birthday() const;
+ inline void clear_store_birthday();
+ static const int kStoreBirthdayFieldNumber = 7;
+ inline const ::std::string& store_birthday() const;
+ inline void set_store_birthday(const ::std::string& value);
+ inline void set_store_birthday(const char* value);
+ inline void set_store_birthday(const char* value, size_t size);
+ inline ::std::string* mutable_store_birthday();
+
+ // optional bool sync_problem_detected = 8 [default = false];
+ inline bool has_sync_problem_detected() const;
+ inline void clear_sync_problem_detected();
+ static const int kSyncProblemDetectedFieldNumber = 8;
+ inline bool sync_problem_detected() const;
+ inline void set_sync_problem_detected(bool value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ClientToServerMessage)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* share_;
+ static const ::std::string _default_share_;
+ ::google::protobuf::int32 protocol_version_;
+ int message_contents_;
+ ::sync_pb::CommitMessage* commit_;
+ ::sync_pb::GetUpdatesMessage* get_updates_;
+ ::sync_pb::AuthenticateMessage* authenticate_;
+ ::sync_pb::ClearUserDataMessage* clear_user_data_;
+ ::std::string* store_birthday_;
+ static const ::std::string _default_store_birthday_;
+ bool sync_problem_detected_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ClientToServerMessage* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class CommitResponse_EntryResponse : public ::google::protobuf::MessageLite {
+ public:
+ CommitResponse_EntryResponse();
+ virtual ~CommitResponse_EntryResponse();
+
+ CommitResponse_EntryResponse(const CommitResponse_EntryResponse& from);
+
+ inline CommitResponse_EntryResponse& operator=(const CommitResponse_EntryResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const CommitResponse_EntryResponse& default_instance();
+
+ void Swap(CommitResponse_EntryResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ CommitResponse_EntryResponse* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const CommitResponse_EntryResponse& from);
+ void MergeFrom(const CommitResponse_EntryResponse& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required .sync_pb.CommitResponse.ResponseType response_type = 2;
+ inline bool has_response_type() const;
+ inline void clear_response_type();
+ static const int kResponseTypeFieldNumber = 2;
+ inline ::sync_pb::CommitResponse_ResponseType response_type() const;
+ inline void set_response_type(::sync_pb::CommitResponse_ResponseType value);
+
+ // optional string id_string = 3;
+ inline bool has_id_string() const;
+ inline void clear_id_string();
+ static const int kIdStringFieldNumber = 3;
+ inline const ::std::string& id_string() const;
+ inline void set_id_string(const ::std::string& value);
+ inline void set_id_string(const char* value);
+ inline void set_id_string(const char* value, size_t size);
+ inline ::std::string* mutable_id_string();
+
+ // optional string parent_id_string = 4;
+ inline bool has_parent_id_string() const;
+ inline void clear_parent_id_string();
+ static const int kParentIdStringFieldNumber = 4;
+ inline const ::std::string& parent_id_string() const;
+ inline void set_parent_id_string(const ::std::string& value);
+ inline void set_parent_id_string(const char* value);
+ inline void set_parent_id_string(const char* value, size_t size);
+ inline ::std::string* mutable_parent_id_string();
+
+ // optional int64 position_in_parent = 5;
+ inline bool has_position_in_parent() const;
+ inline void clear_position_in_parent();
+ static const int kPositionInParentFieldNumber = 5;
+ inline ::google::protobuf::int64 position_in_parent() const;
+ inline void set_position_in_parent(::google::protobuf::int64 value);
+
+ // optional int64 version = 6;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 6;
+ inline ::google::protobuf::int64 version() const;
+ inline void set_version(::google::protobuf::int64 value);
+
+ // optional string name = 7;
+ inline bool has_name() const;
+ inline void clear_name();
+ static const int kNameFieldNumber = 7;
+ inline const ::std::string& name() const;
+ inline void set_name(const ::std::string& value);
+ inline void set_name(const char* value);
+ inline void set_name(const char* value, size_t size);
+ inline ::std::string* mutable_name();
+
+ // optional string non_unique_name = 8;
+ inline bool has_non_unique_name() const;
+ inline void clear_non_unique_name();
+ static const int kNonUniqueNameFieldNumber = 8;
+ inline const ::std::string& non_unique_name() const;
+ inline void set_non_unique_name(const ::std::string& value);
+ inline void set_non_unique_name(const char* value);
+ inline void set_non_unique_name(const char* value, size_t size);
+ inline ::std::string* mutable_non_unique_name();
+
+ // optional string error_message = 9;
+ inline bool has_error_message() const;
+ inline void clear_error_message();
+ static const int kErrorMessageFieldNumber = 9;
+ inline const ::std::string& error_message() const;
+ inline void set_error_message(const ::std::string& value);
+ inline void set_error_message(const char* value);
+ inline void set_error_message(const char* value, size_t size);
+ inline ::std::string* mutable_error_message();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.CommitResponse.EntryResponse)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ int response_type_;
+ ::std::string* id_string_;
+ static const ::std::string _default_id_string_;
+ ::std::string* parent_id_string_;
+ static const ::std::string _default_parent_id_string_;
+ ::google::protobuf::int64 position_in_parent_;
+ ::google::protobuf::int64 version_;
+ ::std::string* name_;
+ static const ::std::string _default_name_;
+ ::std::string* non_unique_name_;
+ static const ::std::string _default_non_unique_name_;
+ ::std::string* error_message_;
+ static const ::std::string _default_error_message_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static CommitResponse_EntryResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class CommitResponse : public ::google::protobuf::MessageLite {
+ public:
+ CommitResponse();
+ virtual ~CommitResponse();
+
+ CommitResponse(const CommitResponse& from);
+
+ inline CommitResponse& operator=(const CommitResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const CommitResponse& default_instance();
+
+ void Swap(CommitResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ CommitResponse* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const CommitResponse& from);
+ void MergeFrom(const CommitResponse& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ typedef CommitResponse_EntryResponse EntryResponse;
+
+ typedef CommitResponse_ResponseType ResponseType;
+ static const ResponseType SUCCESS = CommitResponse_ResponseType_SUCCESS;
+ static const ResponseType CONFLICT = CommitResponse_ResponseType_CONFLICT;
+ static const ResponseType RETRY = CommitResponse_ResponseType_RETRY;
+ static const ResponseType INVALID_MESSAGE = CommitResponse_ResponseType_INVALID_MESSAGE;
+ static const ResponseType OVER_QUOTA = CommitResponse_ResponseType_OVER_QUOTA;
+ static const ResponseType TRANSIENT_ERROR = CommitResponse_ResponseType_TRANSIENT_ERROR;
+ static inline bool ResponseType_IsValid(int value) {
+ return CommitResponse_ResponseType_IsValid(value);
+ }
+ static const ResponseType ResponseType_MIN =
+ CommitResponse_ResponseType_ResponseType_MIN;
+ static const ResponseType ResponseType_MAX =
+ CommitResponse_ResponseType_ResponseType_MAX;
+ static const int ResponseType_ARRAYSIZE =
+ CommitResponse_ResponseType_ResponseType_ARRAYSIZE;
+
+ // accessors -------------------------------------------------------
+
+ // repeated group EntryResponse = 1 {
+ inline int entryresponse_size() const;
+ inline void clear_entryresponse();
+ static const int kEntryresponseFieldNumber = 1;
+ inline const ::sync_pb::CommitResponse_EntryResponse& entryresponse(int index) const;
+ inline ::sync_pb::CommitResponse_EntryResponse* mutable_entryresponse(int index);
+ inline ::sync_pb::CommitResponse_EntryResponse* add_entryresponse();
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >&
+ entryresponse() const;
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >*
+ mutable_entryresponse();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.CommitResponse)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse > entryresponse_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static CommitResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class GetUpdatesResponse : public ::google::protobuf::MessageLite {
+ public:
+ GetUpdatesResponse();
+ virtual ~GetUpdatesResponse();
+
+ GetUpdatesResponse(const GetUpdatesResponse& from);
+
+ inline GetUpdatesResponse& operator=(const GetUpdatesResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const GetUpdatesResponse& default_instance();
+
+ void Swap(GetUpdatesResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ GetUpdatesResponse* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const GetUpdatesResponse& from);
+ void MergeFrom(const GetUpdatesResponse& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .sync_pb.SyncEntity entries = 1;
+ inline int entries_size() const;
+ inline void clear_entries();
+ static const int kEntriesFieldNumber = 1;
+ inline const ::sync_pb::SyncEntity& entries(int index) const;
+ inline ::sync_pb::SyncEntity* mutable_entries(int index);
+ inline ::sync_pb::SyncEntity* add_entries();
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
+ entries() const;
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
+ mutable_entries();
+
+ // optional int64 new_timestamp = 2;
+ inline bool has_new_timestamp() const;
+ inline void clear_new_timestamp();
+ static const int kNewTimestampFieldNumber = 2;
+ inline ::google::protobuf::int64 new_timestamp() const;
+ inline void set_new_timestamp(::google::protobuf::int64 value);
+
+ // optional int64 deprecated_newest_timestamp = 3;
+ inline bool has_deprecated_newest_timestamp() const;
+ inline void clear_deprecated_newest_timestamp();
+ static const int kDeprecatedNewestTimestampFieldNumber = 3;
+ inline ::google::protobuf::int64 deprecated_newest_timestamp() const;
+ inline void set_deprecated_newest_timestamp(::google::protobuf::int64 value);
+
+ // optional int64 changes_remaining = 4;
+ inline bool has_changes_remaining() const;
+ inline void clear_changes_remaining();
+ static const int kChangesRemainingFieldNumber = 4;
+ inline ::google::protobuf::int64 changes_remaining() const;
+ inline void set_changes_remaining(::google::protobuf::int64 value);
+
+ // repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
+ inline int new_progress_marker_size() const;
+ inline void clear_new_progress_marker();
+ static const int kNewProgressMarkerFieldNumber = 5;
+ inline const ::sync_pb::DataTypeProgressMarker& new_progress_marker(int index) const;
+ inline ::sync_pb::DataTypeProgressMarker* mutable_new_progress_marker(int index);
+ inline ::sync_pb::DataTypeProgressMarker* add_new_progress_marker();
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
+ new_progress_marker() const;
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
+ mutable_new_progress_marker();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesResponse)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity > entries_;
+ ::google::protobuf::int64 new_timestamp_;
+ ::google::protobuf::int64 deprecated_newest_timestamp_;
+ ::google::protobuf::int64 changes_remaining_;
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker > new_progress_marker_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static GetUpdatesResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class UserIdentification : public ::google::protobuf::MessageLite {
+ public:
+ UserIdentification();
+ virtual ~UserIdentification();
+
+ UserIdentification(const UserIdentification& from);
+
+ inline UserIdentification& operator=(const UserIdentification& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const UserIdentification& default_instance();
+
+ void Swap(UserIdentification* other);
+
+ // implements Message ----------------------------------------------
+
+ UserIdentification* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const UserIdentification& from);
+ void MergeFrom(const UserIdentification& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required string email = 1;
+ inline bool has_email() const;
+ inline void clear_email();
+ static const int kEmailFieldNumber = 1;
+ inline const ::std::string& email() const;
+ inline void set_email(const ::std::string& value);
+ inline void set_email(const char* value);
+ inline void set_email(const char* value, size_t size);
+ inline ::std::string* mutable_email();
+
+ // optional string display_name = 2;
+ inline bool has_display_name() const;
+ inline void clear_display_name();
+ static const int kDisplayNameFieldNumber = 2;
+ inline const ::std::string& display_name() const;
+ inline void set_display_name(const ::std::string& value);
+ inline void set_display_name(const char* value);
+ inline void set_display_name(const char* value, size_t size);
+ inline ::std::string* mutable_display_name();
+
+ // optional string obfuscated_id = 3;
+ inline bool has_obfuscated_id() const;
+ inline void clear_obfuscated_id();
+ static const int kObfuscatedIdFieldNumber = 3;
+ inline const ::std::string& obfuscated_id() const;
+ inline void set_obfuscated_id(const ::std::string& value);
+ inline void set_obfuscated_id(const char* value);
+ inline void set_obfuscated_id(const char* value, size_t size);
+ inline ::std::string* mutable_obfuscated_id();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.UserIdentification)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* email_;
+ static const ::std::string _default_email_;
+ ::std::string* display_name_;
+ static const ::std::string _default_display_name_;
+ ::std::string* obfuscated_id_;
+ static const ::std::string _default_obfuscated_id_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static UserIdentification* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class AuthenticateResponse : public ::google::protobuf::MessageLite {
+ public:
+ AuthenticateResponse();
+ virtual ~AuthenticateResponse();
+
+ AuthenticateResponse(const AuthenticateResponse& from);
+
+ inline AuthenticateResponse& operator=(const AuthenticateResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const AuthenticateResponse& default_instance();
+
+ void Swap(AuthenticateResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ AuthenticateResponse* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const AuthenticateResponse& from);
+ void MergeFrom(const AuthenticateResponse& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional .sync_pb.UserIdentification user = 1;
+ inline bool has_user() const;
+ inline void clear_user();
+ static const int kUserFieldNumber = 1;
+ inline const ::sync_pb::UserIdentification& user() const;
+ inline ::sync_pb::UserIdentification* mutable_user();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.AuthenticateResponse)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::sync_pb::UserIdentification* user_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static AuthenticateResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ThrottleParameters : public ::google::protobuf::MessageLite {
+ public:
+ ThrottleParameters();
+ virtual ~ThrottleParameters();
+
+ ThrottleParameters(const ThrottleParameters& from);
+
+ inline ThrottleParameters& operator=(const ThrottleParameters& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ThrottleParameters& default_instance();
+
+ void Swap(ThrottleParameters* other);
+
+ // implements Message ----------------------------------------------
+
+ ThrottleParameters* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ThrottleParameters& from);
+ void MergeFrom(const ThrottleParameters& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required int32 min_measure_payload_size = 1;
+ inline bool has_min_measure_payload_size() const;
+ inline void clear_min_measure_payload_size();
+ static const int kMinMeasurePayloadSizeFieldNumber = 1;
+ inline ::google::protobuf::int32 min_measure_payload_size() const;
+ inline void set_min_measure_payload_size(::google::protobuf::int32 value);
+
+ // required double target_utilization = 2;
+ inline bool has_target_utilization() const;
+ inline void clear_target_utilization();
+ static const int kTargetUtilizationFieldNumber = 2;
+ inline double target_utilization() const;
+ inline void set_target_utilization(double value);
+
+ // required double measure_interval_max = 3;
+ inline bool has_measure_interval_max() const;
+ inline void clear_measure_interval_max();
+ static const int kMeasureIntervalMaxFieldNumber = 3;
+ inline double measure_interval_max() const;
+ inline void set_measure_interval_max(double value);
+
+ // required double measure_interval_min = 4;
+ inline bool has_measure_interval_min() const;
+ inline void clear_measure_interval_min();
+ static const int kMeasureIntervalMinFieldNumber = 4;
+ inline double measure_interval_min() const;
+ inline void set_measure_interval_min(double value);
+
+ // required double observation_window = 5;
+ inline bool has_observation_window() const;
+ inline void clear_observation_window();
+ static const int kObservationWindowFieldNumber = 5;
+ inline double observation_window() const;
+ inline void set_observation_window(double value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ThrottleParameters)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::int32 min_measure_payload_size_;
+ double target_utilization_;
+ double measure_interval_max_;
+ double measure_interval_min_;
+ double observation_window_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ThrottleParameters* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ClientCommand : public ::google::protobuf::MessageLite {
+ public:
+ ClientCommand();
+ virtual ~ClientCommand();
+
+ ClientCommand(const ClientCommand& from);
+
+ inline ClientCommand& operator=(const ClientCommand& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ClientCommand& default_instance();
+
+ void Swap(ClientCommand* other);
+
+ // implements Message ----------------------------------------------
+
+ ClientCommand* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ClientCommand& from);
+ void MergeFrom(const ClientCommand& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional int32 set_sync_poll_interval = 1;
+ inline bool has_set_sync_poll_interval() const;
+ inline void clear_set_sync_poll_interval();
+ static const int kSetSyncPollIntervalFieldNumber = 1;
+ inline ::google::protobuf::int32 set_sync_poll_interval() const;
+ inline void set_set_sync_poll_interval(::google::protobuf::int32 value);
+
+ // optional int32 set_sync_long_poll_interval = 2;
+ inline bool has_set_sync_long_poll_interval() const;
+ inline void clear_set_sync_long_poll_interval();
+ static const int kSetSyncLongPollIntervalFieldNumber = 2;
+ inline ::google::protobuf::int32 set_sync_long_poll_interval() const;
+ inline void set_set_sync_long_poll_interval(::google::protobuf::int32 value);
+
+ // optional int32 max_commit_batch_size = 3;
+ inline bool has_max_commit_batch_size() const;
+ inline void clear_max_commit_batch_size();
+ static const int kMaxCommitBatchSizeFieldNumber = 3;
+ inline ::google::protobuf::int32 max_commit_batch_size() const;
+ inline void set_max_commit_batch_size(::google::protobuf::int32 value);
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ClientCommand)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::google::protobuf::int32 set_sync_poll_interval_;
+ ::google::protobuf::int32 set_sync_long_poll_interval_;
+ ::google::protobuf::int32 max_commit_batch_size_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ClientCommand* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class ClientToServerResponse : public ::google::protobuf::MessageLite {
+ public:
+ ClientToServerResponse();
+ virtual ~ClientToServerResponse();
+
+ ClientToServerResponse(const ClientToServerResponse& from);
+
+ inline ClientToServerResponse& operator=(const ClientToServerResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ClientToServerResponse& default_instance();
+
+ void Swap(ClientToServerResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ ClientToServerResponse* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ClientToServerResponse& from);
+ void MergeFrom(const ClientToServerResponse& from);
+ void Clear();
+ bool IsInitialized() const;
+
+ int ByteSize() const;
+ bool MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input);
+ void SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+
+ ::std::string GetTypeName() const;
+
+ // nested types ----------------------------------------------------
+
+ typedef ClientToServerResponse_ErrorType ErrorType;
+ static const ErrorType SUCCESS = ClientToServerResponse_ErrorType_SUCCESS;
+ static const ErrorType ACCESS_DENIED = ClientToServerResponse_ErrorType_ACCESS_DENIED;
+ static const ErrorType NOT_MY_BIRTHDAY = ClientToServerResponse_ErrorType_NOT_MY_BIRTHDAY;
+ static const ErrorType THROTTLED = ClientToServerResponse_ErrorType_THROTTLED;
+ static const ErrorType AUTH_EXPIRED = ClientToServerResponse_ErrorType_AUTH_EXPIRED;
+ static const ErrorType USER_NOT_ACTIVATED = ClientToServerResponse_ErrorType_USER_NOT_ACTIVATED;
+ static const ErrorType AUTH_INVALID = ClientToServerResponse_ErrorType_AUTH_INVALID;
+ static const ErrorType CLEAR_PENDING = ClientToServerResponse_ErrorType_CLEAR_PENDING;
+ static inline bool ErrorType_IsValid(int value) {
+ return ClientToServerResponse_ErrorType_IsValid(value);
+ }
+ static const ErrorType ErrorType_MIN =
+ ClientToServerResponse_ErrorType_ErrorType_MIN;
+ static const ErrorType ErrorType_MAX =
+ ClientToServerResponse_ErrorType_ErrorType_MAX;
+ static const int ErrorType_ARRAYSIZE =
+ ClientToServerResponse_ErrorType_ErrorType_ARRAYSIZE;
+
+ // accessors -------------------------------------------------------
+
+ // optional .sync_pb.CommitResponse commit = 1;
+ inline bool has_commit() const;
+ inline void clear_commit();
+ static const int kCommitFieldNumber = 1;
+ inline const ::sync_pb::CommitResponse& commit() const;
+ inline ::sync_pb::CommitResponse* mutable_commit();
+
+ // optional .sync_pb.GetUpdatesResponse get_updates = 2;
+ inline bool has_get_updates() const;
+ inline void clear_get_updates();
+ static const int kGetUpdatesFieldNumber = 2;
+ inline const ::sync_pb::GetUpdatesResponse& get_updates() const;
+ inline ::sync_pb::GetUpdatesResponse* mutable_get_updates();
+
+ // optional .sync_pb.AuthenticateResponse authenticate = 3;
+ inline bool has_authenticate() const;
+ inline void clear_authenticate();
+ static const int kAuthenticateFieldNumber = 3;
+ inline const ::sync_pb::AuthenticateResponse& authenticate() const;
+ inline ::sync_pb::AuthenticateResponse* mutable_authenticate();
+
+ // optional .sync_pb.ClearUserDataResponse clear_user_data = 9;
+ inline bool has_clear_user_data() const;
+ inline void clear_clear_user_data();
+ static const int kClearUserDataFieldNumber = 9;
+ inline const ::sync_pb::ClearUserDataResponse& clear_user_data() const;
+ inline ::sync_pb::ClearUserDataResponse* mutable_clear_user_data();
+
+ // optional .sync_pb.ClientToServerResponse.ErrorType error_code = 4 [default = SUCCESS];
+ inline bool has_error_code() const;
+ inline void clear_error_code();
+ static const int kErrorCodeFieldNumber = 4;
+ inline ::sync_pb::ClientToServerResponse_ErrorType error_code() const;
+ inline void set_error_code(::sync_pb::ClientToServerResponse_ErrorType value);
+
+ // optional string error_message = 5;
+ inline bool has_error_message() const;
+ inline void clear_error_message();
+ static const int kErrorMessageFieldNumber = 5;
+ inline const ::std::string& error_message() const;
+ inline void set_error_message(const ::std::string& value);
+ inline void set_error_message(const char* value);
+ inline void set_error_message(const char* value, size_t size);
+ inline ::std::string* mutable_error_message();
+
+ // optional string store_birthday = 6;
+ inline bool has_store_birthday() const;
+ inline void clear_store_birthday();
+ static const int kStoreBirthdayFieldNumber = 6;
+ inline const ::std::string& store_birthday() const;
+ inline void set_store_birthday(const ::std::string& value);
+ inline void set_store_birthday(const char* value);
+ inline void set_store_birthday(const char* value, size_t size);
+ inline ::std::string* mutable_store_birthday();
+
+ // optional .sync_pb.ClientCommand client_command = 7;
+ inline bool has_client_command() const;
+ inline void clear_client_command();
+ static const int kClientCommandFieldNumber = 7;
+ inline const ::sync_pb::ClientCommand& client_command() const;
+ inline ::sync_pb::ClientCommand* mutable_client_command();
+
+ // optional .sync_pb.ProfilingData profiling_data = 8;
+ inline bool has_profiling_data() const;
+ inline void clear_profiling_data();
+ static const int kProfilingDataFieldNumber = 8;
+ inline const ::sync_pb::ProfilingData& profiling_data() const;
+ inline ::sync_pb::ProfilingData* mutable_profiling_data();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ClientToServerResponse)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::sync_pb::CommitResponse* commit_;
+ ::sync_pb::GetUpdatesResponse* get_updates_;
+ ::sync_pb::AuthenticateResponse* authenticate_;
+ ::sync_pb::ClearUserDataResponse* clear_user_data_;
+ int error_code_;
+ ::std::string* error_message_;
+ static const ::std::string _default_error_message_;
+ ::std::string* store_birthday_;
+ static const ::std::string _default_store_birthday_;
+ ::sync_pb::ClientCommand* client_command_;
+ ::sync_pb::ProfilingData* profiling_data_;
+ friend void protobuf_AddDesc_sync_2eproto();
+ friend void protobuf_AssignDesc_sync_2eproto();
+ friend void protobuf_ShutdownFile_sync_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
+
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
+ inline bool _has_bit(int index) const {
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
+ }
+ inline void _set_bit(int index) {
+ _has_bits_[index / 32] |= (1u << (index % 32));
+ }
+ inline void _clear_bit(int index) {
+ _has_bits_[index / 32] &= ~(1u << (index % 32));
+ }
+
+ void InitAsDefaultInstance();
+ static ClientToServerResponse* default_instance_;
+};
+// ===================================================================
+
+
+// ===================================================================
+
+// ProfilingData
+
+// optional int64 meta_data_write_time = 1;
+inline bool ProfilingData::has_meta_data_write_time() const {
+ return _has_bit(0);
+}
+inline void ProfilingData::clear_meta_data_write_time() {
+ meta_data_write_time_ = GOOGLE_LONGLONG(0);
+ _clear_bit(0);
+}
+inline ::google::protobuf::int64 ProfilingData::meta_data_write_time() const {
+ return meta_data_write_time_;
+}
+inline void ProfilingData::set_meta_data_write_time(::google::protobuf::int64 value) {
+ _set_bit(0);
+ meta_data_write_time_ = value;
+}
+
+// optional int64 file_data_write_time = 2;
+inline bool ProfilingData::has_file_data_write_time() const {
+ return _has_bit(1);
+}
+inline void ProfilingData::clear_file_data_write_time() {
+ file_data_write_time_ = GOOGLE_LONGLONG(0);
+ _clear_bit(1);
+}
+inline ::google::protobuf::int64 ProfilingData::file_data_write_time() const {
+ return file_data_write_time_;
+}
+inline void ProfilingData::set_file_data_write_time(::google::protobuf::int64 value) {
+ _set_bit(1);
+ file_data_write_time_ = value;
+}
+
+// optional int64 user_lookup_time = 3;
+inline bool ProfilingData::has_user_lookup_time() const {
+ return _has_bit(2);
+}
+inline void ProfilingData::clear_user_lookup_time() {
+ user_lookup_time_ = GOOGLE_LONGLONG(0);
+ _clear_bit(2);
+}
+inline ::google::protobuf::int64 ProfilingData::user_lookup_time() const {
+ return user_lookup_time_;
+}
+inline void ProfilingData::set_user_lookup_time(::google::protobuf::int64 value) {
+ _set_bit(2);
+ user_lookup_time_ = value;
+}
+
+// optional int64 meta_data_read_time = 4;
+inline bool ProfilingData::has_meta_data_read_time() const {
+ return _has_bit(3);
+}
+inline void ProfilingData::clear_meta_data_read_time() {
+ meta_data_read_time_ = GOOGLE_LONGLONG(0);
+ _clear_bit(3);
+}
+inline ::google::protobuf::int64 ProfilingData::meta_data_read_time() const {
+ return meta_data_read_time_;
+}
+inline void ProfilingData::set_meta_data_read_time(::google::protobuf::int64 value) {
+ _set_bit(3);
+ meta_data_read_time_ = value;
+}
+
+// optional int64 file_data_read_time = 5;
+inline bool ProfilingData::has_file_data_read_time() const {
+ return _has_bit(4);
+}
+inline void ProfilingData::clear_file_data_read_time() {
+ file_data_read_time_ = GOOGLE_LONGLONG(0);
+ _clear_bit(4);
+}
+inline ::google::protobuf::int64 ProfilingData::file_data_read_time() const {
+ return file_data_read_time_;
+}
+inline void ProfilingData::set_file_data_read_time(::google::protobuf::int64 value) {
+ _set_bit(4);
+ file_data_read_time_ = value;
+}
+
+// optional int64 total_request_time = 6;
+inline bool ProfilingData::has_total_request_time() const {
+ return _has_bit(5);
+}
+inline void ProfilingData::clear_total_request_time() {
+ total_request_time_ = GOOGLE_LONGLONG(0);
+ _clear_bit(5);
+}
+inline ::google::protobuf::int64 ProfilingData::total_request_time() const {
+ return total_request_time_;
+}
+inline void ProfilingData::set_total_request_time(::google::protobuf::int64 value) {
+ _set_bit(5);
+ total_request_time_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// EntitySpecifics
+
+// -------------------------------------------------------------------
+
+// SyncEntity_BookmarkData
+
+// required bool bookmark_folder = 12;
+inline bool SyncEntity_BookmarkData::has_bookmark_folder() const {
+ return _has_bit(0);
+}
+inline void SyncEntity_BookmarkData::clear_bookmark_folder() {
+ bookmark_folder_ = false;
+ _clear_bit(0);
+}
+inline bool SyncEntity_BookmarkData::bookmark_folder() const {
+ return bookmark_folder_;
+}
+inline void SyncEntity_BookmarkData::set_bookmark_folder(bool value) {
+ _set_bit(0);
+ bookmark_folder_ = value;
+}
+
+// optional string bookmark_url = 13;
+inline bool SyncEntity_BookmarkData::has_bookmark_url() const {
+ return _has_bit(1);
+}
+inline void SyncEntity_BookmarkData::clear_bookmark_url() {
+ if (bookmark_url_ != &_default_bookmark_url_) {
+ bookmark_url_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& SyncEntity_BookmarkData::bookmark_url() const {
+ return *bookmark_url_;
+}
+inline void SyncEntity_BookmarkData::set_bookmark_url(const ::std::string& value) {
+ _set_bit(1);
+ if (bookmark_url_ == &_default_bookmark_url_) {
+ bookmark_url_ = new ::std::string;
+ }
+ bookmark_url_->assign(value);
+}
+inline void SyncEntity_BookmarkData::set_bookmark_url(const char* value) {
+ _set_bit(1);
+ if (bookmark_url_ == &_default_bookmark_url_) {
+ bookmark_url_ = new ::std::string;
+ }
+ bookmark_url_->assign(value);
+}
+inline void SyncEntity_BookmarkData::set_bookmark_url(const char* value, size_t size) {
+ _set_bit(1);
+ if (bookmark_url_ == &_default_bookmark_url_) {
+ bookmark_url_ = new ::std::string;
+ }
+ bookmark_url_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity_BookmarkData::mutable_bookmark_url() {
+ _set_bit(1);
+ if (bookmark_url_ == &_default_bookmark_url_) {
+ bookmark_url_ = new ::std::string;
+ }
+ return bookmark_url_;
+}
+
+// optional bytes bookmark_favicon = 14;
+inline bool SyncEntity_BookmarkData::has_bookmark_favicon() const {
+ return _has_bit(2);
+}
+inline void SyncEntity_BookmarkData::clear_bookmark_favicon() {
+ if (bookmark_favicon_ != &_default_bookmark_favicon_) {
+ bookmark_favicon_->clear();
+ }
+ _clear_bit(2);
+}
+inline const ::std::string& SyncEntity_BookmarkData::bookmark_favicon() const {
+ return *bookmark_favicon_;
+}
+inline void SyncEntity_BookmarkData::set_bookmark_favicon(const ::std::string& value) {
+ _set_bit(2);
+ if (bookmark_favicon_ == &_default_bookmark_favicon_) {
+ bookmark_favicon_ = new ::std::string;
+ }
+ bookmark_favicon_->assign(value);
+}
+inline void SyncEntity_BookmarkData::set_bookmark_favicon(const char* value) {
+ _set_bit(2);
+ if (bookmark_favicon_ == &_default_bookmark_favicon_) {
+ bookmark_favicon_ = new ::std::string;
+ }
+ bookmark_favicon_->assign(value);
+}
+inline void SyncEntity_BookmarkData::set_bookmark_favicon(const void* value, size_t size) {
+ _set_bit(2);
+ if (bookmark_favicon_ == &_default_bookmark_favicon_) {
+ bookmark_favicon_ = new ::std::string;
+ }
+ bookmark_favicon_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity_BookmarkData::mutable_bookmark_favicon() {
+ _set_bit(2);
+ if (bookmark_favicon_ == &_default_bookmark_favicon_) {
+ bookmark_favicon_ = new ::std::string;
+ }
+ return bookmark_favicon_;
+}
+
+// -------------------------------------------------------------------
+
+// SyncEntity
+
+// optional string id_string = 1;
+inline bool SyncEntity::has_id_string() const {
+ return _has_bit(0);
+}
+inline void SyncEntity::clear_id_string() {
+ if (id_string_ != &_default_id_string_) {
+ id_string_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& SyncEntity::id_string() const {
+ return *id_string_;
+}
+inline void SyncEntity::set_id_string(const ::std::string& value) {
+ _set_bit(0);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ id_string_->assign(value);
+}
+inline void SyncEntity::set_id_string(const char* value) {
+ _set_bit(0);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ id_string_->assign(value);
+}
+inline void SyncEntity::set_id_string(const char* value, size_t size) {
+ _set_bit(0);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ id_string_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_id_string() {
+ _set_bit(0);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ return id_string_;
+}
+
+// optional string parent_id_string = 2;
+inline bool SyncEntity::has_parent_id_string() const {
+ return _has_bit(1);
+}
+inline void SyncEntity::clear_parent_id_string() {
+ if (parent_id_string_ != &_default_parent_id_string_) {
+ parent_id_string_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& SyncEntity::parent_id_string() const {
+ return *parent_id_string_;
+}
+inline void SyncEntity::set_parent_id_string(const ::std::string& value) {
+ _set_bit(1);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ parent_id_string_->assign(value);
+}
+inline void SyncEntity::set_parent_id_string(const char* value) {
+ _set_bit(1);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ parent_id_string_->assign(value);
+}
+inline void SyncEntity::set_parent_id_string(const char* value, size_t size) {
+ _set_bit(1);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ parent_id_string_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_parent_id_string() {
+ _set_bit(1);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ return parent_id_string_;
+}
+
+// optional string old_parent_id = 3;
+inline bool SyncEntity::has_old_parent_id() const {
+ return _has_bit(2);
+}
+inline void SyncEntity::clear_old_parent_id() {
+ if (old_parent_id_ != &_default_old_parent_id_) {
+ old_parent_id_->clear();
+ }
+ _clear_bit(2);
+}
+inline const ::std::string& SyncEntity::old_parent_id() const {
+ return *old_parent_id_;
+}
+inline void SyncEntity::set_old_parent_id(const ::std::string& value) {
+ _set_bit(2);
+ if (old_parent_id_ == &_default_old_parent_id_) {
+ old_parent_id_ = new ::std::string;
+ }
+ old_parent_id_->assign(value);
+}
+inline void SyncEntity::set_old_parent_id(const char* value) {
+ _set_bit(2);
+ if (old_parent_id_ == &_default_old_parent_id_) {
+ old_parent_id_ = new ::std::string;
+ }
+ old_parent_id_->assign(value);
+}
+inline void SyncEntity::set_old_parent_id(const char* value, size_t size) {
+ _set_bit(2);
+ if (old_parent_id_ == &_default_old_parent_id_) {
+ old_parent_id_ = new ::std::string;
+ }
+ old_parent_id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_old_parent_id() {
+ _set_bit(2);
+ if (old_parent_id_ == &_default_old_parent_id_) {
+ old_parent_id_ = new ::std::string;
+ }
+ return old_parent_id_;
+}
+
+// required int64 version = 4;
+inline bool SyncEntity::has_version() const {
+ return _has_bit(3);
+}
+inline void SyncEntity::clear_version() {
+ version_ = GOOGLE_LONGLONG(0);
+ _clear_bit(3);
+}
+inline ::google::protobuf::int64 SyncEntity::version() const {
+ return version_;
+}
+inline void SyncEntity::set_version(::google::protobuf::int64 value) {
+ _set_bit(3);
+ version_ = value;
+}
+
+// optional int64 mtime = 5;
+inline bool SyncEntity::has_mtime() const {
+ return _has_bit(4);
+}
+inline void SyncEntity::clear_mtime() {
+ mtime_ = GOOGLE_LONGLONG(0);
+ _clear_bit(4);
+}
+inline ::google::protobuf::int64 SyncEntity::mtime() const {
+ return mtime_;
+}
+inline void SyncEntity::set_mtime(::google::protobuf::int64 value) {
+ _set_bit(4);
+ mtime_ = value;
+}
+
+// optional int64 ctime = 6;
+inline bool SyncEntity::has_ctime() const {
+ return _has_bit(5);
+}
+inline void SyncEntity::clear_ctime() {
+ ctime_ = GOOGLE_LONGLONG(0);
+ _clear_bit(5);
+}
+inline ::google::protobuf::int64 SyncEntity::ctime() const {
+ return ctime_;
+}
+inline void SyncEntity::set_ctime(::google::protobuf::int64 value) {
+ _set_bit(5);
+ ctime_ = value;
+}
+
+// required string name = 7;
+inline bool SyncEntity::has_name() const {
+ return _has_bit(6);
+}
+inline void SyncEntity::clear_name() {
+ if (name_ != &_default_name_) {
+ name_->clear();
+ }
+ _clear_bit(6);
+}
+inline const ::std::string& SyncEntity::name() const {
+ return *name_;
+}
+inline void SyncEntity::set_name(const ::std::string& value) {
+ _set_bit(6);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+}
+inline void SyncEntity::set_name(const char* value) {
+ _set_bit(6);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+}
+inline void SyncEntity::set_name(const char* value, size_t size) {
+ _set_bit(6);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_name() {
+ _set_bit(6);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ return name_;
+}
+
+// optional string non_unique_name = 8;
+inline bool SyncEntity::has_non_unique_name() const {
+ return _has_bit(7);
+}
+inline void SyncEntity::clear_non_unique_name() {
+ if (non_unique_name_ != &_default_non_unique_name_) {
+ non_unique_name_->clear();
+ }
+ _clear_bit(7);
+}
+inline const ::std::string& SyncEntity::non_unique_name() const {
+ return *non_unique_name_;
+}
+inline void SyncEntity::set_non_unique_name(const ::std::string& value) {
+ _set_bit(7);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ non_unique_name_->assign(value);
+}
+inline void SyncEntity::set_non_unique_name(const char* value) {
+ _set_bit(7);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ non_unique_name_->assign(value);
+}
+inline void SyncEntity::set_non_unique_name(const char* value, size_t size) {
+ _set_bit(7);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ non_unique_name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_non_unique_name() {
+ _set_bit(7);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ return non_unique_name_;
+}
+
+// optional int64 sync_timestamp = 9;
+inline bool SyncEntity::has_sync_timestamp() const {
+ return _has_bit(8);
+}
+inline void SyncEntity::clear_sync_timestamp() {
+ sync_timestamp_ = GOOGLE_LONGLONG(0);
+ _clear_bit(8);
+}
+inline ::google::protobuf::int64 SyncEntity::sync_timestamp() const {
+ return sync_timestamp_;
+}
+inline void SyncEntity::set_sync_timestamp(::google::protobuf::int64 value) {
+ _set_bit(8);
+ sync_timestamp_ = value;
+}
+
+// optional string server_defined_unique_tag = 10;
+inline bool SyncEntity::has_server_defined_unique_tag() const {
+ return _has_bit(9);
+}
+inline void SyncEntity::clear_server_defined_unique_tag() {
+ if (server_defined_unique_tag_ != &_default_server_defined_unique_tag_) {
+ server_defined_unique_tag_->clear();
+ }
+ _clear_bit(9);
+}
+inline const ::std::string& SyncEntity::server_defined_unique_tag() const {
+ return *server_defined_unique_tag_;
+}
+inline void SyncEntity::set_server_defined_unique_tag(const ::std::string& value) {
+ _set_bit(9);
+ if (server_defined_unique_tag_ == &_default_server_defined_unique_tag_) {
+ server_defined_unique_tag_ = new ::std::string;
+ }
+ server_defined_unique_tag_->assign(value);
+}
+inline void SyncEntity::set_server_defined_unique_tag(const char* value) {
+ _set_bit(9);
+ if (server_defined_unique_tag_ == &_default_server_defined_unique_tag_) {
+ server_defined_unique_tag_ = new ::std::string;
+ }
+ server_defined_unique_tag_->assign(value);
+}
+inline void SyncEntity::set_server_defined_unique_tag(const char* value, size_t size) {
+ _set_bit(9);
+ if (server_defined_unique_tag_ == &_default_server_defined_unique_tag_) {
+ server_defined_unique_tag_ = new ::std::string;
+ }
+ server_defined_unique_tag_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_server_defined_unique_tag() {
+ _set_bit(9);
+ if (server_defined_unique_tag_ == &_default_server_defined_unique_tag_) {
+ server_defined_unique_tag_ = new ::std::string;
+ }
+ return server_defined_unique_tag_;
+}
+
+// optional group BookmarkData = 11 {
+inline bool SyncEntity::has_bookmarkdata() const {
+ return _has_bit(10);
+}
+inline void SyncEntity::clear_bookmarkdata() {
+ if (bookmarkdata_ != NULL) bookmarkdata_->::sync_pb::SyncEntity_BookmarkData::Clear();
+ _clear_bit(10);
+}
+inline const ::sync_pb::SyncEntity_BookmarkData& SyncEntity::bookmarkdata() const {
+ return bookmarkdata_ != NULL ? *bookmarkdata_ : *default_instance_->bookmarkdata_;
+}
+inline ::sync_pb::SyncEntity_BookmarkData* SyncEntity::mutable_bookmarkdata() {
+ _set_bit(10);
+ if (bookmarkdata_ == NULL) bookmarkdata_ = new ::sync_pb::SyncEntity_BookmarkData;
+ return bookmarkdata_;
+}
+
+// optional int64 position_in_parent = 15;
+inline bool SyncEntity::has_position_in_parent() const {
+ return _has_bit(11);
+}
+inline void SyncEntity::clear_position_in_parent() {
+ position_in_parent_ = GOOGLE_LONGLONG(0);
+ _clear_bit(11);
+}
+inline ::google::protobuf::int64 SyncEntity::position_in_parent() const {
+ return position_in_parent_;
+}
+inline void SyncEntity::set_position_in_parent(::google::protobuf::int64 value) {
+ _set_bit(11);
+ position_in_parent_ = value;
+}
+
+// optional string insert_after_item_id = 16;
+inline bool SyncEntity::has_insert_after_item_id() const {
+ return _has_bit(12);
+}
+inline void SyncEntity::clear_insert_after_item_id() {
+ if (insert_after_item_id_ != &_default_insert_after_item_id_) {
+ insert_after_item_id_->clear();
+ }
+ _clear_bit(12);
+}
+inline const ::std::string& SyncEntity::insert_after_item_id() const {
+ return *insert_after_item_id_;
+}
+inline void SyncEntity::set_insert_after_item_id(const ::std::string& value) {
+ _set_bit(12);
+ if (insert_after_item_id_ == &_default_insert_after_item_id_) {
+ insert_after_item_id_ = new ::std::string;
+ }
+ insert_after_item_id_->assign(value);
+}
+inline void SyncEntity::set_insert_after_item_id(const char* value) {
+ _set_bit(12);
+ if (insert_after_item_id_ == &_default_insert_after_item_id_) {
+ insert_after_item_id_ = new ::std::string;
+ }
+ insert_after_item_id_->assign(value);
+}
+inline void SyncEntity::set_insert_after_item_id(const char* value, size_t size) {
+ _set_bit(12);
+ if (insert_after_item_id_ == &_default_insert_after_item_id_) {
+ insert_after_item_id_ = new ::std::string;
+ }
+ insert_after_item_id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_insert_after_item_id() {
+ _set_bit(12);
+ if (insert_after_item_id_ == &_default_insert_after_item_id_) {
+ insert_after_item_id_ = new ::std::string;
+ }
+ return insert_after_item_id_;
+}
+
+// optional bool deleted = 18 [default = false];
+inline bool SyncEntity::has_deleted() const {
+ return _has_bit(13);
+}
+inline void SyncEntity::clear_deleted() {
+ deleted_ = false;
+ _clear_bit(13);
+}
+inline bool SyncEntity::deleted() const {
+ return deleted_;
+}
+inline void SyncEntity::set_deleted(bool value) {
+ _set_bit(13);
+ deleted_ = value;
+}
+
+// optional string originator_cache_guid = 19;
+inline bool SyncEntity::has_originator_cache_guid() const {
+ return _has_bit(14);
+}
+inline void SyncEntity::clear_originator_cache_guid() {
+ if (originator_cache_guid_ != &_default_originator_cache_guid_) {
+ originator_cache_guid_->clear();
+ }
+ _clear_bit(14);
+}
+inline const ::std::string& SyncEntity::originator_cache_guid() const {
+ return *originator_cache_guid_;
+}
+inline void SyncEntity::set_originator_cache_guid(const ::std::string& value) {
+ _set_bit(14);
+ if (originator_cache_guid_ == &_default_originator_cache_guid_) {
+ originator_cache_guid_ = new ::std::string;
+ }
+ originator_cache_guid_->assign(value);
+}
+inline void SyncEntity::set_originator_cache_guid(const char* value) {
+ _set_bit(14);
+ if (originator_cache_guid_ == &_default_originator_cache_guid_) {
+ originator_cache_guid_ = new ::std::string;
+ }
+ originator_cache_guid_->assign(value);
+}
+inline void SyncEntity::set_originator_cache_guid(const char* value, size_t size) {
+ _set_bit(14);
+ if (originator_cache_guid_ == &_default_originator_cache_guid_) {
+ originator_cache_guid_ = new ::std::string;
+ }
+ originator_cache_guid_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_originator_cache_guid() {
+ _set_bit(14);
+ if (originator_cache_guid_ == &_default_originator_cache_guid_) {
+ originator_cache_guid_ = new ::std::string;
+ }
+ return originator_cache_guid_;
+}
+
+// optional string originator_client_item_id = 20;
+inline bool SyncEntity::has_originator_client_item_id() const {
+ return _has_bit(15);
+}
+inline void SyncEntity::clear_originator_client_item_id() {
+ if (originator_client_item_id_ != &_default_originator_client_item_id_) {
+ originator_client_item_id_->clear();
+ }
+ _clear_bit(15);
+}
+inline const ::std::string& SyncEntity::originator_client_item_id() const {
+ return *originator_client_item_id_;
+}
+inline void SyncEntity::set_originator_client_item_id(const ::std::string& value) {
+ _set_bit(15);
+ if (originator_client_item_id_ == &_default_originator_client_item_id_) {
+ originator_client_item_id_ = new ::std::string;
+ }
+ originator_client_item_id_->assign(value);
+}
+inline void SyncEntity::set_originator_client_item_id(const char* value) {
+ _set_bit(15);
+ if (originator_client_item_id_ == &_default_originator_client_item_id_) {
+ originator_client_item_id_ = new ::std::string;
+ }
+ originator_client_item_id_->assign(value);
+}
+inline void SyncEntity::set_originator_client_item_id(const char* value, size_t size) {
+ _set_bit(15);
+ if (originator_client_item_id_ == &_default_originator_client_item_id_) {
+ originator_client_item_id_ = new ::std::string;
+ }
+ originator_client_item_id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_originator_client_item_id() {
+ _set_bit(15);
+ if (originator_client_item_id_ == &_default_originator_client_item_id_) {
+ originator_client_item_id_ = new ::std::string;
+ }
+ return originator_client_item_id_;
+}
+
+// optional .sync_pb.EntitySpecifics specifics = 21;
+inline bool SyncEntity::has_specifics() const {
+ return _has_bit(16);
+}
+inline void SyncEntity::clear_specifics() {
+ if (specifics_ != NULL) specifics_->::sync_pb::EntitySpecifics::Clear();
+ _clear_bit(16);
+}
+inline const ::sync_pb::EntitySpecifics& SyncEntity::specifics() const {
+ return specifics_ != NULL ? *specifics_ : *default_instance_->specifics_;
+}
+inline ::sync_pb::EntitySpecifics* SyncEntity::mutable_specifics() {
+ _set_bit(16);
+ if (specifics_ == NULL) specifics_ = new ::sync_pb::EntitySpecifics;
+ return specifics_;
+}
+
+// optional bool folder = 22 [default = false];
+inline bool SyncEntity::has_folder() const {
+ return _has_bit(17);
+}
+inline void SyncEntity::clear_folder() {
+ folder_ = false;
+ _clear_bit(17);
+}
+inline bool SyncEntity::folder() const {
+ return folder_;
+}
+inline void SyncEntity::set_folder(bool value) {
+ _set_bit(17);
+ folder_ = value;
+}
+
+// optional string client_defined_unique_tag = 23;
+inline bool SyncEntity::has_client_defined_unique_tag() const {
+ return _has_bit(18);
+}
+inline void SyncEntity::clear_client_defined_unique_tag() {
+ if (client_defined_unique_tag_ != &_default_client_defined_unique_tag_) {
+ client_defined_unique_tag_->clear();
+ }
+ _clear_bit(18);
+}
+inline const ::std::string& SyncEntity::client_defined_unique_tag() const {
+ return *client_defined_unique_tag_;
+}
+inline void SyncEntity::set_client_defined_unique_tag(const ::std::string& value) {
+ _set_bit(18);
+ if (client_defined_unique_tag_ == &_default_client_defined_unique_tag_) {
+ client_defined_unique_tag_ = new ::std::string;
+ }
+ client_defined_unique_tag_->assign(value);
+}
+inline void SyncEntity::set_client_defined_unique_tag(const char* value) {
+ _set_bit(18);
+ if (client_defined_unique_tag_ == &_default_client_defined_unique_tag_) {
+ client_defined_unique_tag_ = new ::std::string;
+ }
+ client_defined_unique_tag_->assign(value);
+}
+inline void SyncEntity::set_client_defined_unique_tag(const char* value, size_t size) {
+ _set_bit(18);
+ if (client_defined_unique_tag_ == &_default_client_defined_unique_tag_) {
+ client_defined_unique_tag_ = new ::std::string;
+ }
+ client_defined_unique_tag_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* SyncEntity::mutable_client_defined_unique_tag() {
+ _set_bit(18);
+ if (client_defined_unique_tag_ == &_default_client_defined_unique_tag_) {
+ client_defined_unique_tag_ = new ::std::string;
+ }
+ return client_defined_unique_tag_;
+}
+
+// -------------------------------------------------------------------
+
+// ChromiumExtensionsActivity
+
+// optional string extension_id = 1;
+inline bool ChromiumExtensionsActivity::has_extension_id() const {
+ return _has_bit(0);
+}
+inline void ChromiumExtensionsActivity::clear_extension_id() {
+ if (extension_id_ != &_default_extension_id_) {
+ extension_id_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& ChromiumExtensionsActivity::extension_id() const {
+ return *extension_id_;
+}
+inline void ChromiumExtensionsActivity::set_extension_id(const ::std::string& value) {
+ _set_bit(0);
+ if (extension_id_ == &_default_extension_id_) {
+ extension_id_ = new ::std::string;
+ }
+ extension_id_->assign(value);
+}
+inline void ChromiumExtensionsActivity::set_extension_id(const char* value) {
+ _set_bit(0);
+ if (extension_id_ == &_default_extension_id_) {
+ extension_id_ = new ::std::string;
+ }
+ extension_id_->assign(value);
+}
+inline void ChromiumExtensionsActivity::set_extension_id(const char* value, size_t size) {
+ _set_bit(0);
+ if (extension_id_ == &_default_extension_id_) {
+ extension_id_ = new ::std::string;
+ }
+ extension_id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ChromiumExtensionsActivity::mutable_extension_id() {
+ _set_bit(0);
+ if (extension_id_ == &_default_extension_id_) {
+ extension_id_ = new ::std::string;
+ }
+ return extension_id_;
+}
+
+// optional uint32 bookmark_writes_since_last_commit = 2;
+inline bool ChromiumExtensionsActivity::has_bookmark_writes_since_last_commit() const {
+ return _has_bit(1);
+}
+inline void ChromiumExtensionsActivity::clear_bookmark_writes_since_last_commit() {
+ bookmark_writes_since_last_commit_ = 0u;
+ _clear_bit(1);
+}
+inline ::google::protobuf::uint32 ChromiumExtensionsActivity::bookmark_writes_since_last_commit() const {
+ return bookmark_writes_since_last_commit_;
+}
+inline void ChromiumExtensionsActivity::set_bookmark_writes_since_last_commit(::google::protobuf::uint32 value) {
+ _set_bit(1);
+ bookmark_writes_since_last_commit_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// CommitMessage
+
+// repeated .sync_pb.SyncEntity entries = 1;
+inline int CommitMessage::entries_size() const {
+ return entries_.size();
+}
+inline void CommitMessage::clear_entries() {
+ entries_.Clear();
+}
+inline const ::sync_pb::SyncEntity& CommitMessage::entries(int index) const {
+ return entries_.Get(index);
+}
+inline ::sync_pb::SyncEntity* CommitMessage::mutable_entries(int index) {
+ return entries_.Mutable(index);
+}
+inline ::sync_pb::SyncEntity* CommitMessage::add_entries() {
+ return entries_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
+CommitMessage::entries() const {
+ return entries_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
+CommitMessage::mutable_entries() {
+ return &entries_;
+}
+
+// optional string cache_guid = 2;
+inline bool CommitMessage::has_cache_guid() const {
+ return _has_bit(1);
+}
+inline void CommitMessage::clear_cache_guid() {
+ if (cache_guid_ != &_default_cache_guid_) {
+ cache_guid_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& CommitMessage::cache_guid() const {
+ return *cache_guid_;
+}
+inline void CommitMessage::set_cache_guid(const ::std::string& value) {
+ _set_bit(1);
+ if (cache_guid_ == &_default_cache_guid_) {
+ cache_guid_ = new ::std::string;
+ }
+ cache_guid_->assign(value);
+}
+inline void CommitMessage::set_cache_guid(const char* value) {
+ _set_bit(1);
+ if (cache_guid_ == &_default_cache_guid_) {
+ cache_guid_ = new ::std::string;
+ }
+ cache_guid_->assign(value);
+}
+inline void CommitMessage::set_cache_guid(const char* value, size_t size) {
+ _set_bit(1);
+ if (cache_guid_ == &_default_cache_guid_) {
+ cache_guid_ = new ::std::string;
+ }
+ cache_guid_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* CommitMessage::mutable_cache_guid() {
+ _set_bit(1);
+ if (cache_guid_ == &_default_cache_guid_) {
+ cache_guid_ = new ::std::string;
+ }
+ return cache_guid_;
+}
+
+// repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
+inline int CommitMessage::extensions_activity_size() const {
+ return extensions_activity_.size();
+}
+inline void CommitMessage::clear_extensions_activity() {
+ extensions_activity_.Clear();
+}
+inline const ::sync_pb::ChromiumExtensionsActivity& CommitMessage::extensions_activity(int index) const {
+ return extensions_activity_.Get(index);
+}
+inline ::sync_pb::ChromiumExtensionsActivity* CommitMessage::mutable_extensions_activity(int index) {
+ return extensions_activity_.Mutable(index);
+}
+inline ::sync_pb::ChromiumExtensionsActivity* CommitMessage::add_extensions_activity() {
+ return extensions_activity_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >&
+CommitMessage::extensions_activity() const {
+ return extensions_activity_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >*
+CommitMessage::mutable_extensions_activity() {
+ return &extensions_activity_;
+}
+
+// -------------------------------------------------------------------
+
+// GetUpdatesCallerInfo
+
+// required .sync_pb.GetUpdatesCallerInfo.GetUpdatesSource source = 1;
+inline bool GetUpdatesCallerInfo::has_source() const {
+ return _has_bit(0);
+}
+inline void GetUpdatesCallerInfo::clear_source() {
+ source_ = 0;
+ _clear_bit(0);
+}
+inline ::sync_pb::GetUpdatesCallerInfo_GetUpdatesSource GetUpdatesCallerInfo::source() const {
+ return static_cast< ::sync_pb::GetUpdatesCallerInfo_GetUpdatesSource >(source_);
+}
+inline void GetUpdatesCallerInfo::set_source(::sync_pb::GetUpdatesCallerInfo_GetUpdatesSource value) {
+ GOOGLE_DCHECK(::sync_pb::GetUpdatesCallerInfo_GetUpdatesSource_IsValid(value));
+ _set_bit(0);
+ source_ = value;
+}
+
+// optional bool notifications_enabled = 2;
+inline bool GetUpdatesCallerInfo::has_notifications_enabled() const {
+ return _has_bit(1);
+}
+inline void GetUpdatesCallerInfo::clear_notifications_enabled() {
+ notifications_enabled_ = false;
+ _clear_bit(1);
+}
+inline bool GetUpdatesCallerInfo::notifications_enabled() const {
+ return notifications_enabled_;
+}
+inline void GetUpdatesCallerInfo::set_notifications_enabled(bool value) {
+ _set_bit(1);
+ notifications_enabled_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// DataTypeProgressMarker
+
+// optional int32 data_type_id = 1;
+inline bool DataTypeProgressMarker::has_data_type_id() const {
+ return _has_bit(0);
+}
+inline void DataTypeProgressMarker::clear_data_type_id() {
+ data_type_id_ = 0;
+ _clear_bit(0);
+}
+inline ::google::protobuf::int32 DataTypeProgressMarker::data_type_id() const {
+ return data_type_id_;
+}
+inline void DataTypeProgressMarker::set_data_type_id(::google::protobuf::int32 value) {
+ _set_bit(0);
+ data_type_id_ = value;
+}
+
+// optional bytes token = 2;
+inline bool DataTypeProgressMarker::has_token() const {
+ return _has_bit(1);
+}
+inline void DataTypeProgressMarker::clear_token() {
+ if (token_ != &_default_token_) {
+ token_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& DataTypeProgressMarker::token() const {
+ return *token_;
+}
+inline void DataTypeProgressMarker::set_token(const ::std::string& value) {
+ _set_bit(1);
+ if (token_ == &_default_token_) {
+ token_ = new ::std::string;
+ }
+ token_->assign(value);
+}
+inline void DataTypeProgressMarker::set_token(const char* value) {
+ _set_bit(1);
+ if (token_ == &_default_token_) {
+ token_ = new ::std::string;
+ }
+ token_->assign(value);
+}
+inline void DataTypeProgressMarker::set_token(const void* value, size_t size) {
+ _set_bit(1);
+ if (token_ == &_default_token_) {
+ token_ = new ::std::string;
+ }
+ token_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* DataTypeProgressMarker::mutable_token() {
+ _set_bit(1);
+ if (token_ == &_default_token_) {
+ token_ = new ::std::string;
+ }
+ return token_;
+}
+
+// optional int64 timestamp_token_for_migration = 3;
+inline bool DataTypeProgressMarker::has_timestamp_token_for_migration() const {
+ return _has_bit(2);
+}
+inline void DataTypeProgressMarker::clear_timestamp_token_for_migration() {
+ timestamp_token_for_migration_ = GOOGLE_LONGLONG(0);
+ _clear_bit(2);
+}
+inline ::google::protobuf::int64 DataTypeProgressMarker::timestamp_token_for_migration() const {
+ return timestamp_token_for_migration_;
+}
+inline void DataTypeProgressMarker::set_timestamp_token_for_migration(::google::protobuf::int64 value) {
+ _set_bit(2);
+ timestamp_token_for_migration_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// GetUpdatesMessage
+
+// optional int64 from_timestamp = 1;
+inline bool GetUpdatesMessage::has_from_timestamp() const {
+ return _has_bit(0);
+}
+inline void GetUpdatesMessage::clear_from_timestamp() {
+ from_timestamp_ = GOOGLE_LONGLONG(0);
+ _clear_bit(0);
+}
+inline ::google::protobuf::int64 GetUpdatesMessage::from_timestamp() const {
+ return from_timestamp_;
+}
+inline void GetUpdatesMessage::set_from_timestamp(::google::protobuf::int64 value) {
+ _set_bit(0);
+ from_timestamp_ = value;
+}
+
+// optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
+inline bool GetUpdatesMessage::has_caller_info() const {
+ return _has_bit(1);
+}
+inline void GetUpdatesMessage::clear_caller_info() {
+ if (caller_info_ != NULL) caller_info_->::sync_pb::GetUpdatesCallerInfo::Clear();
+ _clear_bit(1);
+}
+inline const ::sync_pb::GetUpdatesCallerInfo& GetUpdatesMessage::caller_info() const {
+ return caller_info_ != NULL ? *caller_info_ : *default_instance_->caller_info_;
+}
+inline ::sync_pb::GetUpdatesCallerInfo* GetUpdatesMessage::mutable_caller_info() {
+ _set_bit(1);
+ if (caller_info_ == NULL) caller_info_ = new ::sync_pb::GetUpdatesCallerInfo;
+ return caller_info_;
+}
+
+// optional bool fetch_folders = 3 [default = true];
+inline bool GetUpdatesMessage::has_fetch_folders() const {
+ return _has_bit(2);
+}
+inline void GetUpdatesMessage::clear_fetch_folders() {
+ fetch_folders_ = true;
+ _clear_bit(2);
+}
+inline bool GetUpdatesMessage::fetch_folders() const {
+ return fetch_folders_;
+}
+inline void GetUpdatesMessage::set_fetch_folders(bool value) {
+ _set_bit(2);
+ fetch_folders_ = value;
+}
+
+// optional .sync_pb.EntitySpecifics requested_types = 4;
+inline bool GetUpdatesMessage::has_requested_types() const {
+ return _has_bit(3);
+}
+inline void GetUpdatesMessage::clear_requested_types() {
+ if (requested_types_ != NULL) requested_types_->::sync_pb::EntitySpecifics::Clear();
+ _clear_bit(3);
+}
+inline const ::sync_pb::EntitySpecifics& GetUpdatesMessage::requested_types() const {
+ return requested_types_ != NULL ? *requested_types_ : *default_instance_->requested_types_;
+}
+inline ::sync_pb::EntitySpecifics* GetUpdatesMessage::mutable_requested_types() {
+ _set_bit(3);
+ if (requested_types_ == NULL) requested_types_ = new ::sync_pb::EntitySpecifics;
+ return requested_types_;
+}
+
+// optional int32 batch_size = 5;
+inline bool GetUpdatesMessage::has_batch_size() const {
+ return _has_bit(4);
+}
+inline void GetUpdatesMessage::clear_batch_size() {
+ batch_size_ = 0;
+ _clear_bit(4);
+}
+inline ::google::protobuf::int32 GetUpdatesMessage::batch_size() const {
+ return batch_size_;
+}
+inline void GetUpdatesMessage::set_batch_size(::google::protobuf::int32 value) {
+ _set_bit(4);
+ batch_size_ = value;
+}
+
+// repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
+inline int GetUpdatesMessage::from_progress_marker_size() const {
+ return from_progress_marker_.size();
+}
+inline void GetUpdatesMessage::clear_from_progress_marker() {
+ from_progress_marker_.Clear();
+}
+inline const ::sync_pb::DataTypeProgressMarker& GetUpdatesMessage::from_progress_marker(int index) const {
+ return from_progress_marker_.Get(index);
+}
+inline ::sync_pb::DataTypeProgressMarker* GetUpdatesMessage::mutable_from_progress_marker(int index) {
+ return from_progress_marker_.Mutable(index);
+}
+inline ::sync_pb::DataTypeProgressMarker* GetUpdatesMessage::add_from_progress_marker() {
+ return from_progress_marker_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
+GetUpdatesMessage::from_progress_marker() const {
+ return from_progress_marker_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
+GetUpdatesMessage::mutable_from_progress_marker() {
+ return &from_progress_marker_;
+}
+
+// -------------------------------------------------------------------
+
+// AuthenticateMessage
+
+// required string auth_token = 1;
+inline bool AuthenticateMessage::has_auth_token() const {
+ return _has_bit(0);
+}
+inline void AuthenticateMessage::clear_auth_token() {
+ if (auth_token_ != &_default_auth_token_) {
+ auth_token_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& AuthenticateMessage::auth_token() const {
+ return *auth_token_;
+}
+inline void AuthenticateMessage::set_auth_token(const ::std::string& value) {
+ _set_bit(0);
+ if (auth_token_ == &_default_auth_token_) {
+ auth_token_ = new ::std::string;
+ }
+ auth_token_->assign(value);
+}
+inline void AuthenticateMessage::set_auth_token(const char* value) {
+ _set_bit(0);
+ if (auth_token_ == &_default_auth_token_) {
+ auth_token_ = new ::std::string;
+ }
+ auth_token_->assign(value);
+}
+inline void AuthenticateMessage::set_auth_token(const char* value, size_t size) {
+ _set_bit(0);
+ if (auth_token_ == &_default_auth_token_) {
+ auth_token_ = new ::std::string;
+ }
+ auth_token_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* AuthenticateMessage::mutable_auth_token() {
+ _set_bit(0);
+ if (auth_token_ == &_default_auth_token_) {
+ auth_token_ = new ::std::string;
+ }
+ return auth_token_;
+}
+
+// -------------------------------------------------------------------
+
+// ClearUserDataMessage
+
+// -------------------------------------------------------------------
+
+// ClearUserDataResponse
+
+// -------------------------------------------------------------------
+
+// ClientToServerMessage
+
+// required string share = 1;
+inline bool ClientToServerMessage::has_share() const {
+ return _has_bit(0);
+}
+inline void ClientToServerMessage::clear_share() {
+ if (share_ != &_default_share_) {
+ share_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& ClientToServerMessage::share() const {
+ return *share_;
+}
+inline void ClientToServerMessage::set_share(const ::std::string& value) {
+ _set_bit(0);
+ if (share_ == &_default_share_) {
+ share_ = new ::std::string;
+ }
+ share_->assign(value);
+}
+inline void ClientToServerMessage::set_share(const char* value) {
+ _set_bit(0);
+ if (share_ == &_default_share_) {
+ share_ = new ::std::string;
+ }
+ share_->assign(value);
+}
+inline void ClientToServerMessage::set_share(const char* value, size_t size) {
+ _set_bit(0);
+ if (share_ == &_default_share_) {
+ share_ = new ::std::string;
+ }
+ share_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ClientToServerMessage::mutable_share() {
+ _set_bit(0);
+ if (share_ == &_default_share_) {
+ share_ = new ::std::string;
+ }
+ return share_;
+}
+
+// optional int32 protocol_version = 2 [default = 24];
+inline bool ClientToServerMessage::has_protocol_version() const {
+ return _has_bit(1);
+}
+inline void ClientToServerMessage::clear_protocol_version() {
+ protocol_version_ = 24;
+ _clear_bit(1);
+}
+inline ::google::protobuf::int32 ClientToServerMessage::protocol_version() const {
+ return protocol_version_;
+}
+inline void ClientToServerMessage::set_protocol_version(::google::protobuf::int32 value) {
+ _set_bit(1);
+ protocol_version_ = value;
+}
+
+// required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
+inline bool ClientToServerMessage::has_message_contents() const {
+ return _has_bit(2);
+}
+inline void ClientToServerMessage::clear_message_contents() {
+ message_contents_ = 1;
+ _clear_bit(2);
+}
+inline ::sync_pb::ClientToServerMessage_Contents ClientToServerMessage::message_contents() const {
+ return static_cast< ::sync_pb::ClientToServerMessage_Contents >(message_contents_);
+}
+inline void ClientToServerMessage::set_message_contents(::sync_pb::ClientToServerMessage_Contents value) {
+ GOOGLE_DCHECK(::sync_pb::ClientToServerMessage_Contents_IsValid(value));
+ _set_bit(2);
+ message_contents_ = value;
+}
+
+// optional .sync_pb.CommitMessage commit = 4;
+inline bool ClientToServerMessage::has_commit() const {
+ return _has_bit(3);
+}
+inline void ClientToServerMessage::clear_commit() {
+ if (commit_ != NULL) commit_->::sync_pb::CommitMessage::Clear();
+ _clear_bit(3);
+}
+inline const ::sync_pb::CommitMessage& ClientToServerMessage::commit() const {
+ return commit_ != NULL ? *commit_ : *default_instance_->commit_;
+}
+inline ::sync_pb::CommitMessage* ClientToServerMessage::mutable_commit() {
+ _set_bit(3);
+ if (commit_ == NULL) commit_ = new ::sync_pb::CommitMessage;
+ return commit_;
+}
+
+// optional .sync_pb.GetUpdatesMessage get_updates = 5;
+inline bool ClientToServerMessage::has_get_updates() const {
+ return _has_bit(4);
+}
+inline void ClientToServerMessage::clear_get_updates() {
+ if (get_updates_ != NULL) get_updates_->::sync_pb::GetUpdatesMessage::Clear();
+ _clear_bit(4);
+}
+inline const ::sync_pb::GetUpdatesMessage& ClientToServerMessage::get_updates() const {
+ return get_updates_ != NULL ? *get_updates_ : *default_instance_->get_updates_;
+}
+inline ::sync_pb::GetUpdatesMessage* ClientToServerMessage::mutable_get_updates() {
+ _set_bit(4);
+ if (get_updates_ == NULL) get_updates_ = new ::sync_pb::GetUpdatesMessage;
+ return get_updates_;
+}
+
+// optional .sync_pb.AuthenticateMessage authenticate = 6;
+inline bool ClientToServerMessage::has_authenticate() const {
+ return _has_bit(5);
+}
+inline void ClientToServerMessage::clear_authenticate() {
+ if (authenticate_ != NULL) authenticate_->::sync_pb::AuthenticateMessage::Clear();
+ _clear_bit(5);
+}
+inline const ::sync_pb::AuthenticateMessage& ClientToServerMessage::authenticate() const {
+ return authenticate_ != NULL ? *authenticate_ : *default_instance_->authenticate_;
+}
+inline ::sync_pb::AuthenticateMessage* ClientToServerMessage::mutable_authenticate() {
+ _set_bit(5);
+ if (authenticate_ == NULL) authenticate_ = new ::sync_pb::AuthenticateMessage;
+ return authenticate_;
+}
+
+// optional .sync_pb.ClearUserDataMessage clear_user_data = 9;
+inline bool ClientToServerMessage::has_clear_user_data() const {
+ return _has_bit(6);
+}
+inline void ClientToServerMessage::clear_clear_user_data() {
+ if (clear_user_data_ != NULL) clear_user_data_->::sync_pb::ClearUserDataMessage::Clear();
+ _clear_bit(6);
+}
+inline const ::sync_pb::ClearUserDataMessage& ClientToServerMessage::clear_user_data() const {
+ return clear_user_data_ != NULL ? *clear_user_data_ : *default_instance_->clear_user_data_;
+}
+inline ::sync_pb::ClearUserDataMessage* ClientToServerMessage::mutable_clear_user_data() {
+ _set_bit(6);
+ if (clear_user_data_ == NULL) clear_user_data_ = new ::sync_pb::ClearUserDataMessage;
+ return clear_user_data_;
+}
+
+// optional string store_birthday = 7;
+inline bool ClientToServerMessage::has_store_birthday() const {
+ return _has_bit(7);
+}
+inline void ClientToServerMessage::clear_store_birthday() {
+ if (store_birthday_ != &_default_store_birthday_) {
+ store_birthday_->clear();
+ }
+ _clear_bit(7);
+}
+inline const ::std::string& ClientToServerMessage::store_birthday() const {
+ return *store_birthday_;
+}
+inline void ClientToServerMessage::set_store_birthday(const ::std::string& value) {
+ _set_bit(7);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ store_birthday_->assign(value);
+}
+inline void ClientToServerMessage::set_store_birthday(const char* value) {
+ _set_bit(7);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ store_birthday_->assign(value);
+}
+inline void ClientToServerMessage::set_store_birthday(const char* value, size_t size) {
+ _set_bit(7);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ store_birthday_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ClientToServerMessage::mutable_store_birthday() {
+ _set_bit(7);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ return store_birthday_;
+}
+
+// optional bool sync_problem_detected = 8 [default = false];
+inline bool ClientToServerMessage::has_sync_problem_detected() const {
+ return _has_bit(8);
+}
+inline void ClientToServerMessage::clear_sync_problem_detected() {
+ sync_problem_detected_ = false;
+ _clear_bit(8);
+}
+inline bool ClientToServerMessage::sync_problem_detected() const {
+ return sync_problem_detected_;
+}
+inline void ClientToServerMessage::set_sync_problem_detected(bool value) {
+ _set_bit(8);
+ sync_problem_detected_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// CommitResponse_EntryResponse
+
+// required .sync_pb.CommitResponse.ResponseType response_type = 2;
+inline bool CommitResponse_EntryResponse::has_response_type() const {
+ return _has_bit(0);
+}
+inline void CommitResponse_EntryResponse::clear_response_type() {
+ response_type_ = 1;
+ _clear_bit(0);
+}
+inline ::sync_pb::CommitResponse_ResponseType CommitResponse_EntryResponse::response_type() const {
+ return static_cast< ::sync_pb::CommitResponse_ResponseType >(response_type_);
+}
+inline void CommitResponse_EntryResponse::set_response_type(::sync_pb::CommitResponse_ResponseType value) {
+ GOOGLE_DCHECK(::sync_pb::CommitResponse_ResponseType_IsValid(value));
+ _set_bit(0);
+ response_type_ = value;
+}
+
+// optional string id_string = 3;
+inline bool CommitResponse_EntryResponse::has_id_string() const {
+ return _has_bit(1);
+}
+inline void CommitResponse_EntryResponse::clear_id_string() {
+ if (id_string_ != &_default_id_string_) {
+ id_string_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& CommitResponse_EntryResponse::id_string() const {
+ return *id_string_;
+}
+inline void CommitResponse_EntryResponse::set_id_string(const ::std::string& value) {
+ _set_bit(1);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ id_string_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_id_string(const char* value) {
+ _set_bit(1);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ id_string_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_id_string(const char* value, size_t size) {
+ _set_bit(1);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ id_string_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* CommitResponse_EntryResponse::mutable_id_string() {
+ _set_bit(1);
+ if (id_string_ == &_default_id_string_) {
+ id_string_ = new ::std::string;
+ }
+ return id_string_;
+}
+
+// optional string parent_id_string = 4;
+inline bool CommitResponse_EntryResponse::has_parent_id_string() const {
+ return _has_bit(2);
+}
+inline void CommitResponse_EntryResponse::clear_parent_id_string() {
+ if (parent_id_string_ != &_default_parent_id_string_) {
+ parent_id_string_->clear();
+ }
+ _clear_bit(2);
+}
+inline const ::std::string& CommitResponse_EntryResponse::parent_id_string() const {
+ return *parent_id_string_;
+}
+inline void CommitResponse_EntryResponse::set_parent_id_string(const ::std::string& value) {
+ _set_bit(2);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ parent_id_string_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_parent_id_string(const char* value) {
+ _set_bit(2);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ parent_id_string_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_parent_id_string(const char* value, size_t size) {
+ _set_bit(2);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ parent_id_string_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* CommitResponse_EntryResponse::mutable_parent_id_string() {
+ _set_bit(2);
+ if (parent_id_string_ == &_default_parent_id_string_) {
+ parent_id_string_ = new ::std::string;
+ }
+ return parent_id_string_;
+}
+
+// optional int64 position_in_parent = 5;
+inline bool CommitResponse_EntryResponse::has_position_in_parent() const {
+ return _has_bit(3);
+}
+inline void CommitResponse_EntryResponse::clear_position_in_parent() {
+ position_in_parent_ = GOOGLE_LONGLONG(0);
+ _clear_bit(3);
+}
+inline ::google::protobuf::int64 CommitResponse_EntryResponse::position_in_parent() const {
+ return position_in_parent_;
+}
+inline void CommitResponse_EntryResponse::set_position_in_parent(::google::protobuf::int64 value) {
+ _set_bit(3);
+ position_in_parent_ = value;
+}
+
+// optional int64 version = 6;
+inline bool CommitResponse_EntryResponse::has_version() const {
+ return _has_bit(4);
+}
+inline void CommitResponse_EntryResponse::clear_version() {
+ version_ = GOOGLE_LONGLONG(0);
+ _clear_bit(4);
+}
+inline ::google::protobuf::int64 CommitResponse_EntryResponse::version() const {
+ return version_;
+}
+inline void CommitResponse_EntryResponse::set_version(::google::protobuf::int64 value) {
+ _set_bit(4);
+ version_ = value;
+}
+
+// optional string name = 7;
+inline bool CommitResponse_EntryResponse::has_name() const {
+ return _has_bit(5);
+}
+inline void CommitResponse_EntryResponse::clear_name() {
+ if (name_ != &_default_name_) {
+ name_->clear();
+ }
+ _clear_bit(5);
+}
+inline const ::std::string& CommitResponse_EntryResponse::name() const {
+ return *name_;
+}
+inline void CommitResponse_EntryResponse::set_name(const ::std::string& value) {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_name(const char* value) {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_name(const char* value, size_t size) {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* CommitResponse_EntryResponse::mutable_name() {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ return name_;
+}
+
+// optional string non_unique_name = 8;
+inline bool CommitResponse_EntryResponse::has_non_unique_name() const {
+ return _has_bit(6);
+}
+inline void CommitResponse_EntryResponse::clear_non_unique_name() {
+ if (non_unique_name_ != &_default_non_unique_name_) {
+ non_unique_name_->clear();
+ }
+ _clear_bit(6);
+}
+inline const ::std::string& CommitResponse_EntryResponse::non_unique_name() const {
+ return *non_unique_name_;
+}
+inline void CommitResponse_EntryResponse::set_non_unique_name(const ::std::string& value) {
+ _set_bit(6);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ non_unique_name_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_non_unique_name(const char* value) {
+ _set_bit(6);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ non_unique_name_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_non_unique_name(const char* value, size_t size) {
+ _set_bit(6);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ non_unique_name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* CommitResponse_EntryResponse::mutable_non_unique_name() {
+ _set_bit(6);
+ if (non_unique_name_ == &_default_non_unique_name_) {
+ non_unique_name_ = new ::std::string;
+ }
+ return non_unique_name_;
+}
+
+// optional string error_message = 9;
+inline bool CommitResponse_EntryResponse::has_error_message() const {
+ return _has_bit(7);
+}
+inline void CommitResponse_EntryResponse::clear_error_message() {
+ if (error_message_ != &_default_error_message_) {
+ error_message_->clear();
+ }
+ _clear_bit(7);
+}
+inline const ::std::string& CommitResponse_EntryResponse::error_message() const {
+ return *error_message_;
+}
+inline void CommitResponse_EntryResponse::set_error_message(const ::std::string& value) {
+ _set_bit(7);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_error_message(const char* value) {
+ _set_bit(7);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(value);
+}
+inline void CommitResponse_EntryResponse::set_error_message(const char* value, size_t size) {
+ _set_bit(7);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* CommitResponse_EntryResponse::mutable_error_message() {
+ _set_bit(7);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ return error_message_;
+}
+
+// -------------------------------------------------------------------
+
+// CommitResponse
+
+// repeated group EntryResponse = 1 {
+inline int CommitResponse::entryresponse_size() const {
+ return entryresponse_.size();
+}
+inline void CommitResponse::clear_entryresponse() {
+ entryresponse_.Clear();
+}
+inline const ::sync_pb::CommitResponse_EntryResponse& CommitResponse::entryresponse(int index) const {
+ return entryresponse_.Get(index);
+}
+inline ::sync_pb::CommitResponse_EntryResponse* CommitResponse::mutable_entryresponse(int index) {
+ return entryresponse_.Mutable(index);
+}
+inline ::sync_pb::CommitResponse_EntryResponse* CommitResponse::add_entryresponse() {
+ return entryresponse_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >&
+CommitResponse::entryresponse() const {
+ return entryresponse_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >*
+CommitResponse::mutable_entryresponse() {
+ return &entryresponse_;
+}
+
+// -------------------------------------------------------------------
+
+// GetUpdatesResponse
+
+// repeated .sync_pb.SyncEntity entries = 1;
+inline int GetUpdatesResponse::entries_size() const {
+ return entries_.size();
+}
+inline void GetUpdatesResponse::clear_entries() {
+ entries_.Clear();
+}
+inline const ::sync_pb::SyncEntity& GetUpdatesResponse::entries(int index) const {
+ return entries_.Get(index);
+}
+inline ::sync_pb::SyncEntity* GetUpdatesResponse::mutable_entries(int index) {
+ return entries_.Mutable(index);
+}
+inline ::sync_pb::SyncEntity* GetUpdatesResponse::add_entries() {
+ return entries_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
+GetUpdatesResponse::entries() const {
+ return entries_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
+GetUpdatesResponse::mutable_entries() {
+ return &entries_;
+}
+
+// optional int64 new_timestamp = 2;
+inline bool GetUpdatesResponse::has_new_timestamp() const {
+ return _has_bit(1);
+}
+inline void GetUpdatesResponse::clear_new_timestamp() {
+ new_timestamp_ = GOOGLE_LONGLONG(0);
+ _clear_bit(1);
+}
+inline ::google::protobuf::int64 GetUpdatesResponse::new_timestamp() const {
+ return new_timestamp_;
+}
+inline void GetUpdatesResponse::set_new_timestamp(::google::protobuf::int64 value) {
+ _set_bit(1);
+ new_timestamp_ = value;
+}
+
+// optional int64 deprecated_newest_timestamp = 3;
+inline bool GetUpdatesResponse::has_deprecated_newest_timestamp() const {
+ return _has_bit(2);
+}
+inline void GetUpdatesResponse::clear_deprecated_newest_timestamp() {
+ deprecated_newest_timestamp_ = GOOGLE_LONGLONG(0);
+ _clear_bit(2);
+}
+inline ::google::protobuf::int64 GetUpdatesResponse::deprecated_newest_timestamp() const {
+ return deprecated_newest_timestamp_;
+}
+inline void GetUpdatesResponse::set_deprecated_newest_timestamp(::google::protobuf::int64 value) {
+ _set_bit(2);
+ deprecated_newest_timestamp_ = value;
+}
+
+// optional int64 changes_remaining = 4;
+inline bool GetUpdatesResponse::has_changes_remaining() const {
+ return _has_bit(3);
+}
+inline void GetUpdatesResponse::clear_changes_remaining() {
+ changes_remaining_ = GOOGLE_LONGLONG(0);
+ _clear_bit(3);
+}
+inline ::google::protobuf::int64 GetUpdatesResponse::changes_remaining() const {
+ return changes_remaining_;
+}
+inline void GetUpdatesResponse::set_changes_remaining(::google::protobuf::int64 value) {
+ _set_bit(3);
+ changes_remaining_ = value;
+}
+
+// repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
+inline int GetUpdatesResponse::new_progress_marker_size() const {
+ return new_progress_marker_.size();
+}
+inline void GetUpdatesResponse::clear_new_progress_marker() {
+ new_progress_marker_.Clear();
+}
+inline const ::sync_pb::DataTypeProgressMarker& GetUpdatesResponse::new_progress_marker(int index) const {
+ return new_progress_marker_.Get(index);
+}
+inline ::sync_pb::DataTypeProgressMarker* GetUpdatesResponse::mutable_new_progress_marker(int index) {
+ return new_progress_marker_.Mutable(index);
+}
+inline ::sync_pb::DataTypeProgressMarker* GetUpdatesResponse::add_new_progress_marker() {
+ return new_progress_marker_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
+GetUpdatesResponse::new_progress_marker() const {
+ return new_progress_marker_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
+GetUpdatesResponse::mutable_new_progress_marker() {
+ return &new_progress_marker_;
+}
+
+// -------------------------------------------------------------------
+
+// UserIdentification
+
+// required string email = 1;
+inline bool UserIdentification::has_email() const {
+ return _has_bit(0);
+}
+inline void UserIdentification::clear_email() {
+ if (email_ != &_default_email_) {
+ email_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& UserIdentification::email() const {
+ return *email_;
+}
+inline void UserIdentification::set_email(const ::std::string& value) {
+ _set_bit(0);
+ if (email_ == &_default_email_) {
+ email_ = new ::std::string;
+ }
+ email_->assign(value);
+}
+inline void UserIdentification::set_email(const char* value) {
+ _set_bit(0);
+ if (email_ == &_default_email_) {
+ email_ = new ::std::string;
+ }
+ email_->assign(value);
+}
+inline void UserIdentification::set_email(const char* value, size_t size) {
+ _set_bit(0);
+ if (email_ == &_default_email_) {
+ email_ = new ::std::string;
+ }
+ email_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* UserIdentification::mutable_email() {
+ _set_bit(0);
+ if (email_ == &_default_email_) {
+ email_ = new ::std::string;
+ }
+ return email_;
+}
+
+// optional string display_name = 2;
+inline bool UserIdentification::has_display_name() const {
+ return _has_bit(1);
+}
+inline void UserIdentification::clear_display_name() {
+ if (display_name_ != &_default_display_name_) {
+ display_name_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& UserIdentification::display_name() const {
+ return *display_name_;
+}
+inline void UserIdentification::set_display_name(const ::std::string& value) {
+ _set_bit(1);
+ if (display_name_ == &_default_display_name_) {
+ display_name_ = new ::std::string;
+ }
+ display_name_->assign(value);
+}
+inline void UserIdentification::set_display_name(const char* value) {
+ _set_bit(1);
+ if (display_name_ == &_default_display_name_) {
+ display_name_ = new ::std::string;
+ }
+ display_name_->assign(value);
+}
+inline void UserIdentification::set_display_name(const char* value, size_t size) {
+ _set_bit(1);
+ if (display_name_ == &_default_display_name_) {
+ display_name_ = new ::std::string;
+ }
+ display_name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* UserIdentification::mutable_display_name() {
+ _set_bit(1);
+ if (display_name_ == &_default_display_name_) {
+ display_name_ = new ::std::string;
+ }
+ return display_name_;
+}
+
+// optional string obfuscated_id = 3;
+inline bool UserIdentification::has_obfuscated_id() const {
+ return _has_bit(2);
+}
+inline void UserIdentification::clear_obfuscated_id() {
+ if (obfuscated_id_ != &_default_obfuscated_id_) {
+ obfuscated_id_->clear();
+ }
+ _clear_bit(2);
+}
+inline const ::std::string& UserIdentification::obfuscated_id() const {
+ return *obfuscated_id_;
+}
+inline void UserIdentification::set_obfuscated_id(const ::std::string& value) {
+ _set_bit(2);
+ if (obfuscated_id_ == &_default_obfuscated_id_) {
+ obfuscated_id_ = new ::std::string;
+ }
+ obfuscated_id_->assign(value);
+}
+inline void UserIdentification::set_obfuscated_id(const char* value) {
+ _set_bit(2);
+ if (obfuscated_id_ == &_default_obfuscated_id_) {
+ obfuscated_id_ = new ::std::string;
+ }
+ obfuscated_id_->assign(value);
+}
+inline void UserIdentification::set_obfuscated_id(const char* value, size_t size) {
+ _set_bit(2);
+ if (obfuscated_id_ == &_default_obfuscated_id_) {
+ obfuscated_id_ = new ::std::string;
+ }
+ obfuscated_id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* UserIdentification::mutable_obfuscated_id() {
+ _set_bit(2);
+ if (obfuscated_id_ == &_default_obfuscated_id_) {
+ obfuscated_id_ = new ::std::string;
+ }
+ return obfuscated_id_;
+}
+
+// -------------------------------------------------------------------
+
+// AuthenticateResponse
+
+// optional .sync_pb.UserIdentification user = 1;
+inline bool AuthenticateResponse::has_user() const {
+ return _has_bit(0);
+}
+inline void AuthenticateResponse::clear_user() {
+ if (user_ != NULL) user_->::sync_pb::UserIdentification::Clear();
+ _clear_bit(0);
+}
+inline const ::sync_pb::UserIdentification& AuthenticateResponse::user() const {
+ return user_ != NULL ? *user_ : *default_instance_->user_;
+}
+inline ::sync_pb::UserIdentification* AuthenticateResponse::mutable_user() {
+ _set_bit(0);
+ if (user_ == NULL) user_ = new ::sync_pb::UserIdentification;
+ return user_;
+}
+
+// -------------------------------------------------------------------
+
+// ThrottleParameters
+
+// required int32 min_measure_payload_size = 1;
+inline bool ThrottleParameters::has_min_measure_payload_size() const {
+ return _has_bit(0);
+}
+inline void ThrottleParameters::clear_min_measure_payload_size() {
+ min_measure_payload_size_ = 0;
+ _clear_bit(0);
+}
+inline ::google::protobuf::int32 ThrottleParameters::min_measure_payload_size() const {
+ return min_measure_payload_size_;
+}
+inline void ThrottleParameters::set_min_measure_payload_size(::google::protobuf::int32 value) {
+ _set_bit(0);
+ min_measure_payload_size_ = value;
+}
+
+// required double target_utilization = 2;
+inline bool ThrottleParameters::has_target_utilization() const {
+ return _has_bit(1);
+}
+inline void ThrottleParameters::clear_target_utilization() {
+ target_utilization_ = 0;
+ _clear_bit(1);
+}
+inline double ThrottleParameters::target_utilization() const {
+ return target_utilization_;
+}
+inline void ThrottleParameters::set_target_utilization(double value) {
+ _set_bit(1);
+ target_utilization_ = value;
+}
+
+// required double measure_interval_max = 3;
+inline bool ThrottleParameters::has_measure_interval_max() const {
+ return _has_bit(2);
+}
+inline void ThrottleParameters::clear_measure_interval_max() {
+ measure_interval_max_ = 0;
+ _clear_bit(2);
+}
+inline double ThrottleParameters::measure_interval_max() const {
+ return measure_interval_max_;
+}
+inline void ThrottleParameters::set_measure_interval_max(double value) {
+ _set_bit(2);
+ measure_interval_max_ = value;
+}
+
+// required double measure_interval_min = 4;
+inline bool ThrottleParameters::has_measure_interval_min() const {
+ return _has_bit(3);
+}
+inline void ThrottleParameters::clear_measure_interval_min() {
+ measure_interval_min_ = 0;
+ _clear_bit(3);
+}
+inline double ThrottleParameters::measure_interval_min() const {
+ return measure_interval_min_;
+}
+inline void ThrottleParameters::set_measure_interval_min(double value) {
+ _set_bit(3);
+ measure_interval_min_ = value;
+}
+
+// required double observation_window = 5;
+inline bool ThrottleParameters::has_observation_window() const {
+ return _has_bit(4);
+}
+inline void ThrottleParameters::clear_observation_window() {
+ observation_window_ = 0;
+ _clear_bit(4);
+}
+inline double ThrottleParameters::observation_window() const {
+ return observation_window_;
+}
+inline void ThrottleParameters::set_observation_window(double value) {
+ _set_bit(4);
+ observation_window_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// ClientCommand
+
+// optional int32 set_sync_poll_interval = 1;
+inline bool ClientCommand::has_set_sync_poll_interval() const {
+ return _has_bit(0);
+}
+inline void ClientCommand::clear_set_sync_poll_interval() {
+ set_sync_poll_interval_ = 0;
+ _clear_bit(0);
+}
+inline ::google::protobuf::int32 ClientCommand::set_sync_poll_interval() const {
+ return set_sync_poll_interval_;
+}
+inline void ClientCommand::set_set_sync_poll_interval(::google::protobuf::int32 value) {
+ _set_bit(0);
+ set_sync_poll_interval_ = value;
+}
+
+// optional int32 set_sync_long_poll_interval = 2;
+inline bool ClientCommand::has_set_sync_long_poll_interval() const {
+ return _has_bit(1);
+}
+inline void ClientCommand::clear_set_sync_long_poll_interval() {
+ set_sync_long_poll_interval_ = 0;
+ _clear_bit(1);
+}
+inline ::google::protobuf::int32 ClientCommand::set_sync_long_poll_interval() const {
+ return set_sync_long_poll_interval_;
+}
+inline void ClientCommand::set_set_sync_long_poll_interval(::google::protobuf::int32 value) {
+ _set_bit(1);
+ set_sync_long_poll_interval_ = value;
+}
+
+// optional int32 max_commit_batch_size = 3;
+inline bool ClientCommand::has_max_commit_batch_size() const {
+ return _has_bit(2);
+}
+inline void ClientCommand::clear_max_commit_batch_size() {
+ max_commit_batch_size_ = 0;
+ _clear_bit(2);
+}
+inline ::google::protobuf::int32 ClientCommand::max_commit_batch_size() const {
+ return max_commit_batch_size_;
+}
+inline void ClientCommand::set_max_commit_batch_size(::google::protobuf::int32 value) {
+ _set_bit(2);
+ max_commit_batch_size_ = value;
+}
+
+// -------------------------------------------------------------------
+
+// ClientToServerResponse
+
+// optional .sync_pb.CommitResponse commit = 1;
+inline bool ClientToServerResponse::has_commit() const {
+ return _has_bit(0);
+}
+inline void ClientToServerResponse::clear_commit() {
+ if (commit_ != NULL) commit_->::sync_pb::CommitResponse::Clear();
+ _clear_bit(0);
+}
+inline const ::sync_pb::CommitResponse& ClientToServerResponse::commit() const {
+ return commit_ != NULL ? *commit_ : *default_instance_->commit_;
+}
+inline ::sync_pb::CommitResponse* ClientToServerResponse::mutable_commit() {
+ _set_bit(0);
+ if (commit_ == NULL) commit_ = new ::sync_pb::CommitResponse;
+ return commit_;
+}
+
+// optional .sync_pb.GetUpdatesResponse get_updates = 2;
+inline bool ClientToServerResponse::has_get_updates() const {
+ return _has_bit(1);
+}
+inline void ClientToServerResponse::clear_get_updates() {
+ if (get_updates_ != NULL) get_updates_->::sync_pb::GetUpdatesResponse::Clear();
+ _clear_bit(1);
+}
+inline const ::sync_pb::GetUpdatesResponse& ClientToServerResponse::get_updates() const {
+ return get_updates_ != NULL ? *get_updates_ : *default_instance_->get_updates_;
+}
+inline ::sync_pb::GetUpdatesResponse* ClientToServerResponse::mutable_get_updates() {
+ _set_bit(1);
+ if (get_updates_ == NULL) get_updates_ = new ::sync_pb::GetUpdatesResponse;
+ return get_updates_;
+}
+
+// optional .sync_pb.AuthenticateResponse authenticate = 3;
+inline bool ClientToServerResponse::has_authenticate() const {
+ return _has_bit(2);
+}
+inline void ClientToServerResponse::clear_authenticate() {
+ if (authenticate_ != NULL) authenticate_->::sync_pb::AuthenticateResponse::Clear();
+ _clear_bit(2);
+}
+inline const ::sync_pb::AuthenticateResponse& ClientToServerResponse::authenticate() const {
+ return authenticate_ != NULL ? *authenticate_ : *default_instance_->authenticate_;
+}
+inline ::sync_pb::AuthenticateResponse* ClientToServerResponse::mutable_authenticate() {
+ _set_bit(2);
+ if (authenticate_ == NULL) authenticate_ = new ::sync_pb::AuthenticateResponse;
+ return authenticate_;
+}
+
+// optional .sync_pb.ClearUserDataResponse clear_user_data = 9;
+inline bool ClientToServerResponse::has_clear_user_data() const {
+ return _has_bit(3);
+}
+inline void ClientToServerResponse::clear_clear_user_data() {
+ if (clear_user_data_ != NULL) clear_user_data_->::sync_pb::ClearUserDataResponse::Clear();
+ _clear_bit(3);
+}
+inline const ::sync_pb::ClearUserDataResponse& ClientToServerResponse::clear_user_data() const {
+ return clear_user_data_ != NULL ? *clear_user_data_ : *default_instance_->clear_user_data_;
+}
+inline ::sync_pb::ClearUserDataResponse* ClientToServerResponse::mutable_clear_user_data() {
+ _set_bit(3);
+ if (clear_user_data_ == NULL) clear_user_data_ = new ::sync_pb::ClearUserDataResponse;
+ return clear_user_data_;
+}
+
+// optional .sync_pb.ClientToServerResponse.ErrorType error_code = 4 [default = SUCCESS];
+inline bool ClientToServerResponse::has_error_code() const {
+ return _has_bit(4);
+}
+inline void ClientToServerResponse::clear_error_code() {
+ error_code_ = 0;
+ _clear_bit(4);
+}
+inline ::sync_pb::ClientToServerResponse_ErrorType ClientToServerResponse::error_code() const {
+ return static_cast< ::sync_pb::ClientToServerResponse_ErrorType >(error_code_);
+}
+inline void ClientToServerResponse::set_error_code(::sync_pb::ClientToServerResponse_ErrorType value) {
+ GOOGLE_DCHECK(::sync_pb::ClientToServerResponse_ErrorType_IsValid(value));
+ _set_bit(4);
+ error_code_ = value;
+}
+
+// optional string error_message = 5;
+inline bool ClientToServerResponse::has_error_message() const {
+ return _has_bit(5);
+}
+inline void ClientToServerResponse::clear_error_message() {
+ if (error_message_ != &_default_error_message_) {
+ error_message_->clear();
+ }
+ _clear_bit(5);
+}
+inline const ::std::string& ClientToServerResponse::error_message() const {
+ return *error_message_;
+}
+inline void ClientToServerResponse::set_error_message(const ::std::string& value) {
+ _set_bit(5);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(value);
+}
+inline void ClientToServerResponse::set_error_message(const char* value) {
+ _set_bit(5);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(value);
+}
+inline void ClientToServerResponse::set_error_message(const char* value, size_t size) {
+ _set_bit(5);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ClientToServerResponse::mutable_error_message() {
+ _set_bit(5);
+ if (error_message_ == &_default_error_message_) {
+ error_message_ = new ::std::string;
+ }
+ return error_message_;
+}
+
+// optional string store_birthday = 6;
+inline bool ClientToServerResponse::has_store_birthday() const {
+ return _has_bit(6);
+}
+inline void ClientToServerResponse::clear_store_birthday() {
+ if (store_birthday_ != &_default_store_birthday_) {
+ store_birthday_->clear();
+ }
+ _clear_bit(6);
+}
+inline const ::std::string& ClientToServerResponse::store_birthday() const {
+ return *store_birthday_;
+}
+inline void ClientToServerResponse::set_store_birthday(const ::std::string& value) {
+ _set_bit(6);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ store_birthday_->assign(value);
+}
+inline void ClientToServerResponse::set_store_birthday(const char* value) {
+ _set_bit(6);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ store_birthday_->assign(value);
+}
+inline void ClientToServerResponse::set_store_birthday(const char* value, size_t size) {
+ _set_bit(6);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ store_birthday_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ClientToServerResponse::mutable_store_birthday() {
+ _set_bit(6);
+ if (store_birthday_ == &_default_store_birthday_) {
+ store_birthday_ = new ::std::string;
+ }
+ return store_birthday_;
+}
+
+// optional .sync_pb.ClientCommand client_command = 7;
+inline bool ClientToServerResponse::has_client_command() const {
+ return _has_bit(7);
+}
+inline void ClientToServerResponse::clear_client_command() {
+ if (client_command_ != NULL) client_command_->::sync_pb::ClientCommand::Clear();
+ _clear_bit(7);
+}
+inline const ::sync_pb::ClientCommand& ClientToServerResponse::client_command() const {
+ return client_command_ != NULL ? *client_command_ : *default_instance_->client_command_;
+}
+inline ::sync_pb::ClientCommand* ClientToServerResponse::mutable_client_command() {
+ _set_bit(7);
+ if (client_command_ == NULL) client_command_ = new ::sync_pb::ClientCommand;
+ return client_command_;
+}
+
+// optional .sync_pb.ProfilingData profiling_data = 8;
+inline bool ClientToServerResponse::has_profiling_data() const {
+ return _has_bit(8);
+}
+inline void ClientToServerResponse::clear_profiling_data() {
+ if (profiling_data_ != NULL) profiling_data_->::sync_pb::ProfilingData::Clear();
+ _clear_bit(8);
+}
+inline const ::sync_pb::ProfilingData& ClientToServerResponse::profiling_data() const {
+ return profiling_data_ != NULL ? *profiling_data_ : *default_instance_->profiling_data_;
+}
+inline ::sync_pb::ProfilingData* ClientToServerResponse::mutable_profiling_data() {
+ _set_bit(8);
+ if (profiling_data_ == NULL) profiling_data_ = new ::sync_pb::ProfilingData;
+ return profiling_data_;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace sync_pb
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_sync_2eproto__INCLUDED

Powered by Google App Engine
This is Rietveld 408576698