13102 lines
524 KiB
C++
Executable File
13102 lines
524 KiB
C++
Executable File
// 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 < 3003000
|
|
#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 3003002 < 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/io/coded_stream.h>
|
|
#include <google/protobuf/arena.h>
|
|
#include <google/protobuf/arenastring.h>
|
|
#include <google/protobuf/generated_message_table_driven.h>
|
|
#include <google/protobuf/generated_message_util.h>
|
|
#include <google/protobuf/metadata_lite.h>
|
|
#include <google/protobuf/message_lite.h>
|
|
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
|
#include <google/protobuf/extension_set.h> // IWYU pragma: export
|
|
#include <google/protobuf/generated_enum_util.h>
|
|
#include "app_list_specifics.pb.h"
|
|
#include "app_notification_specifics.pb.h"
|
|
#include "app_setting_specifics.pb.h"
|
|
#include "app_specifics.pb.h"
|
|
#include "arc_package_specifics.pb.h"
|
|
#include "article_specifics.pb.h"
|
|
#include "autofill_specifics.pb.h"
|
|
#include "bookmark_specifics.pb.h"
|
|
#include "client_commands.pb.h"
|
|
#include "client_debug_info.pb.h"
|
|
#include "device_info_specifics.pb.h"
|
|
#include "dictionary_specifics.pb.h"
|
|
#include "encryption.pb.h"
|
|
#include "experiments_specifics.pb.h"
|
|
#include "extension_setting_specifics.pb.h"
|
|
#include "extension_specifics.pb.h"
|
|
#include "favicon_image_specifics.pb.h"
|
|
#include "favicon_tracking_specifics.pb.h"
|
|
#include "get_updates_caller_info.pb.h"
|
|
#include "history_delete_directive_specifics.pb.h"
|
|
#include "managed_user_setting_specifics.pb.h"
|
|
#include "managed_user_shared_setting_specifics.pb.h"
|
|
#include "managed_user_specifics.pb.h"
|
|
#include "managed_user_whitelist_specifics.pb.h"
|
|
#include "mountain_share_specifics.pb.h"
|
|
#include "nigori_specifics.pb.h"
|
|
#include "password_specifics.pb.h"
|
|
#include "preference_specifics.pb.h"
|
|
#include "printer_specifics.pb.h"
|
|
#include "priority_preference_specifics.pb.h"
|
|
#include "reading_list_specifics.pb.h"
|
|
#include "search_engine_specifics.pb.h"
|
|
#include "session_specifics.pb.h"
|
|
#include "sync_enums.pb.h"
|
|
#include "synced_notification_app_info_specifics.pb.h"
|
|
#include "synced_notification_specifics.pb.h"
|
|
#include "theme_specifics.pb.h"
|
|
#include "typed_url_specifics.pb.h"
|
|
#include "unique_position.pb.h"
|
|
#include "user_consent_specifics.pb.h"
|
|
#include "user_event_specifics.pb.h"
|
|
#include "wifi_credential_specifics.pb.h"
|
|
// @@protoc_insertion_point(includes)
|
|
namespace sync_pb {
|
|
class AuthenticateMessage;
|
|
class AuthenticateMessageDefaultTypeInternal;
|
|
extern AuthenticateMessageDefaultTypeInternal _AuthenticateMessage_default_instance_;
|
|
class AuthenticateResponse;
|
|
class AuthenticateResponseDefaultTypeInternal;
|
|
extern AuthenticateResponseDefaultTypeInternal _AuthenticateResponse_default_instance_;
|
|
class ChipBag;
|
|
class ChipBagDefaultTypeInternal;
|
|
extern ChipBagDefaultTypeInternal _ChipBag_default_instance_;
|
|
class ChromiumExtensionsActivity;
|
|
class ChromiumExtensionsActivityDefaultTypeInternal;
|
|
extern ChromiumExtensionsActivityDefaultTypeInternal _ChromiumExtensionsActivity_default_instance_;
|
|
class ClearServerDataMessage;
|
|
class ClearServerDataMessageDefaultTypeInternal;
|
|
extern ClearServerDataMessageDefaultTypeInternal _ClearServerDataMessage_default_instance_;
|
|
class ClearServerDataResponse;
|
|
class ClearServerDataResponseDefaultTypeInternal;
|
|
extern ClearServerDataResponseDefaultTypeInternal _ClearServerDataResponse_default_instance_;
|
|
class ClientConfigParams;
|
|
class ClientConfigParamsDefaultTypeInternal;
|
|
extern ClientConfigParamsDefaultTypeInternal _ClientConfigParams_default_instance_;
|
|
class ClientStatus;
|
|
class ClientStatusDefaultTypeInternal;
|
|
extern ClientStatusDefaultTypeInternal _ClientStatus_default_instance_;
|
|
class ClientToServerMessage;
|
|
class ClientToServerMessageDefaultTypeInternal;
|
|
extern ClientToServerMessageDefaultTypeInternal _ClientToServerMessage_default_instance_;
|
|
class ClientToServerResponse;
|
|
class ClientToServerResponseDefaultTypeInternal;
|
|
extern ClientToServerResponseDefaultTypeInternal _ClientToServerResponse_default_instance_;
|
|
class ClientToServerResponse_Error;
|
|
class ClientToServerResponse_ErrorDefaultTypeInternal;
|
|
extern ClientToServerResponse_ErrorDefaultTypeInternal _ClientToServerResponse_Error_default_instance_;
|
|
class CommitMessage;
|
|
class CommitMessageDefaultTypeInternal;
|
|
extern CommitMessageDefaultTypeInternal _CommitMessage_default_instance_;
|
|
class CommitResponse;
|
|
class CommitResponseDefaultTypeInternal;
|
|
extern CommitResponseDefaultTypeInternal _CommitResponse_default_instance_;
|
|
class CommitResponse_EntryResponse;
|
|
class CommitResponse_EntryResponseDefaultTypeInternal;
|
|
extern CommitResponse_EntryResponseDefaultTypeInternal _CommitResponse_EntryResponse_default_instance_;
|
|
class DataTypeContext;
|
|
class DataTypeContextDefaultTypeInternal;
|
|
extern DataTypeContextDefaultTypeInternal _DataTypeContext_default_instance_;
|
|
class DataTypeProgressMarker;
|
|
class DataTypeProgressMarkerDefaultTypeInternal;
|
|
extern DataTypeProgressMarkerDefaultTypeInternal _DataTypeProgressMarker_default_instance_;
|
|
class EntitySpecifics;
|
|
class EntitySpecificsDefaultTypeInternal;
|
|
extern EntitySpecificsDefaultTypeInternal _EntitySpecifics_default_instance_;
|
|
class EventRequest;
|
|
class EventRequestDefaultTypeInternal;
|
|
extern EventRequestDefaultTypeInternal _EventRequest_default_instance_;
|
|
class EventResponse;
|
|
class EventResponseDefaultTypeInternal;
|
|
extern EventResponseDefaultTypeInternal _EventResponse_default_instance_;
|
|
class GarbageCollectionDirective;
|
|
class GarbageCollectionDirectiveDefaultTypeInternal;
|
|
extern GarbageCollectionDirectiveDefaultTypeInternal _GarbageCollectionDirective_default_instance_;
|
|
class GetCrashInfoRequest;
|
|
class GetCrashInfoRequestDefaultTypeInternal;
|
|
extern GetCrashInfoRequestDefaultTypeInternal _GetCrashInfoRequest_default_instance_;
|
|
class GetCrashInfoResponse;
|
|
class GetCrashInfoResponseDefaultTypeInternal;
|
|
extern GetCrashInfoResponseDefaultTypeInternal _GetCrashInfoResponse_default_instance_;
|
|
class GetUpdateTriggers;
|
|
class GetUpdateTriggersDefaultTypeInternal;
|
|
extern GetUpdateTriggersDefaultTypeInternal _GetUpdateTriggers_default_instance_;
|
|
class GetUpdatesMessage;
|
|
class GetUpdatesMessageDefaultTypeInternal;
|
|
extern GetUpdatesMessageDefaultTypeInternal _GetUpdatesMessage_default_instance_;
|
|
class GetUpdatesMetadataResponse;
|
|
class GetUpdatesMetadataResponseDefaultTypeInternal;
|
|
extern GetUpdatesMetadataResponseDefaultTypeInternal _GetUpdatesMetadataResponse_default_instance_;
|
|
class GetUpdatesResponse;
|
|
class GetUpdatesResponseDefaultTypeInternal;
|
|
extern GetUpdatesResponseDefaultTypeInternal _GetUpdatesResponse_default_instance_;
|
|
class GetUpdatesStreamingResponse;
|
|
class GetUpdatesStreamingResponseDefaultTypeInternal;
|
|
extern GetUpdatesStreamingResponseDefaultTypeInternal _GetUpdatesStreamingResponse_default_instance_;
|
|
class ProfilingData;
|
|
class ProfilingDataDefaultTypeInternal;
|
|
extern ProfilingDataDefaultTypeInternal _ProfilingData_default_instance_;
|
|
class SyncDisabledEvent;
|
|
class SyncDisabledEventDefaultTypeInternal;
|
|
extern SyncDisabledEventDefaultTypeInternal _SyncDisabledEvent_default_instance_;
|
|
class SyncEntity;
|
|
class SyncEntityDefaultTypeInternal;
|
|
extern SyncEntityDefaultTypeInternal _SyncEntity_default_instance_;
|
|
class SyncEntity_BookmarkData;
|
|
class SyncEntity_BookmarkDataDefaultTypeInternal;
|
|
extern SyncEntity_BookmarkDataDefaultTypeInternal _SyncEntity_BookmarkData_default_instance_;
|
|
class UserIdentification;
|
|
class UserIdentificationDefaultTypeInternal;
|
|
extern UserIdentificationDefaultTypeInternal _UserIdentification_default_instance_;
|
|
} // namespace sync_pb
|
|
|
|
namespace sync_pb {
|
|
|
|
namespace protobuf_sync_2eproto {
|
|
// Internal implementation detail -- do not call these.
|
|
struct TableStruct {
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
static const ::google::protobuf::internal::ParseTable schema[];
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
static void InitDefaultsImpl();
|
|
static void Shutdown();
|
|
};
|
|
void AddDescriptors();
|
|
void InitDefaults();
|
|
} // namespace protobuf_sync_2eproto
|
|
|
|
enum GarbageCollectionDirective_Type {
|
|
GarbageCollectionDirective_Type_UNKNOWN = 0,
|
|
GarbageCollectionDirective_Type_VERSION_WATERMARK = 1,
|
|
GarbageCollectionDirective_Type_AGE_WATERMARK = 2,
|
|
GarbageCollectionDirective_Type_MAX_ITEM_COUNT = 3
|
|
};
|
|
bool GarbageCollectionDirective_Type_IsValid(int value);
|
|
const GarbageCollectionDirective_Type GarbageCollectionDirective_Type_Type_MIN = GarbageCollectionDirective_Type_UNKNOWN;
|
|
const GarbageCollectionDirective_Type GarbageCollectionDirective_Type_Type_MAX = GarbageCollectionDirective_Type_MAX_ITEM_COUNT;
|
|
const int GarbageCollectionDirective_Type_Type_ARRAYSIZE = GarbageCollectionDirective_Type_Type_MAX + 1;
|
|
|
|
enum ClientToServerMessage_Contents {
|
|
ClientToServerMessage_Contents_COMMIT = 1,
|
|
ClientToServerMessage_Contents_GET_UPDATES = 2,
|
|
ClientToServerMessage_Contents_AUTHENTICATE = 3,
|
|
ClientToServerMessage_Contents_DEPRECATED_4 = 4,
|
|
ClientToServerMessage_Contents_CLEAR_SERVER_DATA = 5
|
|
};
|
|
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_SERVER_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;
|
|
|
|
// ===================================================================
|
|
|
|
class ProfilingData : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ProfilingData) */ {
|
|
public:
|
|
ProfilingData();
|
|
virtual ~ProfilingData();
|
|
|
|
ProfilingData(const ProfilingData& from);
|
|
|
|
inline ProfilingData& operator=(const ProfilingData& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ProfilingData& default_instance();
|
|
|
|
static inline const ProfilingData* internal_default_instance() {
|
|
return reinterpret_cast<const ProfilingData*>(
|
|
&_ProfilingData_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
0;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ProfilingData* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProfilingData* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ProfilingData* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ProfilingData& from);
|
|
void MergeFrom(const ProfilingData& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ProfilingData* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional int64 meta_data_write_time = 1;
|
|
bool has_meta_data_write_time() const;
|
|
void clear_meta_data_write_time();
|
|
static const int kMetaDataWriteTimeFieldNumber = 1;
|
|
::google::protobuf::int64 meta_data_write_time() const;
|
|
void set_meta_data_write_time(::google::protobuf::int64 value);
|
|
|
|
// optional int64 file_data_write_time = 2;
|
|
bool has_file_data_write_time() const;
|
|
void clear_file_data_write_time();
|
|
static const int kFileDataWriteTimeFieldNumber = 2;
|
|
::google::protobuf::int64 file_data_write_time() const;
|
|
void set_file_data_write_time(::google::protobuf::int64 value);
|
|
|
|
// optional int64 user_lookup_time = 3;
|
|
bool has_user_lookup_time() const;
|
|
void clear_user_lookup_time();
|
|
static const int kUserLookupTimeFieldNumber = 3;
|
|
::google::protobuf::int64 user_lookup_time() const;
|
|
void set_user_lookup_time(::google::protobuf::int64 value);
|
|
|
|
// optional int64 meta_data_read_time = 4;
|
|
bool has_meta_data_read_time() const;
|
|
void clear_meta_data_read_time();
|
|
static const int kMetaDataReadTimeFieldNumber = 4;
|
|
::google::protobuf::int64 meta_data_read_time() const;
|
|
void set_meta_data_read_time(::google::protobuf::int64 value);
|
|
|
|
// optional int64 file_data_read_time = 5;
|
|
bool has_file_data_read_time() const;
|
|
void clear_file_data_read_time();
|
|
static const int kFileDataReadTimeFieldNumber = 5;
|
|
::google::protobuf::int64 file_data_read_time() const;
|
|
void set_file_data_read_time(::google::protobuf::int64 value);
|
|
|
|
// optional int64 total_request_time = 6;
|
|
bool has_total_request_time() const;
|
|
void clear_total_request_time();
|
|
static const int kTotalRequestTimeFieldNumber = 6;
|
|
::google::protobuf::int64 total_request_time() const;
|
|
void set_total_request_time(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ProfilingData)
|
|
private:
|
|
void set_has_meta_data_write_time();
|
|
void clear_has_meta_data_write_time();
|
|
void set_has_file_data_write_time();
|
|
void clear_has_file_data_write_time();
|
|
void set_has_user_lookup_time();
|
|
void clear_has_user_lookup_time();
|
|
void set_has_meta_data_read_time();
|
|
void clear_has_meta_data_read_time();
|
|
void set_has_file_data_read_time();
|
|
void clear_has_file_data_read_time();
|
|
void set_has_total_request_time();
|
|
void clear_has_total_request_time();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
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 struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class EntitySpecifics : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.EntitySpecifics) */ {
|
|
public:
|
|
EntitySpecifics();
|
|
virtual ~EntitySpecifics();
|
|
|
|
EntitySpecifics(const EntitySpecifics& from);
|
|
|
|
inline EntitySpecifics& operator=(const EntitySpecifics& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const EntitySpecifics& default_instance();
|
|
|
|
static inline const EntitySpecifics* internal_default_instance() {
|
|
return reinterpret_cast<const EntitySpecifics*>(
|
|
&_EntitySpecifics_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
1;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(EntitySpecifics* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline EntitySpecifics* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
EntitySpecifics* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const EntitySpecifics& from);
|
|
void MergeFrom(const EntitySpecifics& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(EntitySpecifics* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional .sync_pb.EncryptedData encrypted = 1;
|
|
bool has_encrypted() const;
|
|
void clear_encrypted();
|
|
static const int kEncryptedFieldNumber = 1;
|
|
const ::sync_pb::EncryptedData& encrypted() const;
|
|
::sync_pb::EncryptedData* mutable_encrypted();
|
|
::sync_pb::EncryptedData* release_encrypted();
|
|
void set_allocated_encrypted(::sync_pb::EncryptedData* encrypted);
|
|
|
|
// optional .sync_pb.AutofillSpecifics autofill = 31729;
|
|
bool has_autofill() const;
|
|
void clear_autofill();
|
|
static const int kAutofillFieldNumber = 31729;
|
|
const ::sync_pb::AutofillSpecifics& autofill() const;
|
|
::sync_pb::AutofillSpecifics* mutable_autofill();
|
|
::sync_pb::AutofillSpecifics* release_autofill();
|
|
void set_allocated_autofill(::sync_pb::AutofillSpecifics* autofill);
|
|
|
|
// optional .sync_pb.BookmarkSpecifics bookmark = 32904;
|
|
bool has_bookmark() const;
|
|
void clear_bookmark();
|
|
static const int kBookmarkFieldNumber = 32904;
|
|
const ::sync_pb::BookmarkSpecifics& bookmark() const;
|
|
::sync_pb::BookmarkSpecifics* mutable_bookmark();
|
|
::sync_pb::BookmarkSpecifics* release_bookmark();
|
|
void set_allocated_bookmark(::sync_pb::BookmarkSpecifics* bookmark);
|
|
|
|
// optional .sync_pb.PreferenceSpecifics preference = 37702;
|
|
bool has_preference() const;
|
|
void clear_preference();
|
|
static const int kPreferenceFieldNumber = 37702;
|
|
const ::sync_pb::PreferenceSpecifics& preference() const;
|
|
::sync_pb::PreferenceSpecifics* mutable_preference();
|
|
::sync_pb::PreferenceSpecifics* release_preference();
|
|
void set_allocated_preference(::sync_pb::PreferenceSpecifics* preference);
|
|
|
|
// optional .sync_pb.TypedUrlSpecifics typed_url = 40781;
|
|
bool has_typed_url() const;
|
|
void clear_typed_url();
|
|
static const int kTypedUrlFieldNumber = 40781;
|
|
const ::sync_pb::TypedUrlSpecifics& typed_url() const;
|
|
::sync_pb::TypedUrlSpecifics* mutable_typed_url();
|
|
::sync_pb::TypedUrlSpecifics* release_typed_url();
|
|
void set_allocated_typed_url(::sync_pb::TypedUrlSpecifics* typed_url);
|
|
|
|
// optional .sync_pb.ThemeSpecifics theme = 41210;
|
|
bool has_theme() const;
|
|
void clear_theme();
|
|
static const int kThemeFieldNumber = 41210;
|
|
const ::sync_pb::ThemeSpecifics& theme() const;
|
|
::sync_pb::ThemeSpecifics* mutable_theme();
|
|
::sync_pb::ThemeSpecifics* release_theme();
|
|
void set_allocated_theme(::sync_pb::ThemeSpecifics* theme);
|
|
|
|
// optional .sync_pb.AppNotification app_notification = 45184;
|
|
bool has_app_notification() const;
|
|
void clear_app_notification();
|
|
static const int kAppNotificationFieldNumber = 45184;
|
|
const ::sync_pb::AppNotification& app_notification() const;
|
|
::sync_pb::AppNotification* mutable_app_notification();
|
|
::sync_pb::AppNotification* release_app_notification();
|
|
void set_allocated_app_notification(::sync_pb::AppNotification* app_notification);
|
|
|
|
// optional .sync_pb.PasswordSpecifics password = 45873;
|
|
bool has_password() const;
|
|
void clear_password();
|
|
static const int kPasswordFieldNumber = 45873;
|
|
const ::sync_pb::PasswordSpecifics& password() const;
|
|
::sync_pb::PasswordSpecifics* mutable_password();
|
|
::sync_pb::PasswordSpecifics* release_password();
|
|
void set_allocated_password(::sync_pb::PasswordSpecifics* password);
|
|
|
|
// optional .sync_pb.NigoriSpecifics nigori = 47745;
|
|
bool has_nigori() const;
|
|
void clear_nigori();
|
|
static const int kNigoriFieldNumber = 47745;
|
|
const ::sync_pb::NigoriSpecifics& nigori() const;
|
|
::sync_pb::NigoriSpecifics* mutable_nigori();
|
|
::sync_pb::NigoriSpecifics* release_nigori();
|
|
void set_allocated_nigori(::sync_pb::NigoriSpecifics* nigori);
|
|
|
|
// optional .sync_pb.ExtensionSpecifics extension = 48119;
|
|
bool has_extension() const;
|
|
void clear_extension();
|
|
static const int kExtensionFieldNumber = 48119;
|
|
const ::sync_pb::ExtensionSpecifics& extension() const;
|
|
::sync_pb::ExtensionSpecifics* mutable_extension();
|
|
::sync_pb::ExtensionSpecifics* release_extension();
|
|
void set_allocated_extension(::sync_pb::ExtensionSpecifics* extension);
|
|
|
|
// optional .sync_pb.AppSpecifics app = 48364;
|
|
bool has_app() const;
|
|
void clear_app();
|
|
static const int kAppFieldNumber = 48364;
|
|
const ::sync_pb::AppSpecifics& app() const;
|
|
::sync_pb::AppSpecifics* mutable_app();
|
|
::sync_pb::AppSpecifics* release_app();
|
|
void set_allocated_app(::sync_pb::AppSpecifics* app);
|
|
|
|
// optional .sync_pb.SessionSpecifics session = 50119;
|
|
bool has_session() const;
|
|
void clear_session();
|
|
static const int kSessionFieldNumber = 50119;
|
|
const ::sync_pb::SessionSpecifics& session() const;
|
|
::sync_pb::SessionSpecifics* mutable_session();
|
|
::sync_pb::SessionSpecifics* release_session();
|
|
void set_allocated_session(::sync_pb::SessionSpecifics* session);
|
|
|
|
// optional .sync_pb.AutofillProfileSpecifics autofill_profile = 63951;
|
|
bool has_autofill_profile() const;
|
|
void clear_autofill_profile();
|
|
static const int kAutofillProfileFieldNumber = 63951;
|
|
const ::sync_pb::AutofillProfileSpecifics& autofill_profile() const;
|
|
::sync_pb::AutofillProfileSpecifics* mutable_autofill_profile();
|
|
::sync_pb::AutofillProfileSpecifics* release_autofill_profile();
|
|
void set_allocated_autofill_profile(::sync_pb::AutofillProfileSpecifics* autofill_profile);
|
|
|
|
// optional .sync_pb.SearchEngineSpecifics search_engine = 88610;
|
|
bool has_search_engine() const;
|
|
void clear_search_engine();
|
|
static const int kSearchEngineFieldNumber = 88610;
|
|
const ::sync_pb::SearchEngineSpecifics& search_engine() const;
|
|
::sync_pb::SearchEngineSpecifics* mutable_search_engine();
|
|
::sync_pb::SearchEngineSpecifics* release_search_engine();
|
|
void set_allocated_search_engine(::sync_pb::SearchEngineSpecifics* search_engine);
|
|
|
|
// optional .sync_pb.ExtensionSettingSpecifics extension_setting = 96159;
|
|
bool has_extension_setting() const;
|
|
void clear_extension_setting();
|
|
static const int kExtensionSettingFieldNumber = 96159;
|
|
const ::sync_pb::ExtensionSettingSpecifics& extension_setting() const;
|
|
::sync_pb::ExtensionSettingSpecifics* mutable_extension_setting();
|
|
::sync_pb::ExtensionSettingSpecifics* release_extension_setting();
|
|
void set_allocated_extension_setting(::sync_pb::ExtensionSettingSpecifics* extension_setting);
|
|
|
|
// optional .sync_pb.AppSettingSpecifics app_setting = 103656;
|
|
bool has_app_setting() const;
|
|
void clear_app_setting();
|
|
static const int kAppSettingFieldNumber = 103656;
|
|
const ::sync_pb::AppSettingSpecifics& app_setting() const;
|
|
::sync_pb::AppSettingSpecifics* mutable_app_setting();
|
|
::sync_pb::AppSettingSpecifics* release_app_setting();
|
|
void set_allocated_app_setting(::sync_pb::AppSettingSpecifics* app_setting);
|
|
|
|
// optional .sync_pb.HistoryDeleteDirectiveSpecifics history_delete_directive = 150251;
|
|
bool has_history_delete_directive() const;
|
|
void clear_history_delete_directive();
|
|
static const int kHistoryDeleteDirectiveFieldNumber = 150251;
|
|
const ::sync_pb::HistoryDeleteDirectiveSpecifics& history_delete_directive() const;
|
|
::sync_pb::HistoryDeleteDirectiveSpecifics* mutable_history_delete_directive();
|
|
::sync_pb::HistoryDeleteDirectiveSpecifics* release_history_delete_directive();
|
|
void set_allocated_history_delete_directive(::sync_pb::HistoryDeleteDirectiveSpecifics* history_delete_directive);
|
|
|
|
// optional .sync_pb.SyncedNotificationSpecifics synced_notification = 153108;
|
|
bool has_synced_notification() const;
|
|
void clear_synced_notification();
|
|
static const int kSyncedNotificationFieldNumber = 153108;
|
|
const ::sync_pb::SyncedNotificationSpecifics& synced_notification() const;
|
|
::sync_pb::SyncedNotificationSpecifics* mutable_synced_notification();
|
|
::sync_pb::SyncedNotificationSpecifics* release_synced_notification();
|
|
void set_allocated_synced_notification(::sync_pb::SyncedNotificationSpecifics* synced_notification);
|
|
|
|
// optional .sync_pb.DeviceInfoSpecifics device_info = 154522;
|
|
bool has_device_info() const;
|
|
void clear_device_info();
|
|
static const int kDeviceInfoFieldNumber = 154522;
|
|
const ::sync_pb::DeviceInfoSpecifics& device_info() const;
|
|
::sync_pb::DeviceInfoSpecifics* mutable_device_info();
|
|
::sync_pb::DeviceInfoSpecifics* release_device_info();
|
|
void set_allocated_device_info(::sync_pb::DeviceInfoSpecifics* device_info);
|
|
|
|
// optional .sync_pb.ExperimentsSpecifics experiments = 161496;
|
|
bool has_experiments() const;
|
|
void clear_experiments();
|
|
static const int kExperimentsFieldNumber = 161496;
|
|
const ::sync_pb::ExperimentsSpecifics& experiments() const;
|
|
::sync_pb::ExperimentsSpecifics* mutable_experiments();
|
|
::sync_pb::ExperimentsSpecifics* release_experiments();
|
|
void set_allocated_experiments(::sync_pb::ExperimentsSpecifics* experiments);
|
|
|
|
// optional .sync_pb.PriorityPreferenceSpecifics priority_preference = 163425;
|
|
bool has_priority_preference() const;
|
|
void clear_priority_preference();
|
|
static const int kPriorityPreferenceFieldNumber = 163425;
|
|
const ::sync_pb::PriorityPreferenceSpecifics& priority_preference() const;
|
|
::sync_pb::PriorityPreferenceSpecifics* mutable_priority_preference();
|
|
::sync_pb::PriorityPreferenceSpecifics* release_priority_preference();
|
|
void set_allocated_priority_preference(::sync_pb::PriorityPreferenceSpecifics* priority_preference);
|
|
|
|
// optional .sync_pb.DictionarySpecifics dictionary = 170540;
|
|
bool has_dictionary() const;
|
|
void clear_dictionary();
|
|
static const int kDictionaryFieldNumber = 170540;
|
|
const ::sync_pb::DictionarySpecifics& dictionary() const;
|
|
::sync_pb::DictionarySpecifics* mutable_dictionary();
|
|
::sync_pb::DictionarySpecifics* release_dictionary();
|
|
void set_allocated_dictionary(::sync_pb::DictionarySpecifics* dictionary);
|
|
|
|
// optional .sync_pb.FaviconTrackingSpecifics favicon_tracking = 181534;
|
|
bool has_favicon_tracking() const;
|
|
void clear_favicon_tracking();
|
|
static const int kFaviconTrackingFieldNumber = 181534;
|
|
const ::sync_pb::FaviconTrackingSpecifics& favicon_tracking() const;
|
|
::sync_pb::FaviconTrackingSpecifics* mutable_favicon_tracking();
|
|
::sync_pb::FaviconTrackingSpecifics* release_favicon_tracking();
|
|
void set_allocated_favicon_tracking(::sync_pb::FaviconTrackingSpecifics* favicon_tracking);
|
|
|
|
// optional .sync_pb.FaviconImageSpecifics favicon_image = 182019;
|
|
bool has_favicon_image() const;
|
|
void clear_favicon_image();
|
|
static const int kFaviconImageFieldNumber = 182019;
|
|
const ::sync_pb::FaviconImageSpecifics& favicon_image() const;
|
|
::sync_pb::FaviconImageSpecifics* mutable_favicon_image();
|
|
::sync_pb::FaviconImageSpecifics* release_favicon_image();
|
|
void set_allocated_favicon_image(::sync_pb::FaviconImageSpecifics* favicon_image);
|
|
|
|
// optional .sync_pb.ManagedUserSettingSpecifics managed_user_setting = 186662;
|
|
bool has_managed_user_setting() const;
|
|
void clear_managed_user_setting();
|
|
static const int kManagedUserSettingFieldNumber = 186662;
|
|
const ::sync_pb::ManagedUserSettingSpecifics& managed_user_setting() const;
|
|
::sync_pb::ManagedUserSettingSpecifics* mutable_managed_user_setting();
|
|
::sync_pb::ManagedUserSettingSpecifics* release_managed_user_setting();
|
|
void set_allocated_managed_user_setting(::sync_pb::ManagedUserSettingSpecifics* managed_user_setting);
|
|
|
|
// optional .sync_pb.ManagedUserSpecifics managed_user = 194582;
|
|
bool has_managed_user() const;
|
|
void clear_managed_user();
|
|
static const int kManagedUserFieldNumber = 194582;
|
|
const ::sync_pb::ManagedUserSpecifics& managed_user() const;
|
|
::sync_pb::ManagedUserSpecifics* mutable_managed_user();
|
|
::sync_pb::ManagedUserSpecifics* release_managed_user();
|
|
void set_allocated_managed_user(::sync_pb::ManagedUserSpecifics* managed_user);
|
|
|
|
// optional .sync_pb.ManagedUserSharedSettingSpecifics managed_user_shared_setting = 202026;
|
|
bool has_managed_user_shared_setting() const;
|
|
void clear_managed_user_shared_setting();
|
|
static const int kManagedUserSharedSettingFieldNumber = 202026;
|
|
const ::sync_pb::ManagedUserSharedSettingSpecifics& managed_user_shared_setting() const;
|
|
::sync_pb::ManagedUserSharedSettingSpecifics* mutable_managed_user_shared_setting();
|
|
::sync_pb::ManagedUserSharedSettingSpecifics* release_managed_user_shared_setting();
|
|
void set_allocated_managed_user_shared_setting(::sync_pb::ManagedUserSharedSettingSpecifics* managed_user_shared_setting);
|
|
|
|
// optional .sync_pb.WifiCredentialSpecifics wifi_credential = 218175;
|
|
bool has_wifi_credential() const;
|
|
void clear_wifi_credential();
|
|
static const int kWifiCredentialFieldNumber = 218175;
|
|
const ::sync_pb::WifiCredentialSpecifics& wifi_credential() const;
|
|
::sync_pb::WifiCredentialSpecifics* mutable_wifi_credential();
|
|
::sync_pb::WifiCredentialSpecifics* release_wifi_credential();
|
|
void set_allocated_wifi_credential(::sync_pb::WifiCredentialSpecifics* wifi_credential);
|
|
|
|
// optional .sync_pb.ArticleSpecifics article = 223759;
|
|
bool has_article() const;
|
|
void clear_article();
|
|
static const int kArticleFieldNumber = 223759;
|
|
const ::sync_pb::ArticleSpecifics& article() const;
|
|
::sync_pb::ArticleSpecifics* mutable_article();
|
|
::sync_pb::ArticleSpecifics* release_article();
|
|
void set_allocated_article(::sync_pb::ArticleSpecifics* article);
|
|
|
|
// optional .sync_pb.AppListSpecifics app_list = 229170;
|
|
bool has_app_list() const;
|
|
void clear_app_list();
|
|
static const int kAppListFieldNumber = 229170;
|
|
const ::sync_pb::AppListSpecifics& app_list() const;
|
|
::sync_pb::AppListSpecifics* mutable_app_list();
|
|
::sync_pb::AppListSpecifics* release_app_list();
|
|
void set_allocated_app_list(::sync_pb::AppListSpecifics* app_list);
|
|
|
|
// optional .sync_pb.SyncedNotificationAppInfoSpecifics synced_notification_app_info = 235816;
|
|
bool has_synced_notification_app_info() const;
|
|
void clear_synced_notification_app_info();
|
|
static const int kSyncedNotificationAppInfoFieldNumber = 235816;
|
|
const ::sync_pb::SyncedNotificationAppInfoSpecifics& synced_notification_app_info() const;
|
|
::sync_pb::SyncedNotificationAppInfoSpecifics* mutable_synced_notification_app_info();
|
|
::sync_pb::SyncedNotificationAppInfoSpecifics* release_synced_notification_app_info();
|
|
void set_allocated_synced_notification_app_info(::sync_pb::SyncedNotificationAppInfoSpecifics* synced_notification_app_info);
|
|
|
|
// optional .sync_pb.ManagedUserWhitelistSpecifics managed_user_whitelist = 306060;
|
|
bool has_managed_user_whitelist() const;
|
|
void clear_managed_user_whitelist();
|
|
static const int kManagedUserWhitelistFieldNumber = 306060;
|
|
const ::sync_pb::ManagedUserWhitelistSpecifics& managed_user_whitelist() const;
|
|
::sync_pb::ManagedUserWhitelistSpecifics* mutable_managed_user_whitelist();
|
|
::sync_pb::ManagedUserWhitelistSpecifics* release_managed_user_whitelist();
|
|
void set_allocated_managed_user_whitelist(::sync_pb::ManagedUserWhitelistSpecifics* managed_user_whitelist);
|
|
|
|
// optional .sync_pb.AutofillWalletSpecifics autofill_wallet = 306270;
|
|
bool has_autofill_wallet() const;
|
|
void clear_autofill_wallet();
|
|
static const int kAutofillWalletFieldNumber = 306270;
|
|
const ::sync_pb::AutofillWalletSpecifics& autofill_wallet() const;
|
|
::sync_pb::AutofillWalletSpecifics* mutable_autofill_wallet();
|
|
::sync_pb::AutofillWalletSpecifics* release_autofill_wallet();
|
|
void set_allocated_autofill_wallet(::sync_pb::AutofillWalletSpecifics* autofill_wallet);
|
|
|
|
// optional .sync_pb.WalletMetadataSpecifics wallet_metadata = 330441;
|
|
bool has_wallet_metadata() const;
|
|
void clear_wallet_metadata();
|
|
static const int kWalletMetadataFieldNumber = 330441;
|
|
const ::sync_pb::WalletMetadataSpecifics& wallet_metadata() const;
|
|
::sync_pb::WalletMetadataSpecifics* mutable_wallet_metadata();
|
|
::sync_pb::WalletMetadataSpecifics* release_wallet_metadata();
|
|
void set_allocated_wallet_metadata(::sync_pb::WalletMetadataSpecifics* wallet_metadata);
|
|
|
|
// optional .sync_pb.ArcPackageSpecifics arc_package = 340906;
|
|
bool has_arc_package() const;
|
|
void clear_arc_package();
|
|
static const int kArcPackageFieldNumber = 340906;
|
|
const ::sync_pb::ArcPackageSpecifics& arc_package() const;
|
|
::sync_pb::ArcPackageSpecifics* mutable_arc_package();
|
|
::sync_pb::ArcPackageSpecifics* release_arc_package();
|
|
void set_allocated_arc_package(::sync_pb::ArcPackageSpecifics* arc_package);
|
|
|
|
// optional .sync_pb.PrinterSpecifics printer = 410745;
|
|
bool has_printer() const;
|
|
void clear_printer();
|
|
static const int kPrinterFieldNumber = 410745;
|
|
const ::sync_pb::PrinterSpecifics& printer() const;
|
|
::sync_pb::PrinterSpecifics* mutable_printer();
|
|
::sync_pb::PrinterSpecifics* release_printer();
|
|
void set_allocated_printer(::sync_pb::PrinterSpecifics* printer);
|
|
|
|
// optional .sync_pb.ReadingListSpecifics reading_list = 411028;
|
|
bool has_reading_list() const;
|
|
void clear_reading_list();
|
|
static const int kReadingListFieldNumber = 411028;
|
|
const ::sync_pb::ReadingListSpecifics& reading_list() const;
|
|
::sync_pb::ReadingListSpecifics* mutable_reading_list();
|
|
::sync_pb::ReadingListSpecifics* release_reading_list();
|
|
void set_allocated_reading_list(::sync_pb::ReadingListSpecifics* reading_list);
|
|
|
|
// optional .sync_pb.UserEventSpecifics user_event = 455206;
|
|
bool has_user_event() const;
|
|
void clear_user_event();
|
|
static const int kUserEventFieldNumber = 455206;
|
|
const ::sync_pb::UserEventSpecifics& user_event() const;
|
|
::sync_pb::UserEventSpecifics* mutable_user_event();
|
|
::sync_pb::UserEventSpecifics* release_user_event();
|
|
void set_allocated_user_event(::sync_pb::UserEventSpecifics* user_event);
|
|
|
|
// optional .sync_pb.MountainShareSpecifics mountain_share = 545005;
|
|
bool has_mountain_share() const;
|
|
void clear_mountain_share();
|
|
static const int kMountainShareFieldNumber = 545005;
|
|
const ::sync_pb::MountainShareSpecifics& mountain_share() const;
|
|
::sync_pb::MountainShareSpecifics* mutable_mountain_share();
|
|
::sync_pb::MountainShareSpecifics* release_mountain_share();
|
|
void set_allocated_mountain_share(::sync_pb::MountainShareSpecifics* mountain_share);
|
|
|
|
// optional .sync_pb.UserConsentSpecifics user_consent = 556014;
|
|
bool has_user_consent() const;
|
|
void clear_user_consent();
|
|
static const int kUserConsentFieldNumber = 556014;
|
|
const ::sync_pb::UserConsentSpecifics& user_consent() const;
|
|
::sync_pb::UserConsentSpecifics* mutable_user_consent();
|
|
::sync_pb::UserConsentSpecifics* release_user_consent();
|
|
void set_allocated_user_consent(::sync_pb::UserConsentSpecifics* user_consent);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.EntitySpecifics)
|
|
private:
|
|
void set_has_encrypted();
|
|
void clear_has_encrypted();
|
|
void set_has_autofill();
|
|
void clear_has_autofill();
|
|
void set_has_bookmark();
|
|
void clear_has_bookmark();
|
|
void set_has_preference();
|
|
void clear_has_preference();
|
|
void set_has_typed_url();
|
|
void clear_has_typed_url();
|
|
void set_has_theme();
|
|
void clear_has_theme();
|
|
void set_has_app_notification();
|
|
void clear_has_app_notification();
|
|
void set_has_password();
|
|
void clear_has_password();
|
|
void set_has_nigori();
|
|
void clear_has_nigori();
|
|
void set_has_extension();
|
|
void clear_has_extension();
|
|
void set_has_app();
|
|
void clear_has_app();
|
|
void set_has_session();
|
|
void clear_has_session();
|
|
void set_has_autofill_profile();
|
|
void clear_has_autofill_profile();
|
|
void set_has_search_engine();
|
|
void clear_has_search_engine();
|
|
void set_has_extension_setting();
|
|
void clear_has_extension_setting();
|
|
void set_has_app_setting();
|
|
void clear_has_app_setting();
|
|
void set_has_history_delete_directive();
|
|
void clear_has_history_delete_directive();
|
|
void set_has_synced_notification();
|
|
void clear_has_synced_notification();
|
|
void set_has_synced_notification_app_info();
|
|
void clear_has_synced_notification_app_info();
|
|
void set_has_device_info();
|
|
void clear_has_device_info();
|
|
void set_has_experiments();
|
|
void clear_has_experiments();
|
|
void set_has_priority_preference();
|
|
void clear_has_priority_preference();
|
|
void set_has_dictionary();
|
|
void clear_has_dictionary();
|
|
void set_has_favicon_tracking();
|
|
void clear_has_favicon_tracking();
|
|
void set_has_favicon_image();
|
|
void clear_has_favicon_image();
|
|
void set_has_managed_user_setting();
|
|
void clear_has_managed_user_setting();
|
|
void set_has_managed_user();
|
|
void clear_has_managed_user();
|
|
void set_has_managed_user_shared_setting();
|
|
void clear_has_managed_user_shared_setting();
|
|
void set_has_managed_user_whitelist();
|
|
void clear_has_managed_user_whitelist();
|
|
void set_has_article();
|
|
void clear_has_article();
|
|
void set_has_app_list();
|
|
void clear_has_app_list();
|
|
void set_has_wifi_credential();
|
|
void clear_has_wifi_credential();
|
|
void set_has_autofill_wallet();
|
|
void clear_has_autofill_wallet();
|
|
void set_has_wallet_metadata();
|
|
void clear_has_wallet_metadata();
|
|
void set_has_arc_package();
|
|
void clear_has_arc_package();
|
|
void set_has_printer();
|
|
void clear_has_printer();
|
|
void set_has_reading_list();
|
|
void clear_has_reading_list();
|
|
void set_has_user_event();
|
|
void clear_has_user_event();
|
|
void set_has_user_consent();
|
|
void clear_has_user_consent();
|
|
void set_has_mountain_share();
|
|
void clear_has_mountain_share();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<2> _has_bits_;
|
|
::sync_pb::EncryptedData* encrypted_;
|
|
::sync_pb::AutofillSpecifics* autofill_;
|
|
::sync_pb::BookmarkSpecifics* bookmark_;
|
|
::sync_pb::PreferenceSpecifics* preference_;
|
|
::sync_pb::TypedUrlSpecifics* typed_url_;
|
|
::sync_pb::ThemeSpecifics* theme_;
|
|
::sync_pb::AppNotification* app_notification_;
|
|
::sync_pb::PasswordSpecifics* password_;
|
|
::sync_pb::NigoriSpecifics* nigori_;
|
|
::sync_pb::ExtensionSpecifics* extension_;
|
|
::sync_pb::AppSpecifics* app_;
|
|
::sync_pb::SessionSpecifics* session_;
|
|
::sync_pb::AutofillProfileSpecifics* autofill_profile_;
|
|
::sync_pb::SearchEngineSpecifics* search_engine_;
|
|
::sync_pb::ExtensionSettingSpecifics* extension_setting_;
|
|
::sync_pb::AppSettingSpecifics* app_setting_;
|
|
::sync_pb::HistoryDeleteDirectiveSpecifics* history_delete_directive_;
|
|
::sync_pb::SyncedNotificationSpecifics* synced_notification_;
|
|
::sync_pb::DeviceInfoSpecifics* device_info_;
|
|
::sync_pb::ExperimentsSpecifics* experiments_;
|
|
::sync_pb::PriorityPreferenceSpecifics* priority_preference_;
|
|
::sync_pb::DictionarySpecifics* dictionary_;
|
|
::sync_pb::FaviconTrackingSpecifics* favicon_tracking_;
|
|
::sync_pb::FaviconImageSpecifics* favicon_image_;
|
|
::sync_pb::ManagedUserSettingSpecifics* managed_user_setting_;
|
|
::sync_pb::ManagedUserSpecifics* managed_user_;
|
|
::sync_pb::ManagedUserSharedSettingSpecifics* managed_user_shared_setting_;
|
|
::sync_pb::WifiCredentialSpecifics* wifi_credential_;
|
|
::sync_pb::ArticleSpecifics* article_;
|
|
::sync_pb::AppListSpecifics* app_list_;
|
|
::sync_pb::SyncedNotificationAppInfoSpecifics* synced_notification_app_info_;
|
|
::sync_pb::ManagedUserWhitelistSpecifics* managed_user_whitelist_;
|
|
::sync_pb::AutofillWalletSpecifics* autofill_wallet_;
|
|
::sync_pb::WalletMetadataSpecifics* wallet_metadata_;
|
|
::sync_pb::ArcPackageSpecifics* arc_package_;
|
|
::sync_pb::PrinterSpecifics* printer_;
|
|
::sync_pb::ReadingListSpecifics* reading_list_;
|
|
::sync_pb::UserEventSpecifics* user_event_;
|
|
::sync_pb::MountainShareSpecifics* mountain_share_;
|
|
::sync_pb::UserConsentSpecifics* user_consent_;
|
|
mutable int _cached_size_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SyncEntity_BookmarkData : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.SyncEntity.BookmarkData) */ {
|
|
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 ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const SyncEntity_BookmarkData& default_instance();
|
|
|
|
static inline const SyncEntity_BookmarkData* internal_default_instance() {
|
|
return reinterpret_cast<const SyncEntity_BookmarkData*>(
|
|
&_SyncEntity_BookmarkData_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
2;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(SyncEntity_BookmarkData* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SyncEntity_BookmarkData* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
SyncEntity_BookmarkData* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const SyncEntity_BookmarkData& from);
|
|
void MergeFrom(const SyncEntity_BookmarkData& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(SyncEntity_BookmarkData* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional string bookmark_url = 13;
|
|
bool has_bookmark_url() const;
|
|
void clear_bookmark_url();
|
|
static const int kBookmarkUrlFieldNumber = 13;
|
|
const ::std::string& bookmark_url() const;
|
|
void set_bookmark_url(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_bookmark_url(::std::string&& value);
|
|
#endif
|
|
void set_bookmark_url(const char* value);
|
|
void set_bookmark_url(const char* value, size_t size);
|
|
::std::string* mutable_bookmark_url();
|
|
::std::string* release_bookmark_url();
|
|
void set_allocated_bookmark_url(::std::string* bookmark_url);
|
|
|
|
// optional bytes bookmark_favicon = 14;
|
|
bool has_bookmark_favicon() const;
|
|
void clear_bookmark_favicon();
|
|
static const int kBookmarkFaviconFieldNumber = 14;
|
|
const ::std::string& bookmark_favicon() const;
|
|
void set_bookmark_favicon(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_bookmark_favicon(::std::string&& value);
|
|
#endif
|
|
void set_bookmark_favicon(const char* value);
|
|
void set_bookmark_favicon(const void* value, size_t size);
|
|
::std::string* mutable_bookmark_favicon();
|
|
::std::string* release_bookmark_favicon();
|
|
void set_allocated_bookmark_favicon(::std::string* bookmark_favicon);
|
|
|
|
// required bool bookmark_folder = 12;
|
|
bool has_bookmark_folder() const;
|
|
void clear_bookmark_folder();
|
|
static const int kBookmarkFolderFieldNumber = 12;
|
|
bool bookmark_folder() const;
|
|
void set_bookmark_folder(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.SyncEntity.BookmarkData)
|
|
private:
|
|
void set_has_bookmark_folder();
|
|
void clear_has_bookmark_folder();
|
|
void set_has_bookmark_url();
|
|
void clear_has_bookmark_url();
|
|
void set_has_bookmark_favicon();
|
|
void clear_has_bookmark_favicon();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr bookmark_url_;
|
|
::google::protobuf::internal::ArenaStringPtr bookmark_favicon_;
|
|
bool bookmark_folder_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SyncEntity : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.SyncEntity) */ {
|
|
public:
|
|
SyncEntity();
|
|
virtual ~SyncEntity();
|
|
|
|
SyncEntity(const SyncEntity& from);
|
|
|
|
inline SyncEntity& operator=(const SyncEntity& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const SyncEntity& default_instance();
|
|
|
|
static inline const SyncEntity* internal_default_instance() {
|
|
return reinterpret_cast<const SyncEntity*>(
|
|
&_SyncEntity_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
3;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(SyncEntity* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SyncEntity* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
SyncEntity* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const SyncEntity& from);
|
|
void MergeFrom(const SyncEntity& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(SyncEntity* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef SyncEntity_BookmarkData BookmarkData;
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .sync_pb.DeprecatedMessage attachment_id = 26 [deprecated = true];
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR int attachment_id_size() const;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_attachment_id();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kAttachmentIdFieldNumber = 26;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::sync_pb::DeprecatedMessage& attachment_id(int index) const;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::sync_pb::DeprecatedMessage* mutable_attachment_id(int index);
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::sync_pb::DeprecatedMessage* add_attachment_id();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::google::protobuf::RepeatedPtrField< ::sync_pb::DeprecatedMessage >*
|
|
mutable_attachment_id();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::google::protobuf::RepeatedPtrField< ::sync_pb::DeprecatedMessage >&
|
|
attachment_id() const;
|
|
|
|
// optional string id_string = 1;
|
|
bool has_id_string() const;
|
|
void clear_id_string();
|
|
static const int kIdStringFieldNumber = 1;
|
|
const ::std::string& id_string() const;
|
|
void set_id_string(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_id_string(::std::string&& value);
|
|
#endif
|
|
void set_id_string(const char* value);
|
|
void set_id_string(const char* value, size_t size);
|
|
::std::string* mutable_id_string();
|
|
::std::string* release_id_string();
|
|
void set_allocated_id_string(::std::string* id_string);
|
|
|
|
// optional string parent_id_string = 2;
|
|
bool has_parent_id_string() const;
|
|
void clear_parent_id_string();
|
|
static const int kParentIdStringFieldNumber = 2;
|
|
const ::std::string& parent_id_string() const;
|
|
void set_parent_id_string(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_parent_id_string(::std::string&& value);
|
|
#endif
|
|
void set_parent_id_string(const char* value);
|
|
void set_parent_id_string(const char* value, size_t size);
|
|
::std::string* mutable_parent_id_string();
|
|
::std::string* release_parent_id_string();
|
|
void set_allocated_parent_id_string(::std::string* parent_id_string);
|
|
|
|
// optional string old_parent_id = 3;
|
|
bool has_old_parent_id() const;
|
|
void clear_old_parent_id();
|
|
static const int kOldParentIdFieldNumber = 3;
|
|
const ::std::string& old_parent_id() const;
|
|
void set_old_parent_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_old_parent_id(::std::string&& value);
|
|
#endif
|
|
void set_old_parent_id(const char* value);
|
|
void set_old_parent_id(const char* value, size_t size);
|
|
::std::string* mutable_old_parent_id();
|
|
::std::string* release_old_parent_id();
|
|
void set_allocated_old_parent_id(::std::string* old_parent_id);
|
|
|
|
// optional string name = 7;
|
|
bool has_name() const;
|
|
void clear_name();
|
|
static const int kNameFieldNumber = 7;
|
|
const ::std::string& name() const;
|
|
void set_name(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_name(::std::string&& value);
|
|
#endif
|
|
void set_name(const char* value);
|
|
void set_name(const char* value, size_t size);
|
|
::std::string* mutable_name();
|
|
::std::string* release_name();
|
|
void set_allocated_name(::std::string* name);
|
|
|
|
// optional string non_unique_name = 8;
|
|
bool has_non_unique_name() const;
|
|
void clear_non_unique_name();
|
|
static const int kNonUniqueNameFieldNumber = 8;
|
|
const ::std::string& non_unique_name() const;
|
|
void set_non_unique_name(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_non_unique_name(::std::string&& value);
|
|
#endif
|
|
void set_non_unique_name(const char* value);
|
|
void set_non_unique_name(const char* value, size_t size);
|
|
::std::string* mutable_non_unique_name();
|
|
::std::string* release_non_unique_name();
|
|
void set_allocated_non_unique_name(::std::string* non_unique_name);
|
|
|
|
// optional string server_defined_unique_tag = 10;
|
|
bool has_server_defined_unique_tag() const;
|
|
void clear_server_defined_unique_tag();
|
|
static const int kServerDefinedUniqueTagFieldNumber = 10;
|
|
const ::std::string& server_defined_unique_tag() const;
|
|
void set_server_defined_unique_tag(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_server_defined_unique_tag(::std::string&& value);
|
|
#endif
|
|
void set_server_defined_unique_tag(const char* value);
|
|
void set_server_defined_unique_tag(const char* value, size_t size);
|
|
::std::string* mutable_server_defined_unique_tag();
|
|
::std::string* release_server_defined_unique_tag();
|
|
void set_allocated_server_defined_unique_tag(::std::string* server_defined_unique_tag);
|
|
|
|
// optional string insert_after_item_id = 16;
|
|
bool has_insert_after_item_id() const;
|
|
void clear_insert_after_item_id();
|
|
static const int kInsertAfterItemIdFieldNumber = 16;
|
|
const ::std::string& insert_after_item_id() const;
|
|
void set_insert_after_item_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_insert_after_item_id(::std::string&& value);
|
|
#endif
|
|
void set_insert_after_item_id(const char* value);
|
|
void set_insert_after_item_id(const char* value, size_t size);
|
|
::std::string* mutable_insert_after_item_id();
|
|
::std::string* release_insert_after_item_id();
|
|
void set_allocated_insert_after_item_id(::std::string* insert_after_item_id);
|
|
|
|
// optional string originator_cache_guid = 19;
|
|
bool has_originator_cache_guid() const;
|
|
void clear_originator_cache_guid();
|
|
static const int kOriginatorCacheGuidFieldNumber = 19;
|
|
const ::std::string& originator_cache_guid() const;
|
|
void set_originator_cache_guid(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_originator_cache_guid(::std::string&& value);
|
|
#endif
|
|
void set_originator_cache_guid(const char* value);
|
|
void set_originator_cache_guid(const char* value, size_t size);
|
|
::std::string* mutable_originator_cache_guid();
|
|
::std::string* release_originator_cache_guid();
|
|
void set_allocated_originator_cache_guid(::std::string* originator_cache_guid);
|
|
|
|
// optional string originator_client_item_id = 20;
|
|
bool has_originator_client_item_id() const;
|
|
void clear_originator_client_item_id();
|
|
static const int kOriginatorClientItemIdFieldNumber = 20;
|
|
const ::std::string& originator_client_item_id() const;
|
|
void set_originator_client_item_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_originator_client_item_id(::std::string&& value);
|
|
#endif
|
|
void set_originator_client_item_id(const char* value);
|
|
void set_originator_client_item_id(const char* value, size_t size);
|
|
::std::string* mutable_originator_client_item_id();
|
|
::std::string* release_originator_client_item_id();
|
|
void set_allocated_originator_client_item_id(::std::string* originator_client_item_id);
|
|
|
|
// optional string client_defined_unique_tag = 23;
|
|
bool has_client_defined_unique_tag() const;
|
|
void clear_client_defined_unique_tag();
|
|
static const int kClientDefinedUniqueTagFieldNumber = 23;
|
|
const ::std::string& client_defined_unique_tag() const;
|
|
void set_client_defined_unique_tag(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_client_defined_unique_tag(::std::string&& value);
|
|
#endif
|
|
void set_client_defined_unique_tag(const char* value);
|
|
void set_client_defined_unique_tag(const char* value, size_t size);
|
|
::std::string* mutable_client_defined_unique_tag();
|
|
::std::string* release_client_defined_unique_tag();
|
|
void set_allocated_client_defined_unique_tag(::std::string* client_defined_unique_tag);
|
|
|
|
// optional bytes ordinal_in_parent = 24;
|
|
bool has_ordinal_in_parent() const;
|
|
void clear_ordinal_in_parent();
|
|
static const int kOrdinalInParentFieldNumber = 24;
|
|
const ::std::string& ordinal_in_parent() const;
|
|
void set_ordinal_in_parent(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_ordinal_in_parent(::std::string&& value);
|
|
#endif
|
|
void set_ordinal_in_parent(const char* value);
|
|
void set_ordinal_in_parent(const void* value, size_t size);
|
|
::std::string* mutable_ordinal_in_parent();
|
|
::std::string* release_ordinal_in_parent();
|
|
void set_allocated_ordinal_in_parent(::std::string* ordinal_in_parent);
|
|
|
|
// optional group BookmarkData = 11 { ... };
|
|
bool has_bookmarkdata() const;
|
|
void clear_bookmarkdata();
|
|
static const int kBookmarkdataFieldNumber = 11;
|
|
const ::sync_pb::SyncEntity_BookmarkData& bookmarkdata() const;
|
|
::sync_pb::SyncEntity_BookmarkData* mutable_bookmarkdata();
|
|
::sync_pb::SyncEntity_BookmarkData* release_bookmarkdata();
|
|
void set_allocated_bookmarkdata(::sync_pb::SyncEntity_BookmarkData* bookmarkdata);
|
|
|
|
// optional .sync_pb.EntitySpecifics specifics = 21;
|
|
bool has_specifics() const;
|
|
void clear_specifics();
|
|
static const int kSpecificsFieldNumber = 21;
|
|
const ::sync_pb::EntitySpecifics& specifics() const;
|
|
::sync_pb::EntitySpecifics* mutable_specifics();
|
|
::sync_pb::EntitySpecifics* release_specifics();
|
|
void set_allocated_specifics(::sync_pb::EntitySpecifics* specifics);
|
|
|
|
// optional .sync_pb.UniquePosition unique_position = 25;
|
|
bool has_unique_position() const;
|
|
void clear_unique_position();
|
|
static const int kUniquePositionFieldNumber = 25;
|
|
const ::sync_pb::UniquePosition& unique_position() const;
|
|
::sync_pb::UniquePosition* mutable_unique_position();
|
|
::sync_pb::UniquePosition* release_unique_position();
|
|
void set_allocated_unique_position(::sync_pb::UniquePosition* unique_position);
|
|
|
|
// optional int64 version = 4;
|
|
bool has_version() const;
|
|
void clear_version();
|
|
static const int kVersionFieldNumber = 4;
|
|
::google::protobuf::int64 version() const;
|
|
void set_version(::google::protobuf::int64 value);
|
|
|
|
// optional int64 mtime = 5;
|
|
bool has_mtime() const;
|
|
void clear_mtime();
|
|
static const int kMtimeFieldNumber = 5;
|
|
::google::protobuf::int64 mtime() const;
|
|
void set_mtime(::google::protobuf::int64 value);
|
|
|
|
// optional int64 ctime = 6;
|
|
bool has_ctime() const;
|
|
void clear_ctime();
|
|
static const int kCtimeFieldNumber = 6;
|
|
::google::protobuf::int64 ctime() const;
|
|
void set_ctime(::google::protobuf::int64 value);
|
|
|
|
// optional int64 sync_timestamp = 9;
|
|
bool has_sync_timestamp() const;
|
|
void clear_sync_timestamp();
|
|
static const int kSyncTimestampFieldNumber = 9;
|
|
::google::protobuf::int64 sync_timestamp() const;
|
|
void set_sync_timestamp(::google::protobuf::int64 value);
|
|
|
|
// optional int64 position_in_parent = 15;
|
|
bool has_position_in_parent() const;
|
|
void clear_position_in_parent();
|
|
static const int kPositionInParentFieldNumber = 15;
|
|
::google::protobuf::int64 position_in_parent() const;
|
|
void set_position_in_parent(::google::protobuf::int64 value);
|
|
|
|
// optional bool deleted = 18 [default = false];
|
|
bool has_deleted() const;
|
|
void clear_deleted();
|
|
static const int kDeletedFieldNumber = 18;
|
|
bool deleted() const;
|
|
void set_deleted(bool value);
|
|
|
|
// optional bool folder = 22 [default = false];
|
|
bool has_folder() const;
|
|
void clear_folder();
|
|
static const int kFolderFieldNumber = 22;
|
|
bool folder() const;
|
|
void set_folder(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.SyncEntity)
|
|
private:
|
|
void set_has_id_string();
|
|
void clear_has_id_string();
|
|
void set_has_parent_id_string();
|
|
void clear_has_parent_id_string();
|
|
void set_has_old_parent_id();
|
|
void clear_has_old_parent_id();
|
|
void set_has_version();
|
|
void clear_has_version();
|
|
void set_has_mtime();
|
|
void clear_has_mtime();
|
|
void set_has_ctime();
|
|
void clear_has_ctime();
|
|
void set_has_name();
|
|
void clear_has_name();
|
|
void set_has_non_unique_name();
|
|
void clear_has_non_unique_name();
|
|
void set_has_sync_timestamp();
|
|
void clear_has_sync_timestamp();
|
|
void set_has_server_defined_unique_tag();
|
|
void clear_has_server_defined_unique_tag();
|
|
void set_has_bookmarkdata();
|
|
void clear_has_bookmarkdata();
|
|
void set_has_position_in_parent();
|
|
void clear_has_position_in_parent();
|
|
void set_has_insert_after_item_id();
|
|
void clear_has_insert_after_item_id();
|
|
void set_has_deleted();
|
|
void clear_has_deleted();
|
|
void set_has_originator_cache_guid();
|
|
void clear_has_originator_cache_guid();
|
|
void set_has_originator_client_item_id();
|
|
void clear_has_originator_client_item_id();
|
|
void set_has_specifics();
|
|
void clear_has_specifics();
|
|
void set_has_folder();
|
|
void clear_has_folder();
|
|
void set_has_client_defined_unique_tag();
|
|
void clear_has_client_defined_unique_tag();
|
|
void set_has_ordinal_in_parent();
|
|
void clear_has_ordinal_in_parent();
|
|
void set_has_unique_position();
|
|
void clear_has_unique_position();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DeprecatedMessage > attachment_id_;
|
|
::google::protobuf::internal::ArenaStringPtr id_string_;
|
|
::google::protobuf::internal::ArenaStringPtr parent_id_string_;
|
|
::google::protobuf::internal::ArenaStringPtr old_parent_id_;
|
|
::google::protobuf::internal::ArenaStringPtr name_;
|
|
::google::protobuf::internal::ArenaStringPtr non_unique_name_;
|
|
::google::protobuf::internal::ArenaStringPtr server_defined_unique_tag_;
|
|
::google::protobuf::internal::ArenaStringPtr insert_after_item_id_;
|
|
::google::protobuf::internal::ArenaStringPtr originator_cache_guid_;
|
|
::google::protobuf::internal::ArenaStringPtr originator_client_item_id_;
|
|
::google::protobuf::internal::ArenaStringPtr client_defined_unique_tag_;
|
|
::google::protobuf::internal::ArenaStringPtr ordinal_in_parent_;
|
|
::sync_pb::SyncEntity_BookmarkData* bookmarkdata_;
|
|
::sync_pb::EntitySpecifics* specifics_;
|
|
::sync_pb::UniquePosition* unique_position_;
|
|
::google::protobuf::int64 version_;
|
|
::google::protobuf::int64 mtime_;
|
|
::google::protobuf::int64 ctime_;
|
|
::google::protobuf::int64 sync_timestamp_;
|
|
::google::protobuf::int64 position_in_parent_;
|
|
bool deleted_;
|
|
bool folder_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ChromiumExtensionsActivity : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ChromiumExtensionsActivity) */ {
|
|
public:
|
|
ChromiumExtensionsActivity();
|
|
virtual ~ChromiumExtensionsActivity();
|
|
|
|
ChromiumExtensionsActivity(const ChromiumExtensionsActivity& from);
|
|
|
|
inline ChromiumExtensionsActivity& operator=(const ChromiumExtensionsActivity& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ChromiumExtensionsActivity& default_instance();
|
|
|
|
static inline const ChromiumExtensionsActivity* internal_default_instance() {
|
|
return reinterpret_cast<const ChromiumExtensionsActivity*>(
|
|
&_ChromiumExtensionsActivity_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
4;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ChromiumExtensionsActivity* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ChromiumExtensionsActivity* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ChromiumExtensionsActivity* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ChromiumExtensionsActivity& from);
|
|
void MergeFrom(const ChromiumExtensionsActivity& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ChromiumExtensionsActivity* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional string extension_id = 1;
|
|
bool has_extension_id() const;
|
|
void clear_extension_id();
|
|
static const int kExtensionIdFieldNumber = 1;
|
|
const ::std::string& extension_id() const;
|
|
void set_extension_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_extension_id(::std::string&& value);
|
|
#endif
|
|
void set_extension_id(const char* value);
|
|
void set_extension_id(const char* value, size_t size);
|
|
::std::string* mutable_extension_id();
|
|
::std::string* release_extension_id();
|
|
void set_allocated_extension_id(::std::string* extension_id);
|
|
|
|
// optional uint32 bookmark_writes_since_last_commit = 2;
|
|
bool has_bookmark_writes_since_last_commit() const;
|
|
void clear_bookmark_writes_since_last_commit();
|
|
static const int kBookmarkWritesSinceLastCommitFieldNumber = 2;
|
|
::google::protobuf::uint32 bookmark_writes_since_last_commit() const;
|
|
void set_bookmark_writes_since_last_commit(::google::protobuf::uint32 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ChromiumExtensionsActivity)
|
|
private:
|
|
void set_has_extension_id();
|
|
void clear_has_extension_id();
|
|
void set_has_bookmark_writes_since_last_commit();
|
|
void clear_has_bookmark_writes_since_last_commit();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr extension_id_;
|
|
::google::protobuf::uint32 bookmark_writes_since_last_commit_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClientConfigParams : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClientConfigParams) */ {
|
|
public:
|
|
ClientConfigParams();
|
|
virtual ~ClientConfigParams();
|
|
|
|
ClientConfigParams(const ClientConfigParams& from);
|
|
|
|
inline ClientConfigParams& operator=(const ClientConfigParams& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClientConfigParams& default_instance();
|
|
|
|
static inline const ClientConfigParams* internal_default_instance() {
|
|
return reinterpret_cast<const ClientConfigParams*>(
|
|
&_ClientConfigParams_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
5;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClientConfigParams* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClientConfigParams* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClientConfigParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClientConfigParams& from);
|
|
void MergeFrom(const ClientConfigParams& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClientConfigParams* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated int32 enabled_type_ids = 1;
|
|
int enabled_type_ids_size() const;
|
|
void clear_enabled_type_ids();
|
|
static const int kEnabledTypeIdsFieldNumber = 1;
|
|
::google::protobuf::int32 enabled_type_ids(int index) const;
|
|
void set_enabled_type_ids(int index, ::google::protobuf::int32 value);
|
|
void add_enabled_type_ids(::google::protobuf::int32 value);
|
|
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
enabled_type_ids() const;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
mutable_enabled_type_ids();
|
|
|
|
// optional bool tabs_datatype_enabled = 2;
|
|
bool has_tabs_datatype_enabled() const;
|
|
void clear_tabs_datatype_enabled();
|
|
static const int kTabsDatatypeEnabledFieldNumber = 2;
|
|
bool tabs_datatype_enabled() const;
|
|
void set_tabs_datatype_enabled(bool value);
|
|
|
|
// optional bool cookie_jar_mismatch = 3;
|
|
bool has_cookie_jar_mismatch() const;
|
|
void clear_cookie_jar_mismatch();
|
|
static const int kCookieJarMismatchFieldNumber = 3;
|
|
bool cookie_jar_mismatch() const;
|
|
void set_cookie_jar_mismatch(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClientConfigParams)
|
|
private:
|
|
void set_has_tabs_datatype_enabled();
|
|
void clear_has_tabs_datatype_enabled();
|
|
void set_has_cookie_jar_mismatch();
|
|
void clear_has_cookie_jar_mismatch();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 > enabled_type_ids_;
|
|
bool tabs_datatype_enabled_;
|
|
bool cookie_jar_mismatch_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CommitMessage : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.CommitMessage) */ {
|
|
public:
|
|
CommitMessage();
|
|
virtual ~CommitMessage();
|
|
|
|
CommitMessage(const CommitMessage& from);
|
|
|
|
inline CommitMessage& operator=(const CommitMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const CommitMessage& default_instance();
|
|
|
|
static inline const CommitMessage* internal_default_instance() {
|
|
return reinterpret_cast<const CommitMessage*>(
|
|
&_CommitMessage_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
6;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(CommitMessage* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CommitMessage* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
CommitMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const CommitMessage& from);
|
|
void MergeFrom(const CommitMessage& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(CommitMessage* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .sync_pb.SyncEntity entries = 1;
|
|
int entries_size() const;
|
|
void clear_entries();
|
|
static const int kEntriesFieldNumber = 1;
|
|
const ::sync_pb::SyncEntity& entries(int index) const;
|
|
::sync_pb::SyncEntity* mutable_entries(int index);
|
|
::sync_pb::SyncEntity* add_entries();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
|
|
mutable_entries();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
|
|
entries() const;
|
|
|
|
// repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
|
|
int extensions_activity_size() const;
|
|
void clear_extensions_activity();
|
|
static const int kExtensionsActivityFieldNumber = 3;
|
|
const ::sync_pb::ChromiumExtensionsActivity& extensions_activity(int index) const;
|
|
::sync_pb::ChromiumExtensionsActivity* mutable_extensions_activity(int index);
|
|
::sync_pb::ChromiumExtensionsActivity* add_extensions_activity();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >*
|
|
mutable_extensions_activity();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >&
|
|
extensions_activity() const;
|
|
|
|
// repeated .sync_pb.DataTypeContext client_contexts = 5;
|
|
int client_contexts_size() const;
|
|
void clear_client_contexts();
|
|
static const int kClientContextsFieldNumber = 5;
|
|
const ::sync_pb::DataTypeContext& client_contexts(int index) const;
|
|
::sync_pb::DataTypeContext* mutable_client_contexts(int index);
|
|
::sync_pb::DataTypeContext* add_client_contexts();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >*
|
|
mutable_client_contexts();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >&
|
|
client_contexts() const;
|
|
|
|
// optional string cache_guid = 2;
|
|
bool has_cache_guid() const;
|
|
void clear_cache_guid();
|
|
static const int kCacheGuidFieldNumber = 2;
|
|
const ::std::string& cache_guid() const;
|
|
void set_cache_guid(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_cache_guid(::std::string&& value);
|
|
#endif
|
|
void set_cache_guid(const char* value);
|
|
void set_cache_guid(const char* value, size_t size);
|
|
::std::string* mutable_cache_guid();
|
|
::std::string* release_cache_guid();
|
|
void set_allocated_cache_guid(::std::string* cache_guid);
|
|
|
|
// optional string padding = 6;
|
|
bool has_padding() const;
|
|
void clear_padding();
|
|
static const int kPaddingFieldNumber = 6;
|
|
const ::std::string& padding() const;
|
|
void set_padding(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_padding(::std::string&& value);
|
|
#endif
|
|
void set_padding(const char* value);
|
|
void set_padding(const char* value, size_t size);
|
|
::std::string* mutable_padding();
|
|
::std::string* release_padding();
|
|
void set_allocated_padding(::std::string* padding);
|
|
|
|
// optional .sync_pb.ClientConfigParams config_params = 4;
|
|
bool has_config_params() const;
|
|
void clear_config_params();
|
|
static const int kConfigParamsFieldNumber = 4;
|
|
const ::sync_pb::ClientConfigParams& config_params() const;
|
|
::sync_pb::ClientConfigParams* mutable_config_params();
|
|
::sync_pb::ClientConfigParams* release_config_params();
|
|
void set_allocated_config_params(::sync_pb::ClientConfigParams* config_params);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.CommitMessage)
|
|
private:
|
|
void set_has_cache_guid();
|
|
void clear_has_cache_guid();
|
|
void set_has_config_params();
|
|
void clear_has_config_params();
|
|
void set_has_padding();
|
|
void clear_has_padding();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity > entries_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity > extensions_activity_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext > client_contexts_;
|
|
::google::protobuf::internal::ArenaStringPtr cache_guid_;
|
|
::google::protobuf::internal::ArenaStringPtr padding_;
|
|
::sync_pb::ClientConfigParams* config_params_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetUpdateTriggers : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetUpdateTriggers) */ {
|
|
public:
|
|
GetUpdateTriggers();
|
|
virtual ~GetUpdateTriggers();
|
|
|
|
GetUpdateTriggers(const GetUpdateTriggers& from);
|
|
|
|
inline GetUpdateTriggers& operator=(const GetUpdateTriggers& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetUpdateTriggers& default_instance();
|
|
|
|
static inline const GetUpdateTriggers* internal_default_instance() {
|
|
return reinterpret_cast<const GetUpdateTriggers*>(
|
|
&_GetUpdateTriggers_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
7;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetUpdateTriggers* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetUpdateTriggers* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetUpdateTriggers* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetUpdateTriggers& from);
|
|
void MergeFrom(const GetUpdateTriggers& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetUpdateTriggers* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated string notification_hint = 1;
|
|
int notification_hint_size() const;
|
|
void clear_notification_hint();
|
|
static const int kNotificationHintFieldNumber = 1;
|
|
const ::std::string& notification_hint(int index) const;
|
|
::std::string* mutable_notification_hint(int index);
|
|
void set_notification_hint(int index, const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_notification_hint(int index, ::std::string&& value);
|
|
#endif
|
|
void set_notification_hint(int index, const char* value);
|
|
void set_notification_hint(int index, const char* value, size_t size);
|
|
::std::string* add_notification_hint();
|
|
void add_notification_hint(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void add_notification_hint(::std::string&& value);
|
|
#endif
|
|
void add_notification_hint(const char* value);
|
|
void add_notification_hint(const char* value, size_t size);
|
|
const ::google::protobuf::RepeatedPtrField< ::std::string>& notification_hint() const;
|
|
::google::protobuf::RepeatedPtrField< ::std::string>* mutable_notification_hint();
|
|
|
|
// optional int64 local_modification_nudges = 4;
|
|
bool has_local_modification_nudges() const;
|
|
void clear_local_modification_nudges();
|
|
static const int kLocalModificationNudgesFieldNumber = 4;
|
|
::google::protobuf::int64 local_modification_nudges() const;
|
|
void set_local_modification_nudges(::google::protobuf::int64 value);
|
|
|
|
// optional int64 datatype_refresh_nudges = 5;
|
|
bool has_datatype_refresh_nudges() const;
|
|
void clear_datatype_refresh_nudges();
|
|
static const int kDatatypeRefreshNudgesFieldNumber = 5;
|
|
::google::protobuf::int64 datatype_refresh_nudges() const;
|
|
void set_datatype_refresh_nudges(::google::protobuf::int64 value);
|
|
|
|
// optional bool client_dropped_hints = 2;
|
|
bool has_client_dropped_hints() const;
|
|
void clear_client_dropped_hints();
|
|
static const int kClientDroppedHintsFieldNumber = 2;
|
|
bool client_dropped_hints() const;
|
|
void set_client_dropped_hints(bool value);
|
|
|
|
// optional bool invalidations_out_of_sync = 3;
|
|
bool has_invalidations_out_of_sync() const;
|
|
void clear_invalidations_out_of_sync();
|
|
static const int kInvalidationsOutOfSyncFieldNumber = 3;
|
|
bool invalidations_out_of_sync() const;
|
|
void set_invalidations_out_of_sync(bool value);
|
|
|
|
// optional bool server_dropped_hints = 6;
|
|
bool has_server_dropped_hints() const;
|
|
void clear_server_dropped_hints();
|
|
static const int kServerDroppedHintsFieldNumber = 6;
|
|
bool server_dropped_hints() const;
|
|
void set_server_dropped_hints(bool value);
|
|
|
|
// optional bool initial_sync_in_progress = 7;
|
|
bool has_initial_sync_in_progress() const;
|
|
void clear_initial_sync_in_progress();
|
|
static const int kInitialSyncInProgressFieldNumber = 7;
|
|
bool initial_sync_in_progress() const;
|
|
void set_initial_sync_in_progress(bool value);
|
|
|
|
// optional bool sync_for_resolve_conflict_in_progress = 8;
|
|
bool has_sync_for_resolve_conflict_in_progress() const;
|
|
void clear_sync_for_resolve_conflict_in_progress();
|
|
static const int kSyncForResolveConflictInProgressFieldNumber = 8;
|
|
bool sync_for_resolve_conflict_in_progress() const;
|
|
void set_sync_for_resolve_conflict_in_progress(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetUpdateTriggers)
|
|
private:
|
|
void set_has_client_dropped_hints();
|
|
void clear_has_client_dropped_hints();
|
|
void set_has_invalidations_out_of_sync();
|
|
void clear_has_invalidations_out_of_sync();
|
|
void set_has_local_modification_nudges();
|
|
void clear_has_local_modification_nudges();
|
|
void set_has_datatype_refresh_nudges();
|
|
void clear_has_datatype_refresh_nudges();
|
|
void set_has_server_dropped_hints();
|
|
void clear_has_server_dropped_hints();
|
|
void set_has_initial_sync_in_progress();
|
|
void clear_has_initial_sync_in_progress();
|
|
void set_has_sync_for_resolve_conflict_in_progress();
|
|
void clear_has_sync_for_resolve_conflict_in_progress();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::std::string> notification_hint_;
|
|
::google::protobuf::int64 local_modification_nudges_;
|
|
::google::protobuf::int64 datatype_refresh_nudges_;
|
|
bool client_dropped_hints_;
|
|
bool invalidations_out_of_sync_;
|
|
bool server_dropped_hints_;
|
|
bool initial_sync_in_progress_;
|
|
bool sync_for_resolve_conflict_in_progress_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GarbageCollectionDirective : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GarbageCollectionDirective) */ {
|
|
public:
|
|
GarbageCollectionDirective();
|
|
virtual ~GarbageCollectionDirective();
|
|
|
|
GarbageCollectionDirective(const GarbageCollectionDirective& from);
|
|
|
|
inline GarbageCollectionDirective& operator=(const GarbageCollectionDirective& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GarbageCollectionDirective& default_instance();
|
|
|
|
static inline const GarbageCollectionDirective* internal_default_instance() {
|
|
return reinterpret_cast<const GarbageCollectionDirective*>(
|
|
&_GarbageCollectionDirective_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
8;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GarbageCollectionDirective* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GarbageCollectionDirective* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GarbageCollectionDirective* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GarbageCollectionDirective& from);
|
|
void MergeFrom(const GarbageCollectionDirective& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GarbageCollectionDirective* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef GarbageCollectionDirective_Type Type;
|
|
static const Type UNKNOWN =
|
|
GarbageCollectionDirective_Type_UNKNOWN;
|
|
static const Type VERSION_WATERMARK =
|
|
GarbageCollectionDirective_Type_VERSION_WATERMARK;
|
|
static const Type AGE_WATERMARK =
|
|
GarbageCollectionDirective_Type_AGE_WATERMARK;
|
|
static const Type MAX_ITEM_COUNT =
|
|
GarbageCollectionDirective_Type_MAX_ITEM_COUNT;
|
|
static inline bool Type_IsValid(int value) {
|
|
return GarbageCollectionDirective_Type_IsValid(value);
|
|
}
|
|
static const Type Type_MIN =
|
|
GarbageCollectionDirective_Type_Type_MIN;
|
|
static const Type Type_MAX =
|
|
GarbageCollectionDirective_Type_Type_MAX;
|
|
static const int Type_ARRAYSIZE =
|
|
GarbageCollectionDirective_Type_Type_ARRAYSIZE;
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional int64 version_watermark = 2;
|
|
bool has_version_watermark() const;
|
|
void clear_version_watermark();
|
|
static const int kVersionWatermarkFieldNumber = 2;
|
|
::google::protobuf::int64 version_watermark() const;
|
|
void set_version_watermark(::google::protobuf::int64 value);
|
|
|
|
// optional .sync_pb.GarbageCollectionDirective.Type type = 1 [default = UNKNOWN];
|
|
bool has_type() const;
|
|
void clear_type();
|
|
static const int kTypeFieldNumber = 1;
|
|
::sync_pb::GarbageCollectionDirective_Type type() const;
|
|
void set_type(::sync_pb::GarbageCollectionDirective_Type value);
|
|
|
|
// optional int32 age_watermark_in_days = 3;
|
|
bool has_age_watermark_in_days() const;
|
|
void clear_age_watermark_in_days();
|
|
static const int kAgeWatermarkInDaysFieldNumber = 3;
|
|
::google::protobuf::int32 age_watermark_in_days() const;
|
|
void set_age_watermark_in_days(::google::protobuf::int32 value);
|
|
|
|
// optional int32 max_number_of_items = 4;
|
|
bool has_max_number_of_items() const;
|
|
void clear_max_number_of_items();
|
|
static const int kMaxNumberOfItemsFieldNumber = 4;
|
|
::google::protobuf::int32 max_number_of_items() const;
|
|
void set_max_number_of_items(::google::protobuf::int32 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GarbageCollectionDirective)
|
|
private:
|
|
void set_has_type();
|
|
void clear_has_type();
|
|
void set_has_version_watermark();
|
|
void clear_has_version_watermark();
|
|
void set_has_age_watermark_in_days();
|
|
void clear_has_age_watermark_in_days();
|
|
void set_has_max_number_of_items();
|
|
void clear_has_max_number_of_items();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::int64 version_watermark_;
|
|
int type_;
|
|
::google::protobuf::int32 age_watermark_in_days_;
|
|
::google::protobuf::int32 max_number_of_items_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DataTypeProgressMarker : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.DataTypeProgressMarker) */ {
|
|
public:
|
|
DataTypeProgressMarker();
|
|
virtual ~DataTypeProgressMarker();
|
|
|
|
DataTypeProgressMarker(const DataTypeProgressMarker& from);
|
|
|
|
inline DataTypeProgressMarker& operator=(const DataTypeProgressMarker& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const DataTypeProgressMarker& default_instance();
|
|
|
|
static inline const DataTypeProgressMarker* internal_default_instance() {
|
|
return reinterpret_cast<const DataTypeProgressMarker*>(
|
|
&_DataTypeProgressMarker_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
9;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(DataTypeProgressMarker* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DataTypeProgressMarker* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
DataTypeProgressMarker* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const DataTypeProgressMarker& from);
|
|
void MergeFrom(const DataTypeProgressMarker& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(DataTypeProgressMarker* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional bytes token = 2;
|
|
bool has_token() const;
|
|
void clear_token();
|
|
static const int kTokenFieldNumber = 2;
|
|
const ::std::string& token() const;
|
|
void set_token(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_token(::std::string&& value);
|
|
#endif
|
|
void set_token(const char* value);
|
|
void set_token(const void* value, size_t size);
|
|
::std::string* mutable_token();
|
|
::std::string* release_token();
|
|
void set_allocated_token(::std::string* token);
|
|
|
|
// optional string notification_hint = 4;
|
|
bool has_notification_hint() const;
|
|
void clear_notification_hint();
|
|
static const int kNotificationHintFieldNumber = 4;
|
|
const ::std::string& notification_hint() const;
|
|
void set_notification_hint(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_notification_hint(::std::string&& value);
|
|
#endif
|
|
void set_notification_hint(const char* value);
|
|
void set_notification_hint(const char* value, size_t size);
|
|
::std::string* mutable_notification_hint();
|
|
::std::string* release_notification_hint();
|
|
void set_allocated_notification_hint(::std::string* notification_hint);
|
|
|
|
// optional .sync_pb.GetUpdateTriggers get_update_triggers = 5;
|
|
bool has_get_update_triggers() const;
|
|
void clear_get_update_triggers();
|
|
static const int kGetUpdateTriggersFieldNumber = 5;
|
|
const ::sync_pb::GetUpdateTriggers& get_update_triggers() const;
|
|
::sync_pb::GetUpdateTriggers* mutable_get_update_triggers();
|
|
::sync_pb::GetUpdateTriggers* release_get_update_triggers();
|
|
void set_allocated_get_update_triggers(::sync_pb::GetUpdateTriggers* get_update_triggers);
|
|
|
|
// optional .sync_pb.GarbageCollectionDirective gc_directive = 6;
|
|
bool has_gc_directive() const;
|
|
void clear_gc_directive();
|
|
static const int kGcDirectiveFieldNumber = 6;
|
|
const ::sync_pb::GarbageCollectionDirective& gc_directive() const;
|
|
::sync_pb::GarbageCollectionDirective* mutable_gc_directive();
|
|
::sync_pb::GarbageCollectionDirective* release_gc_directive();
|
|
void set_allocated_gc_directive(::sync_pb::GarbageCollectionDirective* gc_directive);
|
|
|
|
// optional int64 timestamp_token_for_migration = 3;
|
|
bool has_timestamp_token_for_migration() const;
|
|
void clear_timestamp_token_for_migration();
|
|
static const int kTimestampTokenForMigrationFieldNumber = 3;
|
|
::google::protobuf::int64 timestamp_token_for_migration() const;
|
|
void set_timestamp_token_for_migration(::google::protobuf::int64 value);
|
|
|
|
// optional int32 data_type_id = 1;
|
|
bool has_data_type_id() const;
|
|
void clear_data_type_id();
|
|
static const int kDataTypeIdFieldNumber = 1;
|
|
::google::protobuf::int32 data_type_id() const;
|
|
void set_data_type_id(::google::protobuf::int32 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.DataTypeProgressMarker)
|
|
private:
|
|
void set_has_data_type_id();
|
|
void clear_has_data_type_id();
|
|
void set_has_token();
|
|
void clear_has_token();
|
|
void set_has_timestamp_token_for_migration();
|
|
void clear_has_timestamp_token_for_migration();
|
|
void set_has_notification_hint();
|
|
void clear_has_notification_hint();
|
|
void set_has_get_update_triggers();
|
|
void clear_has_get_update_triggers();
|
|
void set_has_gc_directive();
|
|
void clear_has_gc_directive();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr token_;
|
|
::google::protobuf::internal::ArenaStringPtr notification_hint_;
|
|
::sync_pb::GetUpdateTriggers* get_update_triggers_;
|
|
::sync_pb::GarbageCollectionDirective* gc_directive_;
|
|
::google::protobuf::int64 timestamp_token_for_migration_;
|
|
::google::protobuf::int32 data_type_id_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetUpdatesMessage : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetUpdatesMessage) */ {
|
|
public:
|
|
GetUpdatesMessage();
|
|
virtual ~GetUpdatesMessage();
|
|
|
|
GetUpdatesMessage(const GetUpdatesMessage& from);
|
|
|
|
inline GetUpdatesMessage& operator=(const GetUpdatesMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetUpdatesMessage& default_instance();
|
|
|
|
static inline const GetUpdatesMessage* internal_default_instance() {
|
|
return reinterpret_cast<const GetUpdatesMessage*>(
|
|
&_GetUpdatesMessage_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
10;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetUpdatesMessage* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetUpdatesMessage* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetUpdatesMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetUpdatesMessage& from);
|
|
void MergeFrom(const GetUpdatesMessage& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetUpdatesMessage* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
|
|
int from_progress_marker_size() const;
|
|
void clear_from_progress_marker();
|
|
static const int kFromProgressMarkerFieldNumber = 6;
|
|
const ::sync_pb::DataTypeProgressMarker& from_progress_marker(int index) const;
|
|
::sync_pb::DataTypeProgressMarker* mutable_from_progress_marker(int index);
|
|
::sync_pb::DataTypeProgressMarker* add_from_progress_marker();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
|
|
mutable_from_progress_marker();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
|
|
from_progress_marker() const;
|
|
|
|
// repeated .sync_pb.DataTypeContext client_contexts = 11;
|
|
int client_contexts_size() const;
|
|
void clear_client_contexts();
|
|
static const int kClientContextsFieldNumber = 11;
|
|
const ::sync_pb::DataTypeContext& client_contexts(int index) const;
|
|
::sync_pb::DataTypeContext* mutable_client_contexts(int index);
|
|
::sync_pb::DataTypeContext* add_client_contexts();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >*
|
|
mutable_client_contexts();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >&
|
|
client_contexts() const;
|
|
|
|
// optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
|
|
bool has_caller_info() const;
|
|
void clear_caller_info();
|
|
static const int kCallerInfoFieldNumber = 2;
|
|
const ::sync_pb::GetUpdatesCallerInfo& caller_info() const;
|
|
::sync_pb::GetUpdatesCallerInfo* mutable_caller_info();
|
|
::sync_pb::GetUpdatesCallerInfo* release_caller_info();
|
|
void set_allocated_caller_info(::sync_pb::GetUpdatesCallerInfo* caller_info);
|
|
|
|
// optional .sync_pb.EntitySpecifics requested_types = 4;
|
|
bool has_requested_types() const;
|
|
void clear_requested_types();
|
|
static const int kRequestedTypesFieldNumber = 4;
|
|
const ::sync_pb::EntitySpecifics& requested_types() const;
|
|
::sync_pb::EntitySpecifics* mutable_requested_types();
|
|
::sync_pb::EntitySpecifics* release_requested_types();
|
|
void set_allocated_requested_types(::sync_pb::EntitySpecifics* requested_types);
|
|
|
|
// optional int64 from_timestamp = 1;
|
|
bool has_from_timestamp() const;
|
|
void clear_from_timestamp();
|
|
static const int kFromTimestampFieldNumber = 1;
|
|
::google::protobuf::int64 from_timestamp() const;
|
|
void set_from_timestamp(::google::protobuf::int64 value);
|
|
|
|
// optional int32 batch_size = 5;
|
|
bool has_batch_size() const;
|
|
void clear_batch_size();
|
|
static const int kBatchSizeFieldNumber = 5;
|
|
::google::protobuf::int32 batch_size() const;
|
|
void set_batch_size(::google::protobuf::int32 value);
|
|
|
|
// optional .sync_pb.SyncEnums.GetUpdatesOrigin get_updates_origin = 9;
|
|
bool has_get_updates_origin() const;
|
|
void clear_get_updates_origin();
|
|
static const int kGetUpdatesOriginFieldNumber = 9;
|
|
::sync_pb::SyncEnums_GetUpdatesOrigin get_updates_origin() const;
|
|
void set_get_updates_origin(::sync_pb::SyncEnums_GetUpdatesOrigin value);
|
|
|
|
// optional bool streaming = 7 [default = false];
|
|
bool has_streaming() const;
|
|
void clear_streaming();
|
|
static const int kStreamingFieldNumber = 7;
|
|
bool streaming() const;
|
|
void set_streaming(bool value);
|
|
|
|
// optional bool need_encryption_key = 8 [default = false];
|
|
bool has_need_encryption_key() const;
|
|
void clear_need_encryption_key();
|
|
static const int kNeedEncryptionKeyFieldNumber = 8;
|
|
bool need_encryption_key() const;
|
|
void set_need_encryption_key(bool value);
|
|
|
|
// optional bool create_mobile_bookmarks_folder = 1000 [default = false];
|
|
bool has_create_mobile_bookmarks_folder() const;
|
|
void clear_create_mobile_bookmarks_folder();
|
|
static const int kCreateMobileBookmarksFolderFieldNumber = 1000;
|
|
bool create_mobile_bookmarks_folder() const;
|
|
void set_create_mobile_bookmarks_folder(bool value);
|
|
|
|
// optional bool is_retry = 10 [default = false];
|
|
bool has_is_retry() const;
|
|
void clear_is_retry();
|
|
static const int kIsRetryFieldNumber = 10;
|
|
bool is_retry() const;
|
|
void set_is_retry(bool value);
|
|
|
|
// optional bool fetch_folders = 3 [default = true];
|
|
bool has_fetch_folders() const;
|
|
void clear_fetch_folders();
|
|
static const int kFetchFoldersFieldNumber = 3;
|
|
bool fetch_folders() const;
|
|
void set_fetch_folders(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesMessage)
|
|
private:
|
|
void set_has_from_timestamp();
|
|
void clear_has_from_timestamp();
|
|
void set_has_caller_info();
|
|
void clear_has_caller_info();
|
|
void set_has_fetch_folders();
|
|
void clear_has_fetch_folders();
|
|
void set_has_requested_types();
|
|
void clear_has_requested_types();
|
|
void set_has_batch_size();
|
|
void clear_has_batch_size();
|
|
void set_has_streaming();
|
|
void clear_has_streaming();
|
|
void set_has_need_encryption_key();
|
|
void clear_has_need_encryption_key();
|
|
void set_has_create_mobile_bookmarks_folder();
|
|
void clear_has_create_mobile_bookmarks_folder();
|
|
void set_has_get_updates_origin();
|
|
void clear_has_get_updates_origin();
|
|
void set_has_is_retry();
|
|
void clear_has_is_retry();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker > from_progress_marker_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext > client_contexts_;
|
|
::sync_pb::GetUpdatesCallerInfo* caller_info_;
|
|
::sync_pb::EntitySpecifics* requested_types_;
|
|
::google::protobuf::int64 from_timestamp_;
|
|
::google::protobuf::int32 batch_size_;
|
|
int get_updates_origin_;
|
|
bool streaming_;
|
|
bool need_encryption_key_;
|
|
bool create_mobile_bookmarks_folder_;
|
|
bool is_retry_;
|
|
bool fetch_folders_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class AuthenticateMessage : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.AuthenticateMessage) */ {
|
|
public:
|
|
AuthenticateMessage();
|
|
virtual ~AuthenticateMessage();
|
|
|
|
AuthenticateMessage(const AuthenticateMessage& from);
|
|
|
|
inline AuthenticateMessage& operator=(const AuthenticateMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const AuthenticateMessage& default_instance();
|
|
|
|
static inline const AuthenticateMessage* internal_default_instance() {
|
|
return reinterpret_cast<const AuthenticateMessage*>(
|
|
&_AuthenticateMessage_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
11;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(AuthenticateMessage* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline AuthenticateMessage* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
AuthenticateMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const AuthenticateMessage& from);
|
|
void MergeFrom(const AuthenticateMessage& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(AuthenticateMessage* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// required string auth_token = 1;
|
|
bool has_auth_token() const;
|
|
void clear_auth_token();
|
|
static const int kAuthTokenFieldNumber = 1;
|
|
const ::std::string& auth_token() const;
|
|
void set_auth_token(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_auth_token(::std::string&& value);
|
|
#endif
|
|
void set_auth_token(const char* value);
|
|
void set_auth_token(const char* value, size_t size);
|
|
::std::string* mutable_auth_token();
|
|
::std::string* release_auth_token();
|
|
void set_allocated_auth_token(::std::string* auth_token);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.AuthenticateMessage)
|
|
private:
|
|
void set_has_auth_token();
|
|
void clear_has_auth_token();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr auth_token_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClearServerDataMessage : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClearServerDataMessage) */ {
|
|
public:
|
|
ClearServerDataMessage();
|
|
virtual ~ClearServerDataMessage();
|
|
|
|
ClearServerDataMessage(const ClearServerDataMessage& from);
|
|
|
|
inline ClearServerDataMessage& operator=(const ClearServerDataMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClearServerDataMessage& default_instance();
|
|
|
|
static inline const ClearServerDataMessage* internal_default_instance() {
|
|
return reinterpret_cast<const ClearServerDataMessage*>(
|
|
&_ClearServerDataMessage_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
12;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClearServerDataMessage* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClearServerDataMessage* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClearServerDataMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClearServerDataMessage& from);
|
|
void MergeFrom(const ClearServerDataMessage& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClearServerDataMessage* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClearServerDataMessage)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClearServerDataResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClearServerDataResponse) */ {
|
|
public:
|
|
ClearServerDataResponse();
|
|
virtual ~ClearServerDataResponse();
|
|
|
|
ClearServerDataResponse(const ClearServerDataResponse& from);
|
|
|
|
inline ClearServerDataResponse& operator=(const ClearServerDataResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClearServerDataResponse& default_instance();
|
|
|
|
static inline const ClearServerDataResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ClearServerDataResponse*>(
|
|
&_ClearServerDataResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
13;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClearServerDataResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClearServerDataResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClearServerDataResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClearServerDataResponse& from);
|
|
void MergeFrom(const ClearServerDataResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClearServerDataResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClearServerDataResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ChipBag : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ChipBag) */ {
|
|
public:
|
|
ChipBag();
|
|
virtual ~ChipBag();
|
|
|
|
ChipBag(const ChipBag& from);
|
|
|
|
inline ChipBag& operator=(const ChipBag& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ChipBag& default_instance();
|
|
|
|
static inline const ChipBag* internal_default_instance() {
|
|
return reinterpret_cast<const ChipBag*>(
|
|
&_ChipBag_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
14;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ChipBag* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ChipBag* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ChipBag* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ChipBag& from);
|
|
void MergeFrom(const ChipBag& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ChipBag* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional bytes server_chips = 1;
|
|
bool has_server_chips() const;
|
|
void clear_server_chips();
|
|
static const int kServerChipsFieldNumber = 1;
|
|
const ::std::string& server_chips() const;
|
|
void set_server_chips(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_server_chips(::std::string&& value);
|
|
#endif
|
|
void set_server_chips(const char* value);
|
|
void set_server_chips(const void* value, size_t size);
|
|
::std::string* mutable_server_chips();
|
|
::std::string* release_server_chips();
|
|
void set_allocated_server_chips(::std::string* server_chips);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ChipBag)
|
|
private:
|
|
void set_has_server_chips();
|
|
void clear_has_server_chips();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr server_chips_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClientStatus : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClientStatus) */ {
|
|
public:
|
|
ClientStatus();
|
|
virtual ~ClientStatus();
|
|
|
|
ClientStatus(const ClientStatus& from);
|
|
|
|
inline ClientStatus& operator=(const ClientStatus& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClientStatus& default_instance();
|
|
|
|
static inline const ClientStatus* internal_default_instance() {
|
|
return reinterpret_cast<const ClientStatus*>(
|
|
&_ClientStatus_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
15;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClientStatus* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClientStatus* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClientStatus* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClientStatus& from);
|
|
void MergeFrom(const ClientStatus& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClientStatus* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional bool hierarchy_conflict_detected = 1;
|
|
bool has_hierarchy_conflict_detected() const;
|
|
void clear_hierarchy_conflict_detected();
|
|
static const int kHierarchyConflictDetectedFieldNumber = 1;
|
|
bool hierarchy_conflict_detected() const;
|
|
void set_hierarchy_conflict_detected(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClientStatus)
|
|
private:
|
|
void set_has_hierarchy_conflict_detected();
|
|
void clear_has_hierarchy_conflict_detected();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
bool hierarchy_conflict_detected_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DataTypeContext : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.DataTypeContext) */ {
|
|
public:
|
|
DataTypeContext();
|
|
virtual ~DataTypeContext();
|
|
|
|
DataTypeContext(const DataTypeContext& from);
|
|
|
|
inline DataTypeContext& operator=(const DataTypeContext& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const DataTypeContext& default_instance();
|
|
|
|
static inline const DataTypeContext* internal_default_instance() {
|
|
return reinterpret_cast<const DataTypeContext*>(
|
|
&_DataTypeContext_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
16;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(DataTypeContext* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DataTypeContext* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
DataTypeContext* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const DataTypeContext& from);
|
|
void MergeFrom(const DataTypeContext& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(DataTypeContext* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional bytes context = 2;
|
|
bool has_context() const;
|
|
void clear_context();
|
|
static const int kContextFieldNumber = 2;
|
|
const ::std::string& context() const;
|
|
void set_context(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_context(::std::string&& value);
|
|
#endif
|
|
void set_context(const char* value);
|
|
void set_context(const void* value, size_t size);
|
|
::std::string* mutable_context();
|
|
::std::string* release_context();
|
|
void set_allocated_context(::std::string* context);
|
|
|
|
// optional int64 version = 3;
|
|
bool has_version() const;
|
|
void clear_version();
|
|
static const int kVersionFieldNumber = 3;
|
|
::google::protobuf::int64 version() const;
|
|
void set_version(::google::protobuf::int64 value);
|
|
|
|
// optional int32 data_type_id = 1;
|
|
bool has_data_type_id() const;
|
|
void clear_data_type_id();
|
|
static const int kDataTypeIdFieldNumber = 1;
|
|
::google::protobuf::int32 data_type_id() const;
|
|
void set_data_type_id(::google::protobuf::int32 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.DataTypeContext)
|
|
private:
|
|
void set_has_data_type_id();
|
|
void clear_has_data_type_id();
|
|
void set_has_context();
|
|
void clear_has_context();
|
|
void set_has_version();
|
|
void clear_has_version();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr context_;
|
|
::google::protobuf::int64 version_;
|
|
::google::protobuf::int32 data_type_id_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClientToServerMessage : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClientToServerMessage) */ {
|
|
public:
|
|
ClientToServerMessage();
|
|
virtual ~ClientToServerMessage();
|
|
|
|
ClientToServerMessage(const ClientToServerMessage& from);
|
|
|
|
inline ClientToServerMessage& operator=(const ClientToServerMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClientToServerMessage& default_instance();
|
|
|
|
static inline const ClientToServerMessage* internal_default_instance() {
|
|
return reinterpret_cast<const ClientToServerMessage*>(
|
|
&_ClientToServerMessage_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
17;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClientToServerMessage* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClientToServerMessage* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClientToServerMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClientToServerMessage& from);
|
|
void MergeFrom(const ClientToServerMessage& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClientToServerMessage* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// 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 DEPRECATED_4 =
|
|
ClientToServerMessage_Contents_DEPRECATED_4;
|
|
static const Contents CLEAR_SERVER_DATA =
|
|
ClientToServerMessage_Contents_CLEAR_SERVER_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;
|
|
bool has_share() const;
|
|
void clear_share();
|
|
static const int kShareFieldNumber = 1;
|
|
const ::std::string& share() const;
|
|
void set_share(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_share(::std::string&& value);
|
|
#endif
|
|
void set_share(const char* value);
|
|
void set_share(const char* value, size_t size);
|
|
::std::string* mutable_share();
|
|
::std::string* release_share();
|
|
void set_allocated_share(::std::string* share);
|
|
|
|
// optional string store_birthday = 7;
|
|
bool has_store_birthday() const;
|
|
void clear_store_birthday();
|
|
static const int kStoreBirthdayFieldNumber = 7;
|
|
const ::std::string& store_birthday() const;
|
|
void set_store_birthday(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_store_birthday(::std::string&& value);
|
|
#endif
|
|
void set_store_birthday(const char* value);
|
|
void set_store_birthday(const char* value, size_t size);
|
|
::std::string* mutable_store_birthday();
|
|
::std::string* release_store_birthday();
|
|
void set_allocated_store_birthday(::std::string* store_birthday);
|
|
|
|
// optional string api_key = 12;
|
|
bool has_api_key() const;
|
|
void clear_api_key();
|
|
static const int kApiKeyFieldNumber = 12;
|
|
const ::std::string& api_key() const;
|
|
void set_api_key(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_api_key(::std::string&& value);
|
|
#endif
|
|
void set_api_key(const char* value);
|
|
void set_api_key(const char* value, size_t size);
|
|
::std::string* mutable_api_key();
|
|
::std::string* release_api_key();
|
|
void set_allocated_api_key(::std::string* api_key);
|
|
|
|
// optional string invalidator_client_id = 14;
|
|
bool has_invalidator_client_id() const;
|
|
void clear_invalidator_client_id();
|
|
static const int kInvalidatorClientIdFieldNumber = 14;
|
|
const ::std::string& invalidator_client_id() const;
|
|
void set_invalidator_client_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_invalidator_client_id(::std::string&& value);
|
|
#endif
|
|
void set_invalidator_client_id(const char* value);
|
|
void set_invalidator_client_id(const char* value, size_t size);
|
|
::std::string* mutable_invalidator_client_id();
|
|
::std::string* release_invalidator_client_id();
|
|
void set_allocated_invalidator_client_id(::std::string* invalidator_client_id);
|
|
|
|
// optional .sync_pb.CommitMessage commit = 4;
|
|
bool has_commit() const;
|
|
void clear_commit();
|
|
static const int kCommitFieldNumber = 4;
|
|
const ::sync_pb::CommitMessage& commit() const;
|
|
::sync_pb::CommitMessage* mutable_commit();
|
|
::sync_pb::CommitMessage* release_commit();
|
|
void set_allocated_commit(::sync_pb::CommitMessage* commit);
|
|
|
|
// optional .sync_pb.GetUpdatesMessage get_updates = 5;
|
|
bool has_get_updates() const;
|
|
void clear_get_updates();
|
|
static const int kGetUpdatesFieldNumber = 5;
|
|
const ::sync_pb::GetUpdatesMessage& get_updates() const;
|
|
::sync_pb::GetUpdatesMessage* mutable_get_updates();
|
|
::sync_pb::GetUpdatesMessage* release_get_updates();
|
|
void set_allocated_get_updates(::sync_pb::GetUpdatesMessage* get_updates);
|
|
|
|
// optional .sync_pb.AuthenticateMessage authenticate = 6;
|
|
bool has_authenticate() const;
|
|
void clear_authenticate();
|
|
static const int kAuthenticateFieldNumber = 6;
|
|
const ::sync_pb::AuthenticateMessage& authenticate() const;
|
|
::sync_pb::AuthenticateMessage* mutable_authenticate();
|
|
::sync_pb::AuthenticateMessage* release_authenticate();
|
|
void set_allocated_authenticate(::sync_pb::AuthenticateMessage* authenticate);
|
|
|
|
// optional .sync_pb.DeprecatedMessage deprecated_field_9 = 9 [deprecated = true];
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_deprecated_field_9() const;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_deprecated_field_9();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kDeprecatedField9FieldNumber = 9;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::sync_pb::DeprecatedMessage& deprecated_field_9() const;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::sync_pb::DeprecatedMessage* mutable_deprecated_field_9();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::sync_pb::DeprecatedMessage* release_deprecated_field_9();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_allocated_deprecated_field_9(::sync_pb::DeprecatedMessage* deprecated_field_9);
|
|
|
|
// optional .sync_pb.DebugInfo debug_info = 10;
|
|
bool has_debug_info() const;
|
|
void clear_debug_info();
|
|
static const int kDebugInfoFieldNumber = 10;
|
|
const ::sync_pb::DebugInfo& debug_info() const;
|
|
::sync_pb::DebugInfo* mutable_debug_info();
|
|
::sync_pb::DebugInfo* release_debug_info();
|
|
void set_allocated_debug_info(::sync_pb::DebugInfo* debug_info);
|
|
|
|
// optional .sync_pb.ChipBag bag_of_chips = 11;
|
|
bool has_bag_of_chips() const;
|
|
void clear_bag_of_chips();
|
|
static const int kBagOfChipsFieldNumber = 11;
|
|
const ::sync_pb::ChipBag& bag_of_chips() const;
|
|
::sync_pb::ChipBag* mutable_bag_of_chips();
|
|
::sync_pb::ChipBag* release_bag_of_chips();
|
|
void set_allocated_bag_of_chips(::sync_pb::ChipBag* bag_of_chips);
|
|
|
|
// optional .sync_pb.ClientStatus client_status = 13;
|
|
bool has_client_status() const;
|
|
void clear_client_status();
|
|
static const int kClientStatusFieldNumber = 13;
|
|
const ::sync_pb::ClientStatus& client_status() const;
|
|
::sync_pb::ClientStatus* mutable_client_status();
|
|
::sync_pb::ClientStatus* release_client_status();
|
|
void set_allocated_client_status(::sync_pb::ClientStatus* client_status);
|
|
|
|
// optional .sync_pb.ClearServerDataMessage clear_server_data = 15;
|
|
bool has_clear_server_data() const;
|
|
void clear_clear_server_data();
|
|
static const int kClearServerDataFieldNumber = 15;
|
|
const ::sync_pb::ClearServerDataMessage& clear_server_data() const;
|
|
::sync_pb::ClearServerDataMessage* mutable_clear_server_data();
|
|
::sync_pb::ClearServerDataMessage* release_clear_server_data();
|
|
void set_allocated_clear_server_data(::sync_pb::ClearServerDataMessage* clear_server_data);
|
|
|
|
// optional bool sync_problem_detected = 8 [default = false];
|
|
bool has_sync_problem_detected() const;
|
|
void clear_sync_problem_detected();
|
|
static const int kSyncProblemDetectedFieldNumber = 8;
|
|
bool sync_problem_detected() const;
|
|
void set_sync_problem_detected(bool value);
|
|
|
|
// optional int32 protocol_version = 2 [default = 52];
|
|
bool has_protocol_version() const;
|
|
void clear_protocol_version();
|
|
static const int kProtocolVersionFieldNumber = 2;
|
|
::google::protobuf::int32 protocol_version() const;
|
|
void set_protocol_version(::google::protobuf::int32 value);
|
|
|
|
// required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
|
|
bool has_message_contents() const;
|
|
void clear_message_contents();
|
|
static const int kMessageContentsFieldNumber = 3;
|
|
::sync_pb::ClientToServerMessage_Contents message_contents() const;
|
|
void set_message_contents(::sync_pb::ClientToServerMessage_Contents value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClientToServerMessage)
|
|
private:
|
|
void set_has_share();
|
|
void clear_has_share();
|
|
void set_has_protocol_version();
|
|
void clear_has_protocol_version();
|
|
void set_has_message_contents();
|
|
void clear_has_message_contents();
|
|
void set_has_commit();
|
|
void clear_has_commit();
|
|
void set_has_get_updates();
|
|
void clear_has_get_updates();
|
|
void set_has_authenticate();
|
|
void clear_has_authenticate();
|
|
void set_has_deprecated_field_9();
|
|
void clear_has_deprecated_field_9();
|
|
void set_has_store_birthday();
|
|
void clear_has_store_birthday();
|
|
void set_has_sync_problem_detected();
|
|
void clear_has_sync_problem_detected();
|
|
void set_has_debug_info();
|
|
void clear_has_debug_info();
|
|
void set_has_bag_of_chips();
|
|
void clear_has_bag_of_chips();
|
|
void set_has_api_key();
|
|
void clear_has_api_key();
|
|
void set_has_client_status();
|
|
void clear_has_client_status();
|
|
void set_has_invalidator_client_id();
|
|
void clear_has_invalidator_client_id();
|
|
void set_has_clear_server_data();
|
|
void clear_has_clear_server_data();
|
|
|
|
// helper for ByteSizeLong()
|
|
size_t RequiredFieldsByteSizeFallback() const;
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr share_;
|
|
::google::protobuf::internal::ArenaStringPtr store_birthday_;
|
|
::google::protobuf::internal::ArenaStringPtr api_key_;
|
|
::google::protobuf::internal::ArenaStringPtr invalidator_client_id_;
|
|
::sync_pb::CommitMessage* commit_;
|
|
::sync_pb::GetUpdatesMessage* get_updates_;
|
|
::sync_pb::AuthenticateMessage* authenticate_;
|
|
::sync_pb::DeprecatedMessage* deprecated_field_9_;
|
|
::sync_pb::DebugInfo* debug_info_;
|
|
::sync_pb::ChipBag* bag_of_chips_;
|
|
::sync_pb::ClientStatus* client_status_;
|
|
::sync_pb::ClearServerDataMessage* clear_server_data_;
|
|
bool sync_problem_detected_;
|
|
::google::protobuf::int32 protocol_version_;
|
|
int message_contents_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetCrashInfoRequest : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetCrashInfoRequest) */ {
|
|
public:
|
|
GetCrashInfoRequest();
|
|
virtual ~GetCrashInfoRequest();
|
|
|
|
GetCrashInfoRequest(const GetCrashInfoRequest& from);
|
|
|
|
inline GetCrashInfoRequest& operator=(const GetCrashInfoRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetCrashInfoRequest& default_instance();
|
|
|
|
static inline const GetCrashInfoRequest* internal_default_instance() {
|
|
return reinterpret_cast<const GetCrashInfoRequest*>(
|
|
&_GetCrashInfoRequest_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
18;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetCrashInfoRequest* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetCrashInfoRequest* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetCrashInfoRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetCrashInfoRequest& from);
|
|
void MergeFrom(const GetCrashInfoRequest& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetCrashInfoRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional string crash_id = 1;
|
|
bool has_crash_id() const;
|
|
void clear_crash_id();
|
|
static const int kCrashIdFieldNumber = 1;
|
|
const ::std::string& crash_id() const;
|
|
void set_crash_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_crash_id(::std::string&& value);
|
|
#endif
|
|
void set_crash_id(const char* value);
|
|
void set_crash_id(const char* value, size_t size);
|
|
::std::string* mutable_crash_id();
|
|
::std::string* release_crash_id();
|
|
void set_allocated_crash_id(::std::string* crash_id);
|
|
|
|
// optional int64 crash_time_millis = 2;
|
|
bool has_crash_time_millis() const;
|
|
void clear_crash_time_millis();
|
|
static const int kCrashTimeMillisFieldNumber = 2;
|
|
::google::protobuf::int64 crash_time_millis() const;
|
|
void set_crash_time_millis(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetCrashInfoRequest)
|
|
private:
|
|
void set_has_crash_id();
|
|
void clear_has_crash_id();
|
|
void set_has_crash_time_millis();
|
|
void clear_has_crash_time_millis();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr crash_id_;
|
|
::google::protobuf::int64 crash_time_millis_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetCrashInfoResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetCrashInfoResponse) */ {
|
|
public:
|
|
GetCrashInfoResponse();
|
|
virtual ~GetCrashInfoResponse();
|
|
|
|
GetCrashInfoResponse(const GetCrashInfoResponse& from);
|
|
|
|
inline GetCrashInfoResponse& operator=(const GetCrashInfoResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetCrashInfoResponse& default_instance();
|
|
|
|
static inline const GetCrashInfoResponse* internal_default_instance() {
|
|
return reinterpret_cast<const GetCrashInfoResponse*>(
|
|
&_GetCrashInfoResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
19;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetCrashInfoResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetCrashInfoResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetCrashInfoResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetCrashInfoResponse& from);
|
|
void MergeFrom(const GetCrashInfoResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetCrashInfoResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional string stack_id = 1;
|
|
bool has_stack_id() const;
|
|
void clear_stack_id();
|
|
static const int kStackIdFieldNumber = 1;
|
|
const ::std::string& stack_id() const;
|
|
void set_stack_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_stack_id(::std::string&& value);
|
|
#endif
|
|
void set_stack_id(const char* value);
|
|
void set_stack_id(const char* value, size_t size);
|
|
::std::string* mutable_stack_id();
|
|
::std::string* release_stack_id();
|
|
void set_allocated_stack_id(::std::string* stack_id);
|
|
|
|
// optional int64 crash_time_millis = 2;
|
|
bool has_crash_time_millis() const;
|
|
void clear_crash_time_millis();
|
|
static const int kCrashTimeMillisFieldNumber = 2;
|
|
::google::protobuf::int64 crash_time_millis() const;
|
|
void set_crash_time_millis(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetCrashInfoResponse)
|
|
private:
|
|
void set_has_stack_id();
|
|
void clear_has_stack_id();
|
|
void set_has_crash_time_millis();
|
|
void clear_has_crash_time_millis();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr stack_id_;
|
|
::google::protobuf::int64 crash_time_millis_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CommitResponse_EntryResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.CommitResponse.EntryResponse) */ {
|
|
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 ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const CommitResponse_EntryResponse& default_instance();
|
|
|
|
static inline const CommitResponse_EntryResponse* internal_default_instance() {
|
|
return reinterpret_cast<const CommitResponse_EntryResponse*>(
|
|
&_CommitResponse_EntryResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
20;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(CommitResponse_EntryResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CommitResponse_EntryResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
CommitResponse_EntryResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const CommitResponse_EntryResponse& from);
|
|
void MergeFrom(const CommitResponse_EntryResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(CommitResponse_EntryResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional string id_string = 3;
|
|
bool has_id_string() const;
|
|
void clear_id_string();
|
|
static const int kIdStringFieldNumber = 3;
|
|
const ::std::string& id_string() const;
|
|
void set_id_string(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_id_string(::std::string&& value);
|
|
#endif
|
|
void set_id_string(const char* value);
|
|
void set_id_string(const char* value, size_t size);
|
|
::std::string* mutable_id_string();
|
|
::std::string* release_id_string();
|
|
void set_allocated_id_string(::std::string* id_string);
|
|
|
|
// optional string parent_id_string = 4;
|
|
bool has_parent_id_string() const;
|
|
void clear_parent_id_string();
|
|
static const int kParentIdStringFieldNumber = 4;
|
|
const ::std::string& parent_id_string() const;
|
|
void set_parent_id_string(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_parent_id_string(::std::string&& value);
|
|
#endif
|
|
void set_parent_id_string(const char* value);
|
|
void set_parent_id_string(const char* value, size_t size);
|
|
::std::string* mutable_parent_id_string();
|
|
::std::string* release_parent_id_string();
|
|
void set_allocated_parent_id_string(::std::string* parent_id_string);
|
|
|
|
// optional string name = 7;
|
|
bool has_name() const;
|
|
void clear_name();
|
|
static const int kNameFieldNumber = 7;
|
|
const ::std::string& name() const;
|
|
void set_name(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_name(::std::string&& value);
|
|
#endif
|
|
void set_name(const char* value);
|
|
void set_name(const char* value, size_t size);
|
|
::std::string* mutable_name();
|
|
::std::string* release_name();
|
|
void set_allocated_name(::std::string* name);
|
|
|
|
// optional string non_unique_name = 8;
|
|
bool has_non_unique_name() const;
|
|
void clear_non_unique_name();
|
|
static const int kNonUniqueNameFieldNumber = 8;
|
|
const ::std::string& non_unique_name() const;
|
|
void set_non_unique_name(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_non_unique_name(::std::string&& value);
|
|
#endif
|
|
void set_non_unique_name(const char* value);
|
|
void set_non_unique_name(const char* value, size_t size);
|
|
::std::string* mutable_non_unique_name();
|
|
::std::string* release_non_unique_name();
|
|
void set_allocated_non_unique_name(::std::string* non_unique_name);
|
|
|
|
// optional string error_message = 9;
|
|
bool has_error_message() const;
|
|
void clear_error_message();
|
|
static const int kErrorMessageFieldNumber = 9;
|
|
const ::std::string& error_message() const;
|
|
void set_error_message(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_error_message(::std::string&& value);
|
|
#endif
|
|
void set_error_message(const char* value);
|
|
void set_error_message(const char* value, size_t size);
|
|
::std::string* mutable_error_message();
|
|
::std::string* release_error_message();
|
|
void set_allocated_error_message(::std::string* error_message);
|
|
|
|
// optional int64 position_in_parent = 5;
|
|
bool has_position_in_parent() const;
|
|
void clear_position_in_parent();
|
|
static const int kPositionInParentFieldNumber = 5;
|
|
::google::protobuf::int64 position_in_parent() const;
|
|
void set_position_in_parent(::google::protobuf::int64 value);
|
|
|
|
// optional int64 version = 6;
|
|
bool has_version() const;
|
|
void clear_version();
|
|
static const int kVersionFieldNumber = 6;
|
|
::google::protobuf::int64 version() const;
|
|
void set_version(::google::protobuf::int64 value);
|
|
|
|
// optional int64 mtime = 10;
|
|
bool has_mtime() const;
|
|
void clear_mtime();
|
|
static const int kMtimeFieldNumber = 10;
|
|
::google::protobuf::int64 mtime() const;
|
|
void set_mtime(::google::protobuf::int64 value);
|
|
|
|
// required .sync_pb.CommitResponse.ResponseType response_type = 2;
|
|
bool has_response_type() const;
|
|
void clear_response_type();
|
|
static const int kResponseTypeFieldNumber = 2;
|
|
::sync_pb::CommitResponse_ResponseType response_type() const;
|
|
void set_response_type(::sync_pb::CommitResponse_ResponseType value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.CommitResponse.EntryResponse)
|
|
private:
|
|
void set_has_response_type();
|
|
void clear_has_response_type();
|
|
void set_has_id_string();
|
|
void clear_has_id_string();
|
|
void set_has_parent_id_string();
|
|
void clear_has_parent_id_string();
|
|
void set_has_position_in_parent();
|
|
void clear_has_position_in_parent();
|
|
void set_has_version();
|
|
void clear_has_version();
|
|
void set_has_name();
|
|
void clear_has_name();
|
|
void set_has_non_unique_name();
|
|
void clear_has_non_unique_name();
|
|
void set_has_error_message();
|
|
void clear_has_error_message();
|
|
void set_has_mtime();
|
|
void clear_has_mtime();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr id_string_;
|
|
::google::protobuf::internal::ArenaStringPtr parent_id_string_;
|
|
::google::protobuf::internal::ArenaStringPtr name_;
|
|
::google::protobuf::internal::ArenaStringPtr non_unique_name_;
|
|
::google::protobuf::internal::ArenaStringPtr error_message_;
|
|
::google::protobuf::int64 position_in_parent_;
|
|
::google::protobuf::int64 version_;
|
|
::google::protobuf::int64 mtime_;
|
|
int response_type_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CommitResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.CommitResponse) */ {
|
|
public:
|
|
CommitResponse();
|
|
virtual ~CommitResponse();
|
|
|
|
CommitResponse(const CommitResponse& from);
|
|
|
|
inline CommitResponse& operator=(const CommitResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const CommitResponse& default_instance();
|
|
|
|
static inline const CommitResponse* internal_default_instance() {
|
|
return reinterpret_cast<const CommitResponse*>(
|
|
&_CommitResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
21;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(CommitResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CommitResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
CommitResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const CommitResponse& from);
|
|
void MergeFrom(const CommitResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(CommitResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// 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 { ... };
|
|
int entryresponse_size() const;
|
|
void clear_entryresponse();
|
|
static const int kEntryresponseFieldNumber = 1;
|
|
const ::sync_pb::CommitResponse_EntryResponse& entryresponse(int index) const;
|
|
::sync_pb::CommitResponse_EntryResponse* mutable_entryresponse(int index);
|
|
::sync_pb::CommitResponse_EntryResponse* add_entryresponse();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >*
|
|
mutable_entryresponse();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >&
|
|
entryresponse() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.CommitResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse > entryresponse_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetUpdatesResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetUpdatesResponse) */ {
|
|
public:
|
|
GetUpdatesResponse();
|
|
virtual ~GetUpdatesResponse();
|
|
|
|
GetUpdatesResponse(const GetUpdatesResponse& from);
|
|
|
|
inline GetUpdatesResponse& operator=(const GetUpdatesResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetUpdatesResponse& default_instance();
|
|
|
|
static inline const GetUpdatesResponse* internal_default_instance() {
|
|
return reinterpret_cast<const GetUpdatesResponse*>(
|
|
&_GetUpdatesResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
22;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetUpdatesResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetUpdatesResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetUpdatesResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetUpdatesResponse& from);
|
|
void MergeFrom(const GetUpdatesResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetUpdatesResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .sync_pb.SyncEntity entries = 1;
|
|
int entries_size() const;
|
|
void clear_entries();
|
|
static const int kEntriesFieldNumber = 1;
|
|
const ::sync_pb::SyncEntity& entries(int index) const;
|
|
::sync_pb::SyncEntity* mutable_entries(int index);
|
|
::sync_pb::SyncEntity* add_entries();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
|
|
mutable_entries();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
|
|
entries() const;
|
|
|
|
// repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
|
|
int new_progress_marker_size() const;
|
|
void clear_new_progress_marker();
|
|
static const int kNewProgressMarkerFieldNumber = 5;
|
|
const ::sync_pb::DataTypeProgressMarker& new_progress_marker(int index) const;
|
|
::sync_pb::DataTypeProgressMarker* mutable_new_progress_marker(int index);
|
|
::sync_pb::DataTypeProgressMarker* add_new_progress_marker();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
|
|
mutable_new_progress_marker();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
|
|
new_progress_marker() const;
|
|
|
|
// repeated bytes encryption_keys = 6;
|
|
int encryption_keys_size() const;
|
|
void clear_encryption_keys();
|
|
static const int kEncryptionKeysFieldNumber = 6;
|
|
const ::std::string& encryption_keys(int index) const;
|
|
::std::string* mutable_encryption_keys(int index);
|
|
void set_encryption_keys(int index, const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_encryption_keys(int index, ::std::string&& value);
|
|
#endif
|
|
void set_encryption_keys(int index, const char* value);
|
|
void set_encryption_keys(int index, const void* value, size_t size);
|
|
::std::string* add_encryption_keys();
|
|
void add_encryption_keys(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void add_encryption_keys(::std::string&& value);
|
|
#endif
|
|
void add_encryption_keys(const char* value);
|
|
void add_encryption_keys(const void* value, size_t size);
|
|
const ::google::protobuf::RepeatedPtrField< ::std::string>& encryption_keys() const;
|
|
::google::protobuf::RepeatedPtrField< ::std::string>* mutable_encryption_keys();
|
|
|
|
// repeated .sync_pb.DataTypeContext context_mutations = 7;
|
|
int context_mutations_size() const;
|
|
void clear_context_mutations();
|
|
static const int kContextMutationsFieldNumber = 7;
|
|
const ::sync_pb::DataTypeContext& context_mutations(int index) const;
|
|
::sync_pb::DataTypeContext* mutable_context_mutations(int index);
|
|
::sync_pb::DataTypeContext* add_context_mutations();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >*
|
|
mutable_context_mutations();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >&
|
|
context_mutations() const;
|
|
|
|
// optional int64 new_timestamp = 2;
|
|
bool has_new_timestamp() const;
|
|
void clear_new_timestamp();
|
|
static const int kNewTimestampFieldNumber = 2;
|
|
::google::protobuf::int64 new_timestamp() const;
|
|
void set_new_timestamp(::google::protobuf::int64 value);
|
|
|
|
// optional int64 deprecated_newest_timestamp = 3;
|
|
bool has_deprecated_newest_timestamp() const;
|
|
void clear_deprecated_newest_timestamp();
|
|
static const int kDeprecatedNewestTimestampFieldNumber = 3;
|
|
::google::protobuf::int64 deprecated_newest_timestamp() const;
|
|
void set_deprecated_newest_timestamp(::google::protobuf::int64 value);
|
|
|
|
// optional int64 changes_remaining = 4;
|
|
bool has_changes_remaining() const;
|
|
void clear_changes_remaining();
|
|
static const int kChangesRemainingFieldNumber = 4;
|
|
::google::protobuf::int64 changes_remaining() const;
|
|
void set_changes_remaining(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesResponse)
|
|
private:
|
|
void set_has_new_timestamp();
|
|
void clear_has_new_timestamp();
|
|
void set_has_deprecated_newest_timestamp();
|
|
void clear_has_deprecated_newest_timestamp();
|
|
void set_has_changes_remaining();
|
|
void clear_has_changes_remaining();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity > entries_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker > new_progress_marker_;
|
|
::google::protobuf::RepeatedPtrField< ::std::string> encryption_keys_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext > context_mutations_;
|
|
::google::protobuf::int64 new_timestamp_;
|
|
::google::protobuf::int64 deprecated_newest_timestamp_;
|
|
::google::protobuf::int64 changes_remaining_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetUpdatesMetadataResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetUpdatesMetadataResponse) */ {
|
|
public:
|
|
GetUpdatesMetadataResponse();
|
|
virtual ~GetUpdatesMetadataResponse();
|
|
|
|
GetUpdatesMetadataResponse(const GetUpdatesMetadataResponse& from);
|
|
|
|
inline GetUpdatesMetadataResponse& operator=(const GetUpdatesMetadataResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetUpdatesMetadataResponse& default_instance();
|
|
|
|
static inline const GetUpdatesMetadataResponse* internal_default_instance() {
|
|
return reinterpret_cast<const GetUpdatesMetadataResponse*>(
|
|
&_GetUpdatesMetadataResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
23;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetUpdatesMetadataResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetUpdatesMetadataResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetUpdatesMetadataResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetUpdatesMetadataResponse& from);
|
|
void MergeFrom(const GetUpdatesMetadataResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetUpdatesMetadataResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 2;
|
|
int new_progress_marker_size() const;
|
|
void clear_new_progress_marker();
|
|
static const int kNewProgressMarkerFieldNumber = 2;
|
|
const ::sync_pb::DataTypeProgressMarker& new_progress_marker(int index) const;
|
|
::sync_pb::DataTypeProgressMarker* mutable_new_progress_marker(int index);
|
|
::sync_pb::DataTypeProgressMarker* add_new_progress_marker();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
|
|
mutable_new_progress_marker();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
|
|
new_progress_marker() const;
|
|
|
|
// optional int64 changes_remaining = 1;
|
|
bool has_changes_remaining() const;
|
|
void clear_changes_remaining();
|
|
static const int kChangesRemainingFieldNumber = 1;
|
|
::google::protobuf::int64 changes_remaining() const;
|
|
void set_changes_remaining(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesMetadataResponse)
|
|
private:
|
|
void set_has_changes_remaining();
|
|
void clear_has_changes_remaining();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker > new_progress_marker_;
|
|
::google::protobuf::int64 changes_remaining_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetUpdatesStreamingResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.GetUpdatesStreamingResponse) */ {
|
|
public:
|
|
GetUpdatesStreamingResponse();
|
|
virtual ~GetUpdatesStreamingResponse();
|
|
|
|
GetUpdatesStreamingResponse(const GetUpdatesStreamingResponse& from);
|
|
|
|
inline GetUpdatesStreamingResponse& operator=(const GetUpdatesStreamingResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const GetUpdatesStreamingResponse& default_instance();
|
|
|
|
static inline const GetUpdatesStreamingResponse* internal_default_instance() {
|
|
return reinterpret_cast<const GetUpdatesStreamingResponse*>(
|
|
&_GetUpdatesStreamingResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
24;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(GetUpdatesStreamingResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetUpdatesStreamingResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
GetUpdatesStreamingResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const GetUpdatesStreamingResponse& from);
|
|
void MergeFrom(const GetUpdatesStreamingResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(GetUpdatesStreamingResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .sync_pb.SyncEntity entries = 1;
|
|
int entries_size() const;
|
|
void clear_entries();
|
|
static const int kEntriesFieldNumber = 1;
|
|
const ::sync_pb::SyncEntity& entries(int index) const;
|
|
::sync_pb::SyncEntity* mutable_entries(int index);
|
|
::sync_pb::SyncEntity* add_entries();
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
|
|
mutable_entries();
|
|
const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
|
|
entries() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.GetUpdatesStreamingResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity > entries_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class UserIdentification : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.UserIdentification) */ {
|
|
public:
|
|
UserIdentification();
|
|
virtual ~UserIdentification();
|
|
|
|
UserIdentification(const UserIdentification& from);
|
|
|
|
inline UserIdentification& operator=(const UserIdentification& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const UserIdentification& default_instance();
|
|
|
|
static inline const UserIdentification* internal_default_instance() {
|
|
return reinterpret_cast<const UserIdentification*>(
|
|
&_UserIdentification_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
25;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(UserIdentification* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline UserIdentification* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
UserIdentification* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const UserIdentification& from);
|
|
void MergeFrom(const UserIdentification& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(UserIdentification* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// required string email = 1;
|
|
bool has_email() const;
|
|
void clear_email();
|
|
static const int kEmailFieldNumber = 1;
|
|
const ::std::string& email() const;
|
|
void set_email(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_email(::std::string&& value);
|
|
#endif
|
|
void set_email(const char* value);
|
|
void set_email(const char* value, size_t size);
|
|
::std::string* mutable_email();
|
|
::std::string* release_email();
|
|
void set_allocated_email(::std::string* email);
|
|
|
|
// optional string display_name = 2;
|
|
bool has_display_name() const;
|
|
void clear_display_name();
|
|
static const int kDisplayNameFieldNumber = 2;
|
|
const ::std::string& display_name() const;
|
|
void set_display_name(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_display_name(::std::string&& value);
|
|
#endif
|
|
void set_display_name(const char* value);
|
|
void set_display_name(const char* value, size_t size);
|
|
::std::string* mutable_display_name();
|
|
::std::string* release_display_name();
|
|
void set_allocated_display_name(::std::string* display_name);
|
|
|
|
// optional string obfuscated_id = 3;
|
|
bool has_obfuscated_id() const;
|
|
void clear_obfuscated_id();
|
|
static const int kObfuscatedIdFieldNumber = 3;
|
|
const ::std::string& obfuscated_id() const;
|
|
void set_obfuscated_id(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_obfuscated_id(::std::string&& value);
|
|
#endif
|
|
void set_obfuscated_id(const char* value);
|
|
void set_obfuscated_id(const char* value, size_t size);
|
|
::std::string* mutable_obfuscated_id();
|
|
::std::string* release_obfuscated_id();
|
|
void set_allocated_obfuscated_id(::std::string* obfuscated_id);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.UserIdentification)
|
|
private:
|
|
void set_has_email();
|
|
void clear_has_email();
|
|
void set_has_display_name();
|
|
void clear_has_display_name();
|
|
void set_has_obfuscated_id();
|
|
void clear_has_obfuscated_id();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr email_;
|
|
::google::protobuf::internal::ArenaStringPtr display_name_;
|
|
::google::protobuf::internal::ArenaStringPtr obfuscated_id_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class AuthenticateResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.AuthenticateResponse) */ {
|
|
public:
|
|
AuthenticateResponse();
|
|
virtual ~AuthenticateResponse();
|
|
|
|
AuthenticateResponse(const AuthenticateResponse& from);
|
|
|
|
inline AuthenticateResponse& operator=(const AuthenticateResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const AuthenticateResponse& default_instance();
|
|
|
|
static inline const AuthenticateResponse* internal_default_instance() {
|
|
return reinterpret_cast<const AuthenticateResponse*>(
|
|
&_AuthenticateResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
26;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(AuthenticateResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline AuthenticateResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
AuthenticateResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const AuthenticateResponse& from);
|
|
void MergeFrom(const AuthenticateResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(AuthenticateResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional .sync_pb.UserIdentification user = 1;
|
|
bool has_user() const;
|
|
void clear_user();
|
|
static const int kUserFieldNumber = 1;
|
|
const ::sync_pb::UserIdentification& user() const;
|
|
::sync_pb::UserIdentification* mutable_user();
|
|
::sync_pb::UserIdentification* release_user();
|
|
void set_allocated_user(::sync_pb::UserIdentification* user);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.AuthenticateResponse)
|
|
private:
|
|
void set_has_user();
|
|
void clear_has_user();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::sync_pb::UserIdentification* user_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClientToServerResponse_Error : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClientToServerResponse.Error) */ {
|
|
public:
|
|
ClientToServerResponse_Error();
|
|
virtual ~ClientToServerResponse_Error();
|
|
|
|
ClientToServerResponse_Error(const ClientToServerResponse_Error& from);
|
|
|
|
inline ClientToServerResponse_Error& operator=(const ClientToServerResponse_Error& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClientToServerResponse_Error& default_instance();
|
|
|
|
static inline const ClientToServerResponse_Error* internal_default_instance() {
|
|
return reinterpret_cast<const ClientToServerResponse_Error*>(
|
|
&_ClientToServerResponse_Error_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
27;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClientToServerResponse_Error* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClientToServerResponse_Error* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClientToServerResponse_Error* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClientToServerResponse_Error& from);
|
|
void MergeFrom(const ClientToServerResponse_Error& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClientToServerResponse_Error* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated int32 error_data_type_ids = 5;
|
|
int error_data_type_ids_size() const;
|
|
void clear_error_data_type_ids();
|
|
static const int kErrorDataTypeIdsFieldNumber = 5;
|
|
::google::protobuf::int32 error_data_type_ids(int index) const;
|
|
void set_error_data_type_ids(int index, ::google::protobuf::int32 value);
|
|
void add_error_data_type_ids(::google::protobuf::int32 value);
|
|
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
error_data_type_ids() const;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
mutable_error_data_type_ids();
|
|
|
|
// optional string error_description = 2;
|
|
bool has_error_description() const;
|
|
void clear_error_description();
|
|
static const int kErrorDescriptionFieldNumber = 2;
|
|
const ::std::string& error_description() const;
|
|
void set_error_description(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_error_description(::std::string&& value);
|
|
#endif
|
|
void set_error_description(const char* value);
|
|
void set_error_description(const char* value, size_t size);
|
|
::std::string* mutable_error_description();
|
|
::std::string* release_error_description();
|
|
void set_allocated_error_description(::std::string* error_description);
|
|
|
|
// optional string url = 3;
|
|
bool has_url() const;
|
|
void clear_url();
|
|
static const int kUrlFieldNumber = 3;
|
|
const ::std::string& url() const;
|
|
void set_url(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_url(::std::string&& value);
|
|
#endif
|
|
void set_url(const char* value);
|
|
void set_url(const char* value, size_t size);
|
|
::std::string* mutable_url();
|
|
::std::string* release_url();
|
|
void set_allocated_url(::std::string* url);
|
|
|
|
// optional .sync_pb.SyncEnums.ErrorType error_type = 1 [default = UNKNOWN];
|
|
bool has_error_type() const;
|
|
void clear_error_type();
|
|
static const int kErrorTypeFieldNumber = 1;
|
|
::sync_pb::SyncEnums_ErrorType error_type() const;
|
|
void set_error_type(::sync_pb::SyncEnums_ErrorType value);
|
|
|
|
// optional .sync_pb.SyncEnums.Action action = 4 [default = UNKNOWN_ACTION];
|
|
bool has_action() const;
|
|
void clear_action();
|
|
static const int kActionFieldNumber = 4;
|
|
::sync_pb::SyncEnums_Action action() const;
|
|
void set_action(::sync_pb::SyncEnums_Action value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClientToServerResponse.Error)
|
|
private:
|
|
void set_has_error_type();
|
|
void clear_has_error_type();
|
|
void set_has_error_description();
|
|
void clear_has_error_description();
|
|
void set_has_url();
|
|
void clear_has_url();
|
|
void set_has_action();
|
|
void clear_has_action();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 > error_data_type_ids_;
|
|
::google::protobuf::internal::ArenaStringPtr error_description_;
|
|
::google::protobuf::internal::ArenaStringPtr url_;
|
|
int error_type_;
|
|
int action_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ClientToServerResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.ClientToServerResponse) */ {
|
|
public:
|
|
ClientToServerResponse();
|
|
virtual ~ClientToServerResponse();
|
|
|
|
ClientToServerResponse(const ClientToServerResponse& from);
|
|
|
|
inline ClientToServerResponse& operator=(const ClientToServerResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const ClientToServerResponse& default_instance();
|
|
|
|
static inline const ClientToServerResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ClientToServerResponse*>(
|
|
&_ClientToServerResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
28;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(ClientToServerResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ClientToServerResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
ClientToServerResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const ClientToServerResponse& from);
|
|
void MergeFrom(const ClientToServerResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(ClientToServerResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef ClientToServerResponse_Error Error;
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated int32 migrated_data_type_id = 12;
|
|
int migrated_data_type_id_size() const;
|
|
void clear_migrated_data_type_id();
|
|
static const int kMigratedDataTypeIdFieldNumber = 12;
|
|
::google::protobuf::int32 migrated_data_type_id(int index) const;
|
|
void set_migrated_data_type_id(int index, ::google::protobuf::int32 value);
|
|
void add_migrated_data_type_id(::google::protobuf::int32 value);
|
|
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
migrated_data_type_id() const;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
mutable_migrated_data_type_id();
|
|
|
|
// optional string error_message = 5;
|
|
bool has_error_message() const;
|
|
void clear_error_message();
|
|
static const int kErrorMessageFieldNumber = 5;
|
|
const ::std::string& error_message() const;
|
|
void set_error_message(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_error_message(::std::string&& value);
|
|
#endif
|
|
void set_error_message(const char* value);
|
|
void set_error_message(const char* value, size_t size);
|
|
::std::string* mutable_error_message();
|
|
::std::string* release_error_message();
|
|
void set_allocated_error_message(::std::string* error_message);
|
|
|
|
// optional string store_birthday = 6;
|
|
bool has_store_birthday() const;
|
|
void clear_store_birthday();
|
|
static const int kStoreBirthdayFieldNumber = 6;
|
|
const ::std::string& store_birthday() const;
|
|
void set_store_birthday(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_store_birthday(::std::string&& value);
|
|
#endif
|
|
void set_store_birthday(const char* value);
|
|
void set_store_birthday(const char* value, size_t size);
|
|
::std::string* mutable_store_birthday();
|
|
::std::string* release_store_birthday();
|
|
void set_allocated_store_birthday(::std::string* store_birthday);
|
|
|
|
// optional .sync_pb.CommitResponse commit = 1;
|
|
bool has_commit() const;
|
|
void clear_commit();
|
|
static const int kCommitFieldNumber = 1;
|
|
const ::sync_pb::CommitResponse& commit() const;
|
|
::sync_pb::CommitResponse* mutable_commit();
|
|
::sync_pb::CommitResponse* release_commit();
|
|
void set_allocated_commit(::sync_pb::CommitResponse* commit);
|
|
|
|
// optional .sync_pb.GetUpdatesResponse get_updates = 2;
|
|
bool has_get_updates() const;
|
|
void clear_get_updates();
|
|
static const int kGetUpdatesFieldNumber = 2;
|
|
const ::sync_pb::GetUpdatesResponse& get_updates() const;
|
|
::sync_pb::GetUpdatesResponse* mutable_get_updates();
|
|
::sync_pb::GetUpdatesResponse* release_get_updates();
|
|
void set_allocated_get_updates(::sync_pb::GetUpdatesResponse* get_updates);
|
|
|
|
// optional .sync_pb.AuthenticateResponse authenticate = 3;
|
|
bool has_authenticate() const;
|
|
void clear_authenticate();
|
|
static const int kAuthenticateFieldNumber = 3;
|
|
const ::sync_pb::AuthenticateResponse& authenticate() const;
|
|
::sync_pb::AuthenticateResponse* mutable_authenticate();
|
|
::sync_pb::AuthenticateResponse* release_authenticate();
|
|
void set_allocated_authenticate(::sync_pb::AuthenticateResponse* authenticate);
|
|
|
|
// optional .sync_pb.ClientCommand client_command = 7;
|
|
bool has_client_command() const;
|
|
void clear_client_command();
|
|
static const int kClientCommandFieldNumber = 7;
|
|
const ::sync_pb::ClientCommand& client_command() const;
|
|
::sync_pb::ClientCommand* mutable_client_command();
|
|
::sync_pb::ClientCommand* release_client_command();
|
|
void set_allocated_client_command(::sync_pb::ClientCommand* client_command);
|
|
|
|
// optional .sync_pb.ProfilingData profiling_data = 8;
|
|
bool has_profiling_data() const;
|
|
void clear_profiling_data();
|
|
static const int kProfilingDataFieldNumber = 8;
|
|
const ::sync_pb::ProfilingData& profiling_data() const;
|
|
::sync_pb::ProfilingData* mutable_profiling_data();
|
|
::sync_pb::ProfilingData* release_profiling_data();
|
|
void set_allocated_profiling_data(::sync_pb::ProfilingData* profiling_data);
|
|
|
|
// optional .sync_pb.DeprecatedMessage deprecated_field_9 = 9 [deprecated = true];
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_deprecated_field_9() const;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_deprecated_field_9();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kDeprecatedField9FieldNumber = 9;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::sync_pb::DeprecatedMessage& deprecated_field_9() const;
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::sync_pb::DeprecatedMessage* mutable_deprecated_field_9();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR ::sync_pb::DeprecatedMessage* release_deprecated_field_9();
|
|
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_allocated_deprecated_field_9(::sync_pb::DeprecatedMessage* deprecated_field_9);
|
|
|
|
// optional .sync_pb.GetUpdatesMetadataResponse stream_metadata = 10;
|
|
bool has_stream_metadata() const;
|
|
void clear_stream_metadata();
|
|
static const int kStreamMetadataFieldNumber = 10;
|
|
const ::sync_pb::GetUpdatesMetadataResponse& stream_metadata() const;
|
|
::sync_pb::GetUpdatesMetadataResponse* mutable_stream_metadata();
|
|
::sync_pb::GetUpdatesMetadataResponse* release_stream_metadata();
|
|
void set_allocated_stream_metadata(::sync_pb::GetUpdatesMetadataResponse* stream_metadata);
|
|
|
|
// optional .sync_pb.GetUpdatesStreamingResponse stream_data = 11;
|
|
bool has_stream_data() const;
|
|
void clear_stream_data();
|
|
static const int kStreamDataFieldNumber = 11;
|
|
const ::sync_pb::GetUpdatesStreamingResponse& stream_data() const;
|
|
::sync_pb::GetUpdatesStreamingResponse* mutable_stream_data();
|
|
::sync_pb::GetUpdatesStreamingResponse* release_stream_data();
|
|
void set_allocated_stream_data(::sync_pb::GetUpdatesStreamingResponse* stream_data);
|
|
|
|
// optional .sync_pb.ClientToServerResponse.Error error = 13;
|
|
bool has_error() const;
|
|
void clear_error();
|
|
static const int kErrorFieldNumber = 13;
|
|
const ::sync_pb::ClientToServerResponse_Error& error() const;
|
|
::sync_pb::ClientToServerResponse_Error* mutable_error();
|
|
::sync_pb::ClientToServerResponse_Error* release_error();
|
|
void set_allocated_error(::sync_pb::ClientToServerResponse_Error* error);
|
|
|
|
// optional .sync_pb.ChipBag new_bag_of_chips = 14;
|
|
bool has_new_bag_of_chips() const;
|
|
void clear_new_bag_of_chips();
|
|
static const int kNewBagOfChipsFieldNumber = 14;
|
|
const ::sync_pb::ChipBag& new_bag_of_chips() const;
|
|
::sync_pb::ChipBag* mutable_new_bag_of_chips();
|
|
::sync_pb::ChipBag* release_new_bag_of_chips();
|
|
void set_allocated_new_bag_of_chips(::sync_pb::ChipBag* new_bag_of_chips);
|
|
|
|
// optional .sync_pb.ClearServerDataResponse clear_server_data = 15;
|
|
bool has_clear_server_data() const;
|
|
void clear_clear_server_data();
|
|
static const int kClearServerDataFieldNumber = 15;
|
|
const ::sync_pb::ClearServerDataResponse& clear_server_data() const;
|
|
::sync_pb::ClearServerDataResponse* mutable_clear_server_data();
|
|
::sync_pb::ClearServerDataResponse* release_clear_server_data();
|
|
void set_allocated_clear_server_data(::sync_pb::ClearServerDataResponse* clear_server_data);
|
|
|
|
// optional .sync_pb.SyncEnums.ErrorType error_code = 4 [default = UNKNOWN];
|
|
bool has_error_code() const;
|
|
void clear_error_code();
|
|
static const int kErrorCodeFieldNumber = 4;
|
|
::sync_pb::SyncEnums_ErrorType error_code() const;
|
|
void set_error_code(::sync_pb::SyncEnums_ErrorType value);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.ClientToServerResponse)
|
|
private:
|
|
void set_has_commit();
|
|
void clear_has_commit();
|
|
void set_has_get_updates();
|
|
void clear_has_get_updates();
|
|
void set_has_authenticate();
|
|
void clear_has_authenticate();
|
|
void set_has_error_code();
|
|
void clear_has_error_code();
|
|
void set_has_error_message();
|
|
void clear_has_error_message();
|
|
void set_has_store_birthday();
|
|
void clear_has_store_birthday();
|
|
void set_has_client_command();
|
|
void clear_has_client_command();
|
|
void set_has_profiling_data();
|
|
void clear_has_profiling_data();
|
|
void set_has_deprecated_field_9();
|
|
void clear_has_deprecated_field_9();
|
|
void set_has_stream_metadata();
|
|
void clear_has_stream_metadata();
|
|
void set_has_stream_data();
|
|
void clear_has_stream_data();
|
|
void set_has_error();
|
|
void clear_has_error();
|
|
void set_has_new_bag_of_chips();
|
|
void clear_has_new_bag_of_chips();
|
|
void set_has_clear_server_data();
|
|
void clear_has_clear_server_data();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 > migrated_data_type_id_;
|
|
::google::protobuf::internal::ArenaStringPtr error_message_;
|
|
::google::protobuf::internal::ArenaStringPtr store_birthday_;
|
|
::sync_pb::CommitResponse* commit_;
|
|
::sync_pb::GetUpdatesResponse* get_updates_;
|
|
::sync_pb::AuthenticateResponse* authenticate_;
|
|
::sync_pb::ClientCommand* client_command_;
|
|
::sync_pb::ProfilingData* profiling_data_;
|
|
::sync_pb::DeprecatedMessage* deprecated_field_9_;
|
|
::sync_pb::GetUpdatesMetadataResponse* stream_metadata_;
|
|
::sync_pb::GetUpdatesStreamingResponse* stream_data_;
|
|
::sync_pb::ClientToServerResponse_Error* error_;
|
|
::sync_pb::ChipBag* new_bag_of_chips_;
|
|
::sync_pb::ClearServerDataResponse* clear_server_data_;
|
|
int error_code_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class EventRequest : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.EventRequest) */ {
|
|
public:
|
|
EventRequest();
|
|
virtual ~EventRequest();
|
|
|
|
EventRequest(const EventRequest& from);
|
|
|
|
inline EventRequest& operator=(const EventRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const EventRequest& default_instance();
|
|
|
|
static inline const EventRequest* internal_default_instance() {
|
|
return reinterpret_cast<const EventRequest*>(
|
|
&_EventRequest_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
29;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(EventRequest* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline EventRequest* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
EventRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const EventRequest& from);
|
|
void MergeFrom(const EventRequest& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(EventRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional .sync_pb.SyncDisabledEvent sync_disabled = 1;
|
|
bool has_sync_disabled() const;
|
|
void clear_sync_disabled();
|
|
static const int kSyncDisabledFieldNumber = 1;
|
|
const ::sync_pb::SyncDisabledEvent& sync_disabled() const;
|
|
::sync_pb::SyncDisabledEvent* mutable_sync_disabled();
|
|
::sync_pb::SyncDisabledEvent* release_sync_disabled();
|
|
void set_allocated_sync_disabled(::sync_pb::SyncDisabledEvent* sync_disabled);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.EventRequest)
|
|
private:
|
|
void set_has_sync_disabled();
|
|
void clear_has_sync_disabled();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::sync_pb::SyncDisabledEvent* sync_disabled_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class EventResponse : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.EventResponse) */ {
|
|
public:
|
|
EventResponse();
|
|
virtual ~EventResponse();
|
|
|
|
EventResponse(const EventResponse& from);
|
|
|
|
inline EventResponse& operator=(const EventResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const EventResponse& default_instance();
|
|
|
|
static inline const EventResponse* internal_default_instance() {
|
|
return reinterpret_cast<const EventResponse*>(
|
|
&_EventResponse_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
30;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(EventResponse* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline EventResponse* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
EventResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const EventResponse& from);
|
|
void MergeFrom(const EventResponse& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(EventResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.EventResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SyncDisabledEvent : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.SyncDisabledEvent) */ {
|
|
public:
|
|
SyncDisabledEvent();
|
|
virtual ~SyncDisabledEvent();
|
|
|
|
SyncDisabledEvent(const SyncDisabledEvent& from);
|
|
|
|
inline SyncDisabledEvent& operator=(const SyncDisabledEvent& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
|
|
inline const ::std::string& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields();
|
|
}
|
|
|
|
inline ::std::string* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields();
|
|
}
|
|
|
|
static const SyncDisabledEvent& default_instance();
|
|
|
|
static inline const SyncDisabledEvent* internal_default_instance() {
|
|
return reinterpret_cast<const SyncDisabledEvent*>(
|
|
&_SyncDisabledEvent_default_instance_);
|
|
}
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
31;
|
|
|
|
GOOGLE_ATTRIBUTE_NOINLINE void Swap(SyncDisabledEvent* other);
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SyncDisabledEvent* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
|
SyncDisabledEvent* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
|
|
PROTOBUF_FINAL;
|
|
void CopyFrom(const SyncDisabledEvent& from);
|
|
void MergeFrom(const SyncDisabledEvent& from);
|
|
void Clear() PROTOBUF_FINAL;
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
void DiscardUnknownFields();
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const;
|
|
void InternalSwap(SyncDisabledEvent* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::std::string GetTypeName() const PROTOBUF_FINAL;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// optional string cache_guid = 1;
|
|
bool has_cache_guid() const;
|
|
void clear_cache_guid();
|
|
static const int kCacheGuidFieldNumber = 1;
|
|
const ::std::string& cache_guid() const;
|
|
void set_cache_guid(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_cache_guid(::std::string&& value);
|
|
#endif
|
|
void set_cache_guid(const char* value);
|
|
void set_cache_guid(const char* value, size_t size);
|
|
::std::string* mutable_cache_guid();
|
|
::std::string* release_cache_guid();
|
|
void set_allocated_cache_guid(::std::string* cache_guid);
|
|
|
|
// optional string store_birthday = 2;
|
|
bool has_store_birthday() const;
|
|
void clear_store_birthday();
|
|
static const int kStoreBirthdayFieldNumber = 2;
|
|
const ::std::string& store_birthday() const;
|
|
void set_store_birthday(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_store_birthday(::std::string&& value);
|
|
#endif
|
|
void set_store_birthday(const char* value);
|
|
void set_store_birthday(const char* value, size_t size);
|
|
::std::string* mutable_store_birthday();
|
|
::std::string* release_store_birthday();
|
|
void set_allocated_store_birthday(::std::string* store_birthday);
|
|
|
|
// @@protoc_insertion_point(class_scope:sync_pb.SyncDisabledEvent)
|
|
private:
|
|
void set_has_cache_guid();
|
|
void clear_has_cache_guid();
|
|
void set_has_store_birthday();
|
|
void clear_has_store_birthday();
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
mutable int _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr cache_guid_;
|
|
::google::protobuf::internal::ArenaStringPtr store_birthday_;
|
|
friend struct protobuf_sync_2eproto::TableStruct;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#if !PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
// ProfilingData
|
|
|
|
// optional int64 meta_data_write_time = 1;
|
|
inline bool ProfilingData::has_meta_data_write_time() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ProfilingData::set_has_meta_data_write_time() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ProfilingData::clear_has_meta_data_write_time() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ProfilingData::clear_meta_data_write_time() {
|
|
meta_data_write_time_ = GOOGLE_LONGLONG(0);
|
|
clear_has_meta_data_write_time();
|
|
}
|
|
inline ::google::protobuf::int64 ProfilingData::meta_data_write_time() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ProfilingData.meta_data_write_time)
|
|
return meta_data_write_time_;
|
|
}
|
|
inline void ProfilingData::set_meta_data_write_time(::google::protobuf::int64 value) {
|
|
set_has_meta_data_write_time();
|
|
meta_data_write_time_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ProfilingData.meta_data_write_time)
|
|
}
|
|
|
|
// optional int64 file_data_write_time = 2;
|
|
inline bool ProfilingData::has_file_data_write_time() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void ProfilingData::set_has_file_data_write_time() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void ProfilingData::clear_has_file_data_write_time() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void ProfilingData::clear_file_data_write_time() {
|
|
file_data_write_time_ = GOOGLE_LONGLONG(0);
|
|
clear_has_file_data_write_time();
|
|
}
|
|
inline ::google::protobuf::int64 ProfilingData::file_data_write_time() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ProfilingData.file_data_write_time)
|
|
return file_data_write_time_;
|
|
}
|
|
inline void ProfilingData::set_file_data_write_time(::google::protobuf::int64 value) {
|
|
set_has_file_data_write_time();
|
|
file_data_write_time_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ProfilingData.file_data_write_time)
|
|
}
|
|
|
|
// optional int64 user_lookup_time = 3;
|
|
inline bool ProfilingData::has_user_lookup_time() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void ProfilingData::set_has_user_lookup_time() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void ProfilingData::clear_has_user_lookup_time() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void ProfilingData::clear_user_lookup_time() {
|
|
user_lookup_time_ = GOOGLE_LONGLONG(0);
|
|
clear_has_user_lookup_time();
|
|
}
|
|
inline ::google::protobuf::int64 ProfilingData::user_lookup_time() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ProfilingData.user_lookup_time)
|
|
return user_lookup_time_;
|
|
}
|
|
inline void ProfilingData::set_user_lookup_time(::google::protobuf::int64 value) {
|
|
set_has_user_lookup_time();
|
|
user_lookup_time_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ProfilingData.user_lookup_time)
|
|
}
|
|
|
|
// optional int64 meta_data_read_time = 4;
|
|
inline bool ProfilingData::has_meta_data_read_time() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void ProfilingData::set_has_meta_data_read_time() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void ProfilingData::clear_has_meta_data_read_time() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void ProfilingData::clear_meta_data_read_time() {
|
|
meta_data_read_time_ = GOOGLE_LONGLONG(0);
|
|
clear_has_meta_data_read_time();
|
|
}
|
|
inline ::google::protobuf::int64 ProfilingData::meta_data_read_time() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ProfilingData.meta_data_read_time)
|
|
return meta_data_read_time_;
|
|
}
|
|
inline void ProfilingData::set_meta_data_read_time(::google::protobuf::int64 value) {
|
|
set_has_meta_data_read_time();
|
|
meta_data_read_time_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ProfilingData.meta_data_read_time)
|
|
}
|
|
|
|
// optional int64 file_data_read_time = 5;
|
|
inline bool ProfilingData::has_file_data_read_time() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void ProfilingData::set_has_file_data_read_time() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void ProfilingData::clear_has_file_data_read_time() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void ProfilingData::clear_file_data_read_time() {
|
|
file_data_read_time_ = GOOGLE_LONGLONG(0);
|
|
clear_has_file_data_read_time();
|
|
}
|
|
inline ::google::protobuf::int64 ProfilingData::file_data_read_time() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ProfilingData.file_data_read_time)
|
|
return file_data_read_time_;
|
|
}
|
|
inline void ProfilingData::set_file_data_read_time(::google::protobuf::int64 value) {
|
|
set_has_file_data_read_time();
|
|
file_data_read_time_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ProfilingData.file_data_read_time)
|
|
}
|
|
|
|
// optional int64 total_request_time = 6;
|
|
inline bool ProfilingData::has_total_request_time() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void ProfilingData::set_has_total_request_time() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void ProfilingData::clear_has_total_request_time() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void ProfilingData::clear_total_request_time() {
|
|
total_request_time_ = GOOGLE_LONGLONG(0);
|
|
clear_has_total_request_time();
|
|
}
|
|
inline ::google::protobuf::int64 ProfilingData::total_request_time() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ProfilingData.total_request_time)
|
|
return total_request_time_;
|
|
}
|
|
inline void ProfilingData::set_total_request_time(::google::protobuf::int64 value) {
|
|
set_has_total_request_time();
|
|
total_request_time_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ProfilingData.total_request_time)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// EntitySpecifics
|
|
|
|
// optional .sync_pb.EncryptedData encrypted = 1;
|
|
inline bool EntitySpecifics::has_encrypted() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_encrypted() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_encrypted() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void EntitySpecifics::clear_encrypted() {
|
|
if (encrypted_ != NULL) encrypted_->::sync_pb::EncryptedData::Clear();
|
|
clear_has_encrypted();
|
|
}
|
|
inline const ::sync_pb::EncryptedData& EntitySpecifics::encrypted() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.encrypted)
|
|
return encrypted_ != NULL ? *encrypted_
|
|
: *::sync_pb::EncryptedData::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::EncryptedData* EntitySpecifics::mutable_encrypted() {
|
|
set_has_encrypted();
|
|
if (encrypted_ == NULL) {
|
|
encrypted_ = new ::sync_pb::EncryptedData;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.encrypted)
|
|
return encrypted_;
|
|
}
|
|
inline ::sync_pb::EncryptedData* EntitySpecifics::release_encrypted() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.encrypted)
|
|
clear_has_encrypted();
|
|
::sync_pb::EncryptedData* temp = encrypted_;
|
|
encrypted_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_encrypted(::sync_pb::EncryptedData* encrypted) {
|
|
delete encrypted_;
|
|
encrypted_ = encrypted;
|
|
if (encrypted) {
|
|
set_has_encrypted();
|
|
} else {
|
|
clear_has_encrypted();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.encrypted)
|
|
}
|
|
|
|
// optional .sync_pb.AutofillSpecifics autofill = 31729;
|
|
inline bool EntitySpecifics::has_autofill() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_autofill() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_autofill() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void EntitySpecifics::clear_autofill() {
|
|
if (autofill_ != NULL) autofill_->::sync_pb::AutofillSpecifics::Clear();
|
|
clear_has_autofill();
|
|
}
|
|
inline const ::sync_pb::AutofillSpecifics& EntitySpecifics::autofill() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.autofill)
|
|
return autofill_ != NULL ? *autofill_
|
|
: *::sync_pb::AutofillSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AutofillSpecifics* EntitySpecifics::mutable_autofill() {
|
|
set_has_autofill();
|
|
if (autofill_ == NULL) {
|
|
autofill_ = new ::sync_pb::AutofillSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.autofill)
|
|
return autofill_;
|
|
}
|
|
inline ::sync_pb::AutofillSpecifics* EntitySpecifics::release_autofill() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.autofill)
|
|
clear_has_autofill();
|
|
::sync_pb::AutofillSpecifics* temp = autofill_;
|
|
autofill_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_autofill(::sync_pb::AutofillSpecifics* autofill) {
|
|
delete autofill_;
|
|
autofill_ = autofill;
|
|
if (autofill) {
|
|
set_has_autofill();
|
|
} else {
|
|
clear_has_autofill();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.autofill)
|
|
}
|
|
|
|
// optional .sync_pb.BookmarkSpecifics bookmark = 32904;
|
|
inline bool EntitySpecifics::has_bookmark() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_bookmark() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_bookmark() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void EntitySpecifics::clear_bookmark() {
|
|
if (bookmark_ != NULL) bookmark_->::sync_pb::BookmarkSpecifics::Clear();
|
|
clear_has_bookmark();
|
|
}
|
|
inline const ::sync_pb::BookmarkSpecifics& EntitySpecifics::bookmark() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.bookmark)
|
|
return bookmark_ != NULL ? *bookmark_
|
|
: *::sync_pb::BookmarkSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::BookmarkSpecifics* EntitySpecifics::mutable_bookmark() {
|
|
set_has_bookmark();
|
|
if (bookmark_ == NULL) {
|
|
bookmark_ = new ::sync_pb::BookmarkSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.bookmark)
|
|
return bookmark_;
|
|
}
|
|
inline ::sync_pb::BookmarkSpecifics* EntitySpecifics::release_bookmark() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.bookmark)
|
|
clear_has_bookmark();
|
|
::sync_pb::BookmarkSpecifics* temp = bookmark_;
|
|
bookmark_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_bookmark(::sync_pb::BookmarkSpecifics* bookmark) {
|
|
delete bookmark_;
|
|
bookmark_ = bookmark;
|
|
if (bookmark) {
|
|
set_has_bookmark();
|
|
} else {
|
|
clear_has_bookmark();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.bookmark)
|
|
}
|
|
|
|
// optional .sync_pb.PreferenceSpecifics preference = 37702;
|
|
inline bool EntitySpecifics::has_preference() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_preference() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_preference() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void EntitySpecifics::clear_preference() {
|
|
if (preference_ != NULL) preference_->::sync_pb::PreferenceSpecifics::Clear();
|
|
clear_has_preference();
|
|
}
|
|
inline const ::sync_pb::PreferenceSpecifics& EntitySpecifics::preference() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.preference)
|
|
return preference_ != NULL ? *preference_
|
|
: *::sync_pb::PreferenceSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::PreferenceSpecifics* EntitySpecifics::mutable_preference() {
|
|
set_has_preference();
|
|
if (preference_ == NULL) {
|
|
preference_ = new ::sync_pb::PreferenceSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.preference)
|
|
return preference_;
|
|
}
|
|
inline ::sync_pb::PreferenceSpecifics* EntitySpecifics::release_preference() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.preference)
|
|
clear_has_preference();
|
|
::sync_pb::PreferenceSpecifics* temp = preference_;
|
|
preference_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_preference(::sync_pb::PreferenceSpecifics* preference) {
|
|
delete preference_;
|
|
preference_ = preference;
|
|
if (preference) {
|
|
set_has_preference();
|
|
} else {
|
|
clear_has_preference();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.preference)
|
|
}
|
|
|
|
// optional .sync_pb.TypedUrlSpecifics typed_url = 40781;
|
|
inline bool EntitySpecifics::has_typed_url() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_typed_url() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_typed_url() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void EntitySpecifics::clear_typed_url() {
|
|
if (typed_url_ != NULL) typed_url_->::sync_pb::TypedUrlSpecifics::Clear();
|
|
clear_has_typed_url();
|
|
}
|
|
inline const ::sync_pb::TypedUrlSpecifics& EntitySpecifics::typed_url() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.typed_url)
|
|
return typed_url_ != NULL ? *typed_url_
|
|
: *::sync_pb::TypedUrlSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::TypedUrlSpecifics* EntitySpecifics::mutable_typed_url() {
|
|
set_has_typed_url();
|
|
if (typed_url_ == NULL) {
|
|
typed_url_ = new ::sync_pb::TypedUrlSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.typed_url)
|
|
return typed_url_;
|
|
}
|
|
inline ::sync_pb::TypedUrlSpecifics* EntitySpecifics::release_typed_url() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.typed_url)
|
|
clear_has_typed_url();
|
|
::sync_pb::TypedUrlSpecifics* temp = typed_url_;
|
|
typed_url_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_typed_url(::sync_pb::TypedUrlSpecifics* typed_url) {
|
|
delete typed_url_;
|
|
typed_url_ = typed_url;
|
|
if (typed_url) {
|
|
set_has_typed_url();
|
|
} else {
|
|
clear_has_typed_url();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.typed_url)
|
|
}
|
|
|
|
// optional .sync_pb.ThemeSpecifics theme = 41210;
|
|
inline bool EntitySpecifics::has_theme() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_theme() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_theme() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void EntitySpecifics::clear_theme() {
|
|
if (theme_ != NULL) theme_->::sync_pb::ThemeSpecifics::Clear();
|
|
clear_has_theme();
|
|
}
|
|
inline const ::sync_pb::ThemeSpecifics& EntitySpecifics::theme() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.theme)
|
|
return theme_ != NULL ? *theme_
|
|
: *::sync_pb::ThemeSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ThemeSpecifics* EntitySpecifics::mutable_theme() {
|
|
set_has_theme();
|
|
if (theme_ == NULL) {
|
|
theme_ = new ::sync_pb::ThemeSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.theme)
|
|
return theme_;
|
|
}
|
|
inline ::sync_pb::ThemeSpecifics* EntitySpecifics::release_theme() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.theme)
|
|
clear_has_theme();
|
|
::sync_pb::ThemeSpecifics* temp = theme_;
|
|
theme_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_theme(::sync_pb::ThemeSpecifics* theme) {
|
|
delete theme_;
|
|
theme_ = theme;
|
|
if (theme) {
|
|
set_has_theme();
|
|
} else {
|
|
clear_has_theme();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.theme)
|
|
}
|
|
|
|
// optional .sync_pb.AppNotification app_notification = 45184;
|
|
inline bool EntitySpecifics::has_app_notification() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_app_notification() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_app_notification() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void EntitySpecifics::clear_app_notification() {
|
|
if (app_notification_ != NULL) app_notification_->::sync_pb::AppNotification::Clear();
|
|
clear_has_app_notification();
|
|
}
|
|
inline const ::sync_pb::AppNotification& EntitySpecifics::app_notification() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.app_notification)
|
|
return app_notification_ != NULL ? *app_notification_
|
|
: *::sync_pb::AppNotification::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AppNotification* EntitySpecifics::mutable_app_notification() {
|
|
set_has_app_notification();
|
|
if (app_notification_ == NULL) {
|
|
app_notification_ = new ::sync_pb::AppNotification;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.app_notification)
|
|
return app_notification_;
|
|
}
|
|
inline ::sync_pb::AppNotification* EntitySpecifics::release_app_notification() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.app_notification)
|
|
clear_has_app_notification();
|
|
::sync_pb::AppNotification* temp = app_notification_;
|
|
app_notification_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_app_notification(::sync_pb::AppNotification* app_notification) {
|
|
delete app_notification_;
|
|
app_notification_ = app_notification;
|
|
if (app_notification) {
|
|
set_has_app_notification();
|
|
} else {
|
|
clear_has_app_notification();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.app_notification)
|
|
}
|
|
|
|
// optional .sync_pb.PasswordSpecifics password = 45873;
|
|
inline bool EntitySpecifics::has_password() const {
|
|
return (_has_bits_[0] & 0x00000080u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_password() {
|
|
_has_bits_[0] |= 0x00000080u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_password() {
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline void EntitySpecifics::clear_password() {
|
|
if (password_ != NULL) password_->::sync_pb::PasswordSpecifics::Clear();
|
|
clear_has_password();
|
|
}
|
|
inline const ::sync_pb::PasswordSpecifics& EntitySpecifics::password() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.password)
|
|
return password_ != NULL ? *password_
|
|
: *::sync_pb::PasswordSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::PasswordSpecifics* EntitySpecifics::mutable_password() {
|
|
set_has_password();
|
|
if (password_ == NULL) {
|
|
password_ = new ::sync_pb::PasswordSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.password)
|
|
return password_;
|
|
}
|
|
inline ::sync_pb::PasswordSpecifics* EntitySpecifics::release_password() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.password)
|
|
clear_has_password();
|
|
::sync_pb::PasswordSpecifics* temp = password_;
|
|
password_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_password(::sync_pb::PasswordSpecifics* password) {
|
|
delete password_;
|
|
password_ = password;
|
|
if (password) {
|
|
set_has_password();
|
|
} else {
|
|
clear_has_password();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.password)
|
|
}
|
|
|
|
// optional .sync_pb.NigoriSpecifics nigori = 47745;
|
|
inline bool EntitySpecifics::has_nigori() const {
|
|
return (_has_bits_[0] & 0x00000100u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_nigori() {
|
|
_has_bits_[0] |= 0x00000100u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_nigori() {
|
|
_has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline void EntitySpecifics::clear_nigori() {
|
|
if (nigori_ != NULL) nigori_->::sync_pb::NigoriSpecifics::Clear();
|
|
clear_has_nigori();
|
|
}
|
|
inline const ::sync_pb::NigoriSpecifics& EntitySpecifics::nigori() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.nigori)
|
|
return nigori_ != NULL ? *nigori_
|
|
: *::sync_pb::NigoriSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::NigoriSpecifics* EntitySpecifics::mutable_nigori() {
|
|
set_has_nigori();
|
|
if (nigori_ == NULL) {
|
|
nigori_ = new ::sync_pb::NigoriSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.nigori)
|
|
return nigori_;
|
|
}
|
|
inline ::sync_pb::NigoriSpecifics* EntitySpecifics::release_nigori() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.nigori)
|
|
clear_has_nigori();
|
|
::sync_pb::NigoriSpecifics* temp = nigori_;
|
|
nigori_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_nigori(::sync_pb::NigoriSpecifics* nigori) {
|
|
delete nigori_;
|
|
nigori_ = nigori;
|
|
if (nigori) {
|
|
set_has_nigori();
|
|
} else {
|
|
clear_has_nigori();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.nigori)
|
|
}
|
|
|
|
// optional .sync_pb.ExtensionSpecifics extension = 48119;
|
|
inline bool EntitySpecifics::has_extension() const {
|
|
return (_has_bits_[0] & 0x00000200u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_extension() {
|
|
_has_bits_[0] |= 0x00000200u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_extension() {
|
|
_has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline void EntitySpecifics::clear_extension() {
|
|
if (extension_ != NULL) extension_->::sync_pb::ExtensionSpecifics::Clear();
|
|
clear_has_extension();
|
|
}
|
|
inline const ::sync_pb::ExtensionSpecifics& EntitySpecifics::extension() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.extension)
|
|
return extension_ != NULL ? *extension_
|
|
: *::sync_pb::ExtensionSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ExtensionSpecifics* EntitySpecifics::mutable_extension() {
|
|
set_has_extension();
|
|
if (extension_ == NULL) {
|
|
extension_ = new ::sync_pb::ExtensionSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.extension)
|
|
return extension_;
|
|
}
|
|
inline ::sync_pb::ExtensionSpecifics* EntitySpecifics::release_extension() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.extension)
|
|
clear_has_extension();
|
|
::sync_pb::ExtensionSpecifics* temp = extension_;
|
|
extension_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_extension(::sync_pb::ExtensionSpecifics* extension) {
|
|
delete extension_;
|
|
extension_ = extension;
|
|
if (extension) {
|
|
set_has_extension();
|
|
} else {
|
|
clear_has_extension();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.extension)
|
|
}
|
|
|
|
// optional .sync_pb.AppSpecifics app = 48364;
|
|
inline bool EntitySpecifics::has_app() const {
|
|
return (_has_bits_[0] & 0x00000400u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_app() {
|
|
_has_bits_[0] |= 0x00000400u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_app() {
|
|
_has_bits_[0] &= ~0x00000400u;
|
|
}
|
|
inline void EntitySpecifics::clear_app() {
|
|
if (app_ != NULL) app_->::sync_pb::AppSpecifics::Clear();
|
|
clear_has_app();
|
|
}
|
|
inline const ::sync_pb::AppSpecifics& EntitySpecifics::app() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.app)
|
|
return app_ != NULL ? *app_
|
|
: *::sync_pb::AppSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AppSpecifics* EntitySpecifics::mutable_app() {
|
|
set_has_app();
|
|
if (app_ == NULL) {
|
|
app_ = new ::sync_pb::AppSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.app)
|
|
return app_;
|
|
}
|
|
inline ::sync_pb::AppSpecifics* EntitySpecifics::release_app() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.app)
|
|
clear_has_app();
|
|
::sync_pb::AppSpecifics* temp = app_;
|
|
app_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_app(::sync_pb::AppSpecifics* app) {
|
|
delete app_;
|
|
app_ = app;
|
|
if (app) {
|
|
set_has_app();
|
|
} else {
|
|
clear_has_app();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.app)
|
|
}
|
|
|
|
// optional .sync_pb.SessionSpecifics session = 50119;
|
|
inline bool EntitySpecifics::has_session() const {
|
|
return (_has_bits_[0] & 0x00000800u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_session() {
|
|
_has_bits_[0] |= 0x00000800u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_session() {
|
|
_has_bits_[0] &= ~0x00000800u;
|
|
}
|
|
inline void EntitySpecifics::clear_session() {
|
|
if (session_ != NULL) session_->::sync_pb::SessionSpecifics::Clear();
|
|
clear_has_session();
|
|
}
|
|
inline const ::sync_pb::SessionSpecifics& EntitySpecifics::session() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.session)
|
|
return session_ != NULL ? *session_
|
|
: *::sync_pb::SessionSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::SessionSpecifics* EntitySpecifics::mutable_session() {
|
|
set_has_session();
|
|
if (session_ == NULL) {
|
|
session_ = new ::sync_pb::SessionSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.session)
|
|
return session_;
|
|
}
|
|
inline ::sync_pb::SessionSpecifics* EntitySpecifics::release_session() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.session)
|
|
clear_has_session();
|
|
::sync_pb::SessionSpecifics* temp = session_;
|
|
session_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_session(::sync_pb::SessionSpecifics* session) {
|
|
delete session_;
|
|
session_ = session;
|
|
if (session) {
|
|
set_has_session();
|
|
} else {
|
|
clear_has_session();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.session)
|
|
}
|
|
|
|
// optional .sync_pb.AutofillProfileSpecifics autofill_profile = 63951;
|
|
inline bool EntitySpecifics::has_autofill_profile() const {
|
|
return (_has_bits_[0] & 0x00001000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_autofill_profile() {
|
|
_has_bits_[0] |= 0x00001000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_autofill_profile() {
|
|
_has_bits_[0] &= ~0x00001000u;
|
|
}
|
|
inline void EntitySpecifics::clear_autofill_profile() {
|
|
if (autofill_profile_ != NULL) autofill_profile_->::sync_pb::AutofillProfileSpecifics::Clear();
|
|
clear_has_autofill_profile();
|
|
}
|
|
inline const ::sync_pb::AutofillProfileSpecifics& EntitySpecifics::autofill_profile() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.autofill_profile)
|
|
return autofill_profile_ != NULL ? *autofill_profile_
|
|
: *::sync_pb::AutofillProfileSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AutofillProfileSpecifics* EntitySpecifics::mutable_autofill_profile() {
|
|
set_has_autofill_profile();
|
|
if (autofill_profile_ == NULL) {
|
|
autofill_profile_ = new ::sync_pb::AutofillProfileSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.autofill_profile)
|
|
return autofill_profile_;
|
|
}
|
|
inline ::sync_pb::AutofillProfileSpecifics* EntitySpecifics::release_autofill_profile() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.autofill_profile)
|
|
clear_has_autofill_profile();
|
|
::sync_pb::AutofillProfileSpecifics* temp = autofill_profile_;
|
|
autofill_profile_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_autofill_profile(::sync_pb::AutofillProfileSpecifics* autofill_profile) {
|
|
delete autofill_profile_;
|
|
autofill_profile_ = autofill_profile;
|
|
if (autofill_profile) {
|
|
set_has_autofill_profile();
|
|
} else {
|
|
clear_has_autofill_profile();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.autofill_profile)
|
|
}
|
|
|
|
// optional .sync_pb.SearchEngineSpecifics search_engine = 88610;
|
|
inline bool EntitySpecifics::has_search_engine() const {
|
|
return (_has_bits_[0] & 0x00002000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_search_engine() {
|
|
_has_bits_[0] |= 0x00002000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_search_engine() {
|
|
_has_bits_[0] &= ~0x00002000u;
|
|
}
|
|
inline void EntitySpecifics::clear_search_engine() {
|
|
if (search_engine_ != NULL) search_engine_->::sync_pb::SearchEngineSpecifics::Clear();
|
|
clear_has_search_engine();
|
|
}
|
|
inline const ::sync_pb::SearchEngineSpecifics& EntitySpecifics::search_engine() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.search_engine)
|
|
return search_engine_ != NULL ? *search_engine_
|
|
: *::sync_pb::SearchEngineSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::SearchEngineSpecifics* EntitySpecifics::mutable_search_engine() {
|
|
set_has_search_engine();
|
|
if (search_engine_ == NULL) {
|
|
search_engine_ = new ::sync_pb::SearchEngineSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.search_engine)
|
|
return search_engine_;
|
|
}
|
|
inline ::sync_pb::SearchEngineSpecifics* EntitySpecifics::release_search_engine() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.search_engine)
|
|
clear_has_search_engine();
|
|
::sync_pb::SearchEngineSpecifics* temp = search_engine_;
|
|
search_engine_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_search_engine(::sync_pb::SearchEngineSpecifics* search_engine) {
|
|
delete search_engine_;
|
|
search_engine_ = search_engine;
|
|
if (search_engine) {
|
|
set_has_search_engine();
|
|
} else {
|
|
clear_has_search_engine();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.search_engine)
|
|
}
|
|
|
|
// optional .sync_pb.ExtensionSettingSpecifics extension_setting = 96159;
|
|
inline bool EntitySpecifics::has_extension_setting() const {
|
|
return (_has_bits_[0] & 0x00004000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_extension_setting() {
|
|
_has_bits_[0] |= 0x00004000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_extension_setting() {
|
|
_has_bits_[0] &= ~0x00004000u;
|
|
}
|
|
inline void EntitySpecifics::clear_extension_setting() {
|
|
if (extension_setting_ != NULL) extension_setting_->::sync_pb::ExtensionSettingSpecifics::Clear();
|
|
clear_has_extension_setting();
|
|
}
|
|
inline const ::sync_pb::ExtensionSettingSpecifics& EntitySpecifics::extension_setting() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.extension_setting)
|
|
return extension_setting_ != NULL ? *extension_setting_
|
|
: *::sync_pb::ExtensionSettingSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ExtensionSettingSpecifics* EntitySpecifics::mutable_extension_setting() {
|
|
set_has_extension_setting();
|
|
if (extension_setting_ == NULL) {
|
|
extension_setting_ = new ::sync_pb::ExtensionSettingSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.extension_setting)
|
|
return extension_setting_;
|
|
}
|
|
inline ::sync_pb::ExtensionSettingSpecifics* EntitySpecifics::release_extension_setting() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.extension_setting)
|
|
clear_has_extension_setting();
|
|
::sync_pb::ExtensionSettingSpecifics* temp = extension_setting_;
|
|
extension_setting_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_extension_setting(::sync_pb::ExtensionSettingSpecifics* extension_setting) {
|
|
delete extension_setting_;
|
|
extension_setting_ = extension_setting;
|
|
if (extension_setting) {
|
|
set_has_extension_setting();
|
|
} else {
|
|
clear_has_extension_setting();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.extension_setting)
|
|
}
|
|
|
|
// optional .sync_pb.AppSettingSpecifics app_setting = 103656;
|
|
inline bool EntitySpecifics::has_app_setting() const {
|
|
return (_has_bits_[0] & 0x00008000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_app_setting() {
|
|
_has_bits_[0] |= 0x00008000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_app_setting() {
|
|
_has_bits_[0] &= ~0x00008000u;
|
|
}
|
|
inline void EntitySpecifics::clear_app_setting() {
|
|
if (app_setting_ != NULL) app_setting_->::sync_pb::AppSettingSpecifics::Clear();
|
|
clear_has_app_setting();
|
|
}
|
|
inline const ::sync_pb::AppSettingSpecifics& EntitySpecifics::app_setting() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.app_setting)
|
|
return app_setting_ != NULL ? *app_setting_
|
|
: *::sync_pb::AppSettingSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AppSettingSpecifics* EntitySpecifics::mutable_app_setting() {
|
|
set_has_app_setting();
|
|
if (app_setting_ == NULL) {
|
|
app_setting_ = new ::sync_pb::AppSettingSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.app_setting)
|
|
return app_setting_;
|
|
}
|
|
inline ::sync_pb::AppSettingSpecifics* EntitySpecifics::release_app_setting() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.app_setting)
|
|
clear_has_app_setting();
|
|
::sync_pb::AppSettingSpecifics* temp = app_setting_;
|
|
app_setting_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_app_setting(::sync_pb::AppSettingSpecifics* app_setting) {
|
|
delete app_setting_;
|
|
app_setting_ = app_setting;
|
|
if (app_setting) {
|
|
set_has_app_setting();
|
|
} else {
|
|
clear_has_app_setting();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.app_setting)
|
|
}
|
|
|
|
// optional .sync_pb.HistoryDeleteDirectiveSpecifics history_delete_directive = 150251;
|
|
inline bool EntitySpecifics::has_history_delete_directive() const {
|
|
return (_has_bits_[0] & 0x00010000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_history_delete_directive() {
|
|
_has_bits_[0] |= 0x00010000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_history_delete_directive() {
|
|
_has_bits_[0] &= ~0x00010000u;
|
|
}
|
|
inline void EntitySpecifics::clear_history_delete_directive() {
|
|
if (history_delete_directive_ != NULL) history_delete_directive_->::sync_pb::HistoryDeleteDirectiveSpecifics::Clear();
|
|
clear_has_history_delete_directive();
|
|
}
|
|
inline const ::sync_pb::HistoryDeleteDirectiveSpecifics& EntitySpecifics::history_delete_directive() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.history_delete_directive)
|
|
return history_delete_directive_ != NULL ? *history_delete_directive_
|
|
: *::sync_pb::HistoryDeleteDirectiveSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::HistoryDeleteDirectiveSpecifics* EntitySpecifics::mutable_history_delete_directive() {
|
|
set_has_history_delete_directive();
|
|
if (history_delete_directive_ == NULL) {
|
|
history_delete_directive_ = new ::sync_pb::HistoryDeleteDirectiveSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.history_delete_directive)
|
|
return history_delete_directive_;
|
|
}
|
|
inline ::sync_pb::HistoryDeleteDirectiveSpecifics* EntitySpecifics::release_history_delete_directive() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.history_delete_directive)
|
|
clear_has_history_delete_directive();
|
|
::sync_pb::HistoryDeleteDirectiveSpecifics* temp = history_delete_directive_;
|
|
history_delete_directive_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_history_delete_directive(::sync_pb::HistoryDeleteDirectiveSpecifics* history_delete_directive) {
|
|
delete history_delete_directive_;
|
|
history_delete_directive_ = history_delete_directive;
|
|
if (history_delete_directive) {
|
|
set_has_history_delete_directive();
|
|
} else {
|
|
clear_has_history_delete_directive();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.history_delete_directive)
|
|
}
|
|
|
|
// optional .sync_pb.SyncedNotificationSpecifics synced_notification = 153108;
|
|
inline bool EntitySpecifics::has_synced_notification() const {
|
|
return (_has_bits_[0] & 0x00020000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_synced_notification() {
|
|
_has_bits_[0] |= 0x00020000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_synced_notification() {
|
|
_has_bits_[0] &= ~0x00020000u;
|
|
}
|
|
inline void EntitySpecifics::clear_synced_notification() {
|
|
if (synced_notification_ != NULL) synced_notification_->::sync_pb::SyncedNotificationSpecifics::Clear();
|
|
clear_has_synced_notification();
|
|
}
|
|
inline const ::sync_pb::SyncedNotificationSpecifics& EntitySpecifics::synced_notification() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.synced_notification)
|
|
return synced_notification_ != NULL ? *synced_notification_
|
|
: *::sync_pb::SyncedNotificationSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::SyncedNotificationSpecifics* EntitySpecifics::mutable_synced_notification() {
|
|
set_has_synced_notification();
|
|
if (synced_notification_ == NULL) {
|
|
synced_notification_ = new ::sync_pb::SyncedNotificationSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.synced_notification)
|
|
return synced_notification_;
|
|
}
|
|
inline ::sync_pb::SyncedNotificationSpecifics* EntitySpecifics::release_synced_notification() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.synced_notification)
|
|
clear_has_synced_notification();
|
|
::sync_pb::SyncedNotificationSpecifics* temp = synced_notification_;
|
|
synced_notification_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_synced_notification(::sync_pb::SyncedNotificationSpecifics* synced_notification) {
|
|
delete synced_notification_;
|
|
synced_notification_ = synced_notification;
|
|
if (synced_notification) {
|
|
set_has_synced_notification();
|
|
} else {
|
|
clear_has_synced_notification();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.synced_notification)
|
|
}
|
|
|
|
// optional .sync_pb.SyncedNotificationAppInfoSpecifics synced_notification_app_info = 235816;
|
|
inline bool EntitySpecifics::has_synced_notification_app_info() const {
|
|
return (_has_bits_[0] & 0x40000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_synced_notification_app_info() {
|
|
_has_bits_[0] |= 0x40000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_synced_notification_app_info() {
|
|
_has_bits_[0] &= ~0x40000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_synced_notification_app_info() {
|
|
if (synced_notification_app_info_ != NULL) synced_notification_app_info_->::sync_pb::SyncedNotificationAppInfoSpecifics::Clear();
|
|
clear_has_synced_notification_app_info();
|
|
}
|
|
inline const ::sync_pb::SyncedNotificationAppInfoSpecifics& EntitySpecifics::synced_notification_app_info() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.synced_notification_app_info)
|
|
return synced_notification_app_info_ != NULL ? *synced_notification_app_info_
|
|
: *::sync_pb::SyncedNotificationAppInfoSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::SyncedNotificationAppInfoSpecifics* EntitySpecifics::mutable_synced_notification_app_info() {
|
|
set_has_synced_notification_app_info();
|
|
if (synced_notification_app_info_ == NULL) {
|
|
synced_notification_app_info_ = new ::sync_pb::SyncedNotificationAppInfoSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.synced_notification_app_info)
|
|
return synced_notification_app_info_;
|
|
}
|
|
inline ::sync_pb::SyncedNotificationAppInfoSpecifics* EntitySpecifics::release_synced_notification_app_info() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.synced_notification_app_info)
|
|
clear_has_synced_notification_app_info();
|
|
::sync_pb::SyncedNotificationAppInfoSpecifics* temp = synced_notification_app_info_;
|
|
synced_notification_app_info_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_synced_notification_app_info(::sync_pb::SyncedNotificationAppInfoSpecifics* synced_notification_app_info) {
|
|
delete synced_notification_app_info_;
|
|
synced_notification_app_info_ = synced_notification_app_info;
|
|
if (synced_notification_app_info) {
|
|
set_has_synced_notification_app_info();
|
|
} else {
|
|
clear_has_synced_notification_app_info();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.synced_notification_app_info)
|
|
}
|
|
|
|
// optional .sync_pb.DeviceInfoSpecifics device_info = 154522;
|
|
inline bool EntitySpecifics::has_device_info() const {
|
|
return (_has_bits_[0] & 0x00040000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_device_info() {
|
|
_has_bits_[0] |= 0x00040000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_device_info() {
|
|
_has_bits_[0] &= ~0x00040000u;
|
|
}
|
|
inline void EntitySpecifics::clear_device_info() {
|
|
if (device_info_ != NULL) device_info_->::sync_pb::DeviceInfoSpecifics::Clear();
|
|
clear_has_device_info();
|
|
}
|
|
inline const ::sync_pb::DeviceInfoSpecifics& EntitySpecifics::device_info() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.device_info)
|
|
return device_info_ != NULL ? *device_info_
|
|
: *::sync_pb::DeviceInfoSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::DeviceInfoSpecifics* EntitySpecifics::mutable_device_info() {
|
|
set_has_device_info();
|
|
if (device_info_ == NULL) {
|
|
device_info_ = new ::sync_pb::DeviceInfoSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.device_info)
|
|
return device_info_;
|
|
}
|
|
inline ::sync_pb::DeviceInfoSpecifics* EntitySpecifics::release_device_info() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.device_info)
|
|
clear_has_device_info();
|
|
::sync_pb::DeviceInfoSpecifics* temp = device_info_;
|
|
device_info_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_device_info(::sync_pb::DeviceInfoSpecifics* device_info) {
|
|
delete device_info_;
|
|
device_info_ = device_info;
|
|
if (device_info) {
|
|
set_has_device_info();
|
|
} else {
|
|
clear_has_device_info();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.device_info)
|
|
}
|
|
|
|
// optional .sync_pb.ExperimentsSpecifics experiments = 161496;
|
|
inline bool EntitySpecifics::has_experiments() const {
|
|
return (_has_bits_[0] & 0x00080000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_experiments() {
|
|
_has_bits_[0] |= 0x00080000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_experiments() {
|
|
_has_bits_[0] &= ~0x00080000u;
|
|
}
|
|
inline void EntitySpecifics::clear_experiments() {
|
|
if (experiments_ != NULL) experiments_->::sync_pb::ExperimentsSpecifics::Clear();
|
|
clear_has_experiments();
|
|
}
|
|
inline const ::sync_pb::ExperimentsSpecifics& EntitySpecifics::experiments() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.experiments)
|
|
return experiments_ != NULL ? *experiments_
|
|
: *::sync_pb::ExperimentsSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ExperimentsSpecifics* EntitySpecifics::mutable_experiments() {
|
|
set_has_experiments();
|
|
if (experiments_ == NULL) {
|
|
experiments_ = new ::sync_pb::ExperimentsSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.experiments)
|
|
return experiments_;
|
|
}
|
|
inline ::sync_pb::ExperimentsSpecifics* EntitySpecifics::release_experiments() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.experiments)
|
|
clear_has_experiments();
|
|
::sync_pb::ExperimentsSpecifics* temp = experiments_;
|
|
experiments_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_experiments(::sync_pb::ExperimentsSpecifics* experiments) {
|
|
delete experiments_;
|
|
experiments_ = experiments;
|
|
if (experiments) {
|
|
set_has_experiments();
|
|
} else {
|
|
clear_has_experiments();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.experiments)
|
|
}
|
|
|
|
// optional .sync_pb.PriorityPreferenceSpecifics priority_preference = 163425;
|
|
inline bool EntitySpecifics::has_priority_preference() const {
|
|
return (_has_bits_[0] & 0x00100000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_priority_preference() {
|
|
_has_bits_[0] |= 0x00100000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_priority_preference() {
|
|
_has_bits_[0] &= ~0x00100000u;
|
|
}
|
|
inline void EntitySpecifics::clear_priority_preference() {
|
|
if (priority_preference_ != NULL) priority_preference_->::sync_pb::PriorityPreferenceSpecifics::Clear();
|
|
clear_has_priority_preference();
|
|
}
|
|
inline const ::sync_pb::PriorityPreferenceSpecifics& EntitySpecifics::priority_preference() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.priority_preference)
|
|
return priority_preference_ != NULL ? *priority_preference_
|
|
: *::sync_pb::PriorityPreferenceSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::PriorityPreferenceSpecifics* EntitySpecifics::mutable_priority_preference() {
|
|
set_has_priority_preference();
|
|
if (priority_preference_ == NULL) {
|
|
priority_preference_ = new ::sync_pb::PriorityPreferenceSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.priority_preference)
|
|
return priority_preference_;
|
|
}
|
|
inline ::sync_pb::PriorityPreferenceSpecifics* EntitySpecifics::release_priority_preference() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.priority_preference)
|
|
clear_has_priority_preference();
|
|
::sync_pb::PriorityPreferenceSpecifics* temp = priority_preference_;
|
|
priority_preference_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_priority_preference(::sync_pb::PriorityPreferenceSpecifics* priority_preference) {
|
|
delete priority_preference_;
|
|
priority_preference_ = priority_preference;
|
|
if (priority_preference) {
|
|
set_has_priority_preference();
|
|
} else {
|
|
clear_has_priority_preference();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.priority_preference)
|
|
}
|
|
|
|
// optional .sync_pb.DictionarySpecifics dictionary = 170540;
|
|
inline bool EntitySpecifics::has_dictionary() const {
|
|
return (_has_bits_[0] & 0x00200000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_dictionary() {
|
|
_has_bits_[0] |= 0x00200000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_dictionary() {
|
|
_has_bits_[0] &= ~0x00200000u;
|
|
}
|
|
inline void EntitySpecifics::clear_dictionary() {
|
|
if (dictionary_ != NULL) dictionary_->::sync_pb::DictionarySpecifics::Clear();
|
|
clear_has_dictionary();
|
|
}
|
|
inline const ::sync_pb::DictionarySpecifics& EntitySpecifics::dictionary() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.dictionary)
|
|
return dictionary_ != NULL ? *dictionary_
|
|
: *::sync_pb::DictionarySpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::DictionarySpecifics* EntitySpecifics::mutable_dictionary() {
|
|
set_has_dictionary();
|
|
if (dictionary_ == NULL) {
|
|
dictionary_ = new ::sync_pb::DictionarySpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.dictionary)
|
|
return dictionary_;
|
|
}
|
|
inline ::sync_pb::DictionarySpecifics* EntitySpecifics::release_dictionary() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.dictionary)
|
|
clear_has_dictionary();
|
|
::sync_pb::DictionarySpecifics* temp = dictionary_;
|
|
dictionary_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_dictionary(::sync_pb::DictionarySpecifics* dictionary) {
|
|
delete dictionary_;
|
|
dictionary_ = dictionary;
|
|
if (dictionary) {
|
|
set_has_dictionary();
|
|
} else {
|
|
clear_has_dictionary();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.dictionary)
|
|
}
|
|
|
|
// optional .sync_pb.FaviconTrackingSpecifics favicon_tracking = 181534;
|
|
inline bool EntitySpecifics::has_favicon_tracking() const {
|
|
return (_has_bits_[0] & 0x00400000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_favicon_tracking() {
|
|
_has_bits_[0] |= 0x00400000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_favicon_tracking() {
|
|
_has_bits_[0] &= ~0x00400000u;
|
|
}
|
|
inline void EntitySpecifics::clear_favicon_tracking() {
|
|
if (favicon_tracking_ != NULL) favicon_tracking_->::sync_pb::FaviconTrackingSpecifics::Clear();
|
|
clear_has_favicon_tracking();
|
|
}
|
|
inline const ::sync_pb::FaviconTrackingSpecifics& EntitySpecifics::favicon_tracking() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.favicon_tracking)
|
|
return favicon_tracking_ != NULL ? *favicon_tracking_
|
|
: *::sync_pb::FaviconTrackingSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::FaviconTrackingSpecifics* EntitySpecifics::mutable_favicon_tracking() {
|
|
set_has_favicon_tracking();
|
|
if (favicon_tracking_ == NULL) {
|
|
favicon_tracking_ = new ::sync_pb::FaviconTrackingSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.favicon_tracking)
|
|
return favicon_tracking_;
|
|
}
|
|
inline ::sync_pb::FaviconTrackingSpecifics* EntitySpecifics::release_favicon_tracking() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.favicon_tracking)
|
|
clear_has_favicon_tracking();
|
|
::sync_pb::FaviconTrackingSpecifics* temp = favicon_tracking_;
|
|
favicon_tracking_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_favicon_tracking(::sync_pb::FaviconTrackingSpecifics* favicon_tracking) {
|
|
delete favicon_tracking_;
|
|
favicon_tracking_ = favicon_tracking;
|
|
if (favicon_tracking) {
|
|
set_has_favicon_tracking();
|
|
} else {
|
|
clear_has_favicon_tracking();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.favicon_tracking)
|
|
}
|
|
|
|
// optional .sync_pb.FaviconImageSpecifics favicon_image = 182019;
|
|
inline bool EntitySpecifics::has_favicon_image() const {
|
|
return (_has_bits_[0] & 0x00800000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_favicon_image() {
|
|
_has_bits_[0] |= 0x00800000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_favicon_image() {
|
|
_has_bits_[0] &= ~0x00800000u;
|
|
}
|
|
inline void EntitySpecifics::clear_favicon_image() {
|
|
if (favicon_image_ != NULL) favicon_image_->::sync_pb::FaviconImageSpecifics::Clear();
|
|
clear_has_favicon_image();
|
|
}
|
|
inline const ::sync_pb::FaviconImageSpecifics& EntitySpecifics::favicon_image() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.favicon_image)
|
|
return favicon_image_ != NULL ? *favicon_image_
|
|
: *::sync_pb::FaviconImageSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::FaviconImageSpecifics* EntitySpecifics::mutable_favicon_image() {
|
|
set_has_favicon_image();
|
|
if (favicon_image_ == NULL) {
|
|
favicon_image_ = new ::sync_pb::FaviconImageSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.favicon_image)
|
|
return favicon_image_;
|
|
}
|
|
inline ::sync_pb::FaviconImageSpecifics* EntitySpecifics::release_favicon_image() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.favicon_image)
|
|
clear_has_favicon_image();
|
|
::sync_pb::FaviconImageSpecifics* temp = favicon_image_;
|
|
favicon_image_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_favicon_image(::sync_pb::FaviconImageSpecifics* favicon_image) {
|
|
delete favicon_image_;
|
|
favicon_image_ = favicon_image;
|
|
if (favicon_image) {
|
|
set_has_favicon_image();
|
|
} else {
|
|
clear_has_favicon_image();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.favicon_image)
|
|
}
|
|
|
|
// optional .sync_pb.ManagedUserSettingSpecifics managed_user_setting = 186662;
|
|
inline bool EntitySpecifics::has_managed_user_setting() const {
|
|
return (_has_bits_[0] & 0x01000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_managed_user_setting() {
|
|
_has_bits_[0] |= 0x01000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_managed_user_setting() {
|
|
_has_bits_[0] &= ~0x01000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_managed_user_setting() {
|
|
if (managed_user_setting_ != NULL) managed_user_setting_->::sync_pb::ManagedUserSettingSpecifics::Clear();
|
|
clear_has_managed_user_setting();
|
|
}
|
|
inline const ::sync_pb::ManagedUserSettingSpecifics& EntitySpecifics::managed_user_setting() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.managed_user_setting)
|
|
return managed_user_setting_ != NULL ? *managed_user_setting_
|
|
: *::sync_pb::ManagedUserSettingSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ManagedUserSettingSpecifics* EntitySpecifics::mutable_managed_user_setting() {
|
|
set_has_managed_user_setting();
|
|
if (managed_user_setting_ == NULL) {
|
|
managed_user_setting_ = new ::sync_pb::ManagedUserSettingSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.managed_user_setting)
|
|
return managed_user_setting_;
|
|
}
|
|
inline ::sync_pb::ManagedUserSettingSpecifics* EntitySpecifics::release_managed_user_setting() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.managed_user_setting)
|
|
clear_has_managed_user_setting();
|
|
::sync_pb::ManagedUserSettingSpecifics* temp = managed_user_setting_;
|
|
managed_user_setting_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_managed_user_setting(::sync_pb::ManagedUserSettingSpecifics* managed_user_setting) {
|
|
delete managed_user_setting_;
|
|
managed_user_setting_ = managed_user_setting;
|
|
if (managed_user_setting) {
|
|
set_has_managed_user_setting();
|
|
} else {
|
|
clear_has_managed_user_setting();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.managed_user_setting)
|
|
}
|
|
|
|
// optional .sync_pb.ManagedUserSpecifics managed_user = 194582;
|
|
inline bool EntitySpecifics::has_managed_user() const {
|
|
return (_has_bits_[0] & 0x02000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_managed_user() {
|
|
_has_bits_[0] |= 0x02000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_managed_user() {
|
|
_has_bits_[0] &= ~0x02000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_managed_user() {
|
|
if (managed_user_ != NULL) managed_user_->::sync_pb::ManagedUserSpecifics::Clear();
|
|
clear_has_managed_user();
|
|
}
|
|
inline const ::sync_pb::ManagedUserSpecifics& EntitySpecifics::managed_user() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.managed_user)
|
|
return managed_user_ != NULL ? *managed_user_
|
|
: *::sync_pb::ManagedUserSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ManagedUserSpecifics* EntitySpecifics::mutable_managed_user() {
|
|
set_has_managed_user();
|
|
if (managed_user_ == NULL) {
|
|
managed_user_ = new ::sync_pb::ManagedUserSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.managed_user)
|
|
return managed_user_;
|
|
}
|
|
inline ::sync_pb::ManagedUserSpecifics* EntitySpecifics::release_managed_user() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.managed_user)
|
|
clear_has_managed_user();
|
|
::sync_pb::ManagedUserSpecifics* temp = managed_user_;
|
|
managed_user_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_managed_user(::sync_pb::ManagedUserSpecifics* managed_user) {
|
|
delete managed_user_;
|
|
managed_user_ = managed_user;
|
|
if (managed_user) {
|
|
set_has_managed_user();
|
|
} else {
|
|
clear_has_managed_user();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.managed_user)
|
|
}
|
|
|
|
// optional .sync_pb.ManagedUserSharedSettingSpecifics managed_user_shared_setting = 202026;
|
|
inline bool EntitySpecifics::has_managed_user_shared_setting() const {
|
|
return (_has_bits_[0] & 0x04000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_managed_user_shared_setting() {
|
|
_has_bits_[0] |= 0x04000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_managed_user_shared_setting() {
|
|
_has_bits_[0] &= ~0x04000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_managed_user_shared_setting() {
|
|
if (managed_user_shared_setting_ != NULL) managed_user_shared_setting_->::sync_pb::ManagedUserSharedSettingSpecifics::Clear();
|
|
clear_has_managed_user_shared_setting();
|
|
}
|
|
inline const ::sync_pb::ManagedUserSharedSettingSpecifics& EntitySpecifics::managed_user_shared_setting() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.managed_user_shared_setting)
|
|
return managed_user_shared_setting_ != NULL ? *managed_user_shared_setting_
|
|
: *::sync_pb::ManagedUserSharedSettingSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ManagedUserSharedSettingSpecifics* EntitySpecifics::mutable_managed_user_shared_setting() {
|
|
set_has_managed_user_shared_setting();
|
|
if (managed_user_shared_setting_ == NULL) {
|
|
managed_user_shared_setting_ = new ::sync_pb::ManagedUserSharedSettingSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.managed_user_shared_setting)
|
|
return managed_user_shared_setting_;
|
|
}
|
|
inline ::sync_pb::ManagedUserSharedSettingSpecifics* EntitySpecifics::release_managed_user_shared_setting() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.managed_user_shared_setting)
|
|
clear_has_managed_user_shared_setting();
|
|
::sync_pb::ManagedUserSharedSettingSpecifics* temp = managed_user_shared_setting_;
|
|
managed_user_shared_setting_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_managed_user_shared_setting(::sync_pb::ManagedUserSharedSettingSpecifics* managed_user_shared_setting) {
|
|
delete managed_user_shared_setting_;
|
|
managed_user_shared_setting_ = managed_user_shared_setting;
|
|
if (managed_user_shared_setting) {
|
|
set_has_managed_user_shared_setting();
|
|
} else {
|
|
clear_has_managed_user_shared_setting();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.managed_user_shared_setting)
|
|
}
|
|
|
|
// optional .sync_pb.ManagedUserWhitelistSpecifics managed_user_whitelist = 306060;
|
|
inline bool EntitySpecifics::has_managed_user_whitelist() const {
|
|
return (_has_bits_[0] & 0x80000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_managed_user_whitelist() {
|
|
_has_bits_[0] |= 0x80000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_managed_user_whitelist() {
|
|
_has_bits_[0] &= ~0x80000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_managed_user_whitelist() {
|
|
if (managed_user_whitelist_ != NULL) managed_user_whitelist_->::sync_pb::ManagedUserWhitelistSpecifics::Clear();
|
|
clear_has_managed_user_whitelist();
|
|
}
|
|
inline const ::sync_pb::ManagedUserWhitelistSpecifics& EntitySpecifics::managed_user_whitelist() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.managed_user_whitelist)
|
|
return managed_user_whitelist_ != NULL ? *managed_user_whitelist_
|
|
: *::sync_pb::ManagedUserWhitelistSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ManagedUserWhitelistSpecifics* EntitySpecifics::mutable_managed_user_whitelist() {
|
|
set_has_managed_user_whitelist();
|
|
if (managed_user_whitelist_ == NULL) {
|
|
managed_user_whitelist_ = new ::sync_pb::ManagedUserWhitelistSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.managed_user_whitelist)
|
|
return managed_user_whitelist_;
|
|
}
|
|
inline ::sync_pb::ManagedUserWhitelistSpecifics* EntitySpecifics::release_managed_user_whitelist() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.managed_user_whitelist)
|
|
clear_has_managed_user_whitelist();
|
|
::sync_pb::ManagedUserWhitelistSpecifics* temp = managed_user_whitelist_;
|
|
managed_user_whitelist_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_managed_user_whitelist(::sync_pb::ManagedUserWhitelistSpecifics* managed_user_whitelist) {
|
|
delete managed_user_whitelist_;
|
|
managed_user_whitelist_ = managed_user_whitelist;
|
|
if (managed_user_whitelist) {
|
|
set_has_managed_user_whitelist();
|
|
} else {
|
|
clear_has_managed_user_whitelist();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.managed_user_whitelist)
|
|
}
|
|
|
|
// optional .sync_pb.ArticleSpecifics article = 223759;
|
|
inline bool EntitySpecifics::has_article() const {
|
|
return (_has_bits_[0] & 0x10000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_article() {
|
|
_has_bits_[0] |= 0x10000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_article() {
|
|
_has_bits_[0] &= ~0x10000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_article() {
|
|
if (article_ != NULL) article_->::sync_pb::ArticleSpecifics::Clear();
|
|
clear_has_article();
|
|
}
|
|
inline const ::sync_pb::ArticleSpecifics& EntitySpecifics::article() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.article)
|
|
return article_ != NULL ? *article_
|
|
: *::sync_pb::ArticleSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ArticleSpecifics* EntitySpecifics::mutable_article() {
|
|
set_has_article();
|
|
if (article_ == NULL) {
|
|
article_ = new ::sync_pb::ArticleSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.article)
|
|
return article_;
|
|
}
|
|
inline ::sync_pb::ArticleSpecifics* EntitySpecifics::release_article() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.article)
|
|
clear_has_article();
|
|
::sync_pb::ArticleSpecifics* temp = article_;
|
|
article_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_article(::sync_pb::ArticleSpecifics* article) {
|
|
delete article_;
|
|
article_ = article;
|
|
if (article) {
|
|
set_has_article();
|
|
} else {
|
|
clear_has_article();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.article)
|
|
}
|
|
|
|
// optional .sync_pb.AppListSpecifics app_list = 229170;
|
|
inline bool EntitySpecifics::has_app_list() const {
|
|
return (_has_bits_[0] & 0x20000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_app_list() {
|
|
_has_bits_[0] |= 0x20000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_app_list() {
|
|
_has_bits_[0] &= ~0x20000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_app_list() {
|
|
if (app_list_ != NULL) app_list_->::sync_pb::AppListSpecifics::Clear();
|
|
clear_has_app_list();
|
|
}
|
|
inline const ::sync_pb::AppListSpecifics& EntitySpecifics::app_list() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.app_list)
|
|
return app_list_ != NULL ? *app_list_
|
|
: *::sync_pb::AppListSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AppListSpecifics* EntitySpecifics::mutable_app_list() {
|
|
set_has_app_list();
|
|
if (app_list_ == NULL) {
|
|
app_list_ = new ::sync_pb::AppListSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.app_list)
|
|
return app_list_;
|
|
}
|
|
inline ::sync_pb::AppListSpecifics* EntitySpecifics::release_app_list() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.app_list)
|
|
clear_has_app_list();
|
|
::sync_pb::AppListSpecifics* temp = app_list_;
|
|
app_list_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_app_list(::sync_pb::AppListSpecifics* app_list) {
|
|
delete app_list_;
|
|
app_list_ = app_list;
|
|
if (app_list) {
|
|
set_has_app_list();
|
|
} else {
|
|
clear_has_app_list();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.app_list)
|
|
}
|
|
|
|
// optional .sync_pb.WifiCredentialSpecifics wifi_credential = 218175;
|
|
inline bool EntitySpecifics::has_wifi_credential() const {
|
|
return (_has_bits_[0] & 0x08000000u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_wifi_credential() {
|
|
_has_bits_[0] |= 0x08000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_wifi_credential() {
|
|
_has_bits_[0] &= ~0x08000000u;
|
|
}
|
|
inline void EntitySpecifics::clear_wifi_credential() {
|
|
if (wifi_credential_ != NULL) wifi_credential_->::sync_pb::WifiCredentialSpecifics::Clear();
|
|
clear_has_wifi_credential();
|
|
}
|
|
inline const ::sync_pb::WifiCredentialSpecifics& EntitySpecifics::wifi_credential() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.wifi_credential)
|
|
return wifi_credential_ != NULL ? *wifi_credential_
|
|
: *::sync_pb::WifiCredentialSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::WifiCredentialSpecifics* EntitySpecifics::mutable_wifi_credential() {
|
|
set_has_wifi_credential();
|
|
if (wifi_credential_ == NULL) {
|
|
wifi_credential_ = new ::sync_pb::WifiCredentialSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.wifi_credential)
|
|
return wifi_credential_;
|
|
}
|
|
inline ::sync_pb::WifiCredentialSpecifics* EntitySpecifics::release_wifi_credential() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.wifi_credential)
|
|
clear_has_wifi_credential();
|
|
::sync_pb::WifiCredentialSpecifics* temp = wifi_credential_;
|
|
wifi_credential_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_wifi_credential(::sync_pb::WifiCredentialSpecifics* wifi_credential) {
|
|
delete wifi_credential_;
|
|
wifi_credential_ = wifi_credential;
|
|
if (wifi_credential) {
|
|
set_has_wifi_credential();
|
|
} else {
|
|
clear_has_wifi_credential();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.wifi_credential)
|
|
}
|
|
|
|
// optional .sync_pb.AutofillWalletSpecifics autofill_wallet = 306270;
|
|
inline bool EntitySpecifics::has_autofill_wallet() const {
|
|
return (_has_bits_[1] & 0x00000001u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_autofill_wallet() {
|
|
_has_bits_[1] |= 0x00000001u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_autofill_wallet() {
|
|
_has_bits_[1] &= ~0x00000001u;
|
|
}
|
|
inline void EntitySpecifics::clear_autofill_wallet() {
|
|
if (autofill_wallet_ != NULL) autofill_wallet_->::sync_pb::AutofillWalletSpecifics::Clear();
|
|
clear_has_autofill_wallet();
|
|
}
|
|
inline const ::sync_pb::AutofillWalletSpecifics& EntitySpecifics::autofill_wallet() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.autofill_wallet)
|
|
return autofill_wallet_ != NULL ? *autofill_wallet_
|
|
: *::sync_pb::AutofillWalletSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AutofillWalletSpecifics* EntitySpecifics::mutable_autofill_wallet() {
|
|
set_has_autofill_wallet();
|
|
if (autofill_wallet_ == NULL) {
|
|
autofill_wallet_ = new ::sync_pb::AutofillWalletSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.autofill_wallet)
|
|
return autofill_wallet_;
|
|
}
|
|
inline ::sync_pb::AutofillWalletSpecifics* EntitySpecifics::release_autofill_wallet() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.autofill_wallet)
|
|
clear_has_autofill_wallet();
|
|
::sync_pb::AutofillWalletSpecifics* temp = autofill_wallet_;
|
|
autofill_wallet_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_autofill_wallet(::sync_pb::AutofillWalletSpecifics* autofill_wallet) {
|
|
delete autofill_wallet_;
|
|
autofill_wallet_ = autofill_wallet;
|
|
if (autofill_wallet) {
|
|
set_has_autofill_wallet();
|
|
} else {
|
|
clear_has_autofill_wallet();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.autofill_wallet)
|
|
}
|
|
|
|
// optional .sync_pb.WalletMetadataSpecifics wallet_metadata = 330441;
|
|
inline bool EntitySpecifics::has_wallet_metadata() const {
|
|
return (_has_bits_[1] & 0x00000002u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_wallet_metadata() {
|
|
_has_bits_[1] |= 0x00000002u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_wallet_metadata() {
|
|
_has_bits_[1] &= ~0x00000002u;
|
|
}
|
|
inline void EntitySpecifics::clear_wallet_metadata() {
|
|
if (wallet_metadata_ != NULL) wallet_metadata_->::sync_pb::WalletMetadataSpecifics::Clear();
|
|
clear_has_wallet_metadata();
|
|
}
|
|
inline const ::sync_pb::WalletMetadataSpecifics& EntitySpecifics::wallet_metadata() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.wallet_metadata)
|
|
return wallet_metadata_ != NULL ? *wallet_metadata_
|
|
: *::sync_pb::WalletMetadataSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::WalletMetadataSpecifics* EntitySpecifics::mutable_wallet_metadata() {
|
|
set_has_wallet_metadata();
|
|
if (wallet_metadata_ == NULL) {
|
|
wallet_metadata_ = new ::sync_pb::WalletMetadataSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.wallet_metadata)
|
|
return wallet_metadata_;
|
|
}
|
|
inline ::sync_pb::WalletMetadataSpecifics* EntitySpecifics::release_wallet_metadata() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.wallet_metadata)
|
|
clear_has_wallet_metadata();
|
|
::sync_pb::WalletMetadataSpecifics* temp = wallet_metadata_;
|
|
wallet_metadata_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_wallet_metadata(::sync_pb::WalletMetadataSpecifics* wallet_metadata) {
|
|
delete wallet_metadata_;
|
|
wallet_metadata_ = wallet_metadata;
|
|
if (wallet_metadata) {
|
|
set_has_wallet_metadata();
|
|
} else {
|
|
clear_has_wallet_metadata();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.wallet_metadata)
|
|
}
|
|
|
|
// optional .sync_pb.ArcPackageSpecifics arc_package = 340906;
|
|
inline bool EntitySpecifics::has_arc_package() const {
|
|
return (_has_bits_[1] & 0x00000004u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_arc_package() {
|
|
_has_bits_[1] |= 0x00000004u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_arc_package() {
|
|
_has_bits_[1] &= ~0x00000004u;
|
|
}
|
|
inline void EntitySpecifics::clear_arc_package() {
|
|
if (arc_package_ != NULL) arc_package_->::sync_pb::ArcPackageSpecifics::Clear();
|
|
clear_has_arc_package();
|
|
}
|
|
inline const ::sync_pb::ArcPackageSpecifics& EntitySpecifics::arc_package() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.arc_package)
|
|
return arc_package_ != NULL ? *arc_package_
|
|
: *::sync_pb::ArcPackageSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ArcPackageSpecifics* EntitySpecifics::mutable_arc_package() {
|
|
set_has_arc_package();
|
|
if (arc_package_ == NULL) {
|
|
arc_package_ = new ::sync_pb::ArcPackageSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.arc_package)
|
|
return arc_package_;
|
|
}
|
|
inline ::sync_pb::ArcPackageSpecifics* EntitySpecifics::release_arc_package() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.arc_package)
|
|
clear_has_arc_package();
|
|
::sync_pb::ArcPackageSpecifics* temp = arc_package_;
|
|
arc_package_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_arc_package(::sync_pb::ArcPackageSpecifics* arc_package) {
|
|
delete arc_package_;
|
|
arc_package_ = arc_package;
|
|
if (arc_package) {
|
|
set_has_arc_package();
|
|
} else {
|
|
clear_has_arc_package();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.arc_package)
|
|
}
|
|
|
|
// optional .sync_pb.PrinterSpecifics printer = 410745;
|
|
inline bool EntitySpecifics::has_printer() const {
|
|
return (_has_bits_[1] & 0x00000008u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_printer() {
|
|
_has_bits_[1] |= 0x00000008u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_printer() {
|
|
_has_bits_[1] &= ~0x00000008u;
|
|
}
|
|
inline void EntitySpecifics::clear_printer() {
|
|
if (printer_ != NULL) printer_->::sync_pb::PrinterSpecifics::Clear();
|
|
clear_has_printer();
|
|
}
|
|
inline const ::sync_pb::PrinterSpecifics& EntitySpecifics::printer() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.printer)
|
|
return printer_ != NULL ? *printer_
|
|
: *::sync_pb::PrinterSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::PrinterSpecifics* EntitySpecifics::mutable_printer() {
|
|
set_has_printer();
|
|
if (printer_ == NULL) {
|
|
printer_ = new ::sync_pb::PrinterSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.printer)
|
|
return printer_;
|
|
}
|
|
inline ::sync_pb::PrinterSpecifics* EntitySpecifics::release_printer() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.printer)
|
|
clear_has_printer();
|
|
::sync_pb::PrinterSpecifics* temp = printer_;
|
|
printer_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_printer(::sync_pb::PrinterSpecifics* printer) {
|
|
delete printer_;
|
|
printer_ = printer;
|
|
if (printer) {
|
|
set_has_printer();
|
|
} else {
|
|
clear_has_printer();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.printer)
|
|
}
|
|
|
|
// optional .sync_pb.ReadingListSpecifics reading_list = 411028;
|
|
inline bool EntitySpecifics::has_reading_list() const {
|
|
return (_has_bits_[1] & 0x00000010u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_reading_list() {
|
|
_has_bits_[1] |= 0x00000010u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_reading_list() {
|
|
_has_bits_[1] &= ~0x00000010u;
|
|
}
|
|
inline void EntitySpecifics::clear_reading_list() {
|
|
if (reading_list_ != NULL) reading_list_->::sync_pb::ReadingListSpecifics::Clear();
|
|
clear_has_reading_list();
|
|
}
|
|
inline const ::sync_pb::ReadingListSpecifics& EntitySpecifics::reading_list() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.reading_list)
|
|
return reading_list_ != NULL ? *reading_list_
|
|
: *::sync_pb::ReadingListSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ReadingListSpecifics* EntitySpecifics::mutable_reading_list() {
|
|
set_has_reading_list();
|
|
if (reading_list_ == NULL) {
|
|
reading_list_ = new ::sync_pb::ReadingListSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.reading_list)
|
|
return reading_list_;
|
|
}
|
|
inline ::sync_pb::ReadingListSpecifics* EntitySpecifics::release_reading_list() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.reading_list)
|
|
clear_has_reading_list();
|
|
::sync_pb::ReadingListSpecifics* temp = reading_list_;
|
|
reading_list_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_reading_list(::sync_pb::ReadingListSpecifics* reading_list) {
|
|
delete reading_list_;
|
|
reading_list_ = reading_list;
|
|
if (reading_list) {
|
|
set_has_reading_list();
|
|
} else {
|
|
clear_has_reading_list();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.reading_list)
|
|
}
|
|
|
|
// optional .sync_pb.UserEventSpecifics user_event = 455206;
|
|
inline bool EntitySpecifics::has_user_event() const {
|
|
return (_has_bits_[1] & 0x00000020u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_user_event() {
|
|
_has_bits_[1] |= 0x00000020u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_user_event() {
|
|
_has_bits_[1] &= ~0x00000020u;
|
|
}
|
|
inline void EntitySpecifics::clear_user_event() {
|
|
if (user_event_ != NULL) user_event_->::sync_pb::UserEventSpecifics::Clear();
|
|
clear_has_user_event();
|
|
}
|
|
inline const ::sync_pb::UserEventSpecifics& EntitySpecifics::user_event() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.user_event)
|
|
return user_event_ != NULL ? *user_event_
|
|
: *::sync_pb::UserEventSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::UserEventSpecifics* EntitySpecifics::mutable_user_event() {
|
|
set_has_user_event();
|
|
if (user_event_ == NULL) {
|
|
user_event_ = new ::sync_pb::UserEventSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.user_event)
|
|
return user_event_;
|
|
}
|
|
inline ::sync_pb::UserEventSpecifics* EntitySpecifics::release_user_event() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.user_event)
|
|
clear_has_user_event();
|
|
::sync_pb::UserEventSpecifics* temp = user_event_;
|
|
user_event_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_user_event(::sync_pb::UserEventSpecifics* user_event) {
|
|
delete user_event_;
|
|
user_event_ = user_event;
|
|
if (user_event) {
|
|
set_has_user_event();
|
|
} else {
|
|
clear_has_user_event();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.user_event)
|
|
}
|
|
|
|
// optional .sync_pb.UserConsentSpecifics user_consent = 556014;
|
|
inline bool EntitySpecifics::has_user_consent() const {
|
|
return (_has_bits_[1] & 0x00000080u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_user_consent() {
|
|
_has_bits_[1] |= 0x00000080u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_user_consent() {
|
|
_has_bits_[1] &= ~0x00000080u;
|
|
}
|
|
inline void EntitySpecifics::clear_user_consent() {
|
|
if (user_consent_ != NULL) user_consent_->::sync_pb::UserConsentSpecifics::Clear();
|
|
clear_has_user_consent();
|
|
}
|
|
inline const ::sync_pb::UserConsentSpecifics& EntitySpecifics::user_consent() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.user_consent)
|
|
return user_consent_ != NULL ? *user_consent_
|
|
: *::sync_pb::UserConsentSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::UserConsentSpecifics* EntitySpecifics::mutable_user_consent() {
|
|
set_has_user_consent();
|
|
if (user_consent_ == NULL) {
|
|
user_consent_ = new ::sync_pb::UserConsentSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.user_consent)
|
|
return user_consent_;
|
|
}
|
|
inline ::sync_pb::UserConsentSpecifics* EntitySpecifics::release_user_consent() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.user_consent)
|
|
clear_has_user_consent();
|
|
::sync_pb::UserConsentSpecifics* temp = user_consent_;
|
|
user_consent_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_user_consent(::sync_pb::UserConsentSpecifics* user_consent) {
|
|
delete user_consent_;
|
|
user_consent_ = user_consent;
|
|
if (user_consent) {
|
|
set_has_user_consent();
|
|
} else {
|
|
clear_has_user_consent();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.user_consent)
|
|
}
|
|
|
|
// optional .sync_pb.MountainShareSpecifics mountain_share = 545005;
|
|
inline bool EntitySpecifics::has_mountain_share() const {
|
|
return (_has_bits_[1] & 0x00000040u) != 0;
|
|
}
|
|
inline void EntitySpecifics::set_has_mountain_share() {
|
|
_has_bits_[1] |= 0x00000040u;
|
|
}
|
|
inline void EntitySpecifics::clear_has_mountain_share() {
|
|
_has_bits_[1] &= ~0x00000040u;
|
|
}
|
|
inline void EntitySpecifics::clear_mountain_share() {
|
|
if (mountain_share_ != NULL) mountain_share_->::sync_pb::MountainShareSpecifics::Clear();
|
|
clear_has_mountain_share();
|
|
}
|
|
inline const ::sync_pb::MountainShareSpecifics& EntitySpecifics::mountain_share() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EntitySpecifics.mountain_share)
|
|
return mountain_share_ != NULL ? *mountain_share_
|
|
: *::sync_pb::MountainShareSpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::MountainShareSpecifics* EntitySpecifics::mutable_mountain_share() {
|
|
set_has_mountain_share();
|
|
if (mountain_share_ == NULL) {
|
|
mountain_share_ = new ::sync_pb::MountainShareSpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EntitySpecifics.mountain_share)
|
|
return mountain_share_;
|
|
}
|
|
inline ::sync_pb::MountainShareSpecifics* EntitySpecifics::release_mountain_share() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EntitySpecifics.mountain_share)
|
|
clear_has_mountain_share();
|
|
::sync_pb::MountainShareSpecifics* temp = mountain_share_;
|
|
mountain_share_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EntitySpecifics::set_allocated_mountain_share(::sync_pb::MountainShareSpecifics* mountain_share) {
|
|
delete mountain_share_;
|
|
mountain_share_ = mountain_share;
|
|
if (mountain_share) {
|
|
set_has_mountain_share();
|
|
} else {
|
|
clear_has_mountain_share();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntitySpecifics.mountain_share)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SyncEntity_BookmarkData
|
|
|
|
// required bool bookmark_folder = 12;
|
|
inline bool SyncEntity_BookmarkData::has_bookmark_folder() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_has_bookmark_folder() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void SyncEntity_BookmarkData::clear_has_bookmark_folder() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void SyncEntity_BookmarkData::clear_bookmark_folder() {
|
|
bookmark_folder_ = false;
|
|
clear_has_bookmark_folder();
|
|
}
|
|
inline bool SyncEntity_BookmarkData::bookmark_folder() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.BookmarkData.bookmark_folder)
|
|
return bookmark_folder_;
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_bookmark_folder(bool value) {
|
|
set_has_bookmark_folder();
|
|
bookmark_folder_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.BookmarkData.bookmark_folder)
|
|
}
|
|
|
|
// optional string bookmark_url = 13;
|
|
inline bool SyncEntity_BookmarkData::has_bookmark_url() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_has_bookmark_url() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void SyncEntity_BookmarkData::clear_has_bookmark_url() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void SyncEntity_BookmarkData::clear_bookmark_url() {
|
|
bookmark_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_bookmark_url();
|
|
}
|
|
inline const ::std::string& SyncEntity_BookmarkData::bookmark_url() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
return bookmark_url_.GetNoArena();
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_bookmark_url(const ::std::string& value) {
|
|
set_has_bookmark_url();
|
|
bookmark_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity_BookmarkData::set_bookmark_url(::std::string&& value) {
|
|
set_has_bookmark_url();
|
|
bookmark_url_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
}
|
|
#endif
|
|
inline void SyncEntity_BookmarkData::set_bookmark_url(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_bookmark_url();
|
|
bookmark_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_bookmark_url(const char* value, size_t size) {
|
|
set_has_bookmark_url();
|
|
bookmark_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
}
|
|
inline ::std::string* SyncEntity_BookmarkData::mutable_bookmark_url() {
|
|
set_has_bookmark_url();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
return bookmark_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity_BookmarkData::release_bookmark_url() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
clear_has_bookmark_url();
|
|
return bookmark_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_allocated_bookmark_url(::std::string* bookmark_url) {
|
|
if (bookmark_url != NULL) {
|
|
set_has_bookmark_url();
|
|
} else {
|
|
clear_has_bookmark_url();
|
|
}
|
|
bookmark_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bookmark_url);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.BookmarkData.bookmark_url)
|
|
}
|
|
|
|
// optional bytes bookmark_favicon = 14;
|
|
inline bool SyncEntity_BookmarkData::has_bookmark_favicon() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_has_bookmark_favicon() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void SyncEntity_BookmarkData::clear_has_bookmark_favicon() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void SyncEntity_BookmarkData::clear_bookmark_favicon() {
|
|
bookmark_favicon_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_bookmark_favicon();
|
|
}
|
|
inline const ::std::string& SyncEntity_BookmarkData::bookmark_favicon() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
return bookmark_favicon_.GetNoArena();
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_bookmark_favicon(const ::std::string& value) {
|
|
set_has_bookmark_favicon();
|
|
bookmark_favicon_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity_BookmarkData::set_bookmark_favicon(::std::string&& value) {
|
|
set_has_bookmark_favicon();
|
|
bookmark_favicon_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
}
|
|
#endif
|
|
inline void SyncEntity_BookmarkData::set_bookmark_favicon(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_bookmark_favicon();
|
|
bookmark_favicon_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_bookmark_favicon(const void* value, size_t size) {
|
|
set_has_bookmark_favicon();
|
|
bookmark_favicon_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
}
|
|
inline ::std::string* SyncEntity_BookmarkData::mutable_bookmark_favicon() {
|
|
set_has_bookmark_favicon();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
return bookmark_favicon_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity_BookmarkData::release_bookmark_favicon() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
clear_has_bookmark_favicon();
|
|
return bookmark_favicon_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity_BookmarkData::set_allocated_bookmark_favicon(::std::string* bookmark_favicon) {
|
|
if (bookmark_favicon != NULL) {
|
|
set_has_bookmark_favicon();
|
|
} else {
|
|
clear_has_bookmark_favicon();
|
|
}
|
|
bookmark_favicon_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bookmark_favicon);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.BookmarkData.bookmark_favicon)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SyncEntity
|
|
|
|
// optional string id_string = 1;
|
|
inline bool SyncEntity::has_id_string() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_id_string() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void SyncEntity::clear_has_id_string() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void SyncEntity::clear_id_string() {
|
|
id_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_id_string();
|
|
}
|
|
inline const ::std::string& SyncEntity::id_string() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.id_string)
|
|
return id_string_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_id_string(const ::std::string& value) {
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.id_string)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_id_string(::std::string&& value) {
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.id_string)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_id_string(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.id_string)
|
|
}
|
|
inline void SyncEntity::set_id_string(const char* value, size_t size) {
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.id_string)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_id_string() {
|
|
set_has_id_string();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.id_string)
|
|
return id_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_id_string() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.id_string)
|
|
clear_has_id_string();
|
|
return id_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_id_string(::std::string* id_string) {
|
|
if (id_string != NULL) {
|
|
set_has_id_string();
|
|
} else {
|
|
clear_has_id_string();
|
|
}
|
|
id_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id_string);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.id_string)
|
|
}
|
|
|
|
// optional string parent_id_string = 2;
|
|
inline bool SyncEntity::has_parent_id_string() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_parent_id_string() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void SyncEntity::clear_has_parent_id_string() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void SyncEntity::clear_parent_id_string() {
|
|
parent_id_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_parent_id_string();
|
|
}
|
|
inline const ::std::string& SyncEntity::parent_id_string() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.parent_id_string)
|
|
return parent_id_string_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_parent_id_string(const ::std::string& value) {
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.parent_id_string)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_parent_id_string(::std::string&& value) {
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.parent_id_string)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_parent_id_string(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.parent_id_string)
|
|
}
|
|
inline void SyncEntity::set_parent_id_string(const char* value, size_t size) {
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.parent_id_string)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_parent_id_string() {
|
|
set_has_parent_id_string();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.parent_id_string)
|
|
return parent_id_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_parent_id_string() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.parent_id_string)
|
|
clear_has_parent_id_string();
|
|
return parent_id_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_parent_id_string(::std::string* parent_id_string) {
|
|
if (parent_id_string != NULL) {
|
|
set_has_parent_id_string();
|
|
} else {
|
|
clear_has_parent_id_string();
|
|
}
|
|
parent_id_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent_id_string);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.parent_id_string)
|
|
}
|
|
|
|
// optional string old_parent_id = 3;
|
|
inline bool SyncEntity::has_old_parent_id() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_old_parent_id() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void SyncEntity::clear_has_old_parent_id() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void SyncEntity::clear_old_parent_id() {
|
|
old_parent_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_old_parent_id();
|
|
}
|
|
inline const ::std::string& SyncEntity::old_parent_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.old_parent_id)
|
|
return old_parent_id_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_old_parent_id(const ::std::string& value) {
|
|
set_has_old_parent_id();
|
|
old_parent_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.old_parent_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_old_parent_id(::std::string&& value) {
|
|
set_has_old_parent_id();
|
|
old_parent_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.old_parent_id)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_old_parent_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_old_parent_id();
|
|
old_parent_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.old_parent_id)
|
|
}
|
|
inline void SyncEntity::set_old_parent_id(const char* value, size_t size) {
|
|
set_has_old_parent_id();
|
|
old_parent_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.old_parent_id)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_old_parent_id() {
|
|
set_has_old_parent_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.old_parent_id)
|
|
return old_parent_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_old_parent_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.old_parent_id)
|
|
clear_has_old_parent_id();
|
|
return old_parent_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_old_parent_id(::std::string* old_parent_id) {
|
|
if (old_parent_id != NULL) {
|
|
set_has_old_parent_id();
|
|
} else {
|
|
clear_has_old_parent_id();
|
|
}
|
|
old_parent_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), old_parent_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.old_parent_id)
|
|
}
|
|
|
|
// optional int64 version = 4;
|
|
inline bool SyncEntity::has_version() const {
|
|
return (_has_bits_[0] & 0x00004000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_version() {
|
|
_has_bits_[0] |= 0x00004000u;
|
|
}
|
|
inline void SyncEntity::clear_has_version() {
|
|
_has_bits_[0] &= ~0x00004000u;
|
|
}
|
|
inline void SyncEntity::clear_version() {
|
|
version_ = GOOGLE_LONGLONG(0);
|
|
clear_has_version();
|
|
}
|
|
inline ::google::protobuf::int64 SyncEntity::version() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.version)
|
|
return version_;
|
|
}
|
|
inline void SyncEntity::set_version(::google::protobuf::int64 value) {
|
|
set_has_version();
|
|
version_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.version)
|
|
}
|
|
|
|
// optional int64 mtime = 5;
|
|
inline bool SyncEntity::has_mtime() const {
|
|
return (_has_bits_[0] & 0x00008000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_mtime() {
|
|
_has_bits_[0] |= 0x00008000u;
|
|
}
|
|
inline void SyncEntity::clear_has_mtime() {
|
|
_has_bits_[0] &= ~0x00008000u;
|
|
}
|
|
inline void SyncEntity::clear_mtime() {
|
|
mtime_ = GOOGLE_LONGLONG(0);
|
|
clear_has_mtime();
|
|
}
|
|
inline ::google::protobuf::int64 SyncEntity::mtime() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.mtime)
|
|
return mtime_;
|
|
}
|
|
inline void SyncEntity::set_mtime(::google::protobuf::int64 value) {
|
|
set_has_mtime();
|
|
mtime_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.mtime)
|
|
}
|
|
|
|
// optional int64 ctime = 6;
|
|
inline bool SyncEntity::has_ctime() const {
|
|
return (_has_bits_[0] & 0x00010000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_ctime() {
|
|
_has_bits_[0] |= 0x00010000u;
|
|
}
|
|
inline void SyncEntity::clear_has_ctime() {
|
|
_has_bits_[0] &= ~0x00010000u;
|
|
}
|
|
inline void SyncEntity::clear_ctime() {
|
|
ctime_ = GOOGLE_LONGLONG(0);
|
|
clear_has_ctime();
|
|
}
|
|
inline ::google::protobuf::int64 SyncEntity::ctime() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.ctime)
|
|
return ctime_;
|
|
}
|
|
inline void SyncEntity::set_ctime(::google::protobuf::int64 value) {
|
|
set_has_ctime();
|
|
ctime_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.ctime)
|
|
}
|
|
|
|
// optional string name = 7;
|
|
inline bool SyncEntity::has_name() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_name() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void SyncEntity::clear_has_name() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void SyncEntity::clear_name() {
|
|
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_name();
|
|
}
|
|
inline const ::std::string& SyncEntity::name() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.name)
|
|
return name_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_name(const ::std::string& value) {
|
|
set_has_name();
|
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.name)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_name(::std::string&& value) {
|
|
set_has_name();
|
|
name_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.name)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_name();
|
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.name)
|
|
}
|
|
inline void SyncEntity::set_name(const char* value, size_t size) {
|
|
set_has_name();
|
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.name)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_name() {
|
|
set_has_name();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.name)
|
|
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_name() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.name)
|
|
clear_has_name();
|
|
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_name(::std::string* name) {
|
|
if (name != NULL) {
|
|
set_has_name();
|
|
} else {
|
|
clear_has_name();
|
|
}
|
|
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.name)
|
|
}
|
|
|
|
// optional string non_unique_name = 8;
|
|
inline bool SyncEntity::has_non_unique_name() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_non_unique_name() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void SyncEntity::clear_has_non_unique_name() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void SyncEntity::clear_non_unique_name() {
|
|
non_unique_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_non_unique_name();
|
|
}
|
|
inline const ::std::string& SyncEntity::non_unique_name() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.non_unique_name)
|
|
return non_unique_name_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_non_unique_name(const ::std::string& value) {
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.non_unique_name)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_non_unique_name(::std::string&& value) {
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.non_unique_name)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_non_unique_name(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.non_unique_name)
|
|
}
|
|
inline void SyncEntity::set_non_unique_name(const char* value, size_t size) {
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.non_unique_name)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_non_unique_name() {
|
|
set_has_non_unique_name();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.non_unique_name)
|
|
return non_unique_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_non_unique_name() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.non_unique_name)
|
|
clear_has_non_unique_name();
|
|
return non_unique_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_non_unique_name(::std::string* non_unique_name) {
|
|
if (non_unique_name != NULL) {
|
|
set_has_non_unique_name();
|
|
} else {
|
|
clear_has_non_unique_name();
|
|
}
|
|
non_unique_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), non_unique_name);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.non_unique_name)
|
|
}
|
|
|
|
// optional int64 sync_timestamp = 9;
|
|
inline bool SyncEntity::has_sync_timestamp() const {
|
|
return (_has_bits_[0] & 0x00020000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_sync_timestamp() {
|
|
_has_bits_[0] |= 0x00020000u;
|
|
}
|
|
inline void SyncEntity::clear_has_sync_timestamp() {
|
|
_has_bits_[0] &= ~0x00020000u;
|
|
}
|
|
inline void SyncEntity::clear_sync_timestamp() {
|
|
sync_timestamp_ = GOOGLE_LONGLONG(0);
|
|
clear_has_sync_timestamp();
|
|
}
|
|
inline ::google::protobuf::int64 SyncEntity::sync_timestamp() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.sync_timestamp)
|
|
return sync_timestamp_;
|
|
}
|
|
inline void SyncEntity::set_sync_timestamp(::google::protobuf::int64 value) {
|
|
set_has_sync_timestamp();
|
|
sync_timestamp_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.sync_timestamp)
|
|
}
|
|
|
|
// optional string server_defined_unique_tag = 10;
|
|
inline bool SyncEntity::has_server_defined_unique_tag() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_server_defined_unique_tag() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void SyncEntity::clear_has_server_defined_unique_tag() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void SyncEntity::clear_server_defined_unique_tag() {
|
|
server_defined_unique_tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_server_defined_unique_tag();
|
|
}
|
|
inline const ::std::string& SyncEntity::server_defined_unique_tag() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
return server_defined_unique_tag_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_server_defined_unique_tag(const ::std::string& value) {
|
|
set_has_server_defined_unique_tag();
|
|
server_defined_unique_tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_server_defined_unique_tag(::std::string&& value) {
|
|
set_has_server_defined_unique_tag();
|
|
server_defined_unique_tag_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_server_defined_unique_tag(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_server_defined_unique_tag();
|
|
server_defined_unique_tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
}
|
|
inline void SyncEntity::set_server_defined_unique_tag(const char* value, size_t size) {
|
|
set_has_server_defined_unique_tag();
|
|
server_defined_unique_tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_server_defined_unique_tag() {
|
|
set_has_server_defined_unique_tag();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
return server_defined_unique_tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_server_defined_unique_tag() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
clear_has_server_defined_unique_tag();
|
|
return server_defined_unique_tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_server_defined_unique_tag(::std::string* server_defined_unique_tag) {
|
|
if (server_defined_unique_tag != NULL) {
|
|
set_has_server_defined_unique_tag();
|
|
} else {
|
|
clear_has_server_defined_unique_tag();
|
|
}
|
|
server_defined_unique_tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), server_defined_unique_tag);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.server_defined_unique_tag)
|
|
}
|
|
|
|
// optional group BookmarkData = 11 { ... };
|
|
inline bool SyncEntity::has_bookmarkdata() const {
|
|
return (_has_bits_[0] & 0x00000800u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_bookmarkdata() {
|
|
_has_bits_[0] |= 0x00000800u;
|
|
}
|
|
inline void SyncEntity::clear_has_bookmarkdata() {
|
|
_has_bits_[0] &= ~0x00000800u;
|
|
}
|
|
inline void SyncEntity::clear_bookmarkdata() {
|
|
if (bookmarkdata_ != NULL) bookmarkdata_->::sync_pb::SyncEntity_BookmarkData::Clear();
|
|
clear_has_bookmarkdata();
|
|
}
|
|
inline const ::sync_pb::SyncEntity_BookmarkData& SyncEntity::bookmarkdata() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.bookmarkdata)
|
|
return bookmarkdata_ != NULL ? *bookmarkdata_
|
|
: *::sync_pb::SyncEntity_BookmarkData::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::SyncEntity_BookmarkData* SyncEntity::mutable_bookmarkdata() {
|
|
set_has_bookmarkdata();
|
|
if (bookmarkdata_ == NULL) {
|
|
bookmarkdata_ = new ::sync_pb::SyncEntity_BookmarkData;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.bookmarkdata)
|
|
return bookmarkdata_;
|
|
}
|
|
inline ::sync_pb::SyncEntity_BookmarkData* SyncEntity::release_bookmarkdata() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.bookmarkdata)
|
|
clear_has_bookmarkdata();
|
|
::sync_pb::SyncEntity_BookmarkData* temp = bookmarkdata_;
|
|
bookmarkdata_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void SyncEntity::set_allocated_bookmarkdata(::sync_pb::SyncEntity_BookmarkData* bookmarkdata) {
|
|
delete bookmarkdata_;
|
|
bookmarkdata_ = bookmarkdata;
|
|
if (bookmarkdata) {
|
|
set_has_bookmarkdata();
|
|
} else {
|
|
clear_has_bookmarkdata();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.bookmarkdata)
|
|
}
|
|
|
|
// optional int64 position_in_parent = 15;
|
|
inline bool SyncEntity::has_position_in_parent() const {
|
|
return (_has_bits_[0] & 0x00040000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_position_in_parent() {
|
|
_has_bits_[0] |= 0x00040000u;
|
|
}
|
|
inline void SyncEntity::clear_has_position_in_parent() {
|
|
_has_bits_[0] &= ~0x00040000u;
|
|
}
|
|
inline void SyncEntity::clear_position_in_parent() {
|
|
position_in_parent_ = GOOGLE_LONGLONG(0);
|
|
clear_has_position_in_parent();
|
|
}
|
|
inline ::google::protobuf::int64 SyncEntity::position_in_parent() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.position_in_parent)
|
|
return position_in_parent_;
|
|
}
|
|
inline void SyncEntity::set_position_in_parent(::google::protobuf::int64 value) {
|
|
set_has_position_in_parent();
|
|
position_in_parent_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.position_in_parent)
|
|
}
|
|
|
|
// optional string insert_after_item_id = 16;
|
|
inline bool SyncEntity::has_insert_after_item_id() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_insert_after_item_id() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void SyncEntity::clear_has_insert_after_item_id() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void SyncEntity::clear_insert_after_item_id() {
|
|
insert_after_item_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_insert_after_item_id();
|
|
}
|
|
inline const ::std::string& SyncEntity::insert_after_item_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.insert_after_item_id)
|
|
return insert_after_item_id_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_insert_after_item_id(const ::std::string& value) {
|
|
set_has_insert_after_item_id();
|
|
insert_after_item_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.insert_after_item_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_insert_after_item_id(::std::string&& value) {
|
|
set_has_insert_after_item_id();
|
|
insert_after_item_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.insert_after_item_id)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_insert_after_item_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_insert_after_item_id();
|
|
insert_after_item_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.insert_after_item_id)
|
|
}
|
|
inline void SyncEntity::set_insert_after_item_id(const char* value, size_t size) {
|
|
set_has_insert_after_item_id();
|
|
insert_after_item_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.insert_after_item_id)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_insert_after_item_id() {
|
|
set_has_insert_after_item_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.insert_after_item_id)
|
|
return insert_after_item_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_insert_after_item_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.insert_after_item_id)
|
|
clear_has_insert_after_item_id();
|
|
return insert_after_item_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_insert_after_item_id(::std::string* insert_after_item_id) {
|
|
if (insert_after_item_id != NULL) {
|
|
set_has_insert_after_item_id();
|
|
} else {
|
|
clear_has_insert_after_item_id();
|
|
}
|
|
insert_after_item_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), insert_after_item_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.insert_after_item_id)
|
|
}
|
|
|
|
// optional bool deleted = 18 [default = false];
|
|
inline bool SyncEntity::has_deleted() const {
|
|
return (_has_bits_[0] & 0x00080000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_deleted() {
|
|
_has_bits_[0] |= 0x00080000u;
|
|
}
|
|
inline void SyncEntity::clear_has_deleted() {
|
|
_has_bits_[0] &= ~0x00080000u;
|
|
}
|
|
inline void SyncEntity::clear_deleted() {
|
|
deleted_ = false;
|
|
clear_has_deleted();
|
|
}
|
|
inline bool SyncEntity::deleted() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.deleted)
|
|
return deleted_;
|
|
}
|
|
inline void SyncEntity::set_deleted(bool value) {
|
|
set_has_deleted();
|
|
deleted_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.deleted)
|
|
}
|
|
|
|
// optional string originator_cache_guid = 19;
|
|
inline bool SyncEntity::has_originator_cache_guid() const {
|
|
return (_has_bits_[0] & 0x00000080u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_originator_cache_guid() {
|
|
_has_bits_[0] |= 0x00000080u;
|
|
}
|
|
inline void SyncEntity::clear_has_originator_cache_guid() {
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline void SyncEntity::clear_originator_cache_guid() {
|
|
originator_cache_guid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_originator_cache_guid();
|
|
}
|
|
inline const ::std::string& SyncEntity::originator_cache_guid() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.originator_cache_guid)
|
|
return originator_cache_guid_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_originator_cache_guid(const ::std::string& value) {
|
|
set_has_originator_cache_guid();
|
|
originator_cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.originator_cache_guid)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_originator_cache_guid(::std::string&& value) {
|
|
set_has_originator_cache_guid();
|
|
originator_cache_guid_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.originator_cache_guid)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_originator_cache_guid(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_originator_cache_guid();
|
|
originator_cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.originator_cache_guid)
|
|
}
|
|
inline void SyncEntity::set_originator_cache_guid(const char* value, size_t size) {
|
|
set_has_originator_cache_guid();
|
|
originator_cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.originator_cache_guid)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_originator_cache_guid() {
|
|
set_has_originator_cache_guid();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.originator_cache_guid)
|
|
return originator_cache_guid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_originator_cache_guid() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.originator_cache_guid)
|
|
clear_has_originator_cache_guid();
|
|
return originator_cache_guid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_originator_cache_guid(::std::string* originator_cache_guid) {
|
|
if (originator_cache_guid != NULL) {
|
|
set_has_originator_cache_guid();
|
|
} else {
|
|
clear_has_originator_cache_guid();
|
|
}
|
|
originator_cache_guid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), originator_cache_guid);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.originator_cache_guid)
|
|
}
|
|
|
|
// optional string originator_client_item_id = 20;
|
|
inline bool SyncEntity::has_originator_client_item_id() const {
|
|
return (_has_bits_[0] & 0x00000100u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_originator_client_item_id() {
|
|
_has_bits_[0] |= 0x00000100u;
|
|
}
|
|
inline void SyncEntity::clear_has_originator_client_item_id() {
|
|
_has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline void SyncEntity::clear_originator_client_item_id() {
|
|
originator_client_item_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_originator_client_item_id();
|
|
}
|
|
inline const ::std::string& SyncEntity::originator_client_item_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.originator_client_item_id)
|
|
return originator_client_item_id_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_originator_client_item_id(const ::std::string& value) {
|
|
set_has_originator_client_item_id();
|
|
originator_client_item_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.originator_client_item_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_originator_client_item_id(::std::string&& value) {
|
|
set_has_originator_client_item_id();
|
|
originator_client_item_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.originator_client_item_id)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_originator_client_item_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_originator_client_item_id();
|
|
originator_client_item_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.originator_client_item_id)
|
|
}
|
|
inline void SyncEntity::set_originator_client_item_id(const char* value, size_t size) {
|
|
set_has_originator_client_item_id();
|
|
originator_client_item_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.originator_client_item_id)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_originator_client_item_id() {
|
|
set_has_originator_client_item_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.originator_client_item_id)
|
|
return originator_client_item_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_originator_client_item_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.originator_client_item_id)
|
|
clear_has_originator_client_item_id();
|
|
return originator_client_item_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_originator_client_item_id(::std::string* originator_client_item_id) {
|
|
if (originator_client_item_id != NULL) {
|
|
set_has_originator_client_item_id();
|
|
} else {
|
|
clear_has_originator_client_item_id();
|
|
}
|
|
originator_client_item_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), originator_client_item_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.originator_client_item_id)
|
|
}
|
|
|
|
// optional .sync_pb.EntitySpecifics specifics = 21;
|
|
inline bool SyncEntity::has_specifics() const {
|
|
return (_has_bits_[0] & 0x00001000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_specifics() {
|
|
_has_bits_[0] |= 0x00001000u;
|
|
}
|
|
inline void SyncEntity::clear_has_specifics() {
|
|
_has_bits_[0] &= ~0x00001000u;
|
|
}
|
|
inline void SyncEntity::clear_specifics() {
|
|
if (specifics_ != NULL) specifics_->::sync_pb::EntitySpecifics::Clear();
|
|
clear_has_specifics();
|
|
}
|
|
inline const ::sync_pb::EntitySpecifics& SyncEntity::specifics() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.specifics)
|
|
return specifics_ != NULL ? *specifics_
|
|
: *::sync_pb::EntitySpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::EntitySpecifics* SyncEntity::mutable_specifics() {
|
|
set_has_specifics();
|
|
if (specifics_ == NULL) {
|
|
specifics_ = new ::sync_pb::EntitySpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.specifics)
|
|
return specifics_;
|
|
}
|
|
inline ::sync_pb::EntitySpecifics* SyncEntity::release_specifics() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.specifics)
|
|
clear_has_specifics();
|
|
::sync_pb::EntitySpecifics* temp = specifics_;
|
|
specifics_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void SyncEntity::set_allocated_specifics(::sync_pb::EntitySpecifics* specifics) {
|
|
delete specifics_;
|
|
specifics_ = specifics;
|
|
if (specifics) {
|
|
set_has_specifics();
|
|
} else {
|
|
clear_has_specifics();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.specifics)
|
|
}
|
|
|
|
// optional bool folder = 22 [default = false];
|
|
inline bool SyncEntity::has_folder() const {
|
|
return (_has_bits_[0] & 0x00100000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_folder() {
|
|
_has_bits_[0] |= 0x00100000u;
|
|
}
|
|
inline void SyncEntity::clear_has_folder() {
|
|
_has_bits_[0] &= ~0x00100000u;
|
|
}
|
|
inline void SyncEntity::clear_folder() {
|
|
folder_ = false;
|
|
clear_has_folder();
|
|
}
|
|
inline bool SyncEntity::folder() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.folder)
|
|
return folder_;
|
|
}
|
|
inline void SyncEntity::set_folder(bool value) {
|
|
set_has_folder();
|
|
folder_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.folder)
|
|
}
|
|
|
|
// optional string client_defined_unique_tag = 23;
|
|
inline bool SyncEntity::has_client_defined_unique_tag() const {
|
|
return (_has_bits_[0] & 0x00000200u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_client_defined_unique_tag() {
|
|
_has_bits_[0] |= 0x00000200u;
|
|
}
|
|
inline void SyncEntity::clear_has_client_defined_unique_tag() {
|
|
_has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline void SyncEntity::clear_client_defined_unique_tag() {
|
|
client_defined_unique_tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_client_defined_unique_tag();
|
|
}
|
|
inline const ::std::string& SyncEntity::client_defined_unique_tag() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
return client_defined_unique_tag_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_client_defined_unique_tag(const ::std::string& value) {
|
|
set_has_client_defined_unique_tag();
|
|
client_defined_unique_tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_client_defined_unique_tag(::std::string&& value) {
|
|
set_has_client_defined_unique_tag();
|
|
client_defined_unique_tag_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_client_defined_unique_tag(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_client_defined_unique_tag();
|
|
client_defined_unique_tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
}
|
|
inline void SyncEntity::set_client_defined_unique_tag(const char* value, size_t size) {
|
|
set_has_client_defined_unique_tag();
|
|
client_defined_unique_tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_client_defined_unique_tag() {
|
|
set_has_client_defined_unique_tag();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
return client_defined_unique_tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_client_defined_unique_tag() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
clear_has_client_defined_unique_tag();
|
|
return client_defined_unique_tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_client_defined_unique_tag(::std::string* client_defined_unique_tag) {
|
|
if (client_defined_unique_tag != NULL) {
|
|
set_has_client_defined_unique_tag();
|
|
} else {
|
|
clear_has_client_defined_unique_tag();
|
|
}
|
|
client_defined_unique_tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), client_defined_unique_tag);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.client_defined_unique_tag)
|
|
}
|
|
|
|
// optional bytes ordinal_in_parent = 24;
|
|
inline bool SyncEntity::has_ordinal_in_parent() const {
|
|
return (_has_bits_[0] & 0x00000400u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_ordinal_in_parent() {
|
|
_has_bits_[0] |= 0x00000400u;
|
|
}
|
|
inline void SyncEntity::clear_has_ordinal_in_parent() {
|
|
_has_bits_[0] &= ~0x00000400u;
|
|
}
|
|
inline void SyncEntity::clear_ordinal_in_parent() {
|
|
ordinal_in_parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_ordinal_in_parent();
|
|
}
|
|
inline const ::std::string& SyncEntity::ordinal_in_parent() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.ordinal_in_parent)
|
|
return ordinal_in_parent_.GetNoArena();
|
|
}
|
|
inline void SyncEntity::set_ordinal_in_parent(const ::std::string& value) {
|
|
set_has_ordinal_in_parent();
|
|
ordinal_in_parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncEntity.ordinal_in_parent)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncEntity::set_ordinal_in_parent(::std::string&& value) {
|
|
set_has_ordinal_in_parent();
|
|
ordinal_in_parent_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncEntity.ordinal_in_parent)
|
|
}
|
|
#endif
|
|
inline void SyncEntity::set_ordinal_in_parent(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_ordinal_in_parent();
|
|
ordinal_in_parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncEntity.ordinal_in_parent)
|
|
}
|
|
inline void SyncEntity::set_ordinal_in_parent(const void* value, size_t size) {
|
|
set_has_ordinal_in_parent();
|
|
ordinal_in_parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncEntity.ordinal_in_parent)
|
|
}
|
|
inline ::std::string* SyncEntity::mutable_ordinal_in_parent() {
|
|
set_has_ordinal_in_parent();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.ordinal_in_parent)
|
|
return ordinal_in_parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncEntity::release_ordinal_in_parent() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.ordinal_in_parent)
|
|
clear_has_ordinal_in_parent();
|
|
return ordinal_in_parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncEntity::set_allocated_ordinal_in_parent(::std::string* ordinal_in_parent) {
|
|
if (ordinal_in_parent != NULL) {
|
|
set_has_ordinal_in_parent();
|
|
} else {
|
|
clear_has_ordinal_in_parent();
|
|
}
|
|
ordinal_in_parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ordinal_in_parent);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.ordinal_in_parent)
|
|
}
|
|
|
|
// optional .sync_pb.UniquePosition unique_position = 25;
|
|
inline bool SyncEntity::has_unique_position() const {
|
|
return (_has_bits_[0] & 0x00002000u) != 0;
|
|
}
|
|
inline void SyncEntity::set_has_unique_position() {
|
|
_has_bits_[0] |= 0x00002000u;
|
|
}
|
|
inline void SyncEntity::clear_has_unique_position() {
|
|
_has_bits_[0] &= ~0x00002000u;
|
|
}
|
|
inline void SyncEntity::clear_unique_position() {
|
|
if (unique_position_ != NULL) unique_position_->::sync_pb::UniquePosition::Clear();
|
|
clear_has_unique_position();
|
|
}
|
|
inline const ::sync_pb::UniquePosition& SyncEntity::unique_position() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.unique_position)
|
|
return unique_position_ != NULL ? *unique_position_
|
|
: *::sync_pb::UniquePosition::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::UniquePosition* SyncEntity::mutable_unique_position() {
|
|
set_has_unique_position();
|
|
if (unique_position_ == NULL) {
|
|
unique_position_ = new ::sync_pb::UniquePosition;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.unique_position)
|
|
return unique_position_;
|
|
}
|
|
inline ::sync_pb::UniquePosition* SyncEntity::release_unique_position() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncEntity.unique_position)
|
|
clear_has_unique_position();
|
|
::sync_pb::UniquePosition* temp = unique_position_;
|
|
unique_position_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void SyncEntity::set_allocated_unique_position(::sync_pb::UniquePosition* unique_position) {
|
|
delete unique_position_;
|
|
unique_position_ = unique_position;
|
|
if (unique_position) {
|
|
set_has_unique_position();
|
|
} else {
|
|
clear_has_unique_position();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncEntity.unique_position)
|
|
}
|
|
|
|
// repeated .sync_pb.DeprecatedMessage attachment_id = 26 [deprecated = true];
|
|
inline int SyncEntity::attachment_id_size() const {
|
|
return attachment_id_.size();
|
|
}
|
|
inline void SyncEntity::clear_attachment_id() {
|
|
attachment_id_.Clear();
|
|
}
|
|
inline const ::sync_pb::DeprecatedMessage& SyncEntity::attachment_id(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncEntity.attachment_id)
|
|
return attachment_id_.Get(index);
|
|
}
|
|
inline ::sync_pb::DeprecatedMessage* SyncEntity::mutable_attachment_id(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncEntity.attachment_id)
|
|
return attachment_id_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DeprecatedMessage* SyncEntity::add_attachment_id() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.SyncEntity.attachment_id)
|
|
return attachment_id_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DeprecatedMessage >*
|
|
SyncEntity::mutable_attachment_id() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.SyncEntity.attachment_id)
|
|
return &attachment_id_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DeprecatedMessage >&
|
|
SyncEntity::attachment_id() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.SyncEntity.attachment_id)
|
|
return attachment_id_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ChromiumExtensionsActivity
|
|
|
|
// optional string extension_id = 1;
|
|
inline bool ChromiumExtensionsActivity::has_extension_id() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ChromiumExtensionsActivity::set_has_extension_id() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ChromiumExtensionsActivity::clear_has_extension_id() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ChromiumExtensionsActivity::clear_extension_id() {
|
|
extension_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_extension_id();
|
|
}
|
|
inline const ::std::string& ChromiumExtensionsActivity::extension_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
return extension_id_.GetNoArena();
|
|
}
|
|
inline void ChromiumExtensionsActivity::set_extension_id(const ::std::string& value) {
|
|
set_has_extension_id();
|
|
extension_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ChromiumExtensionsActivity::set_extension_id(::std::string&& value) {
|
|
set_has_extension_id();
|
|
extension_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
}
|
|
#endif
|
|
inline void ChromiumExtensionsActivity::set_extension_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_extension_id();
|
|
extension_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
}
|
|
inline void ChromiumExtensionsActivity::set_extension_id(const char* value, size_t size) {
|
|
set_has_extension_id();
|
|
extension_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
}
|
|
inline ::std::string* ChromiumExtensionsActivity::mutable_extension_id() {
|
|
set_has_extension_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
return extension_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ChromiumExtensionsActivity::release_extension_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
clear_has_extension_id();
|
|
return extension_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ChromiumExtensionsActivity::set_allocated_extension_id(::std::string* extension_id) {
|
|
if (extension_id != NULL) {
|
|
set_has_extension_id();
|
|
} else {
|
|
clear_has_extension_id();
|
|
}
|
|
extension_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extension_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ChromiumExtensionsActivity.extension_id)
|
|
}
|
|
|
|
// optional uint32 bookmark_writes_since_last_commit = 2;
|
|
inline bool ChromiumExtensionsActivity::has_bookmark_writes_since_last_commit() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void ChromiumExtensionsActivity::set_has_bookmark_writes_since_last_commit() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void ChromiumExtensionsActivity::clear_has_bookmark_writes_since_last_commit() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void ChromiumExtensionsActivity::clear_bookmark_writes_since_last_commit() {
|
|
bookmark_writes_since_last_commit_ = 0u;
|
|
clear_has_bookmark_writes_since_last_commit();
|
|
}
|
|
inline ::google::protobuf::uint32 ChromiumExtensionsActivity::bookmark_writes_since_last_commit() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ChromiumExtensionsActivity.bookmark_writes_since_last_commit)
|
|
return bookmark_writes_since_last_commit_;
|
|
}
|
|
inline void ChromiumExtensionsActivity::set_bookmark_writes_since_last_commit(::google::protobuf::uint32 value) {
|
|
set_has_bookmark_writes_since_last_commit();
|
|
bookmark_writes_since_last_commit_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ChromiumExtensionsActivity.bookmark_writes_since_last_commit)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClientConfigParams
|
|
|
|
// repeated int32 enabled_type_ids = 1;
|
|
inline int ClientConfigParams::enabled_type_ids_size() const {
|
|
return enabled_type_ids_.size();
|
|
}
|
|
inline void ClientConfigParams::clear_enabled_type_ids() {
|
|
enabled_type_ids_.Clear();
|
|
}
|
|
inline ::google::protobuf::int32 ClientConfigParams::enabled_type_ids(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientConfigParams.enabled_type_ids)
|
|
return enabled_type_ids_.Get(index);
|
|
}
|
|
inline void ClientConfigParams::set_enabled_type_ids(int index, ::google::protobuf::int32 value) {
|
|
enabled_type_ids_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientConfigParams.enabled_type_ids)
|
|
}
|
|
inline void ClientConfigParams::add_enabled_type_ids(::google::protobuf::int32 value) {
|
|
enabled_type_ids_.Add(value);
|
|
// @@protoc_insertion_point(field_add:sync_pb.ClientConfigParams.enabled_type_ids)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
ClientConfigParams::enabled_type_ids() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.ClientConfigParams.enabled_type_ids)
|
|
return enabled_type_ids_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
ClientConfigParams::mutable_enabled_type_ids() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.ClientConfigParams.enabled_type_ids)
|
|
return &enabled_type_ids_;
|
|
}
|
|
|
|
// optional bool tabs_datatype_enabled = 2;
|
|
inline bool ClientConfigParams::has_tabs_datatype_enabled() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ClientConfigParams::set_has_tabs_datatype_enabled() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ClientConfigParams::clear_has_tabs_datatype_enabled() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ClientConfigParams::clear_tabs_datatype_enabled() {
|
|
tabs_datatype_enabled_ = false;
|
|
clear_has_tabs_datatype_enabled();
|
|
}
|
|
inline bool ClientConfigParams::tabs_datatype_enabled() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientConfigParams.tabs_datatype_enabled)
|
|
return tabs_datatype_enabled_;
|
|
}
|
|
inline void ClientConfigParams::set_tabs_datatype_enabled(bool value) {
|
|
set_has_tabs_datatype_enabled();
|
|
tabs_datatype_enabled_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientConfigParams.tabs_datatype_enabled)
|
|
}
|
|
|
|
// optional bool cookie_jar_mismatch = 3;
|
|
inline bool ClientConfigParams::has_cookie_jar_mismatch() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void ClientConfigParams::set_has_cookie_jar_mismatch() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void ClientConfigParams::clear_has_cookie_jar_mismatch() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void ClientConfigParams::clear_cookie_jar_mismatch() {
|
|
cookie_jar_mismatch_ = false;
|
|
clear_has_cookie_jar_mismatch();
|
|
}
|
|
inline bool ClientConfigParams::cookie_jar_mismatch() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientConfigParams.cookie_jar_mismatch)
|
|
return cookie_jar_mismatch_;
|
|
}
|
|
inline void ClientConfigParams::set_cookie_jar_mismatch(bool value) {
|
|
set_has_cookie_jar_mismatch();
|
|
cookie_jar_mismatch_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientConfigParams.cookie_jar_mismatch)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// 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 {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitMessage.entries)
|
|
return entries_.Get(index);
|
|
}
|
|
inline ::sync_pb::SyncEntity* CommitMessage::mutable_entries(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitMessage.entries)
|
|
return entries_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::SyncEntity* CommitMessage::add_entries() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.CommitMessage.entries)
|
|
return entries_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
|
|
CommitMessage::mutable_entries() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.CommitMessage.entries)
|
|
return &entries_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
|
|
CommitMessage::entries() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.CommitMessage.entries)
|
|
return entries_;
|
|
}
|
|
|
|
// optional string cache_guid = 2;
|
|
inline bool CommitMessage::has_cache_guid() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void CommitMessage::set_has_cache_guid() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void CommitMessage::clear_has_cache_guid() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void CommitMessage::clear_cache_guid() {
|
|
cache_guid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_cache_guid();
|
|
}
|
|
inline const ::std::string& CommitMessage::cache_guid() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitMessage.cache_guid)
|
|
return cache_guid_.GetNoArena();
|
|
}
|
|
inline void CommitMessage::set_cache_guid(const ::std::string& value) {
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitMessage.cache_guid)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitMessage::set_cache_guid(::std::string&& value) {
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitMessage.cache_guid)
|
|
}
|
|
#endif
|
|
inline void CommitMessage::set_cache_guid(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitMessage.cache_guid)
|
|
}
|
|
inline void CommitMessage::set_cache_guid(const char* value, size_t size) {
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitMessage.cache_guid)
|
|
}
|
|
inline ::std::string* CommitMessage::mutable_cache_guid() {
|
|
set_has_cache_guid();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitMessage.cache_guid)
|
|
return cache_guid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitMessage::release_cache_guid() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitMessage.cache_guid)
|
|
clear_has_cache_guid();
|
|
return cache_guid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitMessage::set_allocated_cache_guid(::std::string* cache_guid) {
|
|
if (cache_guid != NULL) {
|
|
set_has_cache_guid();
|
|
} else {
|
|
clear_has_cache_guid();
|
|
}
|
|
cache_guid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cache_guid);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitMessage.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 {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitMessage.extensions_activity)
|
|
return extensions_activity_.Get(index);
|
|
}
|
|
inline ::sync_pb::ChromiumExtensionsActivity* CommitMessage::mutable_extensions_activity(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitMessage.extensions_activity)
|
|
return extensions_activity_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::ChromiumExtensionsActivity* CommitMessage::add_extensions_activity() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.CommitMessage.extensions_activity)
|
|
return extensions_activity_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >*
|
|
CommitMessage::mutable_extensions_activity() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.CommitMessage.extensions_activity)
|
|
return &extensions_activity_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::ChromiumExtensionsActivity >&
|
|
CommitMessage::extensions_activity() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.CommitMessage.extensions_activity)
|
|
return extensions_activity_;
|
|
}
|
|
|
|
// optional .sync_pb.ClientConfigParams config_params = 4;
|
|
inline bool CommitMessage::has_config_params() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void CommitMessage::set_has_config_params() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void CommitMessage::clear_has_config_params() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void CommitMessage::clear_config_params() {
|
|
if (config_params_ != NULL) config_params_->::sync_pb::ClientConfigParams::Clear();
|
|
clear_has_config_params();
|
|
}
|
|
inline const ::sync_pb::ClientConfigParams& CommitMessage::config_params() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitMessage.config_params)
|
|
return config_params_ != NULL ? *config_params_
|
|
: *::sync_pb::ClientConfigParams::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ClientConfigParams* CommitMessage::mutable_config_params() {
|
|
set_has_config_params();
|
|
if (config_params_ == NULL) {
|
|
config_params_ = new ::sync_pb::ClientConfigParams;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitMessage.config_params)
|
|
return config_params_;
|
|
}
|
|
inline ::sync_pb::ClientConfigParams* CommitMessage::release_config_params() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitMessage.config_params)
|
|
clear_has_config_params();
|
|
::sync_pb::ClientConfigParams* temp = config_params_;
|
|
config_params_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void CommitMessage::set_allocated_config_params(::sync_pb::ClientConfigParams* config_params) {
|
|
delete config_params_;
|
|
config_params_ = config_params;
|
|
if (config_params) {
|
|
set_has_config_params();
|
|
} else {
|
|
clear_has_config_params();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitMessage.config_params)
|
|
}
|
|
|
|
// repeated .sync_pb.DataTypeContext client_contexts = 5;
|
|
inline int CommitMessage::client_contexts_size() const {
|
|
return client_contexts_.size();
|
|
}
|
|
inline void CommitMessage::clear_client_contexts() {
|
|
client_contexts_.Clear();
|
|
}
|
|
inline const ::sync_pb::DataTypeContext& CommitMessage::client_contexts(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitMessage.client_contexts)
|
|
return client_contexts_.Get(index);
|
|
}
|
|
inline ::sync_pb::DataTypeContext* CommitMessage::mutable_client_contexts(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitMessage.client_contexts)
|
|
return client_contexts_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DataTypeContext* CommitMessage::add_client_contexts() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.CommitMessage.client_contexts)
|
|
return client_contexts_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >*
|
|
CommitMessage::mutable_client_contexts() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.CommitMessage.client_contexts)
|
|
return &client_contexts_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >&
|
|
CommitMessage::client_contexts() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.CommitMessage.client_contexts)
|
|
return client_contexts_;
|
|
}
|
|
|
|
// optional string padding = 6;
|
|
inline bool CommitMessage::has_padding() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void CommitMessage::set_has_padding() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void CommitMessage::clear_has_padding() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void CommitMessage::clear_padding() {
|
|
padding_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_padding();
|
|
}
|
|
inline const ::std::string& CommitMessage::padding() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitMessage.padding)
|
|
return padding_.GetNoArena();
|
|
}
|
|
inline void CommitMessage::set_padding(const ::std::string& value) {
|
|
set_has_padding();
|
|
padding_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitMessage.padding)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitMessage::set_padding(::std::string&& value) {
|
|
set_has_padding();
|
|
padding_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitMessage.padding)
|
|
}
|
|
#endif
|
|
inline void CommitMessage::set_padding(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_padding();
|
|
padding_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitMessage.padding)
|
|
}
|
|
inline void CommitMessage::set_padding(const char* value, size_t size) {
|
|
set_has_padding();
|
|
padding_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitMessage.padding)
|
|
}
|
|
inline ::std::string* CommitMessage::mutable_padding() {
|
|
set_has_padding();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitMessage.padding)
|
|
return padding_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitMessage::release_padding() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitMessage.padding)
|
|
clear_has_padding();
|
|
return padding_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitMessage::set_allocated_padding(::std::string* padding) {
|
|
if (padding != NULL) {
|
|
set_has_padding();
|
|
} else {
|
|
clear_has_padding();
|
|
}
|
|
padding_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), padding);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitMessage.padding)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetUpdateTriggers
|
|
|
|
// repeated string notification_hint = 1;
|
|
inline int GetUpdateTriggers::notification_hint_size() const {
|
|
return notification_hint_.size();
|
|
}
|
|
inline void GetUpdateTriggers::clear_notification_hint() {
|
|
notification_hint_.Clear();
|
|
}
|
|
inline const ::std::string& GetUpdateTriggers::notification_hint(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.notification_hint)
|
|
return notification_hint_.Get(index);
|
|
}
|
|
inline ::std::string* GetUpdateTriggers::mutable_notification_hint(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdateTriggers.notification_hint)
|
|
return notification_hint_.Mutable(index);
|
|
}
|
|
inline void GetUpdateTriggers::set_notification_hint(int index, const ::std::string& value) {
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.notification_hint)
|
|
notification_hint_.Mutable(index)->assign(value);
|
|
}
|
|
#if LANG_CXX11
|
|
inline void GetUpdateTriggers::set_notification_hint(int index, ::std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.notification_hint)
|
|
notification_hint_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
#endif
|
|
inline void GetUpdateTriggers::set_notification_hint(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
notification_hint_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.GetUpdateTriggers.notification_hint)
|
|
}
|
|
inline void GetUpdateTriggers::set_notification_hint(int index, const char* value, size_t size) {
|
|
notification_hint_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.GetUpdateTriggers.notification_hint)
|
|
}
|
|
inline ::std::string* GetUpdateTriggers::add_notification_hint() {
|
|
// @@protoc_insertion_point(field_add_mutable:sync_pb.GetUpdateTriggers.notification_hint)
|
|
return notification_hint_.Add();
|
|
}
|
|
inline void GetUpdateTriggers::add_notification_hint(const ::std::string& value) {
|
|
notification_hint_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdateTriggers.notification_hint)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void GetUpdateTriggers::add_notification_hint(::std::string&& value) {
|
|
notification_hint_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdateTriggers.notification_hint)
|
|
}
|
|
#endif
|
|
inline void GetUpdateTriggers::add_notification_hint(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
notification_hint_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:sync_pb.GetUpdateTriggers.notification_hint)
|
|
}
|
|
inline void GetUpdateTriggers::add_notification_hint(const char* value, size_t size) {
|
|
notification_hint_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:sync_pb.GetUpdateTriggers.notification_hint)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
|
GetUpdateTriggers::notification_hint() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdateTriggers.notification_hint)
|
|
return notification_hint_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
|
GetUpdateTriggers::mutable_notification_hint() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdateTriggers.notification_hint)
|
|
return ¬ification_hint_;
|
|
}
|
|
|
|
// optional bool client_dropped_hints = 2;
|
|
inline bool GetUpdateTriggers::has_client_dropped_hints() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_client_dropped_hints() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_client_dropped_hints() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_client_dropped_hints() {
|
|
client_dropped_hints_ = false;
|
|
clear_has_client_dropped_hints();
|
|
}
|
|
inline bool GetUpdateTriggers::client_dropped_hints() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.client_dropped_hints)
|
|
return client_dropped_hints_;
|
|
}
|
|
inline void GetUpdateTriggers::set_client_dropped_hints(bool value) {
|
|
set_has_client_dropped_hints();
|
|
client_dropped_hints_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.client_dropped_hints)
|
|
}
|
|
|
|
// optional bool invalidations_out_of_sync = 3;
|
|
inline bool GetUpdateTriggers::has_invalidations_out_of_sync() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_invalidations_out_of_sync() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_invalidations_out_of_sync() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_invalidations_out_of_sync() {
|
|
invalidations_out_of_sync_ = false;
|
|
clear_has_invalidations_out_of_sync();
|
|
}
|
|
inline bool GetUpdateTriggers::invalidations_out_of_sync() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.invalidations_out_of_sync)
|
|
return invalidations_out_of_sync_;
|
|
}
|
|
inline void GetUpdateTriggers::set_invalidations_out_of_sync(bool value) {
|
|
set_has_invalidations_out_of_sync();
|
|
invalidations_out_of_sync_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.invalidations_out_of_sync)
|
|
}
|
|
|
|
// optional int64 local_modification_nudges = 4;
|
|
inline bool GetUpdateTriggers::has_local_modification_nudges() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_local_modification_nudges() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_local_modification_nudges() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_local_modification_nudges() {
|
|
local_modification_nudges_ = GOOGLE_LONGLONG(0);
|
|
clear_has_local_modification_nudges();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdateTriggers::local_modification_nudges() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.local_modification_nudges)
|
|
return local_modification_nudges_;
|
|
}
|
|
inline void GetUpdateTriggers::set_local_modification_nudges(::google::protobuf::int64 value) {
|
|
set_has_local_modification_nudges();
|
|
local_modification_nudges_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.local_modification_nudges)
|
|
}
|
|
|
|
// optional int64 datatype_refresh_nudges = 5;
|
|
inline bool GetUpdateTriggers::has_datatype_refresh_nudges() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_datatype_refresh_nudges() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_datatype_refresh_nudges() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_datatype_refresh_nudges() {
|
|
datatype_refresh_nudges_ = GOOGLE_LONGLONG(0);
|
|
clear_has_datatype_refresh_nudges();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdateTriggers::datatype_refresh_nudges() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.datatype_refresh_nudges)
|
|
return datatype_refresh_nudges_;
|
|
}
|
|
inline void GetUpdateTriggers::set_datatype_refresh_nudges(::google::protobuf::int64 value) {
|
|
set_has_datatype_refresh_nudges();
|
|
datatype_refresh_nudges_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.datatype_refresh_nudges)
|
|
}
|
|
|
|
// optional bool server_dropped_hints = 6;
|
|
inline bool GetUpdateTriggers::has_server_dropped_hints() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_server_dropped_hints() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_server_dropped_hints() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_server_dropped_hints() {
|
|
server_dropped_hints_ = false;
|
|
clear_has_server_dropped_hints();
|
|
}
|
|
inline bool GetUpdateTriggers::server_dropped_hints() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.server_dropped_hints)
|
|
return server_dropped_hints_;
|
|
}
|
|
inline void GetUpdateTriggers::set_server_dropped_hints(bool value) {
|
|
set_has_server_dropped_hints();
|
|
server_dropped_hints_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.server_dropped_hints)
|
|
}
|
|
|
|
// optional bool initial_sync_in_progress = 7;
|
|
inline bool GetUpdateTriggers::has_initial_sync_in_progress() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_initial_sync_in_progress() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_initial_sync_in_progress() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_initial_sync_in_progress() {
|
|
initial_sync_in_progress_ = false;
|
|
clear_has_initial_sync_in_progress();
|
|
}
|
|
inline bool GetUpdateTriggers::initial_sync_in_progress() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.initial_sync_in_progress)
|
|
return initial_sync_in_progress_;
|
|
}
|
|
inline void GetUpdateTriggers::set_initial_sync_in_progress(bool value) {
|
|
set_has_initial_sync_in_progress();
|
|
initial_sync_in_progress_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.initial_sync_in_progress)
|
|
}
|
|
|
|
// optional bool sync_for_resolve_conflict_in_progress = 8;
|
|
inline bool GetUpdateTriggers::has_sync_for_resolve_conflict_in_progress() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void GetUpdateTriggers::set_has_sync_for_resolve_conflict_in_progress() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_has_sync_for_resolve_conflict_in_progress() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void GetUpdateTriggers::clear_sync_for_resolve_conflict_in_progress() {
|
|
sync_for_resolve_conflict_in_progress_ = false;
|
|
clear_has_sync_for_resolve_conflict_in_progress();
|
|
}
|
|
inline bool GetUpdateTriggers::sync_for_resolve_conflict_in_progress() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdateTriggers.sync_for_resolve_conflict_in_progress)
|
|
return sync_for_resolve_conflict_in_progress_;
|
|
}
|
|
inline void GetUpdateTriggers::set_sync_for_resolve_conflict_in_progress(bool value) {
|
|
set_has_sync_for_resolve_conflict_in_progress();
|
|
sync_for_resolve_conflict_in_progress_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdateTriggers.sync_for_resolve_conflict_in_progress)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GarbageCollectionDirective
|
|
|
|
// optional .sync_pb.GarbageCollectionDirective.Type type = 1 [default = UNKNOWN];
|
|
inline bool GarbageCollectionDirective::has_type() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void GarbageCollectionDirective::set_has_type() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_has_type() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_type() {
|
|
type_ = 0;
|
|
clear_has_type();
|
|
}
|
|
inline ::sync_pb::GarbageCollectionDirective_Type GarbageCollectionDirective::type() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GarbageCollectionDirective.type)
|
|
return static_cast< ::sync_pb::GarbageCollectionDirective_Type >(type_);
|
|
}
|
|
inline void GarbageCollectionDirective::set_type(::sync_pb::GarbageCollectionDirective_Type value) {
|
|
assert(::sync_pb::GarbageCollectionDirective_Type_IsValid(value));
|
|
set_has_type();
|
|
type_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GarbageCollectionDirective.type)
|
|
}
|
|
|
|
// optional int64 version_watermark = 2;
|
|
inline bool GarbageCollectionDirective::has_version_watermark() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GarbageCollectionDirective::set_has_version_watermark() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_has_version_watermark() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_version_watermark() {
|
|
version_watermark_ = GOOGLE_LONGLONG(0);
|
|
clear_has_version_watermark();
|
|
}
|
|
inline ::google::protobuf::int64 GarbageCollectionDirective::version_watermark() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GarbageCollectionDirective.version_watermark)
|
|
return version_watermark_;
|
|
}
|
|
inline void GarbageCollectionDirective::set_version_watermark(::google::protobuf::int64 value) {
|
|
set_has_version_watermark();
|
|
version_watermark_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GarbageCollectionDirective.version_watermark)
|
|
}
|
|
|
|
// optional int32 age_watermark_in_days = 3;
|
|
inline bool GarbageCollectionDirective::has_age_watermark_in_days() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void GarbageCollectionDirective::set_has_age_watermark_in_days() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_has_age_watermark_in_days() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_age_watermark_in_days() {
|
|
age_watermark_in_days_ = 0;
|
|
clear_has_age_watermark_in_days();
|
|
}
|
|
inline ::google::protobuf::int32 GarbageCollectionDirective::age_watermark_in_days() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GarbageCollectionDirective.age_watermark_in_days)
|
|
return age_watermark_in_days_;
|
|
}
|
|
inline void GarbageCollectionDirective::set_age_watermark_in_days(::google::protobuf::int32 value) {
|
|
set_has_age_watermark_in_days();
|
|
age_watermark_in_days_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GarbageCollectionDirective.age_watermark_in_days)
|
|
}
|
|
|
|
// optional int32 max_number_of_items = 4;
|
|
inline bool GarbageCollectionDirective::has_max_number_of_items() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void GarbageCollectionDirective::set_has_max_number_of_items() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_has_max_number_of_items() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void GarbageCollectionDirective::clear_max_number_of_items() {
|
|
max_number_of_items_ = 0;
|
|
clear_has_max_number_of_items();
|
|
}
|
|
inline ::google::protobuf::int32 GarbageCollectionDirective::max_number_of_items() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GarbageCollectionDirective.max_number_of_items)
|
|
return max_number_of_items_;
|
|
}
|
|
inline void GarbageCollectionDirective::set_max_number_of_items(::google::protobuf::int32 value) {
|
|
set_has_max_number_of_items();
|
|
max_number_of_items_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GarbageCollectionDirective.max_number_of_items)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DataTypeProgressMarker
|
|
|
|
// optional int32 data_type_id = 1;
|
|
inline bool DataTypeProgressMarker::has_data_type_id() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void DataTypeProgressMarker::set_has_data_type_id() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_has_data_type_id() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_data_type_id() {
|
|
data_type_id_ = 0;
|
|
clear_has_data_type_id();
|
|
}
|
|
inline ::google::protobuf::int32 DataTypeProgressMarker::data_type_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeProgressMarker.data_type_id)
|
|
return data_type_id_;
|
|
}
|
|
inline void DataTypeProgressMarker::set_data_type_id(::google::protobuf::int32 value) {
|
|
set_has_data_type_id();
|
|
data_type_id_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeProgressMarker.data_type_id)
|
|
}
|
|
|
|
// optional bytes token = 2;
|
|
inline bool DataTypeProgressMarker::has_token() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void DataTypeProgressMarker::set_has_token() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_has_token() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_token() {
|
|
token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_token();
|
|
}
|
|
inline const ::std::string& DataTypeProgressMarker::token() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeProgressMarker.token)
|
|
return token_.GetNoArena();
|
|
}
|
|
inline void DataTypeProgressMarker::set_token(const ::std::string& value) {
|
|
set_has_token();
|
|
token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeProgressMarker.token)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DataTypeProgressMarker::set_token(::std::string&& value) {
|
|
set_has_token();
|
|
token_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.DataTypeProgressMarker.token)
|
|
}
|
|
#endif
|
|
inline void DataTypeProgressMarker::set_token(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_token();
|
|
token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.DataTypeProgressMarker.token)
|
|
}
|
|
inline void DataTypeProgressMarker::set_token(const void* value, size_t size) {
|
|
set_has_token();
|
|
token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.DataTypeProgressMarker.token)
|
|
}
|
|
inline ::std::string* DataTypeProgressMarker::mutable_token() {
|
|
set_has_token();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.DataTypeProgressMarker.token)
|
|
return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DataTypeProgressMarker::release_token() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.DataTypeProgressMarker.token)
|
|
clear_has_token();
|
|
return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DataTypeProgressMarker::set_allocated_token(::std::string* token) {
|
|
if (token != NULL) {
|
|
set_has_token();
|
|
} else {
|
|
clear_has_token();
|
|
}
|
|
token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.DataTypeProgressMarker.token)
|
|
}
|
|
|
|
// optional int64 timestamp_token_for_migration = 3;
|
|
inline bool DataTypeProgressMarker::has_timestamp_token_for_migration() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void DataTypeProgressMarker::set_has_timestamp_token_for_migration() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_has_timestamp_token_for_migration() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_timestamp_token_for_migration() {
|
|
timestamp_token_for_migration_ = GOOGLE_LONGLONG(0);
|
|
clear_has_timestamp_token_for_migration();
|
|
}
|
|
inline ::google::protobuf::int64 DataTypeProgressMarker::timestamp_token_for_migration() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeProgressMarker.timestamp_token_for_migration)
|
|
return timestamp_token_for_migration_;
|
|
}
|
|
inline void DataTypeProgressMarker::set_timestamp_token_for_migration(::google::protobuf::int64 value) {
|
|
set_has_timestamp_token_for_migration();
|
|
timestamp_token_for_migration_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeProgressMarker.timestamp_token_for_migration)
|
|
}
|
|
|
|
// optional string notification_hint = 4;
|
|
inline bool DataTypeProgressMarker::has_notification_hint() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void DataTypeProgressMarker::set_has_notification_hint() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_has_notification_hint() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_notification_hint() {
|
|
notification_hint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_notification_hint();
|
|
}
|
|
inline const ::std::string& DataTypeProgressMarker::notification_hint() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
return notification_hint_.GetNoArena();
|
|
}
|
|
inline void DataTypeProgressMarker::set_notification_hint(const ::std::string& value) {
|
|
set_has_notification_hint();
|
|
notification_hint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DataTypeProgressMarker::set_notification_hint(::std::string&& value) {
|
|
set_has_notification_hint();
|
|
notification_hint_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
}
|
|
#endif
|
|
inline void DataTypeProgressMarker::set_notification_hint(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_notification_hint();
|
|
notification_hint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
}
|
|
inline void DataTypeProgressMarker::set_notification_hint(const char* value, size_t size) {
|
|
set_has_notification_hint();
|
|
notification_hint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
}
|
|
inline ::std::string* DataTypeProgressMarker::mutable_notification_hint() {
|
|
set_has_notification_hint();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
return notification_hint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DataTypeProgressMarker::release_notification_hint() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
clear_has_notification_hint();
|
|
return notification_hint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DataTypeProgressMarker::set_allocated_notification_hint(::std::string* notification_hint) {
|
|
if (notification_hint != NULL) {
|
|
set_has_notification_hint();
|
|
} else {
|
|
clear_has_notification_hint();
|
|
}
|
|
notification_hint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), notification_hint);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.DataTypeProgressMarker.notification_hint)
|
|
}
|
|
|
|
// optional .sync_pb.GetUpdateTriggers get_update_triggers = 5;
|
|
inline bool DataTypeProgressMarker::has_get_update_triggers() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void DataTypeProgressMarker::set_has_get_update_triggers() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_has_get_update_triggers() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_get_update_triggers() {
|
|
if (get_update_triggers_ != NULL) get_update_triggers_->::sync_pb::GetUpdateTriggers::Clear();
|
|
clear_has_get_update_triggers();
|
|
}
|
|
inline const ::sync_pb::GetUpdateTriggers& DataTypeProgressMarker::get_update_triggers() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeProgressMarker.get_update_triggers)
|
|
return get_update_triggers_ != NULL ? *get_update_triggers_
|
|
: *::sync_pb::GetUpdateTriggers::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GetUpdateTriggers* DataTypeProgressMarker::mutable_get_update_triggers() {
|
|
set_has_get_update_triggers();
|
|
if (get_update_triggers_ == NULL) {
|
|
get_update_triggers_ = new ::sync_pb::GetUpdateTriggers;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.DataTypeProgressMarker.get_update_triggers)
|
|
return get_update_triggers_;
|
|
}
|
|
inline ::sync_pb::GetUpdateTriggers* DataTypeProgressMarker::release_get_update_triggers() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.DataTypeProgressMarker.get_update_triggers)
|
|
clear_has_get_update_triggers();
|
|
::sync_pb::GetUpdateTriggers* temp = get_update_triggers_;
|
|
get_update_triggers_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void DataTypeProgressMarker::set_allocated_get_update_triggers(::sync_pb::GetUpdateTriggers* get_update_triggers) {
|
|
delete get_update_triggers_;
|
|
get_update_triggers_ = get_update_triggers;
|
|
if (get_update_triggers) {
|
|
set_has_get_update_triggers();
|
|
} else {
|
|
clear_has_get_update_triggers();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.DataTypeProgressMarker.get_update_triggers)
|
|
}
|
|
|
|
// optional .sync_pb.GarbageCollectionDirective gc_directive = 6;
|
|
inline bool DataTypeProgressMarker::has_gc_directive() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void DataTypeProgressMarker::set_has_gc_directive() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_has_gc_directive() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void DataTypeProgressMarker::clear_gc_directive() {
|
|
if (gc_directive_ != NULL) gc_directive_->::sync_pb::GarbageCollectionDirective::Clear();
|
|
clear_has_gc_directive();
|
|
}
|
|
inline const ::sync_pb::GarbageCollectionDirective& DataTypeProgressMarker::gc_directive() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeProgressMarker.gc_directive)
|
|
return gc_directive_ != NULL ? *gc_directive_
|
|
: *::sync_pb::GarbageCollectionDirective::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GarbageCollectionDirective* DataTypeProgressMarker::mutable_gc_directive() {
|
|
set_has_gc_directive();
|
|
if (gc_directive_ == NULL) {
|
|
gc_directive_ = new ::sync_pb::GarbageCollectionDirective;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.DataTypeProgressMarker.gc_directive)
|
|
return gc_directive_;
|
|
}
|
|
inline ::sync_pb::GarbageCollectionDirective* DataTypeProgressMarker::release_gc_directive() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.DataTypeProgressMarker.gc_directive)
|
|
clear_has_gc_directive();
|
|
::sync_pb::GarbageCollectionDirective* temp = gc_directive_;
|
|
gc_directive_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void DataTypeProgressMarker::set_allocated_gc_directive(::sync_pb::GarbageCollectionDirective* gc_directive) {
|
|
delete gc_directive_;
|
|
gc_directive_ = gc_directive;
|
|
if (gc_directive) {
|
|
set_has_gc_directive();
|
|
} else {
|
|
clear_has_gc_directive();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.DataTypeProgressMarker.gc_directive)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetUpdatesMessage
|
|
|
|
// optional int64 from_timestamp = 1;
|
|
inline bool GetUpdatesMessage::has_from_timestamp() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_from_timestamp() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_from_timestamp() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_from_timestamp() {
|
|
from_timestamp_ = GOOGLE_LONGLONG(0);
|
|
clear_has_from_timestamp();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdatesMessage::from_timestamp() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.from_timestamp)
|
|
return from_timestamp_;
|
|
}
|
|
inline void GetUpdatesMessage::set_from_timestamp(::google::protobuf::int64 value) {
|
|
set_has_from_timestamp();
|
|
from_timestamp_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.from_timestamp)
|
|
}
|
|
|
|
// optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
|
|
inline bool GetUpdatesMessage::has_caller_info() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_caller_info() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_caller_info() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_caller_info() {
|
|
if (caller_info_ != NULL) caller_info_->::sync_pb::GetUpdatesCallerInfo::Clear();
|
|
clear_has_caller_info();
|
|
}
|
|
inline const ::sync_pb::GetUpdatesCallerInfo& GetUpdatesMessage::caller_info() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.caller_info)
|
|
return caller_info_ != NULL ? *caller_info_
|
|
: *::sync_pb::GetUpdatesCallerInfo::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GetUpdatesCallerInfo* GetUpdatesMessage::mutable_caller_info() {
|
|
set_has_caller_info();
|
|
if (caller_info_ == NULL) {
|
|
caller_info_ = new ::sync_pb::GetUpdatesCallerInfo;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesMessage.caller_info)
|
|
return caller_info_;
|
|
}
|
|
inline ::sync_pb::GetUpdatesCallerInfo* GetUpdatesMessage::release_caller_info() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.GetUpdatesMessage.caller_info)
|
|
clear_has_caller_info();
|
|
::sync_pb::GetUpdatesCallerInfo* temp = caller_info_;
|
|
caller_info_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void GetUpdatesMessage::set_allocated_caller_info(::sync_pb::GetUpdatesCallerInfo* caller_info) {
|
|
delete caller_info_;
|
|
caller_info_ = caller_info;
|
|
if (caller_info) {
|
|
set_has_caller_info();
|
|
} else {
|
|
clear_has_caller_info();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.GetUpdatesMessage.caller_info)
|
|
}
|
|
|
|
// optional bool fetch_folders = 3 [default = true];
|
|
inline bool GetUpdatesMessage::has_fetch_folders() const {
|
|
return (_has_bits_[0] & 0x00000200u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_fetch_folders() {
|
|
_has_bits_[0] |= 0x00000200u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_fetch_folders() {
|
|
_has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_fetch_folders() {
|
|
fetch_folders_ = true;
|
|
clear_has_fetch_folders();
|
|
}
|
|
inline bool GetUpdatesMessage::fetch_folders() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.fetch_folders)
|
|
return fetch_folders_;
|
|
}
|
|
inline void GetUpdatesMessage::set_fetch_folders(bool value) {
|
|
set_has_fetch_folders();
|
|
fetch_folders_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.fetch_folders)
|
|
}
|
|
|
|
// optional .sync_pb.EntitySpecifics requested_types = 4;
|
|
inline bool GetUpdatesMessage::has_requested_types() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_requested_types() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_requested_types() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_requested_types() {
|
|
if (requested_types_ != NULL) requested_types_->::sync_pb::EntitySpecifics::Clear();
|
|
clear_has_requested_types();
|
|
}
|
|
inline const ::sync_pb::EntitySpecifics& GetUpdatesMessage::requested_types() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.requested_types)
|
|
return requested_types_ != NULL ? *requested_types_
|
|
: *::sync_pb::EntitySpecifics::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::EntitySpecifics* GetUpdatesMessage::mutable_requested_types() {
|
|
set_has_requested_types();
|
|
if (requested_types_ == NULL) {
|
|
requested_types_ = new ::sync_pb::EntitySpecifics;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesMessage.requested_types)
|
|
return requested_types_;
|
|
}
|
|
inline ::sync_pb::EntitySpecifics* GetUpdatesMessage::release_requested_types() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.GetUpdatesMessage.requested_types)
|
|
clear_has_requested_types();
|
|
::sync_pb::EntitySpecifics* temp = requested_types_;
|
|
requested_types_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void GetUpdatesMessage::set_allocated_requested_types(::sync_pb::EntitySpecifics* requested_types) {
|
|
delete requested_types_;
|
|
requested_types_ = requested_types;
|
|
if (requested_types) {
|
|
set_has_requested_types();
|
|
} else {
|
|
clear_has_requested_types();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.GetUpdatesMessage.requested_types)
|
|
}
|
|
|
|
// optional int32 batch_size = 5;
|
|
inline bool GetUpdatesMessage::has_batch_size() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_batch_size() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_batch_size() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_batch_size() {
|
|
batch_size_ = 0;
|
|
clear_has_batch_size();
|
|
}
|
|
inline ::google::protobuf::int32 GetUpdatesMessage::batch_size() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.batch_size)
|
|
return batch_size_;
|
|
}
|
|
inline void GetUpdatesMessage::set_batch_size(::google::protobuf::int32 value) {
|
|
set_has_batch_size();
|
|
batch_size_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.batch_size)
|
|
}
|
|
|
|
// 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 {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.from_progress_marker)
|
|
return from_progress_marker_.Get(index);
|
|
}
|
|
inline ::sync_pb::DataTypeProgressMarker* GetUpdatesMessage::mutable_from_progress_marker(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesMessage.from_progress_marker)
|
|
return from_progress_marker_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DataTypeProgressMarker* GetUpdatesMessage::add_from_progress_marker() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesMessage.from_progress_marker)
|
|
return from_progress_marker_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
|
|
GetUpdatesMessage::mutable_from_progress_marker() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesMessage.from_progress_marker)
|
|
return &from_progress_marker_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
|
|
GetUpdatesMessage::from_progress_marker() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesMessage.from_progress_marker)
|
|
return from_progress_marker_;
|
|
}
|
|
|
|
// optional bool streaming = 7 [default = false];
|
|
inline bool GetUpdatesMessage::has_streaming() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_streaming() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_streaming() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_streaming() {
|
|
streaming_ = false;
|
|
clear_has_streaming();
|
|
}
|
|
inline bool GetUpdatesMessage::streaming() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.streaming)
|
|
return streaming_;
|
|
}
|
|
inline void GetUpdatesMessage::set_streaming(bool value) {
|
|
set_has_streaming();
|
|
streaming_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.streaming)
|
|
}
|
|
|
|
// optional bool need_encryption_key = 8 [default = false];
|
|
inline bool GetUpdatesMessage::has_need_encryption_key() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_need_encryption_key() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_need_encryption_key() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_need_encryption_key() {
|
|
need_encryption_key_ = false;
|
|
clear_has_need_encryption_key();
|
|
}
|
|
inline bool GetUpdatesMessage::need_encryption_key() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.need_encryption_key)
|
|
return need_encryption_key_;
|
|
}
|
|
inline void GetUpdatesMessage::set_need_encryption_key(bool value) {
|
|
set_has_need_encryption_key();
|
|
need_encryption_key_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.need_encryption_key)
|
|
}
|
|
|
|
// optional bool create_mobile_bookmarks_folder = 1000 [default = false];
|
|
inline bool GetUpdatesMessage::has_create_mobile_bookmarks_folder() const {
|
|
return (_has_bits_[0] & 0x00000080u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_create_mobile_bookmarks_folder() {
|
|
_has_bits_[0] |= 0x00000080u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_create_mobile_bookmarks_folder() {
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_create_mobile_bookmarks_folder() {
|
|
create_mobile_bookmarks_folder_ = false;
|
|
clear_has_create_mobile_bookmarks_folder();
|
|
}
|
|
inline bool GetUpdatesMessage::create_mobile_bookmarks_folder() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.create_mobile_bookmarks_folder)
|
|
return create_mobile_bookmarks_folder_;
|
|
}
|
|
inline void GetUpdatesMessage::set_create_mobile_bookmarks_folder(bool value) {
|
|
set_has_create_mobile_bookmarks_folder();
|
|
create_mobile_bookmarks_folder_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.create_mobile_bookmarks_folder)
|
|
}
|
|
|
|
// optional .sync_pb.SyncEnums.GetUpdatesOrigin get_updates_origin = 9;
|
|
inline bool GetUpdatesMessage::has_get_updates_origin() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_get_updates_origin() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_get_updates_origin() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_get_updates_origin() {
|
|
get_updates_origin_ = 0;
|
|
clear_has_get_updates_origin();
|
|
}
|
|
inline ::sync_pb::SyncEnums_GetUpdatesOrigin GetUpdatesMessage::get_updates_origin() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.get_updates_origin)
|
|
return static_cast< ::sync_pb::SyncEnums_GetUpdatesOrigin >(get_updates_origin_);
|
|
}
|
|
inline void GetUpdatesMessage::set_get_updates_origin(::sync_pb::SyncEnums_GetUpdatesOrigin value) {
|
|
assert(::sync_pb::SyncEnums_GetUpdatesOrigin_IsValid(value));
|
|
set_has_get_updates_origin();
|
|
get_updates_origin_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.get_updates_origin)
|
|
}
|
|
|
|
// optional bool is_retry = 10 [default = false];
|
|
inline bool GetUpdatesMessage::has_is_retry() const {
|
|
return (_has_bits_[0] & 0x00000100u) != 0;
|
|
}
|
|
inline void GetUpdatesMessage::set_has_is_retry() {
|
|
_has_bits_[0] |= 0x00000100u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_has_is_retry() {
|
|
_has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline void GetUpdatesMessage::clear_is_retry() {
|
|
is_retry_ = false;
|
|
clear_has_is_retry();
|
|
}
|
|
inline bool GetUpdatesMessage::is_retry() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.is_retry)
|
|
return is_retry_;
|
|
}
|
|
inline void GetUpdatesMessage::set_is_retry(bool value) {
|
|
set_has_is_retry();
|
|
is_retry_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMessage.is_retry)
|
|
}
|
|
|
|
// repeated .sync_pb.DataTypeContext client_contexts = 11;
|
|
inline int GetUpdatesMessage::client_contexts_size() const {
|
|
return client_contexts_.size();
|
|
}
|
|
inline void GetUpdatesMessage::clear_client_contexts() {
|
|
client_contexts_.Clear();
|
|
}
|
|
inline const ::sync_pb::DataTypeContext& GetUpdatesMessage::client_contexts(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMessage.client_contexts)
|
|
return client_contexts_.Get(index);
|
|
}
|
|
inline ::sync_pb::DataTypeContext* GetUpdatesMessage::mutable_client_contexts(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesMessage.client_contexts)
|
|
return client_contexts_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DataTypeContext* GetUpdatesMessage::add_client_contexts() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesMessage.client_contexts)
|
|
return client_contexts_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >*
|
|
GetUpdatesMessage::mutable_client_contexts() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesMessage.client_contexts)
|
|
return &client_contexts_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >&
|
|
GetUpdatesMessage::client_contexts() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesMessage.client_contexts)
|
|
return client_contexts_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AuthenticateMessage
|
|
|
|
// required string auth_token = 1;
|
|
inline bool AuthenticateMessage::has_auth_token() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void AuthenticateMessage::set_has_auth_token() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void AuthenticateMessage::clear_has_auth_token() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void AuthenticateMessage::clear_auth_token() {
|
|
auth_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_auth_token();
|
|
}
|
|
inline const ::std::string& AuthenticateMessage::auth_token() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.AuthenticateMessage.auth_token)
|
|
return auth_token_.GetNoArena();
|
|
}
|
|
inline void AuthenticateMessage::set_auth_token(const ::std::string& value) {
|
|
set_has_auth_token();
|
|
auth_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.AuthenticateMessage.auth_token)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void AuthenticateMessage::set_auth_token(::std::string&& value) {
|
|
set_has_auth_token();
|
|
auth_token_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.AuthenticateMessage.auth_token)
|
|
}
|
|
#endif
|
|
inline void AuthenticateMessage::set_auth_token(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_auth_token();
|
|
auth_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.AuthenticateMessage.auth_token)
|
|
}
|
|
inline void AuthenticateMessage::set_auth_token(const char* value, size_t size) {
|
|
set_has_auth_token();
|
|
auth_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.AuthenticateMessage.auth_token)
|
|
}
|
|
inline ::std::string* AuthenticateMessage::mutable_auth_token() {
|
|
set_has_auth_token();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.AuthenticateMessage.auth_token)
|
|
return auth_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* AuthenticateMessage::release_auth_token() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.AuthenticateMessage.auth_token)
|
|
clear_has_auth_token();
|
|
return auth_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void AuthenticateMessage::set_allocated_auth_token(::std::string* auth_token) {
|
|
if (auth_token != NULL) {
|
|
set_has_auth_token();
|
|
} else {
|
|
clear_has_auth_token();
|
|
}
|
|
auth_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), auth_token);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.AuthenticateMessage.auth_token)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClearServerDataMessage
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClearServerDataResponse
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ChipBag
|
|
|
|
// optional bytes server_chips = 1;
|
|
inline bool ChipBag::has_server_chips() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ChipBag::set_has_server_chips() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ChipBag::clear_has_server_chips() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ChipBag::clear_server_chips() {
|
|
server_chips_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_server_chips();
|
|
}
|
|
inline const ::std::string& ChipBag::server_chips() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ChipBag.server_chips)
|
|
return server_chips_.GetNoArena();
|
|
}
|
|
inline void ChipBag::set_server_chips(const ::std::string& value) {
|
|
set_has_server_chips();
|
|
server_chips_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ChipBag.server_chips)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ChipBag::set_server_chips(::std::string&& value) {
|
|
set_has_server_chips();
|
|
server_chips_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ChipBag.server_chips)
|
|
}
|
|
#endif
|
|
inline void ChipBag::set_server_chips(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_server_chips();
|
|
server_chips_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ChipBag.server_chips)
|
|
}
|
|
inline void ChipBag::set_server_chips(const void* value, size_t size) {
|
|
set_has_server_chips();
|
|
server_chips_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ChipBag.server_chips)
|
|
}
|
|
inline ::std::string* ChipBag::mutable_server_chips() {
|
|
set_has_server_chips();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ChipBag.server_chips)
|
|
return server_chips_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ChipBag::release_server_chips() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ChipBag.server_chips)
|
|
clear_has_server_chips();
|
|
return server_chips_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ChipBag::set_allocated_server_chips(::std::string* server_chips) {
|
|
if (server_chips != NULL) {
|
|
set_has_server_chips();
|
|
} else {
|
|
clear_has_server_chips();
|
|
}
|
|
server_chips_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), server_chips);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ChipBag.server_chips)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClientStatus
|
|
|
|
// optional bool hierarchy_conflict_detected = 1;
|
|
inline bool ClientStatus::has_hierarchy_conflict_detected() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ClientStatus::set_has_hierarchy_conflict_detected() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ClientStatus::clear_has_hierarchy_conflict_detected() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ClientStatus::clear_hierarchy_conflict_detected() {
|
|
hierarchy_conflict_detected_ = false;
|
|
clear_has_hierarchy_conflict_detected();
|
|
}
|
|
inline bool ClientStatus::hierarchy_conflict_detected() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientStatus.hierarchy_conflict_detected)
|
|
return hierarchy_conflict_detected_;
|
|
}
|
|
inline void ClientStatus::set_hierarchy_conflict_detected(bool value) {
|
|
set_has_hierarchy_conflict_detected();
|
|
hierarchy_conflict_detected_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientStatus.hierarchy_conflict_detected)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DataTypeContext
|
|
|
|
// optional int32 data_type_id = 1;
|
|
inline bool DataTypeContext::has_data_type_id() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void DataTypeContext::set_has_data_type_id() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void DataTypeContext::clear_has_data_type_id() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void DataTypeContext::clear_data_type_id() {
|
|
data_type_id_ = 0;
|
|
clear_has_data_type_id();
|
|
}
|
|
inline ::google::protobuf::int32 DataTypeContext::data_type_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeContext.data_type_id)
|
|
return data_type_id_;
|
|
}
|
|
inline void DataTypeContext::set_data_type_id(::google::protobuf::int32 value) {
|
|
set_has_data_type_id();
|
|
data_type_id_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeContext.data_type_id)
|
|
}
|
|
|
|
// optional bytes context = 2;
|
|
inline bool DataTypeContext::has_context() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void DataTypeContext::set_has_context() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void DataTypeContext::clear_has_context() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void DataTypeContext::clear_context() {
|
|
context_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_context();
|
|
}
|
|
inline const ::std::string& DataTypeContext::context() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeContext.context)
|
|
return context_.GetNoArena();
|
|
}
|
|
inline void DataTypeContext::set_context(const ::std::string& value) {
|
|
set_has_context();
|
|
context_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeContext.context)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DataTypeContext::set_context(::std::string&& value) {
|
|
set_has_context();
|
|
context_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.DataTypeContext.context)
|
|
}
|
|
#endif
|
|
inline void DataTypeContext::set_context(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_context();
|
|
context_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.DataTypeContext.context)
|
|
}
|
|
inline void DataTypeContext::set_context(const void* value, size_t size) {
|
|
set_has_context();
|
|
context_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.DataTypeContext.context)
|
|
}
|
|
inline ::std::string* DataTypeContext::mutable_context() {
|
|
set_has_context();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.DataTypeContext.context)
|
|
return context_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DataTypeContext::release_context() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.DataTypeContext.context)
|
|
clear_has_context();
|
|
return context_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DataTypeContext::set_allocated_context(::std::string* context) {
|
|
if (context != NULL) {
|
|
set_has_context();
|
|
} else {
|
|
clear_has_context();
|
|
}
|
|
context_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), context);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.DataTypeContext.context)
|
|
}
|
|
|
|
// optional int64 version = 3;
|
|
inline bool DataTypeContext::has_version() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void DataTypeContext::set_has_version() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void DataTypeContext::clear_has_version() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void DataTypeContext::clear_version() {
|
|
version_ = GOOGLE_LONGLONG(0);
|
|
clear_has_version();
|
|
}
|
|
inline ::google::protobuf::int64 DataTypeContext::version() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.DataTypeContext.version)
|
|
return version_;
|
|
}
|
|
inline void DataTypeContext::set_version(::google::protobuf::int64 value) {
|
|
set_has_version();
|
|
version_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.DataTypeContext.version)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClientToServerMessage
|
|
|
|
// required string share = 1;
|
|
inline bool ClientToServerMessage::has_share() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_share() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_share() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ClientToServerMessage::clear_share() {
|
|
share_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_share();
|
|
}
|
|
inline const ::std::string& ClientToServerMessage::share() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.share)
|
|
return share_.GetNoArena();
|
|
}
|
|
inline void ClientToServerMessage::set_share(const ::std::string& value) {
|
|
set_has_share();
|
|
share_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.share)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerMessage::set_share(::std::string&& value) {
|
|
set_has_share();
|
|
share_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerMessage.share)
|
|
}
|
|
#endif
|
|
inline void ClientToServerMessage::set_share(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_share();
|
|
share_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerMessage.share)
|
|
}
|
|
inline void ClientToServerMessage::set_share(const char* value, size_t size) {
|
|
set_has_share();
|
|
share_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerMessage.share)
|
|
}
|
|
inline ::std::string* ClientToServerMessage::mutable_share() {
|
|
set_has_share();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.share)
|
|
return share_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerMessage::release_share() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.share)
|
|
clear_has_share();
|
|
return share_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_share(::std::string* share) {
|
|
if (share != NULL) {
|
|
set_has_share();
|
|
} else {
|
|
clear_has_share();
|
|
}
|
|
share_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), share);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.share)
|
|
}
|
|
|
|
// optional int32 protocol_version = 2 [default = 52];
|
|
inline bool ClientToServerMessage::has_protocol_version() const {
|
|
return (_has_bits_[0] & 0x00002000u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_protocol_version() {
|
|
_has_bits_[0] |= 0x00002000u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_protocol_version() {
|
|
_has_bits_[0] &= ~0x00002000u;
|
|
}
|
|
inline void ClientToServerMessage::clear_protocol_version() {
|
|
protocol_version_ = 52;
|
|
clear_has_protocol_version();
|
|
}
|
|
inline ::google::protobuf::int32 ClientToServerMessage::protocol_version() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.protocol_version)
|
|
return protocol_version_;
|
|
}
|
|
inline void ClientToServerMessage::set_protocol_version(::google::protobuf::int32 value) {
|
|
set_has_protocol_version();
|
|
protocol_version_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.protocol_version)
|
|
}
|
|
|
|
// required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
|
|
inline bool ClientToServerMessage::has_message_contents() const {
|
|
return (_has_bits_[0] & 0x00004000u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_message_contents() {
|
|
_has_bits_[0] |= 0x00004000u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_message_contents() {
|
|
_has_bits_[0] &= ~0x00004000u;
|
|
}
|
|
inline void ClientToServerMessage::clear_message_contents() {
|
|
message_contents_ = 1;
|
|
clear_has_message_contents();
|
|
}
|
|
inline ::sync_pb::ClientToServerMessage_Contents ClientToServerMessage::message_contents() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.message_contents)
|
|
return static_cast< ::sync_pb::ClientToServerMessage_Contents >(message_contents_);
|
|
}
|
|
inline void ClientToServerMessage::set_message_contents(::sync_pb::ClientToServerMessage_Contents value) {
|
|
assert(::sync_pb::ClientToServerMessage_Contents_IsValid(value));
|
|
set_has_message_contents();
|
|
message_contents_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.message_contents)
|
|
}
|
|
|
|
// optional .sync_pb.CommitMessage commit = 4;
|
|
inline bool ClientToServerMessage::has_commit() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_commit() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_commit() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void ClientToServerMessage::clear_commit() {
|
|
if (commit_ != NULL) commit_->::sync_pb::CommitMessage::Clear();
|
|
clear_has_commit();
|
|
}
|
|
inline const ::sync_pb::CommitMessage& ClientToServerMessage::commit() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.commit)
|
|
return commit_ != NULL ? *commit_
|
|
: *::sync_pb::CommitMessage::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::CommitMessage* ClientToServerMessage::mutable_commit() {
|
|
set_has_commit();
|
|
if (commit_ == NULL) {
|
|
commit_ = new ::sync_pb::CommitMessage;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.commit)
|
|
return commit_;
|
|
}
|
|
inline ::sync_pb::CommitMessage* ClientToServerMessage::release_commit() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.commit)
|
|
clear_has_commit();
|
|
::sync_pb::CommitMessage* temp = commit_;
|
|
commit_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_commit(::sync_pb::CommitMessage* commit) {
|
|
delete commit_;
|
|
commit_ = commit;
|
|
if (commit) {
|
|
set_has_commit();
|
|
} else {
|
|
clear_has_commit();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.commit)
|
|
}
|
|
|
|
// optional .sync_pb.GetUpdatesMessage get_updates = 5;
|
|
inline bool ClientToServerMessage::has_get_updates() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_get_updates() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_get_updates() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void ClientToServerMessage::clear_get_updates() {
|
|
if (get_updates_ != NULL) get_updates_->::sync_pb::GetUpdatesMessage::Clear();
|
|
clear_has_get_updates();
|
|
}
|
|
inline const ::sync_pb::GetUpdatesMessage& ClientToServerMessage::get_updates() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.get_updates)
|
|
return get_updates_ != NULL ? *get_updates_
|
|
: *::sync_pb::GetUpdatesMessage::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GetUpdatesMessage* ClientToServerMessage::mutable_get_updates() {
|
|
set_has_get_updates();
|
|
if (get_updates_ == NULL) {
|
|
get_updates_ = new ::sync_pb::GetUpdatesMessage;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.get_updates)
|
|
return get_updates_;
|
|
}
|
|
inline ::sync_pb::GetUpdatesMessage* ClientToServerMessage::release_get_updates() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.get_updates)
|
|
clear_has_get_updates();
|
|
::sync_pb::GetUpdatesMessage* temp = get_updates_;
|
|
get_updates_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_get_updates(::sync_pb::GetUpdatesMessage* get_updates) {
|
|
delete get_updates_;
|
|
get_updates_ = get_updates;
|
|
if (get_updates) {
|
|
set_has_get_updates();
|
|
} else {
|
|
clear_has_get_updates();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.get_updates)
|
|
}
|
|
|
|
// optional .sync_pb.AuthenticateMessage authenticate = 6;
|
|
inline bool ClientToServerMessage::has_authenticate() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_authenticate() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_authenticate() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void ClientToServerMessage::clear_authenticate() {
|
|
if (authenticate_ != NULL) authenticate_->::sync_pb::AuthenticateMessage::Clear();
|
|
clear_has_authenticate();
|
|
}
|
|
inline const ::sync_pb::AuthenticateMessage& ClientToServerMessage::authenticate() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.authenticate)
|
|
return authenticate_ != NULL ? *authenticate_
|
|
: *::sync_pb::AuthenticateMessage::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AuthenticateMessage* ClientToServerMessage::mutable_authenticate() {
|
|
set_has_authenticate();
|
|
if (authenticate_ == NULL) {
|
|
authenticate_ = new ::sync_pb::AuthenticateMessage;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.authenticate)
|
|
return authenticate_;
|
|
}
|
|
inline ::sync_pb::AuthenticateMessage* ClientToServerMessage::release_authenticate() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.authenticate)
|
|
clear_has_authenticate();
|
|
::sync_pb::AuthenticateMessage* temp = authenticate_;
|
|
authenticate_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_authenticate(::sync_pb::AuthenticateMessage* authenticate) {
|
|
delete authenticate_;
|
|
authenticate_ = authenticate;
|
|
if (authenticate) {
|
|
set_has_authenticate();
|
|
} else {
|
|
clear_has_authenticate();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.authenticate)
|
|
}
|
|
|
|
// optional .sync_pb.DeprecatedMessage deprecated_field_9 = 9 [deprecated = true];
|
|
inline bool ClientToServerMessage::has_deprecated_field_9() const {
|
|
return (_has_bits_[0] & 0x00000080u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_deprecated_field_9() {
|
|
_has_bits_[0] |= 0x00000080u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_deprecated_field_9() {
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline void ClientToServerMessage::clear_deprecated_field_9() {
|
|
if (deprecated_field_9_ != NULL) deprecated_field_9_->::sync_pb::DeprecatedMessage::Clear();
|
|
clear_has_deprecated_field_9();
|
|
}
|
|
inline const ::sync_pb::DeprecatedMessage& ClientToServerMessage::deprecated_field_9() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.deprecated_field_9)
|
|
return deprecated_field_9_ != NULL ? *deprecated_field_9_
|
|
: *::sync_pb::DeprecatedMessage::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::DeprecatedMessage* ClientToServerMessage::mutable_deprecated_field_9() {
|
|
set_has_deprecated_field_9();
|
|
if (deprecated_field_9_ == NULL) {
|
|
deprecated_field_9_ = new ::sync_pb::DeprecatedMessage;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.deprecated_field_9)
|
|
return deprecated_field_9_;
|
|
}
|
|
inline ::sync_pb::DeprecatedMessage* ClientToServerMessage::release_deprecated_field_9() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.deprecated_field_9)
|
|
clear_has_deprecated_field_9();
|
|
::sync_pb::DeprecatedMessage* temp = deprecated_field_9_;
|
|
deprecated_field_9_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_deprecated_field_9(::sync_pb::DeprecatedMessage* deprecated_field_9) {
|
|
delete deprecated_field_9_;
|
|
deprecated_field_9_ = deprecated_field_9;
|
|
if (deprecated_field_9) {
|
|
set_has_deprecated_field_9();
|
|
} else {
|
|
clear_has_deprecated_field_9();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.deprecated_field_9)
|
|
}
|
|
|
|
// optional string store_birthday = 7;
|
|
inline bool ClientToServerMessage::has_store_birthday() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_store_birthday() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_store_birthday() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void ClientToServerMessage::clear_store_birthday() {
|
|
store_birthday_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_store_birthday();
|
|
}
|
|
inline const ::std::string& ClientToServerMessage::store_birthday() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.store_birthday)
|
|
return store_birthday_.GetNoArena();
|
|
}
|
|
inline void ClientToServerMessage::set_store_birthday(const ::std::string& value) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.store_birthday)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerMessage::set_store_birthday(::std::string&& value) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerMessage.store_birthday)
|
|
}
|
|
#endif
|
|
inline void ClientToServerMessage::set_store_birthday(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerMessage.store_birthday)
|
|
}
|
|
inline void ClientToServerMessage::set_store_birthday(const char* value, size_t size) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerMessage.store_birthday)
|
|
}
|
|
inline ::std::string* ClientToServerMessage::mutable_store_birthday() {
|
|
set_has_store_birthday();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.store_birthday)
|
|
return store_birthday_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerMessage::release_store_birthday() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.store_birthday)
|
|
clear_has_store_birthday();
|
|
return store_birthday_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_store_birthday(::std::string* store_birthday) {
|
|
if (store_birthday != NULL) {
|
|
set_has_store_birthday();
|
|
} else {
|
|
clear_has_store_birthday();
|
|
}
|
|
store_birthday_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), store_birthday);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.store_birthday)
|
|
}
|
|
|
|
// optional bool sync_problem_detected = 8 [default = false];
|
|
inline bool ClientToServerMessage::has_sync_problem_detected() const {
|
|
return (_has_bits_[0] & 0x00001000u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_sync_problem_detected() {
|
|
_has_bits_[0] |= 0x00001000u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_sync_problem_detected() {
|
|
_has_bits_[0] &= ~0x00001000u;
|
|
}
|
|
inline void ClientToServerMessage::clear_sync_problem_detected() {
|
|
sync_problem_detected_ = false;
|
|
clear_has_sync_problem_detected();
|
|
}
|
|
inline bool ClientToServerMessage::sync_problem_detected() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.sync_problem_detected)
|
|
return sync_problem_detected_;
|
|
}
|
|
inline void ClientToServerMessage::set_sync_problem_detected(bool value) {
|
|
set_has_sync_problem_detected();
|
|
sync_problem_detected_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.sync_problem_detected)
|
|
}
|
|
|
|
// optional .sync_pb.DebugInfo debug_info = 10;
|
|
inline bool ClientToServerMessage::has_debug_info() const {
|
|
return (_has_bits_[0] & 0x00000100u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_debug_info() {
|
|
_has_bits_[0] |= 0x00000100u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_debug_info() {
|
|
_has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline void ClientToServerMessage::clear_debug_info() {
|
|
if (debug_info_ != NULL) debug_info_->::sync_pb::DebugInfo::Clear();
|
|
clear_has_debug_info();
|
|
}
|
|
inline const ::sync_pb::DebugInfo& ClientToServerMessage::debug_info() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.debug_info)
|
|
return debug_info_ != NULL ? *debug_info_
|
|
: *::sync_pb::DebugInfo::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::DebugInfo* ClientToServerMessage::mutable_debug_info() {
|
|
set_has_debug_info();
|
|
if (debug_info_ == NULL) {
|
|
debug_info_ = new ::sync_pb::DebugInfo;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.debug_info)
|
|
return debug_info_;
|
|
}
|
|
inline ::sync_pb::DebugInfo* ClientToServerMessage::release_debug_info() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.debug_info)
|
|
clear_has_debug_info();
|
|
::sync_pb::DebugInfo* temp = debug_info_;
|
|
debug_info_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_debug_info(::sync_pb::DebugInfo* debug_info) {
|
|
delete debug_info_;
|
|
debug_info_ = debug_info;
|
|
if (debug_info) {
|
|
set_has_debug_info();
|
|
} else {
|
|
clear_has_debug_info();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.debug_info)
|
|
}
|
|
|
|
// optional .sync_pb.ChipBag bag_of_chips = 11;
|
|
inline bool ClientToServerMessage::has_bag_of_chips() const {
|
|
return (_has_bits_[0] & 0x00000200u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_bag_of_chips() {
|
|
_has_bits_[0] |= 0x00000200u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_bag_of_chips() {
|
|
_has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline void ClientToServerMessage::clear_bag_of_chips() {
|
|
if (bag_of_chips_ != NULL) bag_of_chips_->::sync_pb::ChipBag::Clear();
|
|
clear_has_bag_of_chips();
|
|
}
|
|
inline const ::sync_pb::ChipBag& ClientToServerMessage::bag_of_chips() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.bag_of_chips)
|
|
return bag_of_chips_ != NULL ? *bag_of_chips_
|
|
: *::sync_pb::ChipBag::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ChipBag* ClientToServerMessage::mutable_bag_of_chips() {
|
|
set_has_bag_of_chips();
|
|
if (bag_of_chips_ == NULL) {
|
|
bag_of_chips_ = new ::sync_pb::ChipBag;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.bag_of_chips)
|
|
return bag_of_chips_;
|
|
}
|
|
inline ::sync_pb::ChipBag* ClientToServerMessage::release_bag_of_chips() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.bag_of_chips)
|
|
clear_has_bag_of_chips();
|
|
::sync_pb::ChipBag* temp = bag_of_chips_;
|
|
bag_of_chips_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_bag_of_chips(::sync_pb::ChipBag* bag_of_chips) {
|
|
delete bag_of_chips_;
|
|
bag_of_chips_ = bag_of_chips;
|
|
if (bag_of_chips) {
|
|
set_has_bag_of_chips();
|
|
} else {
|
|
clear_has_bag_of_chips();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.bag_of_chips)
|
|
}
|
|
|
|
// optional string api_key = 12;
|
|
inline bool ClientToServerMessage::has_api_key() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_api_key() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_api_key() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void ClientToServerMessage::clear_api_key() {
|
|
api_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_api_key();
|
|
}
|
|
inline const ::std::string& ClientToServerMessage::api_key() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.api_key)
|
|
return api_key_.GetNoArena();
|
|
}
|
|
inline void ClientToServerMessage::set_api_key(const ::std::string& value) {
|
|
set_has_api_key();
|
|
api_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.api_key)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerMessage::set_api_key(::std::string&& value) {
|
|
set_has_api_key();
|
|
api_key_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerMessage.api_key)
|
|
}
|
|
#endif
|
|
inline void ClientToServerMessage::set_api_key(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_api_key();
|
|
api_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerMessage.api_key)
|
|
}
|
|
inline void ClientToServerMessage::set_api_key(const char* value, size_t size) {
|
|
set_has_api_key();
|
|
api_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerMessage.api_key)
|
|
}
|
|
inline ::std::string* ClientToServerMessage::mutable_api_key() {
|
|
set_has_api_key();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.api_key)
|
|
return api_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerMessage::release_api_key() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.api_key)
|
|
clear_has_api_key();
|
|
return api_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_api_key(::std::string* api_key) {
|
|
if (api_key != NULL) {
|
|
set_has_api_key();
|
|
} else {
|
|
clear_has_api_key();
|
|
}
|
|
api_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), api_key);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.api_key)
|
|
}
|
|
|
|
// optional .sync_pb.ClientStatus client_status = 13;
|
|
inline bool ClientToServerMessage::has_client_status() const {
|
|
return (_has_bits_[0] & 0x00000400u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_client_status() {
|
|
_has_bits_[0] |= 0x00000400u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_client_status() {
|
|
_has_bits_[0] &= ~0x00000400u;
|
|
}
|
|
inline void ClientToServerMessage::clear_client_status() {
|
|
if (client_status_ != NULL) client_status_->::sync_pb::ClientStatus::Clear();
|
|
clear_has_client_status();
|
|
}
|
|
inline const ::sync_pb::ClientStatus& ClientToServerMessage::client_status() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.client_status)
|
|
return client_status_ != NULL ? *client_status_
|
|
: *::sync_pb::ClientStatus::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ClientStatus* ClientToServerMessage::mutable_client_status() {
|
|
set_has_client_status();
|
|
if (client_status_ == NULL) {
|
|
client_status_ = new ::sync_pb::ClientStatus;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.client_status)
|
|
return client_status_;
|
|
}
|
|
inline ::sync_pb::ClientStatus* ClientToServerMessage::release_client_status() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.client_status)
|
|
clear_has_client_status();
|
|
::sync_pb::ClientStatus* temp = client_status_;
|
|
client_status_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_client_status(::sync_pb::ClientStatus* client_status) {
|
|
delete client_status_;
|
|
client_status_ = client_status;
|
|
if (client_status) {
|
|
set_has_client_status();
|
|
} else {
|
|
clear_has_client_status();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.client_status)
|
|
}
|
|
|
|
// optional string invalidator_client_id = 14;
|
|
inline bool ClientToServerMessage::has_invalidator_client_id() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_invalidator_client_id() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_invalidator_client_id() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void ClientToServerMessage::clear_invalidator_client_id() {
|
|
invalidator_client_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_invalidator_client_id();
|
|
}
|
|
inline const ::std::string& ClientToServerMessage::invalidator_client_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
return invalidator_client_id_.GetNoArena();
|
|
}
|
|
inline void ClientToServerMessage::set_invalidator_client_id(const ::std::string& value) {
|
|
set_has_invalidator_client_id();
|
|
invalidator_client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerMessage::set_invalidator_client_id(::std::string&& value) {
|
|
set_has_invalidator_client_id();
|
|
invalidator_client_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
}
|
|
#endif
|
|
inline void ClientToServerMessage::set_invalidator_client_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_invalidator_client_id();
|
|
invalidator_client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
}
|
|
inline void ClientToServerMessage::set_invalidator_client_id(const char* value, size_t size) {
|
|
set_has_invalidator_client_id();
|
|
invalidator_client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
}
|
|
inline ::std::string* ClientToServerMessage::mutable_invalidator_client_id() {
|
|
set_has_invalidator_client_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
return invalidator_client_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerMessage::release_invalidator_client_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
clear_has_invalidator_client_id();
|
|
return invalidator_client_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_invalidator_client_id(::std::string* invalidator_client_id) {
|
|
if (invalidator_client_id != NULL) {
|
|
set_has_invalidator_client_id();
|
|
} else {
|
|
clear_has_invalidator_client_id();
|
|
}
|
|
invalidator_client_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), invalidator_client_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.invalidator_client_id)
|
|
}
|
|
|
|
// optional .sync_pb.ClearServerDataMessage clear_server_data = 15;
|
|
inline bool ClientToServerMessage::has_clear_server_data() const {
|
|
return (_has_bits_[0] & 0x00000800u) != 0;
|
|
}
|
|
inline void ClientToServerMessage::set_has_clear_server_data() {
|
|
_has_bits_[0] |= 0x00000800u;
|
|
}
|
|
inline void ClientToServerMessage::clear_has_clear_server_data() {
|
|
_has_bits_[0] &= ~0x00000800u;
|
|
}
|
|
inline void ClientToServerMessage::clear_clear_server_data() {
|
|
if (clear_server_data_ != NULL) clear_server_data_->::sync_pb::ClearServerDataMessage::Clear();
|
|
clear_has_clear_server_data();
|
|
}
|
|
inline const ::sync_pb::ClearServerDataMessage& ClientToServerMessage::clear_server_data() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerMessage.clear_server_data)
|
|
return clear_server_data_ != NULL ? *clear_server_data_
|
|
: *::sync_pb::ClearServerDataMessage::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ClearServerDataMessage* ClientToServerMessage::mutable_clear_server_data() {
|
|
set_has_clear_server_data();
|
|
if (clear_server_data_ == NULL) {
|
|
clear_server_data_ = new ::sync_pb::ClearServerDataMessage;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerMessage.clear_server_data)
|
|
return clear_server_data_;
|
|
}
|
|
inline ::sync_pb::ClearServerDataMessage* ClientToServerMessage::release_clear_server_data() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerMessage.clear_server_data)
|
|
clear_has_clear_server_data();
|
|
::sync_pb::ClearServerDataMessage* temp = clear_server_data_;
|
|
clear_server_data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerMessage::set_allocated_clear_server_data(::sync_pb::ClearServerDataMessage* clear_server_data) {
|
|
delete clear_server_data_;
|
|
clear_server_data_ = clear_server_data;
|
|
if (clear_server_data) {
|
|
set_has_clear_server_data();
|
|
} else {
|
|
clear_has_clear_server_data();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerMessage.clear_server_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetCrashInfoRequest
|
|
|
|
// optional string crash_id = 1;
|
|
inline bool GetCrashInfoRequest::has_crash_id() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GetCrashInfoRequest::set_has_crash_id() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GetCrashInfoRequest::clear_has_crash_id() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GetCrashInfoRequest::clear_crash_id() {
|
|
crash_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_crash_id();
|
|
}
|
|
inline const ::std::string& GetCrashInfoRequest::crash_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetCrashInfoRequest.crash_id)
|
|
return crash_id_.GetNoArena();
|
|
}
|
|
inline void GetCrashInfoRequest::set_crash_id(const ::std::string& value) {
|
|
set_has_crash_id();
|
|
crash_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetCrashInfoRequest.crash_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void GetCrashInfoRequest::set_crash_id(::std::string&& value) {
|
|
set_has_crash_id();
|
|
crash_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.GetCrashInfoRequest.crash_id)
|
|
}
|
|
#endif
|
|
inline void GetCrashInfoRequest::set_crash_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_crash_id();
|
|
crash_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.GetCrashInfoRequest.crash_id)
|
|
}
|
|
inline void GetCrashInfoRequest::set_crash_id(const char* value, size_t size) {
|
|
set_has_crash_id();
|
|
crash_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.GetCrashInfoRequest.crash_id)
|
|
}
|
|
inline ::std::string* GetCrashInfoRequest::mutable_crash_id() {
|
|
set_has_crash_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetCrashInfoRequest.crash_id)
|
|
return crash_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* GetCrashInfoRequest::release_crash_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.GetCrashInfoRequest.crash_id)
|
|
clear_has_crash_id();
|
|
return crash_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void GetCrashInfoRequest::set_allocated_crash_id(::std::string* crash_id) {
|
|
if (crash_id != NULL) {
|
|
set_has_crash_id();
|
|
} else {
|
|
clear_has_crash_id();
|
|
}
|
|
crash_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), crash_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.GetCrashInfoRequest.crash_id)
|
|
}
|
|
|
|
// optional int64 crash_time_millis = 2;
|
|
inline bool GetCrashInfoRequest::has_crash_time_millis() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void GetCrashInfoRequest::set_has_crash_time_millis() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void GetCrashInfoRequest::clear_has_crash_time_millis() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void GetCrashInfoRequest::clear_crash_time_millis() {
|
|
crash_time_millis_ = GOOGLE_LONGLONG(0);
|
|
clear_has_crash_time_millis();
|
|
}
|
|
inline ::google::protobuf::int64 GetCrashInfoRequest::crash_time_millis() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetCrashInfoRequest.crash_time_millis)
|
|
return crash_time_millis_;
|
|
}
|
|
inline void GetCrashInfoRequest::set_crash_time_millis(::google::protobuf::int64 value) {
|
|
set_has_crash_time_millis();
|
|
crash_time_millis_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetCrashInfoRequest.crash_time_millis)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetCrashInfoResponse
|
|
|
|
// optional string stack_id = 1;
|
|
inline bool GetCrashInfoResponse::has_stack_id() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GetCrashInfoResponse::set_has_stack_id() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GetCrashInfoResponse::clear_has_stack_id() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GetCrashInfoResponse::clear_stack_id() {
|
|
stack_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_stack_id();
|
|
}
|
|
inline const ::std::string& GetCrashInfoResponse::stack_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetCrashInfoResponse.stack_id)
|
|
return stack_id_.GetNoArena();
|
|
}
|
|
inline void GetCrashInfoResponse::set_stack_id(const ::std::string& value) {
|
|
set_has_stack_id();
|
|
stack_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetCrashInfoResponse.stack_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void GetCrashInfoResponse::set_stack_id(::std::string&& value) {
|
|
set_has_stack_id();
|
|
stack_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.GetCrashInfoResponse.stack_id)
|
|
}
|
|
#endif
|
|
inline void GetCrashInfoResponse::set_stack_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_stack_id();
|
|
stack_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.GetCrashInfoResponse.stack_id)
|
|
}
|
|
inline void GetCrashInfoResponse::set_stack_id(const char* value, size_t size) {
|
|
set_has_stack_id();
|
|
stack_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.GetCrashInfoResponse.stack_id)
|
|
}
|
|
inline ::std::string* GetCrashInfoResponse::mutable_stack_id() {
|
|
set_has_stack_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetCrashInfoResponse.stack_id)
|
|
return stack_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* GetCrashInfoResponse::release_stack_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.GetCrashInfoResponse.stack_id)
|
|
clear_has_stack_id();
|
|
return stack_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void GetCrashInfoResponse::set_allocated_stack_id(::std::string* stack_id) {
|
|
if (stack_id != NULL) {
|
|
set_has_stack_id();
|
|
} else {
|
|
clear_has_stack_id();
|
|
}
|
|
stack_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stack_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.GetCrashInfoResponse.stack_id)
|
|
}
|
|
|
|
// optional int64 crash_time_millis = 2;
|
|
inline bool GetCrashInfoResponse::has_crash_time_millis() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void GetCrashInfoResponse::set_has_crash_time_millis() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void GetCrashInfoResponse::clear_has_crash_time_millis() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void GetCrashInfoResponse::clear_crash_time_millis() {
|
|
crash_time_millis_ = GOOGLE_LONGLONG(0);
|
|
clear_has_crash_time_millis();
|
|
}
|
|
inline ::google::protobuf::int64 GetCrashInfoResponse::crash_time_millis() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetCrashInfoResponse.crash_time_millis)
|
|
return crash_time_millis_;
|
|
}
|
|
inline void GetCrashInfoResponse::set_crash_time_millis(::google::protobuf::int64 value) {
|
|
set_has_crash_time_millis();
|
|
crash_time_millis_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetCrashInfoResponse.crash_time_millis)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CommitResponse_EntryResponse
|
|
|
|
// required .sync_pb.CommitResponse.ResponseType response_type = 2;
|
|
inline bool CommitResponse_EntryResponse::has_response_type() const {
|
|
return (_has_bits_[0] & 0x00000100u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_response_type() {
|
|
_has_bits_[0] |= 0x00000100u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_response_type() {
|
|
_has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_response_type() {
|
|
response_type_ = 1;
|
|
clear_has_response_type();
|
|
}
|
|
inline ::sync_pb::CommitResponse_ResponseType CommitResponse_EntryResponse::response_type() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.response_type)
|
|
return static_cast< ::sync_pb::CommitResponse_ResponseType >(response_type_);
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_response_type(::sync_pb::CommitResponse_ResponseType value) {
|
|
assert(::sync_pb::CommitResponse_ResponseType_IsValid(value));
|
|
set_has_response_type();
|
|
response_type_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.response_type)
|
|
}
|
|
|
|
// optional string id_string = 3;
|
|
inline bool CommitResponse_EntryResponse::has_id_string() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_id_string() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_id_string() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_id_string() {
|
|
id_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_id_string();
|
|
}
|
|
inline const ::std::string& CommitResponse_EntryResponse::id_string() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
return id_string_.GetNoArena();
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_id_string(const ::std::string& value) {
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitResponse_EntryResponse::set_id_string(::std::string&& value) {
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
}
|
|
#endif
|
|
inline void CommitResponse_EntryResponse::set_id_string(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_id_string(const char* value, size_t size) {
|
|
set_has_id_string();
|
|
id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::mutable_id_string() {
|
|
set_has_id_string();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
return id_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::release_id_string() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
clear_has_id_string();
|
|
return id_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_allocated_id_string(::std::string* id_string) {
|
|
if (id_string != NULL) {
|
|
set_has_id_string();
|
|
} else {
|
|
clear_has_id_string();
|
|
}
|
|
id_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id_string);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.id_string)
|
|
}
|
|
|
|
// optional string parent_id_string = 4;
|
|
inline bool CommitResponse_EntryResponse::has_parent_id_string() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_parent_id_string() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_parent_id_string() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_parent_id_string() {
|
|
parent_id_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_parent_id_string();
|
|
}
|
|
inline const ::std::string& CommitResponse_EntryResponse::parent_id_string() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
return parent_id_string_.GetNoArena();
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_parent_id_string(const ::std::string& value) {
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitResponse_EntryResponse::set_parent_id_string(::std::string&& value) {
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
}
|
|
#endif
|
|
inline void CommitResponse_EntryResponse::set_parent_id_string(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_parent_id_string(const char* value, size_t size) {
|
|
set_has_parent_id_string();
|
|
parent_id_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::mutable_parent_id_string() {
|
|
set_has_parent_id_string();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
return parent_id_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::release_parent_id_string() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
clear_has_parent_id_string();
|
|
return parent_id_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_allocated_parent_id_string(::std::string* parent_id_string) {
|
|
if (parent_id_string != NULL) {
|
|
set_has_parent_id_string();
|
|
} else {
|
|
clear_has_parent_id_string();
|
|
}
|
|
parent_id_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent_id_string);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.parent_id_string)
|
|
}
|
|
|
|
// optional int64 position_in_parent = 5;
|
|
inline bool CommitResponse_EntryResponse::has_position_in_parent() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_position_in_parent() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_position_in_parent() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_position_in_parent() {
|
|
position_in_parent_ = GOOGLE_LONGLONG(0);
|
|
clear_has_position_in_parent();
|
|
}
|
|
inline ::google::protobuf::int64 CommitResponse_EntryResponse::position_in_parent() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.position_in_parent)
|
|
return position_in_parent_;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_position_in_parent(::google::protobuf::int64 value) {
|
|
set_has_position_in_parent();
|
|
position_in_parent_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.position_in_parent)
|
|
}
|
|
|
|
// optional int64 version = 6;
|
|
inline bool CommitResponse_EntryResponse::has_version() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_version() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_version() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_version() {
|
|
version_ = GOOGLE_LONGLONG(0);
|
|
clear_has_version();
|
|
}
|
|
inline ::google::protobuf::int64 CommitResponse_EntryResponse::version() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.version)
|
|
return version_;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_version(::google::protobuf::int64 value) {
|
|
set_has_version();
|
|
version_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.version)
|
|
}
|
|
|
|
// optional string name = 7;
|
|
inline bool CommitResponse_EntryResponse::has_name() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_name() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_name() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_name() {
|
|
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_name();
|
|
}
|
|
inline const ::std::string& CommitResponse_EntryResponse::name() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.name)
|
|
return name_.GetNoArena();
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_name(const ::std::string& value) {
|
|
set_has_name();
|
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.name)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitResponse_EntryResponse::set_name(::std::string&& value) {
|
|
set_has_name();
|
|
name_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitResponse.EntryResponse.name)
|
|
}
|
|
#endif
|
|
inline void CommitResponse_EntryResponse::set_name(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_name();
|
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitResponse.EntryResponse.name)
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_name(const char* value, size_t size) {
|
|
set_has_name();
|
|
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitResponse.EntryResponse.name)
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::mutable_name() {
|
|
set_has_name();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitResponse.EntryResponse.name)
|
|
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::release_name() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitResponse.EntryResponse.name)
|
|
clear_has_name();
|
|
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_allocated_name(::std::string* name) {
|
|
if (name != NULL) {
|
|
set_has_name();
|
|
} else {
|
|
clear_has_name();
|
|
}
|
|
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.name)
|
|
}
|
|
|
|
// optional string non_unique_name = 8;
|
|
inline bool CommitResponse_EntryResponse::has_non_unique_name() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_non_unique_name() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_non_unique_name() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_non_unique_name() {
|
|
non_unique_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_non_unique_name();
|
|
}
|
|
inline const ::std::string& CommitResponse_EntryResponse::non_unique_name() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
return non_unique_name_.GetNoArena();
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_non_unique_name(const ::std::string& value) {
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitResponse_EntryResponse::set_non_unique_name(::std::string&& value) {
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
}
|
|
#endif
|
|
inline void CommitResponse_EntryResponse::set_non_unique_name(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_non_unique_name(const char* value, size_t size) {
|
|
set_has_non_unique_name();
|
|
non_unique_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::mutable_non_unique_name() {
|
|
set_has_non_unique_name();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
return non_unique_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::release_non_unique_name() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
clear_has_non_unique_name();
|
|
return non_unique_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_allocated_non_unique_name(::std::string* non_unique_name) {
|
|
if (non_unique_name != NULL) {
|
|
set_has_non_unique_name();
|
|
} else {
|
|
clear_has_non_unique_name();
|
|
}
|
|
non_unique_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), non_unique_name);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.non_unique_name)
|
|
}
|
|
|
|
// optional string error_message = 9;
|
|
inline bool CommitResponse_EntryResponse::has_error_message() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_error_message() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_error_message() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_error_message() {
|
|
error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_error_message();
|
|
}
|
|
inline const ::std::string& CommitResponse_EntryResponse::error_message() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
return error_message_.GetNoArena();
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_error_message(const ::std::string& value) {
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void CommitResponse_EntryResponse::set_error_message(::std::string&& value) {
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
}
|
|
#endif
|
|
inline void CommitResponse_EntryResponse::set_error_message(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_error_message(const char* value, size_t size) {
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::mutable_error_message() {
|
|
set_has_error_message();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
return error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* CommitResponse_EntryResponse::release_error_message() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
clear_has_error_message();
|
|
return error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_allocated_error_message(::std::string* error_message) {
|
|
if (error_message != NULL) {
|
|
set_has_error_message();
|
|
} else {
|
|
clear_has_error_message();
|
|
}
|
|
error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_message);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.error_message)
|
|
}
|
|
|
|
// optional int64 mtime = 10;
|
|
inline bool CommitResponse_EntryResponse::has_mtime() const {
|
|
return (_has_bits_[0] & 0x00000080u) != 0;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_has_mtime() {
|
|
_has_bits_[0] |= 0x00000080u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_has_mtime() {
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline void CommitResponse_EntryResponse::clear_mtime() {
|
|
mtime_ = GOOGLE_LONGLONG(0);
|
|
clear_has_mtime();
|
|
}
|
|
inline ::google::protobuf::int64 CommitResponse_EntryResponse::mtime() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.EntryResponse.mtime)
|
|
return mtime_;
|
|
}
|
|
inline void CommitResponse_EntryResponse::set_mtime(::google::protobuf::int64 value) {
|
|
set_has_mtime();
|
|
mtime_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.CommitResponse.EntryResponse.mtime)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// 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 {
|
|
// @@protoc_insertion_point(field_get:sync_pb.CommitResponse.entryresponse)
|
|
return entryresponse_.Get(index);
|
|
}
|
|
inline ::sync_pb::CommitResponse_EntryResponse* CommitResponse::mutable_entryresponse(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.CommitResponse.entryresponse)
|
|
return entryresponse_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::CommitResponse_EntryResponse* CommitResponse::add_entryresponse() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.CommitResponse.entryresponse)
|
|
return entryresponse_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >*
|
|
CommitResponse::mutable_entryresponse() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.CommitResponse.entryresponse)
|
|
return &entryresponse_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::CommitResponse_EntryResponse >&
|
|
CommitResponse::entryresponse() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.CommitResponse.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 {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.entries)
|
|
return entries_.Get(index);
|
|
}
|
|
inline ::sync_pb::SyncEntity* GetUpdatesResponse::mutable_entries(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesResponse.entries)
|
|
return entries_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::SyncEntity* GetUpdatesResponse::add_entries() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesResponse.entries)
|
|
return entries_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
|
|
GetUpdatesResponse::mutable_entries() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesResponse.entries)
|
|
return &entries_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
|
|
GetUpdatesResponse::entries() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesResponse.entries)
|
|
return entries_;
|
|
}
|
|
|
|
// optional int64 new_timestamp = 2;
|
|
inline bool GetUpdatesResponse::has_new_timestamp() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GetUpdatesResponse::set_has_new_timestamp() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GetUpdatesResponse::clear_has_new_timestamp() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GetUpdatesResponse::clear_new_timestamp() {
|
|
new_timestamp_ = GOOGLE_LONGLONG(0);
|
|
clear_has_new_timestamp();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdatesResponse::new_timestamp() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.new_timestamp)
|
|
return new_timestamp_;
|
|
}
|
|
inline void GetUpdatesResponse::set_new_timestamp(::google::protobuf::int64 value) {
|
|
set_has_new_timestamp();
|
|
new_timestamp_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesResponse.new_timestamp)
|
|
}
|
|
|
|
// optional int64 deprecated_newest_timestamp = 3;
|
|
inline bool GetUpdatesResponse::has_deprecated_newest_timestamp() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void GetUpdatesResponse::set_has_deprecated_newest_timestamp() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void GetUpdatesResponse::clear_has_deprecated_newest_timestamp() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void GetUpdatesResponse::clear_deprecated_newest_timestamp() {
|
|
deprecated_newest_timestamp_ = GOOGLE_LONGLONG(0);
|
|
clear_has_deprecated_newest_timestamp();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdatesResponse::deprecated_newest_timestamp() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.deprecated_newest_timestamp)
|
|
return deprecated_newest_timestamp_;
|
|
}
|
|
inline void GetUpdatesResponse::set_deprecated_newest_timestamp(::google::protobuf::int64 value) {
|
|
set_has_deprecated_newest_timestamp();
|
|
deprecated_newest_timestamp_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesResponse.deprecated_newest_timestamp)
|
|
}
|
|
|
|
// optional int64 changes_remaining = 4;
|
|
inline bool GetUpdatesResponse::has_changes_remaining() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void GetUpdatesResponse::set_has_changes_remaining() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void GetUpdatesResponse::clear_has_changes_remaining() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void GetUpdatesResponse::clear_changes_remaining() {
|
|
changes_remaining_ = GOOGLE_LONGLONG(0);
|
|
clear_has_changes_remaining();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdatesResponse::changes_remaining() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.changes_remaining)
|
|
return changes_remaining_;
|
|
}
|
|
inline void GetUpdatesResponse::set_changes_remaining(::google::protobuf::int64 value) {
|
|
set_has_changes_remaining();
|
|
changes_remaining_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesResponse.changes_remaining)
|
|
}
|
|
|
|
// 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 {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.new_progress_marker)
|
|
return new_progress_marker_.Get(index);
|
|
}
|
|
inline ::sync_pb::DataTypeProgressMarker* GetUpdatesResponse::mutable_new_progress_marker(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesResponse.new_progress_marker)
|
|
return new_progress_marker_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DataTypeProgressMarker* GetUpdatesResponse::add_new_progress_marker() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesResponse.new_progress_marker)
|
|
return new_progress_marker_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
|
|
GetUpdatesResponse::mutable_new_progress_marker() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesResponse.new_progress_marker)
|
|
return &new_progress_marker_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
|
|
GetUpdatesResponse::new_progress_marker() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesResponse.new_progress_marker)
|
|
return new_progress_marker_;
|
|
}
|
|
|
|
// repeated bytes encryption_keys = 6;
|
|
inline int GetUpdatesResponse::encryption_keys_size() const {
|
|
return encryption_keys_.size();
|
|
}
|
|
inline void GetUpdatesResponse::clear_encryption_keys() {
|
|
encryption_keys_.Clear();
|
|
}
|
|
inline const ::std::string& GetUpdatesResponse::encryption_keys(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
return encryption_keys_.Get(index);
|
|
}
|
|
inline ::std::string* GetUpdatesResponse::mutable_encryption_keys(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
return encryption_keys_.Mutable(index);
|
|
}
|
|
inline void GetUpdatesResponse::set_encryption_keys(int index, const ::std::string& value) {
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
encryption_keys_.Mutable(index)->assign(value);
|
|
}
|
|
#if LANG_CXX11
|
|
inline void GetUpdatesResponse::set_encryption_keys(int index, ::std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
encryption_keys_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
#endif
|
|
inline void GetUpdatesResponse::set_encryption_keys(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
encryption_keys_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
}
|
|
inline void GetUpdatesResponse::set_encryption_keys(int index, const void* value, size_t size) {
|
|
encryption_keys_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
}
|
|
inline ::std::string* GetUpdatesResponse::add_encryption_keys() {
|
|
// @@protoc_insertion_point(field_add_mutable:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
return encryption_keys_.Add();
|
|
}
|
|
inline void GetUpdatesResponse::add_encryption_keys(const ::std::string& value) {
|
|
encryption_keys_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void GetUpdatesResponse::add_encryption_keys(::std::string&& value) {
|
|
encryption_keys_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
}
|
|
#endif
|
|
inline void GetUpdatesResponse::add_encryption_keys(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
encryption_keys_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
}
|
|
inline void GetUpdatesResponse::add_encryption_keys(const void* value, size_t size) {
|
|
encryption_keys_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
|
GetUpdatesResponse::encryption_keys() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
return encryption_keys_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
|
GetUpdatesResponse::mutable_encryption_keys() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesResponse.encryption_keys)
|
|
return &encryption_keys_;
|
|
}
|
|
|
|
// repeated .sync_pb.DataTypeContext context_mutations = 7;
|
|
inline int GetUpdatesResponse::context_mutations_size() const {
|
|
return context_mutations_.size();
|
|
}
|
|
inline void GetUpdatesResponse::clear_context_mutations() {
|
|
context_mutations_.Clear();
|
|
}
|
|
inline const ::sync_pb::DataTypeContext& GetUpdatesResponse::context_mutations(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesResponse.context_mutations)
|
|
return context_mutations_.Get(index);
|
|
}
|
|
inline ::sync_pb::DataTypeContext* GetUpdatesResponse::mutable_context_mutations(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesResponse.context_mutations)
|
|
return context_mutations_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DataTypeContext* GetUpdatesResponse::add_context_mutations() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesResponse.context_mutations)
|
|
return context_mutations_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >*
|
|
GetUpdatesResponse::mutable_context_mutations() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesResponse.context_mutations)
|
|
return &context_mutations_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeContext >&
|
|
GetUpdatesResponse::context_mutations() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesResponse.context_mutations)
|
|
return context_mutations_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetUpdatesMetadataResponse
|
|
|
|
// optional int64 changes_remaining = 1;
|
|
inline bool GetUpdatesMetadataResponse::has_changes_remaining() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void GetUpdatesMetadataResponse::set_has_changes_remaining() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void GetUpdatesMetadataResponse::clear_has_changes_remaining() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void GetUpdatesMetadataResponse::clear_changes_remaining() {
|
|
changes_remaining_ = GOOGLE_LONGLONG(0);
|
|
clear_has_changes_remaining();
|
|
}
|
|
inline ::google::protobuf::int64 GetUpdatesMetadataResponse::changes_remaining() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMetadataResponse.changes_remaining)
|
|
return changes_remaining_;
|
|
}
|
|
inline void GetUpdatesMetadataResponse::set_changes_remaining(::google::protobuf::int64 value) {
|
|
set_has_changes_remaining();
|
|
changes_remaining_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.GetUpdatesMetadataResponse.changes_remaining)
|
|
}
|
|
|
|
// repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 2;
|
|
inline int GetUpdatesMetadataResponse::new_progress_marker_size() const {
|
|
return new_progress_marker_.size();
|
|
}
|
|
inline void GetUpdatesMetadataResponse::clear_new_progress_marker() {
|
|
new_progress_marker_.Clear();
|
|
}
|
|
inline const ::sync_pb::DataTypeProgressMarker& GetUpdatesMetadataResponse::new_progress_marker(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesMetadataResponse.new_progress_marker)
|
|
return new_progress_marker_.Get(index);
|
|
}
|
|
inline ::sync_pb::DataTypeProgressMarker* GetUpdatesMetadataResponse::mutable_new_progress_marker(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesMetadataResponse.new_progress_marker)
|
|
return new_progress_marker_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::DataTypeProgressMarker* GetUpdatesMetadataResponse::add_new_progress_marker() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesMetadataResponse.new_progress_marker)
|
|
return new_progress_marker_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >*
|
|
GetUpdatesMetadataResponse::mutable_new_progress_marker() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesMetadataResponse.new_progress_marker)
|
|
return &new_progress_marker_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::DataTypeProgressMarker >&
|
|
GetUpdatesMetadataResponse::new_progress_marker() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesMetadataResponse.new_progress_marker)
|
|
return new_progress_marker_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetUpdatesStreamingResponse
|
|
|
|
// repeated .sync_pb.SyncEntity entries = 1;
|
|
inline int GetUpdatesStreamingResponse::entries_size() const {
|
|
return entries_.size();
|
|
}
|
|
inline void GetUpdatesStreamingResponse::clear_entries() {
|
|
entries_.Clear();
|
|
}
|
|
inline const ::sync_pb::SyncEntity& GetUpdatesStreamingResponse::entries(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.GetUpdatesStreamingResponse.entries)
|
|
return entries_.Get(index);
|
|
}
|
|
inline ::sync_pb::SyncEntity* GetUpdatesStreamingResponse::mutable_entries(int index) {
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.GetUpdatesStreamingResponse.entries)
|
|
return entries_.Mutable(index);
|
|
}
|
|
inline ::sync_pb::SyncEntity* GetUpdatesStreamingResponse::add_entries() {
|
|
// @@protoc_insertion_point(field_add:sync_pb.GetUpdatesStreamingResponse.entries)
|
|
return entries_.Add();
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >*
|
|
GetUpdatesStreamingResponse::mutable_entries() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.GetUpdatesStreamingResponse.entries)
|
|
return &entries_;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SyncEntity >&
|
|
GetUpdatesStreamingResponse::entries() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.GetUpdatesStreamingResponse.entries)
|
|
return entries_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UserIdentification
|
|
|
|
// required string email = 1;
|
|
inline bool UserIdentification::has_email() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void UserIdentification::set_has_email() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void UserIdentification::clear_has_email() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void UserIdentification::clear_email() {
|
|
email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_email();
|
|
}
|
|
inline const ::std::string& UserIdentification::email() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.UserIdentification.email)
|
|
return email_.GetNoArena();
|
|
}
|
|
inline void UserIdentification::set_email(const ::std::string& value) {
|
|
set_has_email();
|
|
email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.UserIdentification.email)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void UserIdentification::set_email(::std::string&& value) {
|
|
set_has_email();
|
|
email_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.UserIdentification.email)
|
|
}
|
|
#endif
|
|
inline void UserIdentification::set_email(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_email();
|
|
email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.UserIdentification.email)
|
|
}
|
|
inline void UserIdentification::set_email(const char* value, size_t size) {
|
|
set_has_email();
|
|
email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.UserIdentification.email)
|
|
}
|
|
inline ::std::string* UserIdentification::mutable_email() {
|
|
set_has_email();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.UserIdentification.email)
|
|
return email_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* UserIdentification::release_email() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.UserIdentification.email)
|
|
clear_has_email();
|
|
return email_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void UserIdentification::set_allocated_email(::std::string* email) {
|
|
if (email != NULL) {
|
|
set_has_email();
|
|
} else {
|
|
clear_has_email();
|
|
}
|
|
email_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), email);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.UserIdentification.email)
|
|
}
|
|
|
|
// optional string display_name = 2;
|
|
inline bool UserIdentification::has_display_name() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void UserIdentification::set_has_display_name() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void UserIdentification::clear_has_display_name() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void UserIdentification::clear_display_name() {
|
|
display_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_display_name();
|
|
}
|
|
inline const ::std::string& UserIdentification::display_name() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.UserIdentification.display_name)
|
|
return display_name_.GetNoArena();
|
|
}
|
|
inline void UserIdentification::set_display_name(const ::std::string& value) {
|
|
set_has_display_name();
|
|
display_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.UserIdentification.display_name)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void UserIdentification::set_display_name(::std::string&& value) {
|
|
set_has_display_name();
|
|
display_name_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.UserIdentification.display_name)
|
|
}
|
|
#endif
|
|
inline void UserIdentification::set_display_name(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_display_name();
|
|
display_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.UserIdentification.display_name)
|
|
}
|
|
inline void UserIdentification::set_display_name(const char* value, size_t size) {
|
|
set_has_display_name();
|
|
display_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.UserIdentification.display_name)
|
|
}
|
|
inline ::std::string* UserIdentification::mutable_display_name() {
|
|
set_has_display_name();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.UserIdentification.display_name)
|
|
return display_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* UserIdentification::release_display_name() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.UserIdentification.display_name)
|
|
clear_has_display_name();
|
|
return display_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void UserIdentification::set_allocated_display_name(::std::string* display_name) {
|
|
if (display_name != NULL) {
|
|
set_has_display_name();
|
|
} else {
|
|
clear_has_display_name();
|
|
}
|
|
display_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), display_name);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.UserIdentification.display_name)
|
|
}
|
|
|
|
// optional string obfuscated_id = 3;
|
|
inline bool UserIdentification::has_obfuscated_id() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void UserIdentification::set_has_obfuscated_id() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void UserIdentification::clear_has_obfuscated_id() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void UserIdentification::clear_obfuscated_id() {
|
|
obfuscated_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_obfuscated_id();
|
|
}
|
|
inline const ::std::string& UserIdentification::obfuscated_id() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.UserIdentification.obfuscated_id)
|
|
return obfuscated_id_.GetNoArena();
|
|
}
|
|
inline void UserIdentification::set_obfuscated_id(const ::std::string& value) {
|
|
set_has_obfuscated_id();
|
|
obfuscated_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.UserIdentification.obfuscated_id)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void UserIdentification::set_obfuscated_id(::std::string&& value) {
|
|
set_has_obfuscated_id();
|
|
obfuscated_id_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.UserIdentification.obfuscated_id)
|
|
}
|
|
#endif
|
|
inline void UserIdentification::set_obfuscated_id(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_obfuscated_id();
|
|
obfuscated_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.UserIdentification.obfuscated_id)
|
|
}
|
|
inline void UserIdentification::set_obfuscated_id(const char* value, size_t size) {
|
|
set_has_obfuscated_id();
|
|
obfuscated_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.UserIdentification.obfuscated_id)
|
|
}
|
|
inline ::std::string* UserIdentification::mutable_obfuscated_id() {
|
|
set_has_obfuscated_id();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.UserIdentification.obfuscated_id)
|
|
return obfuscated_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* UserIdentification::release_obfuscated_id() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.UserIdentification.obfuscated_id)
|
|
clear_has_obfuscated_id();
|
|
return obfuscated_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void UserIdentification::set_allocated_obfuscated_id(::std::string* obfuscated_id) {
|
|
if (obfuscated_id != NULL) {
|
|
set_has_obfuscated_id();
|
|
} else {
|
|
clear_has_obfuscated_id();
|
|
}
|
|
obfuscated_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obfuscated_id);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.UserIdentification.obfuscated_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AuthenticateResponse
|
|
|
|
// optional .sync_pb.UserIdentification user = 1;
|
|
inline bool AuthenticateResponse::has_user() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void AuthenticateResponse::set_has_user() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void AuthenticateResponse::clear_has_user() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void AuthenticateResponse::clear_user() {
|
|
if (user_ != NULL) user_->::sync_pb::UserIdentification::Clear();
|
|
clear_has_user();
|
|
}
|
|
inline const ::sync_pb::UserIdentification& AuthenticateResponse::user() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.AuthenticateResponse.user)
|
|
return user_ != NULL ? *user_
|
|
: *::sync_pb::UserIdentification::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::UserIdentification* AuthenticateResponse::mutable_user() {
|
|
set_has_user();
|
|
if (user_ == NULL) {
|
|
user_ = new ::sync_pb::UserIdentification;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.AuthenticateResponse.user)
|
|
return user_;
|
|
}
|
|
inline ::sync_pb::UserIdentification* AuthenticateResponse::release_user() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.AuthenticateResponse.user)
|
|
clear_has_user();
|
|
::sync_pb::UserIdentification* temp = user_;
|
|
user_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void AuthenticateResponse::set_allocated_user(::sync_pb::UserIdentification* user) {
|
|
delete user_;
|
|
user_ = user;
|
|
if (user) {
|
|
set_has_user();
|
|
} else {
|
|
clear_has_user();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.AuthenticateResponse.user)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClientToServerResponse_Error
|
|
|
|
// optional .sync_pb.SyncEnums.ErrorType error_type = 1 [default = UNKNOWN];
|
|
inline bool ClientToServerResponse_Error::has_error_type() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void ClientToServerResponse_Error::set_has_error_type() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_has_error_type() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_error_type() {
|
|
error_type_ = 100;
|
|
clear_has_error_type();
|
|
}
|
|
inline ::sync_pb::SyncEnums_ErrorType ClientToServerResponse_Error::error_type() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.Error.error_type)
|
|
return static_cast< ::sync_pb::SyncEnums_ErrorType >(error_type_);
|
|
}
|
|
inline void ClientToServerResponse_Error::set_error_type(::sync_pb::SyncEnums_ErrorType value) {
|
|
assert(::sync_pb::SyncEnums_ErrorType_IsValid(value));
|
|
set_has_error_type();
|
|
error_type_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.Error.error_type)
|
|
}
|
|
|
|
// optional string error_description = 2;
|
|
inline bool ClientToServerResponse_Error::has_error_description() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ClientToServerResponse_Error::set_has_error_description() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_has_error_description() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_error_description() {
|
|
error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_error_description();
|
|
}
|
|
inline const ::std::string& ClientToServerResponse_Error::error_description() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.Error.error_description)
|
|
return error_description_.GetNoArena();
|
|
}
|
|
inline void ClientToServerResponse_Error::set_error_description(const ::std::string& value) {
|
|
set_has_error_description();
|
|
error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.Error.error_description)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerResponse_Error::set_error_description(::std::string&& value) {
|
|
set_has_error_description();
|
|
error_description_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerResponse.Error.error_description)
|
|
}
|
|
#endif
|
|
inline void ClientToServerResponse_Error::set_error_description(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_error_description();
|
|
error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerResponse.Error.error_description)
|
|
}
|
|
inline void ClientToServerResponse_Error::set_error_description(const char* value, size_t size) {
|
|
set_has_error_description();
|
|
error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerResponse.Error.error_description)
|
|
}
|
|
inline ::std::string* ClientToServerResponse_Error::mutable_error_description() {
|
|
set_has_error_description();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.Error.error_description)
|
|
return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerResponse_Error::release_error_description() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.Error.error_description)
|
|
clear_has_error_description();
|
|
return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerResponse_Error::set_allocated_error_description(::std::string* error_description) {
|
|
if (error_description != NULL) {
|
|
set_has_error_description();
|
|
} else {
|
|
clear_has_error_description();
|
|
}
|
|
error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.Error.error_description)
|
|
}
|
|
|
|
// optional string url = 3;
|
|
inline bool ClientToServerResponse_Error::has_url() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void ClientToServerResponse_Error::set_has_url() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_has_url() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_url() {
|
|
url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_url();
|
|
}
|
|
inline const ::std::string& ClientToServerResponse_Error::url() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.Error.url)
|
|
return url_.GetNoArena();
|
|
}
|
|
inline void ClientToServerResponse_Error::set_url(const ::std::string& value) {
|
|
set_has_url();
|
|
url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.Error.url)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerResponse_Error::set_url(::std::string&& value) {
|
|
set_has_url();
|
|
url_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerResponse.Error.url)
|
|
}
|
|
#endif
|
|
inline void ClientToServerResponse_Error::set_url(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_url();
|
|
url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerResponse.Error.url)
|
|
}
|
|
inline void ClientToServerResponse_Error::set_url(const char* value, size_t size) {
|
|
set_has_url();
|
|
url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerResponse.Error.url)
|
|
}
|
|
inline ::std::string* ClientToServerResponse_Error::mutable_url() {
|
|
set_has_url();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.Error.url)
|
|
return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerResponse_Error::release_url() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.Error.url)
|
|
clear_has_url();
|
|
return url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerResponse_Error::set_allocated_url(::std::string* url) {
|
|
if (url != NULL) {
|
|
set_has_url();
|
|
} else {
|
|
clear_has_url();
|
|
}
|
|
url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.Error.url)
|
|
}
|
|
|
|
// optional .sync_pb.SyncEnums.Action action = 4 [default = UNKNOWN_ACTION];
|
|
inline bool ClientToServerResponse_Error::has_action() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void ClientToServerResponse_Error::set_has_action() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_has_action() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_action() {
|
|
action_ = 5;
|
|
clear_has_action();
|
|
}
|
|
inline ::sync_pb::SyncEnums_Action ClientToServerResponse_Error::action() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.Error.action)
|
|
return static_cast< ::sync_pb::SyncEnums_Action >(action_);
|
|
}
|
|
inline void ClientToServerResponse_Error::set_action(::sync_pb::SyncEnums_Action value) {
|
|
assert(::sync_pb::SyncEnums_Action_IsValid(value));
|
|
set_has_action();
|
|
action_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.Error.action)
|
|
}
|
|
|
|
// repeated int32 error_data_type_ids = 5;
|
|
inline int ClientToServerResponse_Error::error_data_type_ids_size() const {
|
|
return error_data_type_ids_.size();
|
|
}
|
|
inline void ClientToServerResponse_Error::clear_error_data_type_ids() {
|
|
error_data_type_ids_.Clear();
|
|
}
|
|
inline ::google::protobuf::int32 ClientToServerResponse_Error::error_data_type_ids(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.Error.error_data_type_ids)
|
|
return error_data_type_ids_.Get(index);
|
|
}
|
|
inline void ClientToServerResponse_Error::set_error_data_type_ids(int index, ::google::protobuf::int32 value) {
|
|
error_data_type_ids_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.Error.error_data_type_ids)
|
|
}
|
|
inline void ClientToServerResponse_Error::add_error_data_type_ids(::google::protobuf::int32 value) {
|
|
error_data_type_ids_.Add(value);
|
|
// @@protoc_insertion_point(field_add:sync_pb.ClientToServerResponse.Error.error_data_type_ids)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
ClientToServerResponse_Error::error_data_type_ids() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.ClientToServerResponse.Error.error_data_type_ids)
|
|
return error_data_type_ids_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
ClientToServerResponse_Error::mutable_error_data_type_ids() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.ClientToServerResponse.Error.error_data_type_ids)
|
|
return &error_data_type_ids_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ClientToServerResponse
|
|
|
|
// optional .sync_pb.CommitResponse commit = 1;
|
|
inline bool ClientToServerResponse::has_commit() const {
|
|
return (_has_bits_[0] & 0x00000004u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_commit() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_commit() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline void ClientToServerResponse::clear_commit() {
|
|
if (commit_ != NULL) commit_->::sync_pb::CommitResponse::Clear();
|
|
clear_has_commit();
|
|
}
|
|
inline const ::sync_pb::CommitResponse& ClientToServerResponse::commit() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.commit)
|
|
return commit_ != NULL ? *commit_
|
|
: *::sync_pb::CommitResponse::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::CommitResponse* ClientToServerResponse::mutable_commit() {
|
|
set_has_commit();
|
|
if (commit_ == NULL) {
|
|
commit_ = new ::sync_pb::CommitResponse;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.commit)
|
|
return commit_;
|
|
}
|
|
inline ::sync_pb::CommitResponse* ClientToServerResponse::release_commit() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.commit)
|
|
clear_has_commit();
|
|
::sync_pb::CommitResponse* temp = commit_;
|
|
commit_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_commit(::sync_pb::CommitResponse* commit) {
|
|
delete commit_;
|
|
commit_ = commit;
|
|
if (commit) {
|
|
set_has_commit();
|
|
} else {
|
|
clear_has_commit();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.commit)
|
|
}
|
|
|
|
// optional .sync_pb.GetUpdatesResponse get_updates = 2;
|
|
inline bool ClientToServerResponse::has_get_updates() const {
|
|
return (_has_bits_[0] & 0x00000008u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_get_updates() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_get_updates() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline void ClientToServerResponse::clear_get_updates() {
|
|
if (get_updates_ != NULL) get_updates_->::sync_pb::GetUpdatesResponse::Clear();
|
|
clear_has_get_updates();
|
|
}
|
|
inline const ::sync_pb::GetUpdatesResponse& ClientToServerResponse::get_updates() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.get_updates)
|
|
return get_updates_ != NULL ? *get_updates_
|
|
: *::sync_pb::GetUpdatesResponse::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GetUpdatesResponse* ClientToServerResponse::mutable_get_updates() {
|
|
set_has_get_updates();
|
|
if (get_updates_ == NULL) {
|
|
get_updates_ = new ::sync_pb::GetUpdatesResponse;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.get_updates)
|
|
return get_updates_;
|
|
}
|
|
inline ::sync_pb::GetUpdatesResponse* ClientToServerResponse::release_get_updates() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.get_updates)
|
|
clear_has_get_updates();
|
|
::sync_pb::GetUpdatesResponse* temp = get_updates_;
|
|
get_updates_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_get_updates(::sync_pb::GetUpdatesResponse* get_updates) {
|
|
delete get_updates_;
|
|
get_updates_ = get_updates;
|
|
if (get_updates) {
|
|
set_has_get_updates();
|
|
} else {
|
|
clear_has_get_updates();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.get_updates)
|
|
}
|
|
|
|
// optional .sync_pb.AuthenticateResponse authenticate = 3;
|
|
inline bool ClientToServerResponse::has_authenticate() const {
|
|
return (_has_bits_[0] & 0x00000010u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_authenticate() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_authenticate() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline void ClientToServerResponse::clear_authenticate() {
|
|
if (authenticate_ != NULL) authenticate_->::sync_pb::AuthenticateResponse::Clear();
|
|
clear_has_authenticate();
|
|
}
|
|
inline const ::sync_pb::AuthenticateResponse& ClientToServerResponse::authenticate() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.authenticate)
|
|
return authenticate_ != NULL ? *authenticate_
|
|
: *::sync_pb::AuthenticateResponse::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::AuthenticateResponse* ClientToServerResponse::mutable_authenticate() {
|
|
set_has_authenticate();
|
|
if (authenticate_ == NULL) {
|
|
authenticate_ = new ::sync_pb::AuthenticateResponse;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.authenticate)
|
|
return authenticate_;
|
|
}
|
|
inline ::sync_pb::AuthenticateResponse* ClientToServerResponse::release_authenticate() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.authenticate)
|
|
clear_has_authenticate();
|
|
::sync_pb::AuthenticateResponse* temp = authenticate_;
|
|
authenticate_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_authenticate(::sync_pb::AuthenticateResponse* authenticate) {
|
|
delete authenticate_;
|
|
authenticate_ = authenticate;
|
|
if (authenticate) {
|
|
set_has_authenticate();
|
|
} else {
|
|
clear_has_authenticate();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.authenticate)
|
|
}
|
|
|
|
// optional .sync_pb.SyncEnums.ErrorType error_code = 4 [default = UNKNOWN];
|
|
inline bool ClientToServerResponse::has_error_code() const {
|
|
return (_has_bits_[0] & 0x00002000u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_error_code() {
|
|
_has_bits_[0] |= 0x00002000u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_error_code() {
|
|
_has_bits_[0] &= ~0x00002000u;
|
|
}
|
|
inline void ClientToServerResponse::clear_error_code() {
|
|
error_code_ = 100;
|
|
clear_has_error_code();
|
|
}
|
|
inline ::sync_pb::SyncEnums_ErrorType ClientToServerResponse::error_code() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.error_code)
|
|
return static_cast< ::sync_pb::SyncEnums_ErrorType >(error_code_);
|
|
}
|
|
inline void ClientToServerResponse::set_error_code(::sync_pb::SyncEnums_ErrorType value) {
|
|
assert(::sync_pb::SyncEnums_ErrorType_IsValid(value));
|
|
set_has_error_code();
|
|
error_code_ = value;
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.error_code)
|
|
}
|
|
|
|
// optional string error_message = 5;
|
|
inline bool ClientToServerResponse::has_error_message() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_error_message() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_error_message() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void ClientToServerResponse::clear_error_message() {
|
|
error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_error_message();
|
|
}
|
|
inline const ::std::string& ClientToServerResponse::error_message() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.error_message)
|
|
return error_message_.GetNoArena();
|
|
}
|
|
inline void ClientToServerResponse::set_error_message(const ::std::string& value) {
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.error_message)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerResponse::set_error_message(::std::string&& value) {
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerResponse.error_message)
|
|
}
|
|
#endif
|
|
inline void ClientToServerResponse::set_error_message(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerResponse.error_message)
|
|
}
|
|
inline void ClientToServerResponse::set_error_message(const char* value, size_t size) {
|
|
set_has_error_message();
|
|
error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerResponse.error_message)
|
|
}
|
|
inline ::std::string* ClientToServerResponse::mutable_error_message() {
|
|
set_has_error_message();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.error_message)
|
|
return error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerResponse::release_error_message() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.error_message)
|
|
clear_has_error_message();
|
|
return error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_error_message(::std::string* error_message) {
|
|
if (error_message != NULL) {
|
|
set_has_error_message();
|
|
} else {
|
|
clear_has_error_message();
|
|
}
|
|
error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_message);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.error_message)
|
|
}
|
|
|
|
// optional string store_birthday = 6;
|
|
inline bool ClientToServerResponse::has_store_birthday() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_store_birthday() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_store_birthday() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void ClientToServerResponse::clear_store_birthday() {
|
|
store_birthday_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_store_birthday();
|
|
}
|
|
inline const ::std::string& ClientToServerResponse::store_birthday() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.store_birthday)
|
|
return store_birthday_.GetNoArena();
|
|
}
|
|
inline void ClientToServerResponse::set_store_birthday(const ::std::string& value) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.store_birthday)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void ClientToServerResponse::set_store_birthday(::std::string&& value) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.ClientToServerResponse.store_birthday)
|
|
}
|
|
#endif
|
|
inline void ClientToServerResponse::set_store_birthday(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.ClientToServerResponse.store_birthday)
|
|
}
|
|
inline void ClientToServerResponse::set_store_birthday(const char* value, size_t size) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.ClientToServerResponse.store_birthday)
|
|
}
|
|
inline ::std::string* ClientToServerResponse::mutable_store_birthday() {
|
|
set_has_store_birthday();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.store_birthday)
|
|
return store_birthday_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* ClientToServerResponse::release_store_birthday() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.store_birthday)
|
|
clear_has_store_birthday();
|
|
return store_birthday_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_store_birthday(::std::string* store_birthday) {
|
|
if (store_birthday != NULL) {
|
|
set_has_store_birthday();
|
|
} else {
|
|
clear_has_store_birthday();
|
|
}
|
|
store_birthday_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), store_birthday);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.store_birthday)
|
|
}
|
|
|
|
// optional .sync_pb.ClientCommand client_command = 7;
|
|
inline bool ClientToServerResponse::has_client_command() const {
|
|
return (_has_bits_[0] & 0x00000020u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_client_command() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_client_command() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline void ClientToServerResponse::clear_client_command() {
|
|
if (client_command_ != NULL) client_command_->::sync_pb::ClientCommand::Clear();
|
|
clear_has_client_command();
|
|
}
|
|
inline const ::sync_pb::ClientCommand& ClientToServerResponse::client_command() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.client_command)
|
|
return client_command_ != NULL ? *client_command_
|
|
: *::sync_pb::ClientCommand::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ClientCommand* ClientToServerResponse::mutable_client_command() {
|
|
set_has_client_command();
|
|
if (client_command_ == NULL) {
|
|
client_command_ = new ::sync_pb::ClientCommand;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.client_command)
|
|
return client_command_;
|
|
}
|
|
inline ::sync_pb::ClientCommand* ClientToServerResponse::release_client_command() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.client_command)
|
|
clear_has_client_command();
|
|
::sync_pb::ClientCommand* temp = client_command_;
|
|
client_command_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_client_command(::sync_pb::ClientCommand* client_command) {
|
|
delete client_command_;
|
|
client_command_ = client_command;
|
|
if (client_command) {
|
|
set_has_client_command();
|
|
} else {
|
|
clear_has_client_command();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.client_command)
|
|
}
|
|
|
|
// optional .sync_pb.ProfilingData profiling_data = 8;
|
|
inline bool ClientToServerResponse::has_profiling_data() const {
|
|
return (_has_bits_[0] & 0x00000040u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_profiling_data() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_profiling_data() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline void ClientToServerResponse::clear_profiling_data() {
|
|
if (profiling_data_ != NULL) profiling_data_->::sync_pb::ProfilingData::Clear();
|
|
clear_has_profiling_data();
|
|
}
|
|
inline const ::sync_pb::ProfilingData& ClientToServerResponse::profiling_data() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.profiling_data)
|
|
return profiling_data_ != NULL ? *profiling_data_
|
|
: *::sync_pb::ProfilingData::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ProfilingData* ClientToServerResponse::mutable_profiling_data() {
|
|
set_has_profiling_data();
|
|
if (profiling_data_ == NULL) {
|
|
profiling_data_ = new ::sync_pb::ProfilingData;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.profiling_data)
|
|
return profiling_data_;
|
|
}
|
|
inline ::sync_pb::ProfilingData* ClientToServerResponse::release_profiling_data() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.profiling_data)
|
|
clear_has_profiling_data();
|
|
::sync_pb::ProfilingData* temp = profiling_data_;
|
|
profiling_data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_profiling_data(::sync_pb::ProfilingData* profiling_data) {
|
|
delete profiling_data_;
|
|
profiling_data_ = profiling_data;
|
|
if (profiling_data) {
|
|
set_has_profiling_data();
|
|
} else {
|
|
clear_has_profiling_data();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.profiling_data)
|
|
}
|
|
|
|
// optional .sync_pb.DeprecatedMessage deprecated_field_9 = 9 [deprecated = true];
|
|
inline bool ClientToServerResponse::has_deprecated_field_9() const {
|
|
return (_has_bits_[0] & 0x00000080u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_deprecated_field_9() {
|
|
_has_bits_[0] |= 0x00000080u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_deprecated_field_9() {
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline void ClientToServerResponse::clear_deprecated_field_9() {
|
|
if (deprecated_field_9_ != NULL) deprecated_field_9_->::sync_pb::DeprecatedMessage::Clear();
|
|
clear_has_deprecated_field_9();
|
|
}
|
|
inline const ::sync_pb::DeprecatedMessage& ClientToServerResponse::deprecated_field_9() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.deprecated_field_9)
|
|
return deprecated_field_9_ != NULL ? *deprecated_field_9_
|
|
: *::sync_pb::DeprecatedMessage::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::DeprecatedMessage* ClientToServerResponse::mutable_deprecated_field_9() {
|
|
set_has_deprecated_field_9();
|
|
if (deprecated_field_9_ == NULL) {
|
|
deprecated_field_9_ = new ::sync_pb::DeprecatedMessage;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.deprecated_field_9)
|
|
return deprecated_field_9_;
|
|
}
|
|
inline ::sync_pb::DeprecatedMessage* ClientToServerResponse::release_deprecated_field_9() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.deprecated_field_9)
|
|
clear_has_deprecated_field_9();
|
|
::sync_pb::DeprecatedMessage* temp = deprecated_field_9_;
|
|
deprecated_field_9_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_deprecated_field_9(::sync_pb::DeprecatedMessage* deprecated_field_9) {
|
|
delete deprecated_field_9_;
|
|
deprecated_field_9_ = deprecated_field_9;
|
|
if (deprecated_field_9) {
|
|
set_has_deprecated_field_9();
|
|
} else {
|
|
clear_has_deprecated_field_9();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.deprecated_field_9)
|
|
}
|
|
|
|
// optional .sync_pb.GetUpdatesMetadataResponse stream_metadata = 10;
|
|
inline bool ClientToServerResponse::has_stream_metadata() const {
|
|
return (_has_bits_[0] & 0x00000100u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_stream_metadata() {
|
|
_has_bits_[0] |= 0x00000100u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_stream_metadata() {
|
|
_has_bits_[0] &= ~0x00000100u;
|
|
}
|
|
inline void ClientToServerResponse::clear_stream_metadata() {
|
|
if (stream_metadata_ != NULL) stream_metadata_->::sync_pb::GetUpdatesMetadataResponse::Clear();
|
|
clear_has_stream_metadata();
|
|
}
|
|
inline const ::sync_pb::GetUpdatesMetadataResponse& ClientToServerResponse::stream_metadata() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.stream_metadata)
|
|
return stream_metadata_ != NULL ? *stream_metadata_
|
|
: *::sync_pb::GetUpdatesMetadataResponse::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GetUpdatesMetadataResponse* ClientToServerResponse::mutable_stream_metadata() {
|
|
set_has_stream_metadata();
|
|
if (stream_metadata_ == NULL) {
|
|
stream_metadata_ = new ::sync_pb::GetUpdatesMetadataResponse;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.stream_metadata)
|
|
return stream_metadata_;
|
|
}
|
|
inline ::sync_pb::GetUpdatesMetadataResponse* ClientToServerResponse::release_stream_metadata() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.stream_metadata)
|
|
clear_has_stream_metadata();
|
|
::sync_pb::GetUpdatesMetadataResponse* temp = stream_metadata_;
|
|
stream_metadata_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_stream_metadata(::sync_pb::GetUpdatesMetadataResponse* stream_metadata) {
|
|
delete stream_metadata_;
|
|
stream_metadata_ = stream_metadata;
|
|
if (stream_metadata) {
|
|
set_has_stream_metadata();
|
|
} else {
|
|
clear_has_stream_metadata();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.stream_metadata)
|
|
}
|
|
|
|
// optional .sync_pb.GetUpdatesStreamingResponse stream_data = 11;
|
|
inline bool ClientToServerResponse::has_stream_data() const {
|
|
return (_has_bits_[0] & 0x00000200u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_stream_data() {
|
|
_has_bits_[0] |= 0x00000200u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_stream_data() {
|
|
_has_bits_[0] &= ~0x00000200u;
|
|
}
|
|
inline void ClientToServerResponse::clear_stream_data() {
|
|
if (stream_data_ != NULL) stream_data_->::sync_pb::GetUpdatesStreamingResponse::Clear();
|
|
clear_has_stream_data();
|
|
}
|
|
inline const ::sync_pb::GetUpdatesStreamingResponse& ClientToServerResponse::stream_data() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.stream_data)
|
|
return stream_data_ != NULL ? *stream_data_
|
|
: *::sync_pb::GetUpdatesStreamingResponse::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::GetUpdatesStreamingResponse* ClientToServerResponse::mutable_stream_data() {
|
|
set_has_stream_data();
|
|
if (stream_data_ == NULL) {
|
|
stream_data_ = new ::sync_pb::GetUpdatesStreamingResponse;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.stream_data)
|
|
return stream_data_;
|
|
}
|
|
inline ::sync_pb::GetUpdatesStreamingResponse* ClientToServerResponse::release_stream_data() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.stream_data)
|
|
clear_has_stream_data();
|
|
::sync_pb::GetUpdatesStreamingResponse* temp = stream_data_;
|
|
stream_data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_stream_data(::sync_pb::GetUpdatesStreamingResponse* stream_data) {
|
|
delete stream_data_;
|
|
stream_data_ = stream_data;
|
|
if (stream_data) {
|
|
set_has_stream_data();
|
|
} else {
|
|
clear_has_stream_data();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.stream_data)
|
|
}
|
|
|
|
// repeated int32 migrated_data_type_id = 12;
|
|
inline int ClientToServerResponse::migrated_data_type_id_size() const {
|
|
return migrated_data_type_id_.size();
|
|
}
|
|
inline void ClientToServerResponse::clear_migrated_data_type_id() {
|
|
migrated_data_type_id_.Clear();
|
|
}
|
|
inline ::google::protobuf::int32 ClientToServerResponse::migrated_data_type_id(int index) const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.migrated_data_type_id)
|
|
return migrated_data_type_id_.Get(index);
|
|
}
|
|
inline void ClientToServerResponse::set_migrated_data_type_id(int index, ::google::protobuf::int32 value) {
|
|
migrated_data_type_id_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.ClientToServerResponse.migrated_data_type_id)
|
|
}
|
|
inline void ClientToServerResponse::add_migrated_data_type_id(::google::protobuf::int32 value) {
|
|
migrated_data_type_id_.Add(value);
|
|
// @@protoc_insertion_point(field_add:sync_pb.ClientToServerResponse.migrated_data_type_id)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
ClientToServerResponse::migrated_data_type_id() const {
|
|
// @@protoc_insertion_point(field_list:sync_pb.ClientToServerResponse.migrated_data_type_id)
|
|
return migrated_data_type_id_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
ClientToServerResponse::mutable_migrated_data_type_id() {
|
|
// @@protoc_insertion_point(field_mutable_list:sync_pb.ClientToServerResponse.migrated_data_type_id)
|
|
return &migrated_data_type_id_;
|
|
}
|
|
|
|
// optional .sync_pb.ClientToServerResponse.Error error = 13;
|
|
inline bool ClientToServerResponse::has_error() const {
|
|
return (_has_bits_[0] & 0x00000400u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_error() {
|
|
_has_bits_[0] |= 0x00000400u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_error() {
|
|
_has_bits_[0] &= ~0x00000400u;
|
|
}
|
|
inline void ClientToServerResponse::clear_error() {
|
|
if (error_ != NULL) error_->::sync_pb::ClientToServerResponse_Error::Clear();
|
|
clear_has_error();
|
|
}
|
|
inline const ::sync_pb::ClientToServerResponse_Error& ClientToServerResponse::error() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.error)
|
|
return error_ != NULL ? *error_
|
|
: *::sync_pb::ClientToServerResponse_Error::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ClientToServerResponse_Error* ClientToServerResponse::mutable_error() {
|
|
set_has_error();
|
|
if (error_ == NULL) {
|
|
error_ = new ::sync_pb::ClientToServerResponse_Error;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.error)
|
|
return error_;
|
|
}
|
|
inline ::sync_pb::ClientToServerResponse_Error* ClientToServerResponse::release_error() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.error)
|
|
clear_has_error();
|
|
::sync_pb::ClientToServerResponse_Error* temp = error_;
|
|
error_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_error(::sync_pb::ClientToServerResponse_Error* error) {
|
|
delete error_;
|
|
error_ = error;
|
|
if (error) {
|
|
set_has_error();
|
|
} else {
|
|
clear_has_error();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.error)
|
|
}
|
|
|
|
// optional .sync_pb.ChipBag new_bag_of_chips = 14;
|
|
inline bool ClientToServerResponse::has_new_bag_of_chips() const {
|
|
return (_has_bits_[0] & 0x00000800u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_new_bag_of_chips() {
|
|
_has_bits_[0] |= 0x00000800u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_new_bag_of_chips() {
|
|
_has_bits_[0] &= ~0x00000800u;
|
|
}
|
|
inline void ClientToServerResponse::clear_new_bag_of_chips() {
|
|
if (new_bag_of_chips_ != NULL) new_bag_of_chips_->::sync_pb::ChipBag::Clear();
|
|
clear_has_new_bag_of_chips();
|
|
}
|
|
inline const ::sync_pb::ChipBag& ClientToServerResponse::new_bag_of_chips() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.new_bag_of_chips)
|
|
return new_bag_of_chips_ != NULL ? *new_bag_of_chips_
|
|
: *::sync_pb::ChipBag::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ChipBag* ClientToServerResponse::mutable_new_bag_of_chips() {
|
|
set_has_new_bag_of_chips();
|
|
if (new_bag_of_chips_ == NULL) {
|
|
new_bag_of_chips_ = new ::sync_pb::ChipBag;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.new_bag_of_chips)
|
|
return new_bag_of_chips_;
|
|
}
|
|
inline ::sync_pb::ChipBag* ClientToServerResponse::release_new_bag_of_chips() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.new_bag_of_chips)
|
|
clear_has_new_bag_of_chips();
|
|
::sync_pb::ChipBag* temp = new_bag_of_chips_;
|
|
new_bag_of_chips_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_new_bag_of_chips(::sync_pb::ChipBag* new_bag_of_chips) {
|
|
delete new_bag_of_chips_;
|
|
new_bag_of_chips_ = new_bag_of_chips;
|
|
if (new_bag_of_chips) {
|
|
set_has_new_bag_of_chips();
|
|
} else {
|
|
clear_has_new_bag_of_chips();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.new_bag_of_chips)
|
|
}
|
|
|
|
// optional .sync_pb.ClearServerDataResponse clear_server_data = 15;
|
|
inline bool ClientToServerResponse::has_clear_server_data() const {
|
|
return (_has_bits_[0] & 0x00001000u) != 0;
|
|
}
|
|
inline void ClientToServerResponse::set_has_clear_server_data() {
|
|
_has_bits_[0] |= 0x00001000u;
|
|
}
|
|
inline void ClientToServerResponse::clear_has_clear_server_data() {
|
|
_has_bits_[0] &= ~0x00001000u;
|
|
}
|
|
inline void ClientToServerResponse::clear_clear_server_data() {
|
|
if (clear_server_data_ != NULL) clear_server_data_->::sync_pb::ClearServerDataResponse::Clear();
|
|
clear_has_clear_server_data();
|
|
}
|
|
inline const ::sync_pb::ClearServerDataResponse& ClientToServerResponse::clear_server_data() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.ClientToServerResponse.clear_server_data)
|
|
return clear_server_data_ != NULL ? *clear_server_data_
|
|
: *::sync_pb::ClearServerDataResponse::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::ClearServerDataResponse* ClientToServerResponse::mutable_clear_server_data() {
|
|
set_has_clear_server_data();
|
|
if (clear_server_data_ == NULL) {
|
|
clear_server_data_ = new ::sync_pb::ClearServerDataResponse;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.ClientToServerResponse.clear_server_data)
|
|
return clear_server_data_;
|
|
}
|
|
inline ::sync_pb::ClearServerDataResponse* ClientToServerResponse::release_clear_server_data() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.ClientToServerResponse.clear_server_data)
|
|
clear_has_clear_server_data();
|
|
::sync_pb::ClearServerDataResponse* temp = clear_server_data_;
|
|
clear_server_data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void ClientToServerResponse::set_allocated_clear_server_data(::sync_pb::ClearServerDataResponse* clear_server_data) {
|
|
delete clear_server_data_;
|
|
clear_server_data_ = clear_server_data;
|
|
if (clear_server_data) {
|
|
set_has_clear_server_data();
|
|
} else {
|
|
clear_has_clear_server_data();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.ClientToServerResponse.clear_server_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// EventRequest
|
|
|
|
// optional .sync_pb.SyncDisabledEvent sync_disabled = 1;
|
|
inline bool EventRequest::has_sync_disabled() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void EventRequest::set_has_sync_disabled() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void EventRequest::clear_has_sync_disabled() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void EventRequest::clear_sync_disabled() {
|
|
if (sync_disabled_ != NULL) sync_disabled_->::sync_pb::SyncDisabledEvent::Clear();
|
|
clear_has_sync_disabled();
|
|
}
|
|
inline const ::sync_pb::SyncDisabledEvent& EventRequest::sync_disabled() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.EventRequest.sync_disabled)
|
|
return sync_disabled_ != NULL ? *sync_disabled_
|
|
: *::sync_pb::SyncDisabledEvent::internal_default_instance();
|
|
}
|
|
inline ::sync_pb::SyncDisabledEvent* EventRequest::mutable_sync_disabled() {
|
|
set_has_sync_disabled();
|
|
if (sync_disabled_ == NULL) {
|
|
sync_disabled_ = new ::sync_pb::SyncDisabledEvent;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.EventRequest.sync_disabled)
|
|
return sync_disabled_;
|
|
}
|
|
inline ::sync_pb::SyncDisabledEvent* EventRequest::release_sync_disabled() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.EventRequest.sync_disabled)
|
|
clear_has_sync_disabled();
|
|
::sync_pb::SyncDisabledEvent* temp = sync_disabled_;
|
|
sync_disabled_ = NULL;
|
|
return temp;
|
|
}
|
|
inline void EventRequest::set_allocated_sync_disabled(::sync_pb::SyncDisabledEvent* sync_disabled) {
|
|
delete sync_disabled_;
|
|
sync_disabled_ = sync_disabled;
|
|
if (sync_disabled) {
|
|
set_has_sync_disabled();
|
|
} else {
|
|
clear_has_sync_disabled();
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.EventRequest.sync_disabled)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// EventResponse
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SyncDisabledEvent
|
|
|
|
// optional string cache_guid = 1;
|
|
inline bool SyncDisabledEvent::has_cache_guid() const {
|
|
return (_has_bits_[0] & 0x00000001u) != 0;
|
|
}
|
|
inline void SyncDisabledEvent::set_has_cache_guid() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
}
|
|
inline void SyncDisabledEvent::clear_has_cache_guid() {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline void SyncDisabledEvent::clear_cache_guid() {
|
|
cache_guid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_cache_guid();
|
|
}
|
|
inline const ::std::string& SyncDisabledEvent::cache_guid() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncDisabledEvent.cache_guid)
|
|
return cache_guid_.GetNoArena();
|
|
}
|
|
inline void SyncDisabledEvent::set_cache_guid(const ::std::string& value) {
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncDisabledEvent.cache_guid)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncDisabledEvent::set_cache_guid(::std::string&& value) {
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncDisabledEvent.cache_guid)
|
|
}
|
|
#endif
|
|
inline void SyncDisabledEvent::set_cache_guid(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncDisabledEvent.cache_guid)
|
|
}
|
|
inline void SyncDisabledEvent::set_cache_guid(const char* value, size_t size) {
|
|
set_has_cache_guid();
|
|
cache_guid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncDisabledEvent.cache_guid)
|
|
}
|
|
inline ::std::string* SyncDisabledEvent::mutable_cache_guid() {
|
|
set_has_cache_guid();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncDisabledEvent.cache_guid)
|
|
return cache_guid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncDisabledEvent::release_cache_guid() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncDisabledEvent.cache_guid)
|
|
clear_has_cache_guid();
|
|
return cache_guid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncDisabledEvent::set_allocated_cache_guid(::std::string* cache_guid) {
|
|
if (cache_guid != NULL) {
|
|
set_has_cache_guid();
|
|
} else {
|
|
clear_has_cache_guid();
|
|
}
|
|
cache_guid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cache_guid);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncDisabledEvent.cache_guid)
|
|
}
|
|
|
|
// optional string store_birthday = 2;
|
|
inline bool SyncDisabledEvent::has_store_birthday() const {
|
|
return (_has_bits_[0] & 0x00000002u) != 0;
|
|
}
|
|
inline void SyncDisabledEvent::set_has_store_birthday() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
}
|
|
inline void SyncDisabledEvent::clear_has_store_birthday() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline void SyncDisabledEvent::clear_store_birthday() {
|
|
store_birthday_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
clear_has_store_birthday();
|
|
}
|
|
inline const ::std::string& SyncDisabledEvent::store_birthday() const {
|
|
// @@protoc_insertion_point(field_get:sync_pb.SyncDisabledEvent.store_birthday)
|
|
return store_birthday_.GetNoArena();
|
|
}
|
|
inline void SyncDisabledEvent::set_store_birthday(const ::std::string& value) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:sync_pb.SyncDisabledEvent.store_birthday)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void SyncDisabledEvent::set_store_birthday(::std::string&& value) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:sync_pb.SyncDisabledEvent.store_birthday)
|
|
}
|
|
#endif
|
|
inline void SyncDisabledEvent::set_store_birthday(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:sync_pb.SyncDisabledEvent.store_birthday)
|
|
}
|
|
inline void SyncDisabledEvent::set_store_birthday(const char* value, size_t size) {
|
|
set_has_store_birthday();
|
|
store_birthday_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:sync_pb.SyncDisabledEvent.store_birthday)
|
|
}
|
|
inline ::std::string* SyncDisabledEvent::mutable_store_birthday() {
|
|
set_has_store_birthday();
|
|
// @@protoc_insertion_point(field_mutable:sync_pb.SyncDisabledEvent.store_birthday)
|
|
return store_birthday_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* SyncDisabledEvent::release_store_birthday() {
|
|
// @@protoc_insertion_point(field_release:sync_pb.SyncDisabledEvent.store_birthday)
|
|
clear_has_store_birthday();
|
|
return store_birthday_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void SyncDisabledEvent::set_allocated_store_birthday(::std::string* store_birthday) {
|
|
if (store_birthday != NULL) {
|
|
set_has_store_birthday();
|
|
} else {
|
|
clear_has_store_birthday();
|
|
}
|
|
store_birthday_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), store_birthday);
|
|
// @@protoc_insertion_point(field_set_allocated:sync_pb.SyncDisabledEvent.store_birthday)
|
|
}
|
|
|
|
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
|
|
} // namespace sync_pb
|
|
|
|
#ifndef SWIG
|
|
namespace google {
|
|
namespace protobuf {
|
|
|
|
template <> struct is_proto_enum< ::sync_pb::GarbageCollectionDirective_Type> : ::google::protobuf::internal::true_type {};
|
|
template <> struct is_proto_enum< ::sync_pb::ClientToServerMessage_Contents> : ::google::protobuf::internal::true_type {};
|
|
template <> struct is_proto_enum< ::sync_pb::CommitResponse_ResponseType> : ::google::protobuf::internal::true_type {};
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
#endif // SWIG
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#endif // PROTOBUF_sync_2eproto__INCLUDED
|