// Generated by the protocol buffer compiler. DO NOT EDIT! // source: sync_enums.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "sync_enums.pb.h" #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace sync_pb { class SyncEnumsDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed { } _SyncEnums_default_instance_; namespace protobuf_sync_5fenums_2eproto { PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField const TableStruct::entries[] = { {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0}, }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField const TableStruct::aux[] = { ::google::protobuf::internal::AuxillaryParseTableField(), }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const TableStruct::schema[] = { { NULL, NULL, 0, -1, -1, false }, }; void TableStruct::Shutdown() { _SyncEnums_default_instance_.Shutdown(); } void TableStruct::InitDefaultsImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::internal::InitProtobufDefaults(); _SyncEnums_default_instance_.DefaultConstruct(); } void InitDefaults() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl); } void AddDescriptorsImpl() { InitDefaults(); ::google::protobuf::internal::OnShutdown(&TableStruct::Shutdown); } void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } } // namespace protobuf_sync_5fenums_2eproto bool SyncEnums_SingletonDebugEventType_IsValid(int value) { switch (value) { case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_SingletonDebugEventType SyncEnums::CONNECTION_STATUS_CHANGE; const SyncEnums_SingletonDebugEventType SyncEnums::UPDATED_TOKEN; const SyncEnums_SingletonDebugEventType SyncEnums::PASSPHRASE_REQUIRED; const SyncEnums_SingletonDebugEventType SyncEnums::PASSPHRASE_ACCEPTED; const SyncEnums_SingletonDebugEventType SyncEnums::INITIALIZATION_COMPLETE; const SyncEnums_SingletonDebugEventType SyncEnums::STOP_SYNCING_PERMANENTLY; const SyncEnums_SingletonDebugEventType SyncEnums::ENCRYPTION_COMPLETE; const SyncEnums_SingletonDebugEventType SyncEnums::ACTIONABLE_ERROR; const SyncEnums_SingletonDebugEventType SyncEnums::ENCRYPTED_TYPES_CHANGED; const SyncEnums_SingletonDebugEventType SyncEnums::PASSPHRASE_TYPE_CHANGED; const SyncEnums_SingletonDebugEventType SyncEnums::KEYSTORE_TOKEN_UPDATED; const SyncEnums_SingletonDebugEventType SyncEnums::CONFIGURE_COMPLETE; const SyncEnums_SingletonDebugEventType SyncEnums::BOOTSTRAP_TOKEN_UPDATED; const SyncEnums_SingletonDebugEventType SyncEnums::SingletonDebugEventType_MIN; const SyncEnums_SingletonDebugEventType SyncEnums::SingletonDebugEventType_MAX; const int SyncEnums::SingletonDebugEventType_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 bool SyncEnums_PageTransition_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_PageTransition SyncEnums::LINK; const SyncEnums_PageTransition SyncEnums::TYPED; const SyncEnums_PageTransition SyncEnums::AUTO_BOOKMARK; const SyncEnums_PageTransition SyncEnums::AUTO_SUBFRAME; const SyncEnums_PageTransition SyncEnums::MANUAL_SUBFRAME; const SyncEnums_PageTransition SyncEnums::GENERATED; const SyncEnums_PageTransition SyncEnums::AUTO_TOPLEVEL; const SyncEnums_PageTransition SyncEnums::FORM_SUBMIT; const SyncEnums_PageTransition SyncEnums::RELOAD; const SyncEnums_PageTransition SyncEnums::KEYWORD; const SyncEnums_PageTransition SyncEnums::KEYWORD_GENERATED; const SyncEnums_PageTransition SyncEnums::PageTransition_MIN; const SyncEnums_PageTransition SyncEnums::PageTransition_MAX; const int SyncEnums::PageTransition_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 bool SyncEnums_PageTransitionRedirectType_IsValid(int value) { switch (value) { case 1: case 2: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_PageTransitionRedirectType SyncEnums::CLIENT_REDIRECT; const SyncEnums_PageTransitionRedirectType SyncEnums::SERVER_REDIRECT; const SyncEnums_PageTransitionRedirectType SyncEnums::PageTransitionRedirectType_MIN; const SyncEnums_PageTransitionRedirectType SyncEnums::PageTransitionRedirectType_MAX; const int SyncEnums::PageTransitionRedirectType_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 bool SyncEnums_ErrorType_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 100: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_ErrorType SyncEnums::SUCCESS; const SyncEnums_ErrorType SyncEnums::DEPRECATED_ACCESS_DENIED; const SyncEnums_ErrorType SyncEnums::NOT_MY_BIRTHDAY; const SyncEnums_ErrorType SyncEnums::THROTTLED; const SyncEnums_ErrorType SyncEnums::DEPRECATED_AUTH_EXPIRED; const SyncEnums_ErrorType SyncEnums::DEPRECATED_USER_NOT_ACTIVATED; const SyncEnums_ErrorType SyncEnums::DEPRECATED_AUTH_INVALID; const SyncEnums_ErrorType SyncEnums::CLEAR_PENDING; const SyncEnums_ErrorType SyncEnums::TRANSIENT_ERROR; const SyncEnums_ErrorType SyncEnums::MIGRATION_DONE; const SyncEnums_ErrorType SyncEnums::DISABLED_BY_ADMIN; const SyncEnums_ErrorType SyncEnums::DEPRECATED_USER_ROLLBACK; const SyncEnums_ErrorType SyncEnums::PARTIAL_FAILURE; const SyncEnums_ErrorType SyncEnums::CLIENT_DATA_OBSOLETE; const SyncEnums_ErrorType SyncEnums::UNKNOWN; const SyncEnums_ErrorType SyncEnums::ErrorType_MIN; const SyncEnums_ErrorType SyncEnums::ErrorType_MAX; const int SyncEnums::ErrorType_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 bool SyncEnums_Action_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_Action SyncEnums::UPGRADE_CLIENT; const SyncEnums_Action SyncEnums::CLEAR_USER_DATA_AND_RESYNC; const SyncEnums_Action SyncEnums::ENABLE_SYNC_ON_ACCOUNT; const SyncEnums_Action SyncEnums::STOP_AND_RESTART_SYNC; const SyncEnums_Action SyncEnums::DISABLE_SYNC_ON_CLIENT; const SyncEnums_Action SyncEnums::UNKNOWN_ACTION; const SyncEnums_Action SyncEnums::Action_MIN; const SyncEnums_Action SyncEnums::Action_MAX; const int SyncEnums::Action_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 bool SyncEnums_DeviceType_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_DeviceType SyncEnums::TYPE_UNSET; const SyncEnums_DeviceType SyncEnums::TYPE_WIN; const SyncEnums_DeviceType SyncEnums::TYPE_MAC; const SyncEnums_DeviceType SyncEnums::TYPE_LINUX; const SyncEnums_DeviceType SyncEnums::TYPE_CROS; const SyncEnums_DeviceType SyncEnums::TYPE_OTHER; const SyncEnums_DeviceType SyncEnums::TYPE_PHONE; const SyncEnums_DeviceType SyncEnums::TYPE_TABLET; const SyncEnums_DeviceType SyncEnums::DeviceType_MIN; const SyncEnums_DeviceType SyncEnums::DeviceType_MAX; const int SyncEnums::DeviceType_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 bool SyncEnums_GetUpdatesOrigin_IsValid(int value) { switch (value) { case 0: case 4: case 7: case 8: case 9: case 10: case 12: case 13: case 14: return true; default: return false; } } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const SyncEnums_GetUpdatesOrigin SyncEnums::UNKNOWN_ORIGIN; const SyncEnums_GetUpdatesOrigin SyncEnums::PERIODIC; const SyncEnums_GetUpdatesOrigin SyncEnums::NEWLY_SUPPORTED_DATATYPE; const SyncEnums_GetUpdatesOrigin SyncEnums::MIGRATION; const SyncEnums_GetUpdatesOrigin SyncEnums::NEW_CLIENT; const SyncEnums_GetUpdatesOrigin SyncEnums::RECONFIGURATION; const SyncEnums_GetUpdatesOrigin SyncEnums::GU_TRIGGER; const SyncEnums_GetUpdatesOrigin SyncEnums::RETRY; const SyncEnums_GetUpdatesOrigin SyncEnums::PROGRAMMATIC; const SyncEnums_GetUpdatesOrigin SyncEnums::GetUpdatesOrigin_MIN; const SyncEnums_GetUpdatesOrigin SyncEnums::GetUpdatesOrigin_MAX; const int SyncEnums::GetUpdatesOrigin_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 SyncEnums::SyncEnums() : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_sync_5fenums_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:sync_pb.SyncEnums) } SyncEnums::SyncEnums(const SyncEnums& from) : ::google::protobuf::MessageLite(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:sync_pb.SyncEnums) } void SyncEnums::SharedCtor() { _cached_size_ = 0; } SyncEnums::~SyncEnums() { // @@protoc_insertion_point(destructor:sync_pb.SyncEnums) SharedDtor(); } void SyncEnums::SharedDtor() { } void SyncEnums::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const SyncEnums& SyncEnums::default_instance() { protobuf_sync_5fenums_2eproto::InitDefaults(); return *internal_default_instance(); } SyncEnums* SyncEnums::New(::google::protobuf::Arena* arena) const { SyncEnums* n = new SyncEnums; if (arena != NULL) { arena->Own(n); } return n; } void SyncEnums::Clear() { // @@protoc_insertion_point(message_clear_start:sync_pb.SyncEnums) _has_bits_.Clear(); _internal_metadata_.Clear(); } bool SyncEnums::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::LazyStringOutputStream unknown_fields_string( ::google::protobuf::NewPermanentCallback(&_internal_metadata_, &::google::protobuf::internal::InternalMetadataWithArenaLite:: mutable_unknown_fields)); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string, false); // @@protoc_insertion_point(parse_start:sync_pb.SyncEnums) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); } success: // @@protoc_insertion_point(parse_success:sync_pb.SyncEnums) return true; failure: // @@protoc_insertion_point(parse_failure:sync_pb.SyncEnums) return false; #undef DO_ } void SyncEnums::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:sync_pb.SyncEnums) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; output->WriteRaw(unknown_fields().data(), static_cast(unknown_fields().size())); // @@protoc_insertion_point(serialize_end:sync_pb.SyncEnums) } size_t SyncEnums::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:sync_pb.SyncEnums) size_t total_size = 0; total_size += unknown_fields().size(); int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void SyncEnums::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { MergeFrom(*::google::protobuf::down_cast(&from)); } void SyncEnums::MergeFrom(const SyncEnums& from) { // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SyncEnums) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; } void SyncEnums::CopyFrom(const SyncEnums& from) { // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.SyncEnums) if (&from == this) return; Clear(); MergeFrom(from); } bool SyncEnums::IsInitialized() const { return true; } void SyncEnums::Swap(SyncEnums* other) { if (other == this) return; InternalSwap(other); } void SyncEnums::InternalSwap(SyncEnums* other) { std::swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); std::swap(_cached_size_, other->_cached_size_); } ::std::string SyncEnums::GetTypeName() const { return "sync_pb.SyncEnums"; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // SyncEnums #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace sync_pb // @@protoc_insertion_point(global_scope)