| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: chrome_device_policy.proto |
| |
| #include "chrome_device_policy.pb.h" |
| |
| #include <algorithm> |
| |
| #include <google/protobuf/stubs/common.h> |
| #include <google/protobuf/stubs/port.h> |
| #include <google/protobuf/io/coded_stream.h> |
| #include <google/protobuf/wire_format_lite_inl.h> |
| #include <google/protobuf/io/zero_copy_stream_impl_lite.h> |
| // This is a temporary google only hack |
| #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
| #include "third_party/protobuf/version.h" |
| #endif |
| // @@protoc_insertion_point(includes) |
| |
| namespace protobuf_chrome_5fdevice_5fpolicy_2eproto { |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AccessibilitySettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AllowBluetoothProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AllowKioskAppControlChromeVersionProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AllowNewUsersProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AllowRedeemChromeOsRegistrationOffersProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AndroidKioskAppInfoProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AttestationSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AutoCleanupSettigsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AutoUpdateSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CameraEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CastReceiverNameProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DataRoamingEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceAdvancedBatteryChargeModeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceAuthDataCacheLifetimeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceBatteryChargeModeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceBootOnAcProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceDisplayResolutionProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceDockMacAddressSourceProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceEcryptfsMigrationStrategyProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceGpoCacheLifetimeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceHeartbeatSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceKerberosEncryptionTypesProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLogUploadSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenAutoSelectCertificateForUrls; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenExtensionsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenIsolateOriginsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenSitePerProcessProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceMachinePasswordChangeRateProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersAccessModeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersBlacklistProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersWhitelistProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceOpenNetworkConfigurationProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DevicePolicyRefreshRateProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DevicePowerPeakShiftProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DevicePowerwashAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceQuirksDownloadEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceRebootOnUserSignoutProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceReportingProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceScheduledUpdateCheckProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceSecondFactorAuthenticationProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceUnaffiliatedCrostiniAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceUsbPowerShareProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceUserPolicyLoopbackProcessingModeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWallpaperImageProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWebUsbAllowDevicesForUrlsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWiFiAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWiFiFastTransitionEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWilcoDtcAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWilcoDtcConfigurationProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DisplayRotationDefaultProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EphemeralUsersEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExtensionCacheSizeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_GuestModeEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_KioskAppInfoProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LoginAuthenticationBehaviorProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenDomainAutoCompleteProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenInputMethodsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenLocalesProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenPowerManagementProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LoginVideoCaptureAllowedUrlsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_MetricsEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_MinimumRequiredVersionProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NetworkHostnameProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NetworkThrottlingEnabledProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_AppPackEntryProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_DeviceProxySettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_ForcedLogoutTimeoutsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_PinnedAppsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_ScreenSaverProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_StartUpUrlsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PluginVmAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PluginVmLicenseKeyProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RebootOnShutdownProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ReleaseChannelProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SAMLSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SamlLoginAuthenticationTypeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ShowUserNamesOnSigninProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_StartUpFlagsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SupervisedUsersSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SystemSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SystemTimezoneProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SystemUse24HourClockProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TPMFirmwareUpdateSettingsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UnaffiliatedArcAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UptimeLimitProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UsbDeviceIdProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UserWhitelistProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_VariationsParameterProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_VirtualMachinesAllowedProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WeeklyTimeProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DeviceLocalAccountsProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DeviceOffHoursProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_OBSOLETE_AppPackProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_UsbDetachableWhitelistProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WeeklyTimeIntervalProto; |
| extern PROTOBUF_INTERNAL_EXPORT_protobuf_chrome_5fdevice_5fpolicy_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_DeviceLocalAccountInfoProto; |
| } // namespace protobuf_chrome_5fdevice_5fpolicy_2eproto |
| namespace enterprise_management { |
| class DevicePolicyRefreshRateProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DevicePolicyRefreshRateProto> |
| _instance; |
| } _DevicePolicyRefreshRateProto_default_instance_; |
| class UserWhitelistProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<UserWhitelistProto> |
| _instance; |
| } _UserWhitelistProto_default_instance_; |
| class AllowNewUsersProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AllowNewUsersProto> |
| _instance; |
| } _AllowNewUsersProto_default_instance_; |
| class GuestModeEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<GuestModeEnabledProto> |
| _instance; |
| } _GuestModeEnabledProto_default_instance_; |
| class ShowUserNamesOnSigninProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<ShowUserNamesOnSigninProto> |
| _instance; |
| } _ShowUserNamesOnSigninProto_default_instance_; |
| class DataRoamingEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DataRoamingEnabledProto> |
| _instance; |
| } _DataRoamingEnabledProto_default_instance_; |
| class OBSOLETE_DeviceProxySettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_DeviceProxySettingsProto> |
| _instance; |
| } _OBSOLETE_DeviceProxySettingsProto_default_instance_; |
| class CameraEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<CameraEnabledProto> |
| _instance; |
| } _CameraEnabledProto_default_instance_; |
| class MetricsEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<MetricsEnabledProto> |
| _instance; |
| } _MetricsEnabledProto_default_instance_; |
| class ReleaseChannelProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<ReleaseChannelProto> |
| _instance; |
| } _ReleaseChannelProto_default_instance_; |
| class DeviceOpenNetworkConfigurationProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceOpenNetworkConfigurationProto> |
| _instance; |
| } _DeviceOpenNetworkConfigurationProto_default_instance_; |
| class NetworkHostnameProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<NetworkHostnameProto> |
| _instance; |
| } _NetworkHostnameProto_default_instance_; |
| class DeviceReportingProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceReportingProto> |
| _instance; |
| } _DeviceReportingProto_default_instance_; |
| class EphemeralUsersEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<EphemeralUsersEnabledProto> |
| _instance; |
| } _EphemeralUsersEnabledProto_default_instance_; |
| class OBSOLETE_AppPackEntryProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_AppPackEntryProto> |
| _instance; |
| } _OBSOLETE_AppPackEntryProto_default_instance_; |
| class OBSOLETE_AppPackProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_AppPackProto> |
| _instance; |
| } _OBSOLETE_AppPackProto_default_instance_; |
| class OBSOLETE_PinnedAppsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_PinnedAppsProto> |
| _instance; |
| } _OBSOLETE_PinnedAppsProto_default_instance_; |
| class OBSOLETE_ForcedLogoutTimeoutsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_ForcedLogoutTimeoutsProto> |
| _instance; |
| } _OBSOLETE_ForcedLogoutTimeoutsProto_default_instance_; |
| class OBSOLETE_ScreenSaverProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_ScreenSaverProto> |
| _instance; |
| } _OBSOLETE_ScreenSaverProto_default_instance_; |
| class AutoUpdateSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AutoUpdateSettingsProto> |
| _instance; |
| } _AutoUpdateSettingsProto_default_instance_; |
| class OBSOLETE_StartUpUrlsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<OBSOLETE_StartUpUrlsProto> |
| _instance; |
| } _OBSOLETE_StartUpUrlsProto_default_instance_; |
| class SystemTimezoneProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<SystemTimezoneProto> |
| _instance; |
| } _SystemTimezoneProto_default_instance_; |
| class SystemUse24HourClockProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<SystemUse24HourClockProto> |
| _instance; |
| } _SystemUse24HourClockProto_default_instance_; |
| class KioskAppInfoProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<KioskAppInfoProto> |
| _instance; |
| } _KioskAppInfoProto_default_instance_; |
| class AndroidKioskAppInfoProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AndroidKioskAppInfoProto> |
| _instance; |
| } _AndroidKioskAppInfoProto_default_instance_; |
| class DeviceLocalAccountInfoProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLocalAccountInfoProto> |
| _instance; |
| } _DeviceLocalAccountInfoProto_default_instance_; |
| class DeviceLocalAccountsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLocalAccountsProto> |
| _instance; |
| } _DeviceLocalAccountsProto_default_instance_; |
| class AllowRedeemChromeOsRegistrationOffersProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AllowRedeemChromeOsRegistrationOffersProto> |
| _instance; |
| } _AllowRedeemChromeOsRegistrationOffersProto_default_instance_; |
| class StartUpFlagsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<StartUpFlagsProto> |
| _instance; |
| } _StartUpFlagsProto_default_instance_; |
| class UptimeLimitProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<UptimeLimitProto> |
| _instance; |
| } _UptimeLimitProto_default_instance_; |
| class VariationsParameterProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<VariationsParameterProto> |
| _instance; |
| } _VariationsParameterProto_default_instance_; |
| class AttestationSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AttestationSettingsProto> |
| _instance; |
| } _AttestationSettingsProto_default_instance_; |
| class AccessibilitySettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AccessibilitySettingsProto> |
| _instance; |
| } _AccessibilitySettingsProto_default_instance_; |
| class SupervisedUsersSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<SupervisedUsersSettingsProto> |
| _instance; |
| } _SupervisedUsersSettingsProto_default_instance_; |
| class LoginScreenPowerManagementProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<LoginScreenPowerManagementProto> |
| _instance; |
| } _LoginScreenPowerManagementProto_default_instance_; |
| class AutoCleanupSettigsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AutoCleanupSettigsProto> |
| _instance; |
| } _AutoCleanupSettigsProto_default_instance_; |
| class SystemSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<SystemSettingsProto> |
| _instance; |
| } _SystemSettingsProto_default_instance_; |
| class SAMLSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<SAMLSettingsProto> |
| _instance; |
| } _SAMLSettingsProto_default_instance_; |
| class RebootOnShutdownProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<RebootOnShutdownProto> |
| _instance; |
| } _RebootOnShutdownProto_default_instance_; |
| class DeviceHeartbeatSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceHeartbeatSettingsProto> |
| _instance; |
| } _DeviceHeartbeatSettingsProto_default_instance_; |
| class ExtensionCacheSizeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<ExtensionCacheSizeProto> |
| _instance; |
| } _ExtensionCacheSizeProto_default_instance_; |
| class LoginScreenDomainAutoCompleteProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<LoginScreenDomainAutoCompleteProto> |
| _instance; |
| } _LoginScreenDomainAutoCompleteProto_default_instance_; |
| class DeviceLogUploadSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLogUploadSettingsProto> |
| _instance; |
| } _DeviceLogUploadSettingsProto_default_instance_; |
| class DisplayRotationDefaultProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DisplayRotationDefaultProto> |
| _instance; |
| } _DisplayRotationDefaultProto_default_instance_; |
| class DeviceDisplayResolutionProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceDisplayResolutionProto> |
| _instance; |
| } _DeviceDisplayResolutionProto_default_instance_; |
| class AllowKioskAppControlChromeVersionProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AllowKioskAppControlChromeVersionProto> |
| _instance; |
| } _AllowKioskAppControlChromeVersionProto_default_instance_; |
| class LoginAuthenticationBehaviorProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<LoginAuthenticationBehaviorProto> |
| _instance; |
| } _LoginAuthenticationBehaviorProto_default_instance_; |
| class UsbDeviceIdProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<UsbDeviceIdProto> |
| _instance; |
| } _UsbDeviceIdProto_default_instance_; |
| class UsbDetachableWhitelistProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<UsbDetachableWhitelistProto> |
| _instance; |
| } _UsbDetachableWhitelistProto_default_instance_; |
| class AllowBluetoothProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<AllowBluetoothProto> |
| _instance; |
| } _AllowBluetoothProto_default_instance_; |
| class DeviceWiFiAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceWiFiAllowedProto> |
| _instance; |
| } _DeviceWiFiAllowedProto_default_instance_; |
| class DeviceQuirksDownloadEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceQuirksDownloadEnabledProto> |
| _instance; |
| } _DeviceQuirksDownloadEnabledProto_default_instance_; |
| class LoginVideoCaptureAllowedUrlsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<LoginVideoCaptureAllowedUrlsProto> |
| _instance; |
| } _LoginVideoCaptureAllowedUrlsProto_default_instance_; |
| class DeviceWiFiFastTransitionEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceWiFiFastTransitionEnabledProto> |
| _instance; |
| } _DeviceWiFiFastTransitionEnabledProto_default_instance_; |
| class NetworkThrottlingEnabledProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<NetworkThrottlingEnabledProto> |
| _instance; |
| } _NetworkThrottlingEnabledProto_default_instance_; |
| class DeviceLoginScreenExtensionsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLoginScreenExtensionsProto> |
| _instance; |
| } _DeviceLoginScreenExtensionsProto_default_instance_; |
| class LoginScreenLocalesProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<LoginScreenLocalesProto> |
| _instance; |
| } _LoginScreenLocalesProto_default_instance_; |
| class LoginScreenInputMethodsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<LoginScreenInputMethodsProto> |
| _instance; |
| } _LoginScreenInputMethodsProto_default_instance_; |
| class DeviceWallpaperImageProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceWallpaperImageProto> |
| _instance; |
| } _DeviceWallpaperImageProto_default_instance_; |
| class DeviceEcryptfsMigrationStrategyProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceEcryptfsMigrationStrategyProto> |
| _instance; |
| } _DeviceEcryptfsMigrationStrategyProto_default_instance_; |
| class DeviceSecondFactorAuthenticationProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceSecondFactorAuthenticationProto> |
| _instance; |
| } _DeviceSecondFactorAuthenticationProto_default_instance_; |
| class CastReceiverNameProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<CastReceiverNameProto> |
| _instance; |
| } _CastReceiverNameProto_default_instance_; |
| class WeeklyTimeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<WeeklyTimeProto> |
| _instance; |
| } _WeeklyTimeProto_default_instance_; |
| class WeeklyTimeIntervalProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<WeeklyTimeIntervalProto> |
| _instance; |
| } _WeeklyTimeIntervalProto_default_instance_; |
| class DeviceOffHoursProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceOffHoursProto> |
| _instance; |
| } _DeviceOffHoursProto_default_instance_; |
| class DeviceNativePrintersProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceNativePrintersProto> |
| _instance; |
| } _DeviceNativePrintersProto_default_instance_; |
| class DeviceNativePrintersAccessModeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceNativePrintersAccessModeProto> |
| _instance; |
| } _DeviceNativePrintersAccessModeProto_default_instance_; |
| class DeviceNativePrintersBlacklistProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceNativePrintersBlacklistProto> |
| _instance; |
| } _DeviceNativePrintersBlacklistProto_default_instance_; |
| class DeviceNativePrintersWhitelistProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceNativePrintersWhitelistProto> |
| _instance; |
| } _DeviceNativePrintersWhitelistProto_default_instance_; |
| class TPMFirmwareUpdateSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<TPMFirmwareUpdateSettingsProto> |
| _instance; |
| } _TPMFirmwareUpdateSettingsProto_default_instance_; |
| class MinimumRequiredVersionProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<MinimumRequiredVersionProto> |
| _instance; |
| } _MinimumRequiredVersionProto_default_instance_; |
| class DeviceLoginScreenAutoSelectCertificateForUrlsDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLoginScreenAutoSelectCertificateForUrls> |
| _instance; |
| } _DeviceLoginScreenAutoSelectCertificateForUrls_default_instance_; |
| class UnaffiliatedArcAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<UnaffiliatedArcAllowedProto> |
| _instance; |
| } _UnaffiliatedArcAllowedProto_default_instance_; |
| class DeviceKerberosEncryptionTypesProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceKerberosEncryptionTypesProto> |
| _instance; |
| } _DeviceKerberosEncryptionTypesProto_default_instance_; |
| class DeviceUserPolicyLoopbackProcessingModeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceUserPolicyLoopbackProcessingModeProto> |
| _instance; |
| } _DeviceUserPolicyLoopbackProcessingModeProto_default_instance_; |
| class DeviceLoginScreenIsolateOriginsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLoginScreenIsolateOriginsProto> |
| _instance; |
| } _DeviceLoginScreenIsolateOriginsProto_default_instance_; |
| class DeviceLoginScreenSitePerProcessProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceLoginScreenSitePerProcessProto> |
| _instance; |
| } _DeviceLoginScreenSitePerProcessProto_default_instance_; |
| class VirtualMachinesAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<VirtualMachinesAllowedProto> |
| _instance; |
| } _VirtualMachinesAllowedProto_default_instance_; |
| class DeviceMachinePasswordChangeRateProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceMachinePasswordChangeRateProto> |
| _instance; |
| } _DeviceMachinePasswordChangeRateProto_default_instance_; |
| class DeviceGpoCacheLifetimeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceGpoCacheLifetimeProto> |
| _instance; |
| } _DeviceGpoCacheLifetimeProto_default_instance_; |
| class DeviceAuthDataCacheLifetimeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceAuthDataCacheLifetimeProto> |
| _instance; |
| } _DeviceAuthDataCacheLifetimeProto_default_instance_; |
| class SamlLoginAuthenticationTypeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<SamlLoginAuthenticationTypeProto> |
| _instance; |
| } _SamlLoginAuthenticationTypeProto_default_instance_; |
| class DeviceUnaffiliatedCrostiniAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceUnaffiliatedCrostiniAllowedProto> |
| _instance; |
| } _DeviceUnaffiliatedCrostiniAllowedProto_default_instance_; |
| class PluginVmAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<PluginVmAllowedProto> |
| _instance; |
| } _PluginVmAllowedProto_default_instance_; |
| class PluginVmLicenseKeyProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<PluginVmLicenseKeyProto> |
| _instance; |
| } _PluginVmLicenseKeyProto_default_instance_; |
| class DeviceRebootOnUserSignoutProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceRebootOnUserSignoutProto> |
| _instance; |
| } _DeviceRebootOnUserSignoutProto_default_instance_; |
| class DeviceWilcoDtcAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceWilcoDtcAllowedProto> |
| _instance; |
| } _DeviceWilcoDtcAllowedProto_default_instance_; |
| class DeviceWilcoDtcConfigurationProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceWilcoDtcConfigurationProto> |
| _instance; |
| } _DeviceWilcoDtcConfigurationProto_default_instance_; |
| class DevicePowerPeakShiftProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DevicePowerPeakShiftProto> |
| _instance; |
| } _DevicePowerPeakShiftProto_default_instance_; |
| class DeviceBootOnAcProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceBootOnAcProto> |
| _instance; |
| } _DeviceBootOnAcProto_default_instance_; |
| class DeviceDockMacAddressSourceProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceDockMacAddressSourceProto> |
| _instance; |
| } _DeviceDockMacAddressSourceProto_default_instance_; |
| class DeviceAdvancedBatteryChargeModeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceAdvancedBatteryChargeModeProto> |
| _instance; |
| } _DeviceAdvancedBatteryChargeModeProto_default_instance_; |
| class DeviceBatteryChargeModeProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceBatteryChargeModeProto> |
| _instance; |
| } _DeviceBatteryChargeModeProto_default_instance_; |
| class DeviceUsbPowerShareProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceUsbPowerShareProto> |
| _instance; |
| } _DeviceUsbPowerShareProto_default_instance_; |
| class DeviceScheduledUpdateCheckProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceScheduledUpdateCheckProto> |
| _instance; |
| } _DeviceScheduledUpdateCheckProto_default_instance_; |
| class DeviceWebUsbAllowDevicesForUrlsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DeviceWebUsbAllowDevicesForUrlsProto> |
| _instance; |
| } _DeviceWebUsbAllowDevicesForUrlsProto_default_instance_; |
| class DevicePowerwashAllowedProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<DevicePowerwashAllowedProto> |
| _instance; |
| } _DevicePowerwashAllowedProto_default_instance_; |
| class ChromeDeviceSettingsProtoDefaultTypeInternal { |
| public: |
| ::google::protobuf::internal::ExplicitlyConstructed<ChromeDeviceSettingsProto> |
| _instance; |
| } _ChromeDeviceSettingsProto_default_instance_; |
| } // namespace enterprise_management |
| namespace protobuf_chrome_5fdevice_5fpolicy_2eproto { |
| static void InitDefaultsDevicePolicyRefreshRateProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DevicePolicyRefreshRateProto_default_instance_; |
| new (ptr) ::enterprise_management::DevicePolicyRefreshRateProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DevicePolicyRefreshRateProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DevicePolicyRefreshRateProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDevicePolicyRefreshRateProto}, {}}; |
| |
| static void InitDefaultsUserWhitelistProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_UserWhitelistProto_default_instance_; |
| new (ptr) ::enterprise_management::UserWhitelistProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::UserWhitelistProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_UserWhitelistProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUserWhitelistProto}, {}}; |
| |
| static void InitDefaultsAllowNewUsersProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AllowNewUsersProto_default_instance_; |
| new (ptr) ::enterprise_management::AllowNewUsersProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AllowNewUsersProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AllowNewUsersProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAllowNewUsersProto}, {}}; |
| |
| static void InitDefaultsGuestModeEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_GuestModeEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::GuestModeEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::GuestModeEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_GuestModeEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGuestModeEnabledProto}, {}}; |
| |
| static void InitDefaultsShowUserNamesOnSigninProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_ShowUserNamesOnSigninProto_default_instance_; |
| new (ptr) ::enterprise_management::ShowUserNamesOnSigninProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::ShowUserNamesOnSigninProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_ShowUserNamesOnSigninProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsShowUserNamesOnSigninProto}, {}}; |
| |
| static void InitDefaultsDataRoamingEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DataRoamingEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::DataRoamingEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DataRoamingEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DataRoamingEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDataRoamingEnabledProto}, {}}; |
| |
| static void InitDefaultsOBSOLETE_DeviceProxySettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_DeviceProxySettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_DeviceProxySettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_DeviceProxySettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_DeviceProxySettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOBSOLETE_DeviceProxySettingsProto}, {}}; |
| |
| static void InitDefaultsCameraEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_CameraEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::CameraEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::CameraEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_CameraEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCameraEnabledProto}, {}}; |
| |
| static void InitDefaultsMetricsEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_MetricsEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::MetricsEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::MetricsEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_MetricsEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMetricsEnabledProto}, {}}; |
| |
| static void InitDefaultsReleaseChannelProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_ReleaseChannelProto_default_instance_; |
| new (ptr) ::enterprise_management::ReleaseChannelProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::ReleaseChannelProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_ReleaseChannelProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsReleaseChannelProto}, {}}; |
| |
| static void InitDefaultsDeviceOpenNetworkConfigurationProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceOpenNetworkConfigurationProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceOpenNetworkConfigurationProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceOpenNetworkConfigurationProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceOpenNetworkConfigurationProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceOpenNetworkConfigurationProto}, {}}; |
| |
| static void InitDefaultsNetworkHostnameProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_NetworkHostnameProto_default_instance_; |
| new (ptr) ::enterprise_management::NetworkHostnameProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::NetworkHostnameProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_NetworkHostnameProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNetworkHostnameProto}, {}}; |
| |
| static void InitDefaultsDeviceReportingProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceReportingProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceReportingProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceReportingProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceReportingProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceReportingProto}, {}}; |
| |
| static void InitDefaultsEphemeralUsersEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_EphemeralUsersEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::EphemeralUsersEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::EphemeralUsersEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_EphemeralUsersEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEphemeralUsersEnabledProto}, {}}; |
| |
| static void InitDefaultsOBSOLETE_AppPackEntryProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_AppPackEntryProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_AppPackEntryProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_AppPackEntryProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_AppPackEntryProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOBSOLETE_AppPackEntryProto}, {}}; |
| |
| static void InitDefaultsOBSOLETE_AppPackProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_AppPackProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_AppPackProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_AppPackProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<1> scc_info_OBSOLETE_AppPackProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsOBSOLETE_AppPackProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_AppPackEntryProto.base,}}; |
| |
| static void InitDefaultsOBSOLETE_PinnedAppsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_PinnedAppsProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_PinnedAppsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_PinnedAppsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_PinnedAppsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOBSOLETE_PinnedAppsProto}, {}}; |
| |
| static void InitDefaultsOBSOLETE_ForcedLogoutTimeoutsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_ForcedLogoutTimeoutsProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_ForcedLogoutTimeoutsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOBSOLETE_ForcedLogoutTimeoutsProto}, {}}; |
| |
| static void InitDefaultsOBSOLETE_ScreenSaverProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_ScreenSaverProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_ScreenSaverProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_ScreenSaverProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_ScreenSaverProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOBSOLETE_ScreenSaverProto}, {}}; |
| |
| static void InitDefaultsAutoUpdateSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AutoUpdateSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::AutoUpdateSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AutoUpdateSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AutoUpdateSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAutoUpdateSettingsProto}, {}}; |
| |
| static void InitDefaultsOBSOLETE_StartUpUrlsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_OBSOLETE_StartUpUrlsProto_default_instance_; |
| new (ptr) ::enterprise_management::OBSOLETE_StartUpUrlsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::OBSOLETE_StartUpUrlsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_OBSOLETE_StartUpUrlsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOBSOLETE_StartUpUrlsProto}, {}}; |
| |
| static void InitDefaultsSystemTimezoneProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_SystemTimezoneProto_default_instance_; |
| new (ptr) ::enterprise_management::SystemTimezoneProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::SystemTimezoneProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_SystemTimezoneProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSystemTimezoneProto}, {}}; |
| |
| static void InitDefaultsSystemUse24HourClockProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_SystemUse24HourClockProto_default_instance_; |
| new (ptr) ::enterprise_management::SystemUse24HourClockProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::SystemUse24HourClockProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_SystemUse24HourClockProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSystemUse24HourClockProto}, {}}; |
| |
| static void InitDefaultsKioskAppInfoProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_KioskAppInfoProto_default_instance_; |
| new (ptr) ::enterprise_management::KioskAppInfoProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::KioskAppInfoProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_KioskAppInfoProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsKioskAppInfoProto}, {}}; |
| |
| static void InitDefaultsAndroidKioskAppInfoProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AndroidKioskAppInfoProto_default_instance_; |
| new (ptr) ::enterprise_management::AndroidKioskAppInfoProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AndroidKioskAppInfoProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AndroidKioskAppInfoProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAndroidKioskAppInfoProto}, {}}; |
| |
| static void InitDefaultsDeviceLocalAccountInfoProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLocalAccountInfoProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLocalAccountInfoProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLocalAccountInfoProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<2> scc_info_DeviceLocalAccountInfoProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDeviceLocalAccountInfoProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_KioskAppInfoProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AndroidKioskAppInfoProto.base,}}; |
| |
| static void InitDefaultsDeviceLocalAccountsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLocalAccountsProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLocalAccountsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLocalAccountsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<1> scc_info_DeviceLocalAccountsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeviceLocalAccountsProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLocalAccountInfoProto.base,}}; |
| |
| static void InitDefaultsAllowRedeemChromeOsRegistrationOffersProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AllowRedeemChromeOsRegistrationOffersProto_default_instance_; |
| new (ptr) ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AllowRedeemChromeOsRegistrationOffersProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAllowRedeemChromeOsRegistrationOffersProto}, {}}; |
| |
| static void InitDefaultsStartUpFlagsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_StartUpFlagsProto_default_instance_; |
| new (ptr) ::enterprise_management::StartUpFlagsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::StartUpFlagsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_StartUpFlagsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStartUpFlagsProto}, {}}; |
| |
| static void InitDefaultsUptimeLimitProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_UptimeLimitProto_default_instance_; |
| new (ptr) ::enterprise_management::UptimeLimitProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::UptimeLimitProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_UptimeLimitProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUptimeLimitProto}, {}}; |
| |
| static void InitDefaultsVariationsParameterProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_VariationsParameterProto_default_instance_; |
| new (ptr) ::enterprise_management::VariationsParameterProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::VariationsParameterProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_VariationsParameterProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsVariationsParameterProto}, {}}; |
| |
| static void InitDefaultsAttestationSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AttestationSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::AttestationSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AttestationSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AttestationSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAttestationSettingsProto}, {}}; |
| |
| static void InitDefaultsAccessibilitySettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AccessibilitySettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::AccessibilitySettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AccessibilitySettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AccessibilitySettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAccessibilitySettingsProto}, {}}; |
| |
| static void InitDefaultsSupervisedUsersSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_SupervisedUsersSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::SupervisedUsersSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::SupervisedUsersSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_SupervisedUsersSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSupervisedUsersSettingsProto}, {}}; |
| |
| static void InitDefaultsLoginScreenPowerManagementProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_LoginScreenPowerManagementProto_default_instance_; |
| new (ptr) ::enterprise_management::LoginScreenPowerManagementProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::LoginScreenPowerManagementProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenPowerManagementProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLoginScreenPowerManagementProto}, {}}; |
| |
| static void InitDefaultsAutoCleanupSettigsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AutoCleanupSettigsProto_default_instance_; |
| new (ptr) ::enterprise_management::AutoCleanupSettigsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AutoCleanupSettigsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AutoCleanupSettigsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAutoCleanupSettigsProto}, {}}; |
| |
| static void InitDefaultsSystemSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_SystemSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::SystemSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::SystemSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_SystemSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSystemSettingsProto}, {}}; |
| |
| static void InitDefaultsSAMLSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_SAMLSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::SAMLSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::SAMLSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_SAMLSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSAMLSettingsProto}, {}}; |
| |
| static void InitDefaultsRebootOnShutdownProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_RebootOnShutdownProto_default_instance_; |
| new (ptr) ::enterprise_management::RebootOnShutdownProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::RebootOnShutdownProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_RebootOnShutdownProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRebootOnShutdownProto}, {}}; |
| |
| static void InitDefaultsDeviceHeartbeatSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceHeartbeatSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceHeartbeatSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceHeartbeatSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceHeartbeatSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceHeartbeatSettingsProto}, {}}; |
| |
| static void InitDefaultsExtensionCacheSizeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_ExtensionCacheSizeProto_default_instance_; |
| new (ptr) ::enterprise_management::ExtensionCacheSizeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::ExtensionCacheSizeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_ExtensionCacheSizeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExtensionCacheSizeProto}, {}}; |
| |
| static void InitDefaultsLoginScreenDomainAutoCompleteProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_LoginScreenDomainAutoCompleteProto_default_instance_; |
| new (ptr) ::enterprise_management::LoginScreenDomainAutoCompleteProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::LoginScreenDomainAutoCompleteProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenDomainAutoCompleteProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLoginScreenDomainAutoCompleteProto}, {}}; |
| |
| static void InitDefaultsDeviceLogUploadSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLogUploadSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLogUploadSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLogUploadSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLogUploadSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceLogUploadSettingsProto}, {}}; |
| |
| static void InitDefaultsDisplayRotationDefaultProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DisplayRotationDefaultProto_default_instance_; |
| new (ptr) ::enterprise_management::DisplayRotationDefaultProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DisplayRotationDefaultProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DisplayRotationDefaultProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDisplayRotationDefaultProto}, {}}; |
| |
| static void InitDefaultsDeviceDisplayResolutionProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceDisplayResolutionProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceDisplayResolutionProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceDisplayResolutionProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceDisplayResolutionProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceDisplayResolutionProto}, {}}; |
| |
| static void InitDefaultsAllowKioskAppControlChromeVersionProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AllowKioskAppControlChromeVersionProto_default_instance_; |
| new (ptr) ::enterprise_management::AllowKioskAppControlChromeVersionProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AllowKioskAppControlChromeVersionProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AllowKioskAppControlChromeVersionProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAllowKioskAppControlChromeVersionProto}, {}}; |
| |
| static void InitDefaultsLoginAuthenticationBehaviorProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_LoginAuthenticationBehaviorProto_default_instance_; |
| new (ptr) ::enterprise_management::LoginAuthenticationBehaviorProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::LoginAuthenticationBehaviorProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_LoginAuthenticationBehaviorProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLoginAuthenticationBehaviorProto}, {}}; |
| |
| static void InitDefaultsUsbDeviceIdProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_UsbDeviceIdProto_default_instance_; |
| new (ptr) ::enterprise_management::UsbDeviceIdProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::UsbDeviceIdProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_UsbDeviceIdProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUsbDeviceIdProto}, {}}; |
| |
| static void InitDefaultsUsbDetachableWhitelistProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_UsbDetachableWhitelistProto_default_instance_; |
| new (ptr) ::enterprise_management::UsbDetachableWhitelistProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::UsbDetachableWhitelistProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<1> scc_info_UsbDetachableWhitelistProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUsbDetachableWhitelistProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UsbDeviceIdProto.base,}}; |
| |
| static void InitDefaultsAllowBluetoothProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_AllowBluetoothProto_default_instance_; |
| new (ptr) ::enterprise_management::AllowBluetoothProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::AllowBluetoothProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_AllowBluetoothProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAllowBluetoothProto}, {}}; |
| |
| static void InitDefaultsDeviceWiFiAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceWiFiAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceWiFiAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceWiFiAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWiFiAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceWiFiAllowedProto}, {}}; |
| |
| static void InitDefaultsDeviceQuirksDownloadEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceQuirksDownloadEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceQuirksDownloadEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceQuirksDownloadEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceQuirksDownloadEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceQuirksDownloadEnabledProto}, {}}; |
| |
| static void InitDefaultsLoginVideoCaptureAllowedUrlsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_LoginVideoCaptureAllowedUrlsProto_default_instance_; |
| new (ptr) ::enterprise_management::LoginVideoCaptureAllowedUrlsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::LoginVideoCaptureAllowedUrlsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_LoginVideoCaptureAllowedUrlsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLoginVideoCaptureAllowedUrlsProto}, {}}; |
| |
| static void InitDefaultsDeviceWiFiFastTransitionEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceWiFiFastTransitionEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceWiFiFastTransitionEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceWiFiFastTransitionEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWiFiFastTransitionEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceWiFiFastTransitionEnabledProto}, {}}; |
| |
| static void InitDefaultsNetworkThrottlingEnabledProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_NetworkThrottlingEnabledProto_default_instance_; |
| new (ptr) ::enterprise_management::NetworkThrottlingEnabledProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::NetworkThrottlingEnabledProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_NetworkThrottlingEnabledProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNetworkThrottlingEnabledProto}, {}}; |
| |
| static void InitDefaultsDeviceLoginScreenExtensionsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLoginScreenExtensionsProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLoginScreenExtensionsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLoginScreenExtensionsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenExtensionsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceLoginScreenExtensionsProto}, {}}; |
| |
| static void InitDefaultsLoginScreenLocalesProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_LoginScreenLocalesProto_default_instance_; |
| new (ptr) ::enterprise_management::LoginScreenLocalesProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::LoginScreenLocalesProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenLocalesProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLoginScreenLocalesProto}, {}}; |
| |
| static void InitDefaultsLoginScreenInputMethodsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_LoginScreenInputMethodsProto_default_instance_; |
| new (ptr) ::enterprise_management::LoginScreenInputMethodsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::LoginScreenInputMethodsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_LoginScreenInputMethodsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLoginScreenInputMethodsProto}, {}}; |
| |
| static void InitDefaultsDeviceWallpaperImageProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceWallpaperImageProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceWallpaperImageProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceWallpaperImageProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWallpaperImageProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceWallpaperImageProto}, {}}; |
| |
| static void InitDefaultsDeviceEcryptfsMigrationStrategyProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceEcryptfsMigrationStrategyProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceEcryptfsMigrationStrategyProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceEcryptfsMigrationStrategyProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceEcryptfsMigrationStrategyProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceEcryptfsMigrationStrategyProto}, {}}; |
| |
| static void InitDefaultsDeviceSecondFactorAuthenticationProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceSecondFactorAuthenticationProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceSecondFactorAuthenticationProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceSecondFactorAuthenticationProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceSecondFactorAuthenticationProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceSecondFactorAuthenticationProto}, {}}; |
| |
| static void InitDefaultsCastReceiverNameProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_CastReceiverNameProto_default_instance_; |
| new (ptr) ::enterprise_management::CastReceiverNameProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::CastReceiverNameProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_CastReceiverNameProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCastReceiverNameProto}, {}}; |
| |
| static void InitDefaultsWeeklyTimeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_WeeklyTimeProto_default_instance_; |
| new (ptr) ::enterprise_management::WeeklyTimeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::WeeklyTimeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_WeeklyTimeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWeeklyTimeProto}, {}}; |
| |
| static void InitDefaultsWeeklyTimeIntervalProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_WeeklyTimeIntervalProto_default_instance_; |
| new (ptr) ::enterprise_management::WeeklyTimeIntervalProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::WeeklyTimeIntervalProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<1> scc_info_WeeklyTimeIntervalProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWeeklyTimeIntervalProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_WeeklyTimeProto.base,}}; |
| |
| static void InitDefaultsDeviceOffHoursProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceOffHoursProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceOffHoursProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceOffHoursProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<1> scc_info_DeviceOffHoursProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeviceOffHoursProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_WeeklyTimeIntervalProto.base,}}; |
| |
| static void InitDefaultsDeviceNativePrintersProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceNativePrintersProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceNativePrintersProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceNativePrintersProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceNativePrintersProto}, {}}; |
| |
| static void InitDefaultsDeviceNativePrintersAccessModeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceNativePrintersAccessModeProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceNativePrintersAccessModeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceNativePrintersAccessModeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersAccessModeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceNativePrintersAccessModeProto}, {}}; |
| |
| static void InitDefaultsDeviceNativePrintersBlacklistProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceNativePrintersBlacklistProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceNativePrintersBlacklistProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceNativePrintersBlacklistProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersBlacklistProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceNativePrintersBlacklistProto}, {}}; |
| |
| static void InitDefaultsDeviceNativePrintersWhitelistProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceNativePrintersWhitelistProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceNativePrintersWhitelistProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceNativePrintersWhitelistProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceNativePrintersWhitelistProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceNativePrintersWhitelistProto}, {}}; |
| |
| static void InitDefaultsTPMFirmwareUpdateSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_TPMFirmwareUpdateSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::TPMFirmwareUpdateSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::TPMFirmwareUpdateSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_TPMFirmwareUpdateSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTPMFirmwareUpdateSettingsProto}, {}}; |
| |
| static void InitDefaultsMinimumRequiredVersionProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_MinimumRequiredVersionProto_default_instance_; |
| new (ptr) ::enterprise_management::MinimumRequiredVersionProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::MinimumRequiredVersionProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_MinimumRequiredVersionProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMinimumRequiredVersionProto}, {}}; |
| |
| static void InitDefaultsDeviceLoginScreenAutoSelectCertificateForUrls() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLoginScreenAutoSelectCertificateForUrls_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenAutoSelectCertificateForUrls = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceLoginScreenAutoSelectCertificateForUrls}, {}}; |
| |
| static void InitDefaultsUnaffiliatedArcAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_UnaffiliatedArcAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::UnaffiliatedArcAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::UnaffiliatedArcAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_UnaffiliatedArcAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUnaffiliatedArcAllowedProto}, {}}; |
| |
| static void InitDefaultsDeviceKerberosEncryptionTypesProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceKerberosEncryptionTypesProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceKerberosEncryptionTypesProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceKerberosEncryptionTypesProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceKerberosEncryptionTypesProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceKerberosEncryptionTypesProto}, {}}; |
| |
| static void InitDefaultsDeviceUserPolicyLoopbackProcessingModeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceUserPolicyLoopbackProcessingModeProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceUserPolicyLoopbackProcessingModeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceUserPolicyLoopbackProcessingModeProto}, {}}; |
| |
| static void InitDefaultsDeviceLoginScreenIsolateOriginsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLoginScreenIsolateOriginsProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLoginScreenIsolateOriginsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLoginScreenIsolateOriginsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenIsolateOriginsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceLoginScreenIsolateOriginsProto}, {}}; |
| |
| static void InitDefaultsDeviceLoginScreenSitePerProcessProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceLoginScreenSitePerProcessProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceLoginScreenSitePerProcessProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceLoginScreenSitePerProcessProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceLoginScreenSitePerProcessProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceLoginScreenSitePerProcessProto}, {}}; |
| |
| static void InitDefaultsVirtualMachinesAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_VirtualMachinesAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::VirtualMachinesAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::VirtualMachinesAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_VirtualMachinesAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsVirtualMachinesAllowedProto}, {}}; |
| |
| static void InitDefaultsDeviceMachinePasswordChangeRateProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceMachinePasswordChangeRateProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceMachinePasswordChangeRateProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceMachinePasswordChangeRateProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceMachinePasswordChangeRateProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceMachinePasswordChangeRateProto}, {}}; |
| |
| static void InitDefaultsDeviceGpoCacheLifetimeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceGpoCacheLifetimeProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceGpoCacheLifetimeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceGpoCacheLifetimeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceGpoCacheLifetimeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceGpoCacheLifetimeProto}, {}}; |
| |
| static void InitDefaultsDeviceAuthDataCacheLifetimeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceAuthDataCacheLifetimeProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceAuthDataCacheLifetimeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceAuthDataCacheLifetimeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceAuthDataCacheLifetimeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceAuthDataCacheLifetimeProto}, {}}; |
| |
| static void InitDefaultsSamlLoginAuthenticationTypeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_SamlLoginAuthenticationTypeProto_default_instance_; |
| new (ptr) ::enterprise_management::SamlLoginAuthenticationTypeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::SamlLoginAuthenticationTypeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_SamlLoginAuthenticationTypeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSamlLoginAuthenticationTypeProto}, {}}; |
| |
| static void InitDefaultsDeviceUnaffiliatedCrostiniAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceUnaffiliatedCrostiniAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceUnaffiliatedCrostiniAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceUnaffiliatedCrostiniAllowedProto}, {}}; |
| |
| static void InitDefaultsPluginVmAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_PluginVmAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::PluginVmAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::PluginVmAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_PluginVmAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPluginVmAllowedProto}, {}}; |
| |
| static void InitDefaultsPluginVmLicenseKeyProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_PluginVmLicenseKeyProto_default_instance_; |
| new (ptr) ::enterprise_management::PluginVmLicenseKeyProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::PluginVmLicenseKeyProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_PluginVmLicenseKeyProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPluginVmLicenseKeyProto}, {}}; |
| |
| static void InitDefaultsDeviceRebootOnUserSignoutProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceRebootOnUserSignoutProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceRebootOnUserSignoutProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceRebootOnUserSignoutProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceRebootOnUserSignoutProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceRebootOnUserSignoutProto}, {}}; |
| |
| static void InitDefaultsDeviceWilcoDtcAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceWilcoDtcAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceWilcoDtcAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceWilcoDtcAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWilcoDtcAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceWilcoDtcAllowedProto}, {}}; |
| |
| static void InitDefaultsDeviceWilcoDtcConfigurationProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceWilcoDtcConfigurationProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceWilcoDtcConfigurationProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceWilcoDtcConfigurationProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWilcoDtcConfigurationProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceWilcoDtcConfigurationProto}, {}}; |
| |
| static void InitDefaultsDevicePowerPeakShiftProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DevicePowerPeakShiftProto_default_instance_; |
| new (ptr) ::enterprise_management::DevicePowerPeakShiftProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DevicePowerPeakShiftProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DevicePowerPeakShiftProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDevicePowerPeakShiftProto}, {}}; |
| |
| static void InitDefaultsDeviceBootOnAcProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceBootOnAcProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceBootOnAcProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceBootOnAcProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceBootOnAcProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceBootOnAcProto}, {}}; |
| |
| static void InitDefaultsDeviceDockMacAddressSourceProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceDockMacAddressSourceProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceDockMacAddressSourceProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceDockMacAddressSourceProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceDockMacAddressSourceProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceDockMacAddressSourceProto}, {}}; |
| |
| static void InitDefaultsDeviceAdvancedBatteryChargeModeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceAdvancedBatteryChargeModeProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceAdvancedBatteryChargeModeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceAdvancedBatteryChargeModeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceAdvancedBatteryChargeModeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceAdvancedBatteryChargeModeProto}, {}}; |
| |
| static void InitDefaultsDeviceBatteryChargeModeProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceBatteryChargeModeProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceBatteryChargeModeProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceBatteryChargeModeProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceBatteryChargeModeProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceBatteryChargeModeProto}, {}}; |
| |
| static void InitDefaultsDeviceUsbPowerShareProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceUsbPowerShareProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceUsbPowerShareProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceUsbPowerShareProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceUsbPowerShareProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceUsbPowerShareProto}, {}}; |
| |
| static void InitDefaultsDeviceScheduledUpdateCheckProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceScheduledUpdateCheckProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceScheduledUpdateCheckProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceScheduledUpdateCheckProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceScheduledUpdateCheckProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceScheduledUpdateCheckProto}, {}}; |
| |
| static void InitDefaultsDeviceWebUsbAllowDevicesForUrlsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DeviceWebUsbAllowDevicesForUrlsProto_default_instance_; |
| new (ptr) ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DeviceWebUsbAllowDevicesForUrlsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeviceWebUsbAllowDevicesForUrlsProto}, {}}; |
| |
| static void InitDefaultsDevicePowerwashAllowedProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_DevicePowerwashAllowedProto_default_instance_; |
| new (ptr) ::enterprise_management::DevicePowerwashAllowedProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::DevicePowerwashAllowedProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<0> scc_info_DevicePowerwashAllowedProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDevicePowerwashAllowedProto}, {}}; |
| |
| static void InitDefaultsChromeDeviceSettingsProto() { |
| GOOGLE_PROTOBUF_VERIFY_VERSION; |
| |
| { |
| void* ptr = &::enterprise_management::_ChromeDeviceSettingsProto_default_instance_; |
| new (ptr) ::enterprise_management::ChromeDeviceSettingsProto(); |
| ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
| } |
| ::enterprise_management::ChromeDeviceSettingsProto::InitAsDefaultInstance(); |
| } |
| |
| POLICY_PROTO_EXPORT ::google::protobuf::internal::SCCInfo<90> scc_info_ChromeDeviceSettingsProto = |
| {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 90, InitDefaultsChromeDeviceSettingsProto}, { |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePolicyRefreshRateProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UserWhitelistProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_GuestModeEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_DeviceProxySettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_CameraEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ShowUserNamesOnSigninProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DataRoamingEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowNewUsersProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_MetricsEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ReleaseChannelProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceOpenNetworkConfigurationProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceReportingProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_EphemeralUsersEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_AppPackProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_ForcedLogoutTimeoutsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_ScreenSaverProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AutoUpdateSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_StartUpUrlsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_PinnedAppsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemTimezoneProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLocalAccountsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowRedeemChromeOsRegistrationOffersProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_StartUpFlagsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UptimeLimitProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_VariationsParameterProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AttestationSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AccessibilitySettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SupervisedUsersSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenPowerManagementProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemUse24HourClockProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AutoCleanupSettigsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SAMLSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_RebootOnShutdownProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceHeartbeatSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ExtensionCacheSizeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenDomainAutoCompleteProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLogUploadSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DisplayRotationDefaultProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowKioskAppControlChromeVersionProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginAuthenticationBehaviorProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UsbDetachableWhitelistProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowBluetoothProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceQuirksDownloadEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginVideoCaptureAllowedUrlsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenExtensionsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_NetworkThrottlingEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWallpaperImageProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenLocalesProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenInputMethodsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceEcryptfsMigrationStrategyProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceSecondFactorAuthenticationProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_CastReceiverNameProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceOffHoursProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersAccessModeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersBlacklistProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersWhitelistProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_TPMFirmwareUpdateSettingsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_MinimumRequiredVersionProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenAutoSelectCertificateForUrls.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UnaffiliatedArcAllowedProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_NetworkHostnameProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceKerberosEncryptionTypesProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUserPolicyLoopbackProcessingModeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenIsolateOriginsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenSitePerProcessProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_VirtualMachinesAllowedProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceMachinePasswordChangeRateProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SamlLoginAuthenticationTypeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUnaffiliatedCrostiniAllowedProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWiFiFastTransitionEnabledProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceDisplayResolutionProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_PluginVmAllowedProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceGpoCacheLifetimeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceAuthDataCacheLifetimeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_PluginVmLicenseKeyProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceRebootOnUserSignoutProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWilcoDtcAllowedProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWilcoDtcConfigurationProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWiFiAllowedProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePowerPeakShiftProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceBootOnAcProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceDockMacAddressSourceProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceAdvancedBatteryChargeModeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceBatteryChargeModeProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUsbPowerShareProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceScheduledUpdateCheckProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWebUsbAllowDevicesForUrlsProto.base, |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePowerwashAllowedProto.base,}}; |
| |
| void InitDefaults() { |
| ::google::protobuf::internal::InitSCC(&scc_info_DevicePolicyRefreshRateProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_UserWhitelistProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AllowNewUsersProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_GuestModeEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_ShowUserNamesOnSigninProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DataRoamingEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_DeviceProxySettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_CameraEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_MetricsEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_ReleaseChannelProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceOpenNetworkConfigurationProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_NetworkHostnameProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceReportingProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_EphemeralUsersEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_AppPackEntryProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_AppPackProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_PinnedAppsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_ForcedLogoutTimeoutsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_ScreenSaverProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AutoUpdateSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_OBSOLETE_StartUpUrlsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_SystemTimezoneProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_SystemUse24HourClockProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_KioskAppInfoProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AndroidKioskAppInfoProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLocalAccountInfoProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLocalAccountsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AllowRedeemChromeOsRegistrationOffersProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_StartUpFlagsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_UptimeLimitProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_VariationsParameterProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AttestationSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AccessibilitySettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_SupervisedUsersSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_LoginScreenPowerManagementProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AutoCleanupSettigsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_SystemSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_SAMLSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_RebootOnShutdownProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceHeartbeatSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_ExtensionCacheSizeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_LoginScreenDomainAutoCompleteProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLogUploadSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DisplayRotationDefaultProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceDisplayResolutionProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AllowKioskAppControlChromeVersionProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_LoginAuthenticationBehaviorProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_UsbDeviceIdProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_UsbDetachableWhitelistProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_AllowBluetoothProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceWiFiAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceQuirksDownloadEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_LoginVideoCaptureAllowedUrlsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceWiFiFastTransitionEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_NetworkThrottlingEnabledProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLoginScreenExtensionsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_LoginScreenLocalesProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_LoginScreenInputMethodsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceWallpaperImageProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceEcryptfsMigrationStrategyProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceSecondFactorAuthenticationProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_CastReceiverNameProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_WeeklyTimeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_WeeklyTimeIntervalProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceOffHoursProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceNativePrintersProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceNativePrintersAccessModeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceNativePrintersBlacklistProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceNativePrintersWhitelistProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_TPMFirmwareUpdateSettingsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_MinimumRequiredVersionProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLoginScreenAutoSelectCertificateForUrls.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_UnaffiliatedArcAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceKerberosEncryptionTypesProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceUserPolicyLoopbackProcessingModeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLoginScreenIsolateOriginsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceLoginScreenSitePerProcessProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_VirtualMachinesAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceMachinePasswordChangeRateProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceGpoCacheLifetimeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceAuthDataCacheLifetimeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_SamlLoginAuthenticationTypeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceUnaffiliatedCrostiniAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_PluginVmAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_PluginVmLicenseKeyProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceRebootOnUserSignoutProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceWilcoDtcAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceWilcoDtcConfigurationProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DevicePowerPeakShiftProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceBootOnAcProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceDockMacAddressSourceProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceAdvancedBatteryChargeModeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceBatteryChargeModeProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceUsbPowerShareProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceScheduledUpdateCheckProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DeviceWebUsbAllowDevicesForUrlsProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_DevicePowerwashAllowedProto.base); |
| ::google::protobuf::internal::InitSCC(&scc_info_ChromeDeviceSettingsProto.base); |
| } |
| |
| } // namespace protobuf_chrome_5fdevice_5fpolicy_2eproto |
| namespace enterprise_management { |
| bool AutoUpdateSettingsProto_ConnectionType_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| case 4: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_ETHERNET; |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_WIFI; |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_WIMAX; |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_BLUETOOTH; |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::CONNECTION_TYPE_CELLULAR; |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::ConnectionType_MIN; |
| const AutoUpdateSettingsProto_ConnectionType AutoUpdateSettingsProto::ConnectionType_MAX; |
| const int AutoUpdateSettingsProto::ConnectionType_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool AutoUpdateSettingsProto_RollbackToTargetVersion_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_UNSPECIFIED; |
| const AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_DISABLED; |
| const AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_AND_POWERWASH; |
| const AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::ROLLBACK_AND_RESTORE_IF_POSSIBLE; |
| const AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::RollbackToTargetVersion_MIN; |
| const AutoUpdateSettingsProto_RollbackToTargetVersion AutoUpdateSettingsProto::RollbackToTargetVersion_MAX; |
| const int AutoUpdateSettingsProto::RollbackToTargetVersion_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool SystemTimezoneProto_AutomaticTimezoneDetectionType_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| case 4: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::USERS_DECIDE; |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::DISABLED; |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::IP_ONLY; |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::SEND_WIFI_ACCESS_POINTS; |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::SEND_ALL_LOCATION_INFO; |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::AutomaticTimezoneDetectionType_MIN; |
| const SystemTimezoneProto_AutomaticTimezoneDetectionType SystemTimezoneProto::AutomaticTimezoneDetectionType_MAX; |
| const int SystemTimezoneProto::AutomaticTimezoneDetectionType_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceLocalAccountInfoProto_AccountType_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION; |
| const DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_KIOSK_APP; |
| const DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::ACCOUNT_TYPE_KIOSK_ANDROID_APP; |
| const DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::AccountType_MIN; |
| const DeviceLocalAccountInfoProto_AccountType DeviceLocalAccountInfoProto::AccountType_MAX; |
| const int DeviceLocalAccountInfoProto::AccountType_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool AccessibilitySettingsProto_ScreenMagnifierType_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::SCREEN_MAGNIFIER_TYPE_NONE; |
| const AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::SCREEN_MAGNIFIER_TYPE_FULL; |
| const AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::ScreenMagnifierType_MIN; |
| const AccessibilitySettingsProto_ScreenMagnifierType AccessibilitySettingsProto::ScreenMagnifierType_MAX; |
| const int AccessibilitySettingsProto::ScreenMagnifierType_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DisplayRotationDefaultProto_Rotation_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_0; |
| const DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_90; |
| const DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_180; |
| const DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::ROTATE_270; |
| const DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::Rotation_MIN; |
| const DisplayRotationDefaultProto_Rotation DisplayRotationDefaultProto::Rotation_MAX; |
| const int DisplayRotationDefaultProto::Rotation_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool LoginAuthenticationBehaviorProto_LoginBehavior_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::GAIA; |
| const LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::SAML_INTERSTITIAL; |
| const LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::LoginBehavior_MIN; |
| const LoginAuthenticationBehaviorProto_LoginBehavior LoginAuthenticationBehaviorProto::LoginBehavior_MAX; |
| const int LoginAuthenticationBehaviorProto::LoginBehavior_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::UNSET; |
| const DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::DISALLOW_ARC; |
| const DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::ALLOW_MIGRATION; |
| const DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::MigrationStrategy_MIN; |
| const DeviceEcryptfsMigrationStrategyProto_MigrationStrategy DeviceEcryptfsMigrationStrategyProto::MigrationStrategy_MAX; |
| const int DeviceEcryptfsMigrationStrategyProto::MigrationStrategy_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceSecondFactorAuthenticationProto_U2fMode_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::UNSET; |
| const DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::DISABLED; |
| const DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2F; |
| const DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2F_EXTENDED; |
| const DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2fMode_MIN; |
| const DeviceSecondFactorAuthenticationProto_U2fMode DeviceSecondFactorAuthenticationProto::U2fMode_MAX; |
| const int DeviceSecondFactorAuthenticationProto::U2fMode_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool WeeklyTimeProto_DayOfWeek_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 WeeklyTimeProto_DayOfWeek WeeklyTimeProto::DAY_OF_WEEK_UNSPECIFIED; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::MONDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::TUESDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::WEDNESDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::THURSDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::FRIDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::SATURDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::SUNDAY; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::DayOfWeek_MIN; |
| const WeeklyTimeProto_DayOfWeek WeeklyTimeProto::DayOfWeek_MAX; |
| const int WeeklyTimeProto::DayOfWeek_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceNativePrintersAccessModeProto_AccessMode_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceNativePrintersAccessModeProto_AccessMode DeviceNativePrintersAccessModeProto::ACCESS_MODE_BLACKLIST; |
| const DeviceNativePrintersAccessModeProto_AccessMode DeviceNativePrintersAccessModeProto::ACCESS_MODE_WHITELIST; |
| const DeviceNativePrintersAccessModeProto_AccessMode DeviceNativePrintersAccessModeProto::ACCESS_MODE_ALL; |
| const DeviceNativePrintersAccessModeProto_AccessMode DeviceNativePrintersAccessModeProto::AccessMode_MIN; |
| const DeviceNativePrintersAccessModeProto_AccessMode DeviceNativePrintersAccessModeProto::AccessMode_MAX; |
| const int DeviceNativePrintersAccessModeProto::AccessMode_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool TPMFirmwareUpdateSettingsProto_AutoUpdateMode_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| case 4: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::AUTO_UPDATE_MODE_UNSPECIFIED; |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::NEVER; |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::USER_ACKNOWLEDGMENT; |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::WITHOUT_ACKNOWLEDGMENT; |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::ENROLLMENT; |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::AutoUpdateMode_MIN; |
| const TPMFirmwareUpdateSettingsProto_AutoUpdateMode TPMFirmwareUpdateSettingsProto::AutoUpdateMode_MAX; |
| const int TPMFirmwareUpdateSettingsProto::AutoUpdateMode_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceKerberosEncryptionTypesProto_Types_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceKerberosEncryptionTypesProto_Types DeviceKerberosEncryptionTypesProto::ENC_TYPES_ALL; |
| const DeviceKerberosEncryptionTypesProto_Types DeviceKerberosEncryptionTypesProto::ENC_TYPES_STRONG; |
| const DeviceKerberosEncryptionTypesProto_Types DeviceKerberosEncryptionTypesProto::ENC_TYPES_LEGACY; |
| const DeviceKerberosEncryptionTypesProto_Types DeviceKerberosEncryptionTypesProto::Types_MIN; |
| const DeviceKerberosEncryptionTypesProto_Types DeviceKerberosEncryptionTypesProto::Types_MAX; |
| const int DeviceKerberosEncryptionTypesProto::Types_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceUserPolicyLoopbackProcessingModeProto_Mode_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceUserPolicyLoopbackProcessingModeProto_Mode DeviceUserPolicyLoopbackProcessingModeProto::USER_POLICY_MODE_DEFAULT; |
| const DeviceUserPolicyLoopbackProcessingModeProto_Mode DeviceUserPolicyLoopbackProcessingModeProto::USER_POLICY_MODE_MERGE; |
| const DeviceUserPolicyLoopbackProcessingModeProto_Mode DeviceUserPolicyLoopbackProcessingModeProto::USER_POLICY_MODE_REPLACE; |
| const DeviceUserPolicyLoopbackProcessingModeProto_Mode DeviceUserPolicyLoopbackProcessingModeProto::Mode_MIN; |
| const DeviceUserPolicyLoopbackProcessingModeProto_Mode DeviceUserPolicyLoopbackProcessingModeProto::Mode_MAX; |
| const int DeviceUserPolicyLoopbackProcessingModeProto::Mode_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool SamlLoginAuthenticationTypeProto_Type_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const SamlLoginAuthenticationTypeProto_Type SamlLoginAuthenticationTypeProto::TYPE_DEFAULT; |
| const SamlLoginAuthenticationTypeProto_Type SamlLoginAuthenticationTypeProto::TYPE_CLIENT_CERTIFICATE; |
| const SamlLoginAuthenticationTypeProto_Type SamlLoginAuthenticationTypeProto::Type_MIN; |
| const SamlLoginAuthenticationTypeProto_Type SamlLoginAuthenticationTypeProto::Type_MAX; |
| const int SamlLoginAuthenticationTypeProto::Type_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceRebootOnUserSignoutProto_RebootOnSignoutMode_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceRebootOnUserSignoutProto_RebootOnSignoutMode DeviceRebootOnUserSignoutProto::REBOOT_ON_SIGNOUT_MODE_UNSPECIFIED; |
| const DeviceRebootOnUserSignoutProto_RebootOnSignoutMode DeviceRebootOnUserSignoutProto::NEVER; |
| const DeviceRebootOnUserSignoutProto_RebootOnSignoutMode DeviceRebootOnUserSignoutProto::ARC_SESSION; |
| const DeviceRebootOnUserSignoutProto_RebootOnSignoutMode DeviceRebootOnUserSignoutProto::ALWAYS; |
| const DeviceRebootOnUserSignoutProto_RebootOnSignoutMode DeviceRebootOnUserSignoutProto::RebootOnSignoutMode_MIN; |
| const DeviceRebootOnUserSignoutProto_RebootOnSignoutMode DeviceRebootOnUserSignoutProto::RebootOnSignoutMode_MAX; |
| const int DeviceRebootOnUserSignoutProto::RebootOnSignoutMode_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceDockMacAddressSourceProto_Source_IsValid(int value) { |
| switch (value) { |
| case 0: |
| case 1: |
| case 2: |
| case 3: |
| return true; |
| default: |
| return false; |
| } |
| } |
| |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const DeviceDockMacAddressSourceProto_Source DeviceDockMacAddressSourceProto::SOURCE_UNSPECIFIED; |
| const DeviceDockMacAddressSourceProto_Source DeviceDockMacAddressSourceProto::DEVICE_DOCK_MAC_ADDRESS; |
| const DeviceDockMacAddressSourceProto_Source DeviceDockMacAddressSourceProto::DEVICE_NIC_MAC_ADDRESS; |
| const DeviceDockMacAddressSourceProto_Source DeviceDockMacAddressSourceProto::DOCK_NIC_MAC_ADDRESS; |
| const DeviceDockMacAddressSourceProto_Source DeviceDockMacAddressSourceProto::Source_MIN; |
| const DeviceDockMacAddressSourceProto_Source DeviceDockMacAddressSourceProto::Source_MAX; |
| const int DeviceDockMacAddressSourceProto::Source_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| bool DeviceBatteryChargeModeProto_BatteryChargeMode_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 DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::MODE_UNSPECIFIED; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::STANDARD; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::EXPRESS_CHARGE; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::PRIMARILY_AC_USE; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::ADAPTIVE; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::CUSTOM; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::BatteryChargeMode_MIN; |
| const DeviceBatteryChargeModeProto_BatteryChargeMode DeviceBatteryChargeModeProto::BatteryChargeMode_MAX; |
| const int DeviceBatteryChargeModeProto::BatteryChargeMode_ARRAYSIZE; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| // =================================================================== |
| |
| void DevicePolicyRefreshRateProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DevicePolicyRefreshRateProto::kDevicePolicyRefreshRateFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DevicePolicyRefreshRateProto::DevicePolicyRefreshRateProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePolicyRefreshRateProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DevicePolicyRefreshRateProto) |
| } |
| DevicePolicyRefreshRateProto::DevicePolicyRefreshRateProto(const DevicePolicyRefreshRateProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_policy_refresh_rate_ = from.device_policy_refresh_rate_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DevicePolicyRefreshRateProto) |
| } |
| |
| void DevicePolicyRefreshRateProto::SharedCtor() { |
| device_policy_refresh_rate_ = GOOGLE_LONGLONG(0); |
| } |
| |
| DevicePolicyRefreshRateProto::~DevicePolicyRefreshRateProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DevicePolicyRefreshRateProto) |
| SharedDtor(); |
| } |
| |
| void DevicePolicyRefreshRateProto::SharedDtor() { |
| } |
| |
| void DevicePolicyRefreshRateProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DevicePolicyRefreshRateProto& DevicePolicyRefreshRateProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePolicyRefreshRateProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DevicePolicyRefreshRateProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DevicePolicyRefreshRateProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_policy_refresh_rate_ = GOOGLE_LONGLONG(0); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DevicePolicyRefreshRateProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DevicePolicyRefreshRateProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int64 device_policy_refresh_rate = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_device_policy_refresh_rate(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &device_policy_refresh_rate_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DevicePolicyRefreshRateProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DevicePolicyRefreshRateProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DevicePolicyRefreshRateProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DevicePolicyRefreshRateProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int64 device_policy_refresh_rate = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->device_policy_refresh_rate(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DevicePolicyRefreshRateProto) |
| } |
| |
| size_t DevicePolicyRefreshRateProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DevicePolicyRefreshRateProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional int64 device_policy_refresh_rate = 1; |
| if (has_device_policy_refresh_rate()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->device_policy_refresh_rate()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DevicePolicyRefreshRateProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DevicePolicyRefreshRateProto*>(&from)); |
| } |
| |
| void DevicePolicyRefreshRateProto::MergeFrom(const DevicePolicyRefreshRateProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DevicePolicyRefreshRateProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_policy_refresh_rate()) { |
| set_device_policy_refresh_rate(from.device_policy_refresh_rate()); |
| } |
| } |
| |
| void DevicePolicyRefreshRateProto::CopyFrom(const DevicePolicyRefreshRateProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DevicePolicyRefreshRateProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DevicePolicyRefreshRateProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DevicePolicyRefreshRateProto::Swap(DevicePolicyRefreshRateProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DevicePolicyRefreshRateProto::InternalSwap(DevicePolicyRefreshRateProto* other) { |
| using std::swap; |
| swap(device_policy_refresh_rate_, other->device_policy_refresh_rate_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DevicePolicyRefreshRateProto::GetTypeName() const { |
| return "enterprise_management.DevicePolicyRefreshRateProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void UserWhitelistProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int UserWhitelistProto::kUserWhitelistFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| UserWhitelistProto::UserWhitelistProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UserWhitelistProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.UserWhitelistProto) |
| } |
| UserWhitelistProto::UserWhitelistProto(const UserWhitelistProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| user_whitelist_(from.user_whitelist_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.UserWhitelistProto) |
| } |
| |
| void UserWhitelistProto::SharedCtor() { |
| } |
| |
| UserWhitelistProto::~UserWhitelistProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.UserWhitelistProto) |
| SharedDtor(); |
| } |
| |
| void UserWhitelistProto::SharedDtor() { |
| } |
| |
| void UserWhitelistProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const UserWhitelistProto& UserWhitelistProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UserWhitelistProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void UserWhitelistProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.UserWhitelistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| user_whitelist_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool UserWhitelistProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.UserWhitelistProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string user_whitelist = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_user_whitelist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.UserWhitelistProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.UserWhitelistProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void UserWhitelistProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.UserWhitelistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string user_whitelist = 1; |
| for (int i = 0, n = this->user_whitelist_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->user_whitelist(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.UserWhitelistProto) |
| } |
| |
| size_t UserWhitelistProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.UserWhitelistProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string user_whitelist = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->user_whitelist_size()); |
| for (int i = 0, n = this->user_whitelist_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->user_whitelist(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void UserWhitelistProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const UserWhitelistProto*>(&from)); |
| } |
| |
| void UserWhitelistProto::MergeFrom(const UserWhitelistProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.UserWhitelistProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| user_whitelist_.MergeFrom(from.user_whitelist_); |
| } |
| |
| void UserWhitelistProto::CopyFrom(const UserWhitelistProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.UserWhitelistProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool UserWhitelistProto::IsInitialized() const { |
| return true; |
| } |
| |
| void UserWhitelistProto::Swap(UserWhitelistProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void UserWhitelistProto::InternalSwap(UserWhitelistProto* other) { |
| using std::swap; |
| user_whitelist_.InternalSwap(CastToBase(&other->user_whitelist_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string UserWhitelistProto::GetTypeName() const { |
| return "enterprise_management.UserWhitelistProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AllowNewUsersProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AllowNewUsersProto::kAllowNewUsersFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AllowNewUsersProto::AllowNewUsersProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowNewUsersProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AllowNewUsersProto) |
| } |
| AllowNewUsersProto::AllowNewUsersProto(const AllowNewUsersProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| allow_new_users_ = from.allow_new_users_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AllowNewUsersProto) |
| } |
| |
| void AllowNewUsersProto::SharedCtor() { |
| allow_new_users_ = true; |
| } |
| |
| AllowNewUsersProto::~AllowNewUsersProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AllowNewUsersProto) |
| SharedDtor(); |
| } |
| |
| void AllowNewUsersProto::SharedDtor() { |
| } |
| |
| void AllowNewUsersProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AllowNewUsersProto& AllowNewUsersProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowNewUsersProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AllowNewUsersProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AllowNewUsersProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| allow_new_users_ = true; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AllowNewUsersProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AllowNewUsersProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool allow_new_users = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_allow_new_users(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &allow_new_users_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AllowNewUsersProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AllowNewUsersProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AllowNewUsersProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AllowNewUsersProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool allow_new_users = 1 [default = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->allow_new_users(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AllowNewUsersProto) |
| } |
| |
| size_t AllowNewUsersProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AllowNewUsersProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool allow_new_users = 1 [default = true]; |
| if (has_allow_new_users()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AllowNewUsersProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AllowNewUsersProto*>(&from)); |
| } |
| |
| void AllowNewUsersProto::MergeFrom(const AllowNewUsersProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AllowNewUsersProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_allow_new_users()) { |
| set_allow_new_users(from.allow_new_users()); |
| } |
| } |
| |
| void AllowNewUsersProto::CopyFrom(const AllowNewUsersProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AllowNewUsersProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AllowNewUsersProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AllowNewUsersProto::Swap(AllowNewUsersProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AllowNewUsersProto::InternalSwap(AllowNewUsersProto* other) { |
| using std::swap; |
| swap(allow_new_users_, other->allow_new_users_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AllowNewUsersProto::GetTypeName() const { |
| return "enterprise_management.AllowNewUsersProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void GuestModeEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int GuestModeEnabledProto::kGuestModeEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| GuestModeEnabledProto::GuestModeEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_GuestModeEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.GuestModeEnabledProto) |
| } |
| GuestModeEnabledProto::GuestModeEnabledProto(const GuestModeEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| guest_mode_enabled_ = from.guest_mode_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.GuestModeEnabledProto) |
| } |
| |
| void GuestModeEnabledProto::SharedCtor() { |
| guest_mode_enabled_ = true; |
| } |
| |
| GuestModeEnabledProto::~GuestModeEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.GuestModeEnabledProto) |
| SharedDtor(); |
| } |
| |
| void GuestModeEnabledProto::SharedDtor() { |
| } |
| |
| void GuestModeEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const GuestModeEnabledProto& GuestModeEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_GuestModeEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void GuestModeEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.GuestModeEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| guest_mode_enabled_ = true; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool GuestModeEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.GuestModeEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool guest_mode_enabled = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_guest_mode_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &guest_mode_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.GuestModeEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.GuestModeEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void GuestModeEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.GuestModeEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool guest_mode_enabled = 1 [default = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->guest_mode_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.GuestModeEnabledProto) |
| } |
| |
| size_t GuestModeEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.GuestModeEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool guest_mode_enabled = 1 [default = true]; |
| if (has_guest_mode_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void GuestModeEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const GuestModeEnabledProto*>(&from)); |
| } |
| |
| void GuestModeEnabledProto::MergeFrom(const GuestModeEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.GuestModeEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_guest_mode_enabled()) { |
| set_guest_mode_enabled(from.guest_mode_enabled()); |
| } |
| } |
| |
| void GuestModeEnabledProto::CopyFrom(const GuestModeEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.GuestModeEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool GuestModeEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void GuestModeEnabledProto::Swap(GuestModeEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void GuestModeEnabledProto::InternalSwap(GuestModeEnabledProto* other) { |
| using std::swap; |
| swap(guest_mode_enabled_, other->guest_mode_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string GuestModeEnabledProto::GetTypeName() const { |
| return "enterprise_management.GuestModeEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void ShowUserNamesOnSigninProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int ShowUserNamesOnSigninProto::kShowUserNamesFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| ShowUserNamesOnSigninProto::ShowUserNamesOnSigninProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ShowUserNamesOnSigninProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.ShowUserNamesOnSigninProto) |
| } |
| ShowUserNamesOnSigninProto::ShowUserNamesOnSigninProto(const ShowUserNamesOnSigninProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| show_user_names_ = from.show_user_names_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.ShowUserNamesOnSigninProto) |
| } |
| |
| void ShowUserNamesOnSigninProto::SharedCtor() { |
| show_user_names_ = true; |
| } |
| |
| ShowUserNamesOnSigninProto::~ShowUserNamesOnSigninProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.ShowUserNamesOnSigninProto) |
| SharedDtor(); |
| } |
| |
| void ShowUserNamesOnSigninProto::SharedDtor() { |
| } |
| |
| void ShowUserNamesOnSigninProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const ShowUserNamesOnSigninProto& ShowUserNamesOnSigninProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ShowUserNamesOnSigninProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void ShowUserNamesOnSigninProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.ShowUserNamesOnSigninProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| show_user_names_ = true; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool ShowUserNamesOnSigninProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.ShowUserNamesOnSigninProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool show_user_names = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_show_user_names(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &show_user_names_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.ShowUserNamesOnSigninProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.ShowUserNamesOnSigninProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void ShowUserNamesOnSigninProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.ShowUserNamesOnSigninProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool show_user_names = 1 [default = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->show_user_names(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.ShowUserNamesOnSigninProto) |
| } |
| |
| size_t ShowUserNamesOnSigninProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.ShowUserNamesOnSigninProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool show_user_names = 1 [default = true]; |
| if (has_show_user_names()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void ShowUserNamesOnSigninProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const ShowUserNamesOnSigninProto*>(&from)); |
| } |
| |
| void ShowUserNamesOnSigninProto::MergeFrom(const ShowUserNamesOnSigninProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.ShowUserNamesOnSigninProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_show_user_names()) { |
| set_show_user_names(from.show_user_names()); |
| } |
| } |
| |
| void ShowUserNamesOnSigninProto::CopyFrom(const ShowUserNamesOnSigninProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.ShowUserNamesOnSigninProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool ShowUserNamesOnSigninProto::IsInitialized() const { |
| return true; |
| } |
| |
| void ShowUserNamesOnSigninProto::Swap(ShowUserNamesOnSigninProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void ShowUserNamesOnSigninProto::InternalSwap(ShowUserNamesOnSigninProto* other) { |
| using std::swap; |
| swap(show_user_names_, other->show_user_names_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string ShowUserNamesOnSigninProto::GetTypeName() const { |
| return "enterprise_management.ShowUserNamesOnSigninProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DataRoamingEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DataRoamingEnabledProto::kDataRoamingEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DataRoamingEnabledProto::DataRoamingEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DataRoamingEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DataRoamingEnabledProto) |
| } |
| DataRoamingEnabledProto::DataRoamingEnabledProto(const DataRoamingEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| data_roaming_enabled_ = from.data_roaming_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DataRoamingEnabledProto) |
| } |
| |
| void DataRoamingEnabledProto::SharedCtor() { |
| data_roaming_enabled_ = false; |
| } |
| |
| DataRoamingEnabledProto::~DataRoamingEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DataRoamingEnabledProto) |
| SharedDtor(); |
| } |
| |
| void DataRoamingEnabledProto::SharedDtor() { |
| } |
| |
| void DataRoamingEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DataRoamingEnabledProto& DataRoamingEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DataRoamingEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DataRoamingEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DataRoamingEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| data_roaming_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DataRoamingEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DataRoamingEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool data_roaming_enabled = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_data_roaming_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &data_roaming_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DataRoamingEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DataRoamingEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DataRoamingEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DataRoamingEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool data_roaming_enabled = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->data_roaming_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DataRoamingEnabledProto) |
| } |
| |
| size_t DataRoamingEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DataRoamingEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool data_roaming_enabled = 1 [default = false]; |
| if (has_data_roaming_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DataRoamingEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DataRoamingEnabledProto*>(&from)); |
| } |
| |
| void DataRoamingEnabledProto::MergeFrom(const DataRoamingEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DataRoamingEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_data_roaming_enabled()) { |
| set_data_roaming_enabled(from.data_roaming_enabled()); |
| } |
| } |
| |
| void DataRoamingEnabledProto::CopyFrom(const DataRoamingEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DataRoamingEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DataRoamingEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DataRoamingEnabledProto::Swap(DataRoamingEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DataRoamingEnabledProto::InternalSwap(DataRoamingEnabledProto* other) { |
| using std::swap; |
| swap(data_roaming_enabled_, other->data_roaming_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DataRoamingEnabledProto::GetTypeName() const { |
| return "enterprise_management.DataRoamingEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_DeviceProxySettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_DeviceProxySettingsProto::kOBSOLETEProxyModeFieldNumber; |
| const int OBSOLETE_DeviceProxySettingsProto::kOBSOLETEProxyServerFieldNumber; |
| const int OBSOLETE_DeviceProxySettingsProto::kOBSOLETEProxyPacUrlFieldNumber; |
| const int OBSOLETE_DeviceProxySettingsProto::kOBSOLETEProxyBypassListFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_DeviceProxySettingsProto::OBSOLETE_DeviceProxySettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_DeviceProxySettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| } |
| OBSOLETE_DeviceProxySettingsProto::OBSOLETE_DeviceProxySettingsProto(const OBSOLETE_DeviceProxySettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| obsolete_proxy_mode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_proxy_mode()) { |
| obsolete_proxy_mode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_mode_); |
| } |
| obsolete_proxy_server_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_proxy_server()) { |
| obsolete_proxy_server_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_server_); |
| } |
| obsolete_proxy_pac_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_proxy_pac_url()) { |
| obsolete_proxy_pac_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_pac_url_); |
| } |
| obsolete_proxy_bypass_list_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_proxy_bypass_list()) { |
| obsolete_proxy_bypass_list_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_bypass_list_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::SharedCtor() { |
| obsolete_proxy_mode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_proxy_server_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_proxy_pac_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_proxy_bypass_list_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| OBSOLETE_DeviceProxySettingsProto::~OBSOLETE_DeviceProxySettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::SharedDtor() { |
| obsolete_proxy_mode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_proxy_server_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_proxy_pac_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_proxy_bypass_list_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_DeviceProxySettingsProto& OBSOLETE_DeviceProxySettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_DeviceProxySettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_DeviceProxySettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 15u) { |
| if (cached_has_bits & 0x00000001u) { |
| obsolete_proxy_mode_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| obsolete_proxy_server_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| obsolete_proxy_pac_url_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| obsolete_proxy_bypass_list_.ClearNonDefaultToEmptyNoArena(); |
| } |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_DeviceProxySettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string OBSOLETE_proxy_mode = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_proxy_mode())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string OBSOLETE_proxy_server = 2 [deprecated = true]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_proxy_server())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string OBSOLETE_proxy_pac_url = 3 [deprecated = true]; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_proxy_pac_url())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string OBSOLETE_proxy_bypass_list = 4 [deprecated = true]; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_proxy_bypass_list())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string OBSOLETE_proxy_mode = 1 [deprecated = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->obsolete_proxy_mode(), output); |
| } |
| |
| // optional string OBSOLETE_proxy_server = 2 [deprecated = true]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->obsolete_proxy_server(), output); |
| } |
| |
| // optional string OBSOLETE_proxy_pac_url = 3 [deprecated = true]; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 3, this->obsolete_proxy_pac_url(), output); |
| } |
| |
| // optional string OBSOLETE_proxy_bypass_list = 4 [deprecated = true]; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 4, this->obsolete_proxy_bypass_list(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| } |
| |
| size_t OBSOLETE_DeviceProxySettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 15u) { |
| // optional string OBSOLETE_proxy_mode = 1 [deprecated = true]; |
| if (has_obsolete_proxy_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_proxy_mode()); |
| } |
| |
| // optional string OBSOLETE_proxy_server = 2 [deprecated = true]; |
| if (has_obsolete_proxy_server()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_proxy_server()); |
| } |
| |
| // optional string OBSOLETE_proxy_pac_url = 3 [deprecated = true]; |
| if (has_obsolete_proxy_pac_url()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_proxy_pac_url()); |
| } |
| |
| // optional string OBSOLETE_proxy_bypass_list = 4 [deprecated = true]; |
| if (has_obsolete_proxy_bypass_list()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_proxy_bypass_list()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_DeviceProxySettingsProto*>(&from)); |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::MergeFrom(const OBSOLETE_DeviceProxySettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 15u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_obsolete_proxy_mode(); |
| obsolete_proxy_mode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_mode_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| set_has_obsolete_proxy_server(); |
| obsolete_proxy_server_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_server_); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| set_has_obsolete_proxy_pac_url(); |
| obsolete_proxy_pac_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_pac_url_); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| set_has_obsolete_proxy_bypass_list(); |
| obsolete_proxy_bypass_list_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_proxy_bypass_list_); |
| } |
| } |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::CopyFrom(const OBSOLETE_DeviceProxySettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_DeviceProxySettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_DeviceProxySettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_DeviceProxySettingsProto::Swap(OBSOLETE_DeviceProxySettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_DeviceProxySettingsProto::InternalSwap(OBSOLETE_DeviceProxySettingsProto* other) { |
| using std::swap; |
| obsolete_proxy_mode_.Swap(&other->obsolete_proxy_mode_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| obsolete_proxy_server_.Swap(&other->obsolete_proxy_server_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| obsolete_proxy_pac_url_.Swap(&other->obsolete_proxy_pac_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| obsolete_proxy_bypass_list_.Swap(&other->obsolete_proxy_bypass_list_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_DeviceProxySettingsProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_DeviceProxySettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void CameraEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int CameraEnabledProto::kCameraEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| CameraEnabledProto::CameraEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_CameraEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.CameraEnabledProto) |
| } |
| CameraEnabledProto::CameraEnabledProto(const CameraEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| camera_enabled_ = from.camera_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.CameraEnabledProto) |
| } |
| |
| void CameraEnabledProto::SharedCtor() { |
| camera_enabled_ = false; |
| } |
| |
| CameraEnabledProto::~CameraEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.CameraEnabledProto) |
| SharedDtor(); |
| } |
| |
| void CameraEnabledProto::SharedDtor() { |
| } |
| |
| void CameraEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const CameraEnabledProto& CameraEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_CameraEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void CameraEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.CameraEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| camera_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool CameraEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.CameraEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool camera_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_camera_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &camera_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.CameraEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.CameraEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void CameraEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.CameraEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool camera_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->camera_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.CameraEnabledProto) |
| } |
| |
| size_t CameraEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.CameraEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool camera_enabled = 1; |
| if (has_camera_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void CameraEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const CameraEnabledProto*>(&from)); |
| } |
| |
| void CameraEnabledProto::MergeFrom(const CameraEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.CameraEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_camera_enabled()) { |
| set_camera_enabled(from.camera_enabled()); |
| } |
| } |
| |
| void CameraEnabledProto::CopyFrom(const CameraEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.CameraEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool CameraEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void CameraEnabledProto::Swap(CameraEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void CameraEnabledProto::InternalSwap(CameraEnabledProto* other) { |
| using std::swap; |
| swap(camera_enabled_, other->camera_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string CameraEnabledProto::GetTypeName() const { |
| return "enterprise_management.CameraEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void MetricsEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int MetricsEnabledProto::kMetricsEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| MetricsEnabledProto::MetricsEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_MetricsEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.MetricsEnabledProto) |
| } |
| MetricsEnabledProto::MetricsEnabledProto(const MetricsEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| metrics_enabled_ = from.metrics_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.MetricsEnabledProto) |
| } |
| |
| void MetricsEnabledProto::SharedCtor() { |
| metrics_enabled_ = false; |
| } |
| |
| MetricsEnabledProto::~MetricsEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.MetricsEnabledProto) |
| SharedDtor(); |
| } |
| |
| void MetricsEnabledProto::SharedDtor() { |
| } |
| |
| void MetricsEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const MetricsEnabledProto& MetricsEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_MetricsEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void MetricsEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.MetricsEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| metrics_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool MetricsEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.MetricsEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool metrics_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_metrics_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &metrics_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.MetricsEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.MetricsEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void MetricsEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.MetricsEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool metrics_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->metrics_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.MetricsEnabledProto) |
| } |
| |
| size_t MetricsEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.MetricsEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool metrics_enabled = 1; |
| if (has_metrics_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void MetricsEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const MetricsEnabledProto*>(&from)); |
| } |
| |
| void MetricsEnabledProto::MergeFrom(const MetricsEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.MetricsEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_metrics_enabled()) { |
| set_metrics_enabled(from.metrics_enabled()); |
| } |
| } |
| |
| void MetricsEnabledProto::CopyFrom(const MetricsEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.MetricsEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool MetricsEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void MetricsEnabledProto::Swap(MetricsEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void MetricsEnabledProto::InternalSwap(MetricsEnabledProto* other) { |
| using std::swap; |
| swap(metrics_enabled_, other->metrics_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string MetricsEnabledProto::GetTypeName() const { |
| return "enterprise_management.MetricsEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void ReleaseChannelProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int ReleaseChannelProto::kReleaseChannelFieldNumber; |
| const int ReleaseChannelProto::kReleaseChannelDelegatedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| ReleaseChannelProto::ReleaseChannelProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ReleaseChannelProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.ReleaseChannelProto) |
| } |
| ReleaseChannelProto::ReleaseChannelProto(const ReleaseChannelProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| release_channel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_release_channel()) { |
| release_channel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.release_channel_); |
| } |
| release_channel_delegated_ = from.release_channel_delegated_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.ReleaseChannelProto) |
| } |
| |
| void ReleaseChannelProto::SharedCtor() { |
| release_channel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| release_channel_delegated_ = false; |
| } |
| |
| ReleaseChannelProto::~ReleaseChannelProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.ReleaseChannelProto) |
| SharedDtor(); |
| } |
| |
| void ReleaseChannelProto::SharedDtor() { |
| release_channel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void ReleaseChannelProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const ReleaseChannelProto& ReleaseChannelProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ReleaseChannelProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void ReleaseChannelProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.ReleaseChannelProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| release_channel_.ClearNonDefaultToEmptyNoArena(); |
| } |
| release_channel_delegated_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool ReleaseChannelProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.ReleaseChannelProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string release_channel = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_release_channel())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool release_channel_delegated = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_release_channel_delegated(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &release_channel_delegated_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.ReleaseChannelProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.ReleaseChannelProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void ReleaseChannelProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.ReleaseChannelProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string release_channel = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->release_channel(), output); |
| } |
| |
| // optional bool release_channel_delegated = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->release_channel_delegated(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.ReleaseChannelProto) |
| } |
| |
| size_t ReleaseChannelProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.ReleaseChannelProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional string release_channel = 1; |
| if (has_release_channel()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->release_channel()); |
| } |
| |
| // optional bool release_channel_delegated = 2; |
| if (has_release_channel_delegated()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void ReleaseChannelProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const ReleaseChannelProto*>(&from)); |
| } |
| |
| void ReleaseChannelProto::MergeFrom(const ReleaseChannelProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.ReleaseChannelProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_release_channel(); |
| release_channel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.release_channel_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| release_channel_delegated_ = from.release_channel_delegated_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void ReleaseChannelProto::CopyFrom(const ReleaseChannelProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.ReleaseChannelProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool ReleaseChannelProto::IsInitialized() const { |
| return true; |
| } |
| |
| void ReleaseChannelProto::Swap(ReleaseChannelProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void ReleaseChannelProto::InternalSwap(ReleaseChannelProto* other) { |
| using std::swap; |
| release_channel_.Swap(&other->release_channel_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(release_channel_delegated_, other->release_channel_delegated_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string ReleaseChannelProto::GetTypeName() const { |
| return "enterprise_management.ReleaseChannelProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceOpenNetworkConfigurationProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceOpenNetworkConfigurationProto::kOpenNetworkConfigurationFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceOpenNetworkConfigurationProto::DeviceOpenNetworkConfigurationProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceOpenNetworkConfigurationProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| } |
| DeviceOpenNetworkConfigurationProto::DeviceOpenNetworkConfigurationProto(const DeviceOpenNetworkConfigurationProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| open_network_configuration_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_open_network_configuration()) { |
| open_network_configuration_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.open_network_configuration_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::SharedCtor() { |
| open_network_configuration_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceOpenNetworkConfigurationProto::~DeviceOpenNetworkConfigurationProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| SharedDtor(); |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::SharedDtor() { |
| open_network_configuration_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceOpenNetworkConfigurationProto& DeviceOpenNetworkConfigurationProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceOpenNetworkConfigurationProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceOpenNetworkConfigurationProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| open_network_configuration_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceOpenNetworkConfigurationProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string open_network_configuration = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_open_network_configuration())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string open_network_configuration = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->open_network_configuration(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| } |
| |
| size_t DeviceOpenNetworkConfigurationProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string open_network_configuration = 1; |
| if (has_open_network_configuration()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->open_network_configuration()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceOpenNetworkConfigurationProto*>(&from)); |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::MergeFrom(const DeviceOpenNetworkConfigurationProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_open_network_configuration()) { |
| set_has_open_network_configuration(); |
| open_network_configuration_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.open_network_configuration_); |
| } |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::CopyFrom(const DeviceOpenNetworkConfigurationProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceOpenNetworkConfigurationProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceOpenNetworkConfigurationProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceOpenNetworkConfigurationProto::Swap(DeviceOpenNetworkConfigurationProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceOpenNetworkConfigurationProto::InternalSwap(DeviceOpenNetworkConfigurationProto* other) { |
| using std::swap; |
| open_network_configuration_.Swap(&other->open_network_configuration_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceOpenNetworkConfigurationProto::GetTypeName() const { |
| return "enterprise_management.DeviceOpenNetworkConfigurationProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void NetworkHostnameProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int NetworkHostnameProto::kDeviceHostnameTemplateFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| NetworkHostnameProto::NetworkHostnameProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_NetworkHostnameProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.NetworkHostnameProto) |
| } |
| NetworkHostnameProto::NetworkHostnameProto(const NetworkHostnameProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_hostname_template_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_hostname_template()) { |
| device_hostname_template_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_hostname_template_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.NetworkHostnameProto) |
| } |
| |
| void NetworkHostnameProto::SharedCtor() { |
| device_hostname_template_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| NetworkHostnameProto::~NetworkHostnameProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.NetworkHostnameProto) |
| SharedDtor(); |
| } |
| |
| void NetworkHostnameProto::SharedDtor() { |
| device_hostname_template_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void NetworkHostnameProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const NetworkHostnameProto& NetworkHostnameProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_NetworkHostnameProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void NetworkHostnameProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.NetworkHostnameProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| device_hostname_template_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool NetworkHostnameProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.NetworkHostnameProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string device_hostname_template = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_hostname_template())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.NetworkHostnameProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.NetworkHostnameProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void NetworkHostnameProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.NetworkHostnameProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string device_hostname_template = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->device_hostname_template(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.NetworkHostnameProto) |
| } |
| |
| size_t NetworkHostnameProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.NetworkHostnameProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string device_hostname_template = 1; |
| if (has_device_hostname_template()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_hostname_template()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void NetworkHostnameProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const NetworkHostnameProto*>(&from)); |
| } |
| |
| void NetworkHostnameProto::MergeFrom(const NetworkHostnameProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.NetworkHostnameProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_hostname_template()) { |
| set_has_device_hostname_template(); |
| device_hostname_template_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_hostname_template_); |
| } |
| } |
| |
| void NetworkHostnameProto::CopyFrom(const NetworkHostnameProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.NetworkHostnameProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool NetworkHostnameProto::IsInitialized() const { |
| return true; |
| } |
| |
| void NetworkHostnameProto::Swap(NetworkHostnameProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void NetworkHostnameProto::InternalSwap(NetworkHostnameProto* other) { |
| using std::swap; |
| device_hostname_template_.Swap(&other->device_hostname_template_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string NetworkHostnameProto::GetTypeName() const { |
| return "enterprise_management.NetworkHostnameProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceReportingProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceReportingProto::kReportVersionInfoFieldNumber; |
| const int DeviceReportingProto::kReportActivityTimesFieldNumber; |
| const int DeviceReportingProto::kReportBootModeFieldNumber; |
| const int DeviceReportingProto::kReportLocationFieldNumber; |
| const int DeviceReportingProto::kReportNetworkInterfacesFieldNumber; |
| const int DeviceReportingProto::kReportUsersFieldNumber; |
| const int DeviceReportingProto::kReportHardwareStatusFieldNumber; |
| const int DeviceReportingProto::kReportSessionStatusFieldNumber; |
| const int DeviceReportingProto::kReportOsUpdateStatusFieldNumber; |
| const int DeviceReportingProto::kReportRunningKioskAppFieldNumber; |
| const int DeviceReportingProto::kReportPowerStatusFieldNumber; |
| const int DeviceReportingProto::kReportStorageStatusFieldNumber; |
| const int DeviceReportingProto::kReportBoardStatusFieldNumber; |
| const int DeviceReportingProto::kDeviceStatusFrequencyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceReportingProto::DeviceReportingProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceReportingProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceReportingProto) |
| } |
| DeviceReportingProto::DeviceReportingProto(const DeviceReportingProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&report_location_, &from.report_location_, |
| static_cast<size_t>(reinterpret_cast<char*>(&device_status_frequency_) - |
| reinterpret_cast<char*>(&report_location_)) + sizeof(device_status_frequency_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceReportingProto) |
| } |
| |
| void DeviceReportingProto::SharedCtor() { |
| ::memset(&report_location_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&report_board_status_) - |
| reinterpret_cast<char*>(&report_location_)) + sizeof(report_board_status_)); |
| report_version_info_ = true; |
| report_activity_times_ = true; |
| report_boot_mode_ = true; |
| report_network_interfaces_ = true; |
| report_users_ = true; |
| report_hardware_status_ = true; |
| report_session_status_ = true; |
| device_status_frequency_ = GOOGLE_LONGLONG(10800000); |
| } |
| |
| DeviceReportingProto::~DeviceReportingProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceReportingProto) |
| SharedDtor(); |
| } |
| |
| void DeviceReportingProto::SharedDtor() { |
| } |
| |
| void DeviceReportingProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceReportingProto& DeviceReportingProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceReportingProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceReportingProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceReportingProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 255u) { |
| ::memset(&report_location_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&report_board_status_) - |
| reinterpret_cast<char*>(&report_location_)) + sizeof(report_board_status_)); |
| report_version_info_ = true; |
| report_activity_times_ = true; |
| } |
| if (cached_has_bits & 16128u) { |
| report_boot_mode_ = true; |
| report_network_interfaces_ = true; |
| report_users_ = true; |
| report_hardware_status_ = true; |
| report_session_status_ = true; |
| device_status_frequency_ = GOOGLE_LONGLONG(10800000); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceReportingProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceReportingProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool report_version_info = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_report_version_info(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_version_info_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_activity_times = 2 [default = true]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_report_activity_times(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_activity_times_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_boot_mode = 3 [default = true]; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| set_has_report_boot_mode(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_boot_mode_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_location = 4 [default = false]; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
| set_has_report_location(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_location_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_network_interfaces = 5 [default = true]; |
| case 5: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
| set_has_report_network_interfaces(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_network_interfaces_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_users = 6 [default = true]; |
| case 6: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
| set_has_report_users(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_users_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_hardware_status = 7 [default = true]; |
| case 7: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { |
| set_has_report_hardware_status(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_hardware_status_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_session_status = 8 [default = true]; |
| case 8: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { |
| set_has_report_session_status(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_session_status_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 device_status_frequency = 9 [default = 10800000]; |
| case 9: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { |
| set_has_device_status_frequency(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &device_status_frequency_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_os_update_status = 10 [default = false]; |
| case 10: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { |
| set_has_report_os_update_status(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_os_update_status_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_running_kiosk_app = 11 [default = false]; |
| case 11: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { |
| set_has_report_running_kiosk_app(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_running_kiosk_app_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_power_status = 12 [default = false]; |
| case 12: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) { |
| set_has_report_power_status(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_power_status_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_storage_status = 13 [default = false]; |
| case 13: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) { |
| set_has_report_storage_status(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_storage_status_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool report_board_status = 14 [default = false]; |
| case 14: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) { |
| set_has_report_board_status(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &report_board_status_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceReportingProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceReportingProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceReportingProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceReportingProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool report_version_info = 1 [default = true]; |
| if (cached_has_bits & 0x00000040u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->report_version_info(), output); |
| } |
| |
| // optional bool report_activity_times = 2 [default = true]; |
| if (cached_has_bits & 0x00000080u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->report_activity_times(), output); |
| } |
| |
| // optional bool report_boot_mode = 3 [default = true]; |
| if (cached_has_bits & 0x00000100u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->report_boot_mode(), output); |
| } |
| |
| // optional bool report_location = 4 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->report_location(), output); |
| } |
| |
| // optional bool report_network_interfaces = 5 [default = true]; |
| if (cached_has_bits & 0x00000200u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->report_network_interfaces(), output); |
| } |
| |
| // optional bool report_users = 6 [default = true]; |
| if (cached_has_bits & 0x00000400u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->report_users(), output); |
| } |
| |
| // optional bool report_hardware_status = 7 [default = true]; |
| if (cached_has_bits & 0x00000800u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->report_hardware_status(), output); |
| } |
| |
| // optional bool report_session_status = 8 [default = true]; |
| if (cached_has_bits & 0x00001000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->report_session_status(), output); |
| } |
| |
| // optional int64 device_status_frequency = 9 [default = 10800000]; |
| if (cached_has_bits & 0x00002000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(9, this->device_status_frequency(), output); |
| } |
| |
| // optional bool report_os_update_status = 10 [default = false]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->report_os_update_status(), output); |
| } |
| |
| // optional bool report_running_kiosk_app = 11 [default = false]; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->report_running_kiosk_app(), output); |
| } |
| |
| // optional bool report_power_status = 12 [default = false]; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->report_power_status(), output); |
| } |
| |
| // optional bool report_storage_status = 13 [default = false]; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(13, this->report_storage_status(), output); |
| } |
| |
| // optional bool report_board_status = 14 [default = false]; |
| if (cached_has_bits & 0x00000020u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(14, this->report_board_status(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceReportingProto) |
| } |
| |
| size_t DeviceReportingProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceReportingProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 255u) { |
| // optional bool report_location = 4 [default = false]; |
| if (has_report_location()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_os_update_status = 10 [default = false]; |
| if (has_report_os_update_status()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_running_kiosk_app = 11 [default = false]; |
| if (has_report_running_kiosk_app()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_power_status = 12 [default = false]; |
| if (has_report_power_status()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_storage_status = 13 [default = false]; |
| if (has_report_storage_status()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_board_status = 14 [default = false]; |
| if (has_report_board_status()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_version_info = 1 [default = true]; |
| if (has_report_version_info()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_activity_times = 2 [default = true]; |
| if (has_report_activity_times()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| if (_has_bits_[8 / 32] & 16128u) { |
| // optional bool report_boot_mode = 3 [default = true]; |
| if (has_report_boot_mode()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_network_interfaces = 5 [default = true]; |
| if (has_report_network_interfaces()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_users = 6 [default = true]; |
| if (has_report_users()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_hardware_status = 7 [default = true]; |
| if (has_report_hardware_status()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool report_session_status = 8 [default = true]; |
| if (has_report_session_status()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional int64 device_status_frequency = 9 [default = 10800000]; |
| if (has_device_status_frequency()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->device_status_frequency()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceReportingProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceReportingProto*>(&from)); |
| } |
| |
| void DeviceReportingProto::MergeFrom(const DeviceReportingProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceReportingProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| report_location_ = from.report_location_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| report_os_update_status_ = from.report_os_update_status_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| report_running_kiosk_app_ = from.report_running_kiosk_app_; |
| } |
| if (cached_has_bits & 0x00000008u) { |
| report_power_status_ = from.report_power_status_; |
| } |
| if (cached_has_bits & 0x00000010u) { |
| report_storage_status_ = from.report_storage_status_; |
| } |
| if (cached_has_bits & 0x00000020u) { |
| report_board_status_ = from.report_board_status_; |
| } |
| if (cached_has_bits & 0x00000040u) { |
| report_version_info_ = from.report_version_info_; |
| } |
| if (cached_has_bits & 0x00000080u) { |
| report_activity_times_ = from.report_activity_times_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| if (cached_has_bits & 16128u) { |
| if (cached_has_bits & 0x00000100u) { |
| report_boot_mode_ = from.report_boot_mode_; |
| } |
| if (cached_has_bits & 0x00000200u) { |
| report_network_interfaces_ = from.report_network_interfaces_; |
| } |
| if (cached_has_bits & 0x00000400u) { |
| report_users_ = from.report_users_; |
| } |
| if (cached_has_bits & 0x00000800u) { |
| report_hardware_status_ = from.report_hardware_status_; |
| } |
| if (cached_has_bits & 0x00001000u) { |
| report_session_status_ = from.report_session_status_; |
| } |
| if (cached_has_bits & 0x00002000u) { |
| device_status_frequency_ = from.device_status_frequency_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DeviceReportingProto::CopyFrom(const DeviceReportingProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceReportingProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceReportingProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceReportingProto::Swap(DeviceReportingProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceReportingProto::InternalSwap(DeviceReportingProto* other) { |
| using std::swap; |
| swap(report_location_, other->report_location_); |
| swap(report_os_update_status_, other->report_os_update_status_); |
| swap(report_running_kiosk_app_, other->report_running_kiosk_app_); |
| swap(report_power_status_, other->report_power_status_); |
| swap(report_storage_status_, other->report_storage_status_); |
| swap(report_board_status_, other->report_board_status_); |
| swap(report_version_info_, other->report_version_info_); |
| swap(report_activity_times_, other->report_activity_times_); |
| swap(report_boot_mode_, other->report_boot_mode_); |
| swap(report_network_interfaces_, other->report_network_interfaces_); |
| swap(report_users_, other->report_users_); |
| swap(report_hardware_status_, other->report_hardware_status_); |
| swap(report_session_status_, other->report_session_status_); |
| swap(device_status_frequency_, other->device_status_frequency_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceReportingProto::GetTypeName() const { |
| return "enterprise_management.DeviceReportingProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void EphemeralUsersEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int EphemeralUsersEnabledProto::kEphemeralUsersEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| EphemeralUsersEnabledProto::EphemeralUsersEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_EphemeralUsersEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.EphemeralUsersEnabledProto) |
| } |
| EphemeralUsersEnabledProto::EphemeralUsersEnabledProto(const EphemeralUsersEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ephemeral_users_enabled_ = from.ephemeral_users_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.EphemeralUsersEnabledProto) |
| } |
| |
| void EphemeralUsersEnabledProto::SharedCtor() { |
| ephemeral_users_enabled_ = false; |
| } |
| |
| EphemeralUsersEnabledProto::~EphemeralUsersEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.EphemeralUsersEnabledProto) |
| SharedDtor(); |
| } |
| |
| void EphemeralUsersEnabledProto::SharedDtor() { |
| } |
| |
| void EphemeralUsersEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const EphemeralUsersEnabledProto& EphemeralUsersEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_EphemeralUsersEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void EphemeralUsersEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.EphemeralUsersEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| ephemeral_users_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool EphemeralUsersEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.EphemeralUsersEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool ephemeral_users_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_ephemeral_users_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &ephemeral_users_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.EphemeralUsersEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.EphemeralUsersEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void EphemeralUsersEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.EphemeralUsersEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool ephemeral_users_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->ephemeral_users_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.EphemeralUsersEnabledProto) |
| } |
| |
| size_t EphemeralUsersEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.EphemeralUsersEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool ephemeral_users_enabled = 1; |
| if (has_ephemeral_users_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void EphemeralUsersEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const EphemeralUsersEnabledProto*>(&from)); |
| } |
| |
| void EphemeralUsersEnabledProto::MergeFrom(const EphemeralUsersEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.EphemeralUsersEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_ephemeral_users_enabled()) { |
| set_ephemeral_users_enabled(from.ephemeral_users_enabled()); |
| } |
| } |
| |
| void EphemeralUsersEnabledProto::CopyFrom(const EphemeralUsersEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.EphemeralUsersEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool EphemeralUsersEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void EphemeralUsersEnabledProto::Swap(EphemeralUsersEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void EphemeralUsersEnabledProto::InternalSwap(EphemeralUsersEnabledProto* other) { |
| using std::swap; |
| swap(ephemeral_users_enabled_, other->ephemeral_users_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string EphemeralUsersEnabledProto::GetTypeName() const { |
| return "enterprise_management.EphemeralUsersEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_AppPackEntryProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_AppPackEntryProto::kOBSOLETEExtensionIdFieldNumber; |
| const int OBSOLETE_AppPackEntryProto::kOBSOLETEUpdateUrlFieldNumber; |
| const int OBSOLETE_AppPackEntryProto::kOBSOLETEOnlineOnlyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_AppPackEntryProto::OBSOLETE_AppPackEntryProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_AppPackEntryProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_AppPackEntryProto) |
| } |
| OBSOLETE_AppPackEntryProto::OBSOLETE_AppPackEntryProto(const OBSOLETE_AppPackEntryProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| obsolete_extension_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_extension_id()) { |
| obsolete_extension_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_extension_id_); |
| } |
| obsolete_update_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_update_url()) { |
| obsolete_update_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_update_url_); |
| } |
| obsolete_online_only_ = from.obsolete_online_only_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_AppPackEntryProto) |
| } |
| |
| void OBSOLETE_AppPackEntryProto::SharedCtor() { |
| obsolete_extension_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_update_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_online_only_ = false; |
| } |
| |
| OBSOLETE_AppPackEntryProto::~OBSOLETE_AppPackEntryProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_AppPackEntryProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_AppPackEntryProto::SharedDtor() { |
| obsolete_extension_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_update_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void OBSOLETE_AppPackEntryProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_AppPackEntryProto& OBSOLETE_AppPackEntryProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_AppPackEntryProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_AppPackEntryProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_AppPackEntryProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| obsolete_extension_id_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| obsolete_update_url_.ClearNonDefaultToEmptyNoArena(); |
| } |
| } |
| obsolete_online_only_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_AppPackEntryProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_AppPackEntryProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string OBSOLETE_extension_id = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_extension_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string OBSOLETE_update_url = 2 [deprecated = true]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_update_url())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool OBSOLETE_online_only = 3 [deprecated = true]; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| set_has_obsolete_online_only(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &obsolete_online_only_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_AppPackEntryProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_AppPackEntryProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_AppPackEntryProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_AppPackEntryProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string OBSOLETE_extension_id = 1 [deprecated = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->obsolete_extension_id(), output); |
| } |
| |
| // optional string OBSOLETE_update_url = 2 [deprecated = true]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->obsolete_update_url(), output); |
| } |
| |
| // optional bool OBSOLETE_online_only = 3 [deprecated = true]; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->obsolete_online_only(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_AppPackEntryProto) |
| } |
| |
| size_t OBSOLETE_AppPackEntryProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_AppPackEntryProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 7u) { |
| // optional string OBSOLETE_extension_id = 1 [deprecated = true]; |
| if (has_obsolete_extension_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_extension_id()); |
| } |
| |
| // optional string OBSOLETE_update_url = 2 [deprecated = true]; |
| if (has_obsolete_update_url()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_update_url()); |
| } |
| |
| // optional bool OBSOLETE_online_only = 3 [deprecated = true]; |
| if (has_obsolete_online_only()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_AppPackEntryProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_AppPackEntryProto*>(&from)); |
| } |
| |
| void OBSOLETE_AppPackEntryProto::MergeFrom(const OBSOLETE_AppPackEntryProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_AppPackEntryProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_obsolete_extension_id(); |
| obsolete_extension_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_extension_id_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| set_has_obsolete_update_url(); |
| obsolete_update_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_update_url_); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| obsolete_online_only_ = from.obsolete_online_only_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void OBSOLETE_AppPackEntryProto::CopyFrom(const OBSOLETE_AppPackEntryProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_AppPackEntryProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_AppPackEntryProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_AppPackEntryProto::Swap(OBSOLETE_AppPackEntryProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_AppPackEntryProto::InternalSwap(OBSOLETE_AppPackEntryProto* other) { |
| using std::swap; |
| obsolete_extension_id_.Swap(&other->obsolete_extension_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| obsolete_update_url_.Swap(&other->obsolete_update_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(obsolete_online_only_, other->obsolete_online_only_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_AppPackEntryProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_AppPackEntryProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_AppPackProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_AppPackProto::kAppPackFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_AppPackProto::OBSOLETE_AppPackProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_AppPackProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_AppPackProto) |
| } |
| OBSOLETE_AppPackProto::OBSOLETE_AppPackProto(const OBSOLETE_AppPackProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| app_pack_(from.app_pack_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_AppPackProto) |
| } |
| |
| void OBSOLETE_AppPackProto::SharedCtor() { |
| } |
| |
| OBSOLETE_AppPackProto::~OBSOLETE_AppPackProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_AppPackProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_AppPackProto::SharedDtor() { |
| } |
| |
| void OBSOLETE_AppPackProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_AppPackProto& OBSOLETE_AppPackProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_AppPackProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_AppPackProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_AppPackProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| app_pack_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_AppPackProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_AppPackProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated .enterprise_management.OBSOLETE_AppPackEntryProto app_pack = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, add_app_pack())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_AppPackProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_AppPackProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_AppPackProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_AppPackProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated .enterprise_management.OBSOLETE_AppPackEntryProto app_pack = 1 [deprecated = true]; |
| for (unsigned int i = 0, |
| n = static_cast<unsigned int>(this->app_pack_size()); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 1, |
| this->app_pack(static_cast<int>(i)), |
| output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_AppPackProto) |
| } |
| |
| size_t OBSOLETE_AppPackProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_AppPackProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated .enterprise_management.OBSOLETE_AppPackEntryProto app_pack = 1 [deprecated = true]; |
| { |
| unsigned int count = static_cast<unsigned int>(this->app_pack_size()); |
| total_size += 1UL * count; |
| for (unsigned int i = 0; i < count; i++) { |
| total_size += |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| this->app_pack(static_cast<int>(i))); |
| } |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_AppPackProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_AppPackProto*>(&from)); |
| } |
| |
| void OBSOLETE_AppPackProto::MergeFrom(const OBSOLETE_AppPackProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_AppPackProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| app_pack_.MergeFrom(from.app_pack_); |
| } |
| |
| void OBSOLETE_AppPackProto::CopyFrom(const OBSOLETE_AppPackProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_AppPackProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_AppPackProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_AppPackProto::Swap(OBSOLETE_AppPackProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_AppPackProto::InternalSwap(OBSOLETE_AppPackProto* other) { |
| using std::swap; |
| CastToBase(&app_pack_)->InternalSwap(CastToBase(&other->app_pack_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_AppPackProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_AppPackProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_PinnedAppsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_PinnedAppsProto::kOBSOLETEAppIdFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_PinnedAppsProto::OBSOLETE_PinnedAppsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_PinnedAppsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_PinnedAppsProto) |
| } |
| OBSOLETE_PinnedAppsProto::OBSOLETE_PinnedAppsProto(const OBSOLETE_PinnedAppsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| obsolete_app_id_(from.obsolete_app_id_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_PinnedAppsProto) |
| } |
| |
| void OBSOLETE_PinnedAppsProto::SharedCtor() { |
| } |
| |
| OBSOLETE_PinnedAppsProto::~OBSOLETE_PinnedAppsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_PinnedAppsProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_PinnedAppsProto::SharedDtor() { |
| } |
| |
| void OBSOLETE_PinnedAppsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_PinnedAppsProto& OBSOLETE_PinnedAppsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_PinnedAppsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_PinnedAppsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_PinnedAppsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| obsolete_app_id_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_PinnedAppsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_PinnedAppsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string OBSOLETE_app_id = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_obsolete_app_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_PinnedAppsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_PinnedAppsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_PinnedAppsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_PinnedAppsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string OBSOLETE_app_id = 1 [deprecated = true]; |
| for (int i = 0, n = this->obsolete_app_id_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->obsolete_app_id(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_PinnedAppsProto) |
| } |
| |
| size_t OBSOLETE_PinnedAppsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_PinnedAppsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string OBSOLETE_app_id = 1 [deprecated = true]; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->obsolete_app_id_size()); |
| for (int i = 0, n = this->obsolete_app_id_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_app_id(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_PinnedAppsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_PinnedAppsProto*>(&from)); |
| } |
| |
| void OBSOLETE_PinnedAppsProto::MergeFrom(const OBSOLETE_PinnedAppsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_PinnedAppsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| obsolete_app_id_.MergeFrom(from.obsolete_app_id_); |
| } |
| |
| void OBSOLETE_PinnedAppsProto::CopyFrom(const OBSOLETE_PinnedAppsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_PinnedAppsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_PinnedAppsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_PinnedAppsProto::Swap(OBSOLETE_PinnedAppsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_PinnedAppsProto::InternalSwap(OBSOLETE_PinnedAppsProto* other) { |
| using std::swap; |
| obsolete_app_id_.InternalSwap(CastToBase(&other->obsolete_app_id_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_PinnedAppsProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_PinnedAppsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_ForcedLogoutTimeoutsProto::kOBSOLETEIdleLogoutTimeoutFieldNumber; |
| const int OBSOLETE_ForcedLogoutTimeoutsProto::kOBSOLETEIdleLogoutWarningDurationFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_ForcedLogoutTimeoutsProto::OBSOLETE_ForcedLogoutTimeoutsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_ForcedLogoutTimeoutsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| } |
| OBSOLETE_ForcedLogoutTimeoutsProto::OBSOLETE_ForcedLogoutTimeoutsProto(const OBSOLETE_ForcedLogoutTimeoutsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&obsolete_idle_logout_timeout_, &from.obsolete_idle_logout_timeout_, |
| static_cast<size_t>(reinterpret_cast<char*>(&obsolete_idle_logout_warning_duration_) - |
| reinterpret_cast<char*>(&obsolete_idle_logout_timeout_)) + sizeof(obsolete_idle_logout_warning_duration_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::SharedCtor() { |
| ::memset(&obsolete_idle_logout_timeout_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&obsolete_idle_logout_warning_duration_) - |
| reinterpret_cast<char*>(&obsolete_idle_logout_timeout_)) + sizeof(obsolete_idle_logout_warning_duration_)); |
| } |
| |
| OBSOLETE_ForcedLogoutTimeoutsProto::~OBSOLETE_ForcedLogoutTimeoutsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::SharedDtor() { |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_ForcedLogoutTimeoutsProto& OBSOLETE_ForcedLogoutTimeoutsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_ForcedLogoutTimeoutsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| ::memset(&obsolete_idle_logout_timeout_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&obsolete_idle_logout_warning_duration_) - |
| reinterpret_cast<char*>(&obsolete_idle_logout_timeout_)) + sizeof(obsolete_idle_logout_warning_duration_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_ForcedLogoutTimeoutsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int64 OBSOLETE_idle_logout_timeout = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_obsolete_idle_logout_timeout(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &obsolete_idle_logout_timeout_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 OBSOLETE_idle_logout_warning_duration = 2 [deprecated = true]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_obsolete_idle_logout_warning_duration(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &obsolete_idle_logout_warning_duration_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int64 OBSOLETE_idle_logout_timeout = 1 [deprecated = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->obsolete_idle_logout_timeout(), output); |
| } |
| |
| // optional int64 OBSOLETE_idle_logout_warning_duration = 2 [deprecated = true]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->obsolete_idle_logout_warning_duration(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| } |
| |
| size_t OBSOLETE_ForcedLogoutTimeoutsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional int64 OBSOLETE_idle_logout_timeout = 1 [deprecated = true]; |
| if (has_obsolete_idle_logout_timeout()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->obsolete_idle_logout_timeout()); |
| } |
| |
| // optional int64 OBSOLETE_idle_logout_warning_duration = 2 [deprecated = true]; |
| if (has_obsolete_idle_logout_warning_duration()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->obsolete_idle_logout_warning_duration()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_ForcedLogoutTimeoutsProto*>(&from)); |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::MergeFrom(const OBSOLETE_ForcedLogoutTimeoutsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| obsolete_idle_logout_timeout_ = from.obsolete_idle_logout_timeout_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| obsolete_idle_logout_warning_duration_ = from.obsolete_idle_logout_warning_duration_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::CopyFrom(const OBSOLETE_ForcedLogoutTimeoutsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_ForcedLogoutTimeoutsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_ForcedLogoutTimeoutsProto::Swap(OBSOLETE_ForcedLogoutTimeoutsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_ForcedLogoutTimeoutsProto::InternalSwap(OBSOLETE_ForcedLogoutTimeoutsProto* other) { |
| using std::swap; |
| swap(obsolete_idle_logout_timeout_, other->obsolete_idle_logout_timeout_); |
| swap(obsolete_idle_logout_warning_duration_, other->obsolete_idle_logout_warning_duration_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_ForcedLogoutTimeoutsProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_ScreenSaverProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_ScreenSaverProto::kOBSOLETEScreenSaverExtensionIdFieldNumber; |
| const int OBSOLETE_ScreenSaverProto::kOBSOLETEScreenSaverTimeoutFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_ScreenSaverProto::OBSOLETE_ScreenSaverProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_ScreenSaverProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_ScreenSaverProto) |
| } |
| OBSOLETE_ScreenSaverProto::OBSOLETE_ScreenSaverProto(const OBSOLETE_ScreenSaverProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| obsolete_screen_saver_extension_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_obsolete_screen_saver_extension_id()) { |
| obsolete_screen_saver_extension_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_screen_saver_extension_id_); |
| } |
| obsolete_screen_saver_timeout_ = from.obsolete_screen_saver_timeout_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_ScreenSaverProto) |
| } |
| |
| void OBSOLETE_ScreenSaverProto::SharedCtor() { |
| obsolete_screen_saver_extension_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| obsolete_screen_saver_timeout_ = GOOGLE_LONGLONG(0); |
| } |
| |
| OBSOLETE_ScreenSaverProto::~OBSOLETE_ScreenSaverProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_ScreenSaverProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_ScreenSaverProto::SharedDtor() { |
| obsolete_screen_saver_extension_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void OBSOLETE_ScreenSaverProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_ScreenSaverProto& OBSOLETE_ScreenSaverProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_ScreenSaverProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_ScreenSaverProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_ScreenSaverProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| obsolete_screen_saver_extension_id_.ClearNonDefaultToEmptyNoArena(); |
| } |
| obsolete_screen_saver_timeout_ = GOOGLE_LONGLONG(0); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_ScreenSaverProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_ScreenSaverProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string OBSOLETE_screen_saver_extension_id = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_obsolete_screen_saver_extension_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 OBSOLETE_screen_saver_timeout = 2 [deprecated = true]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_obsolete_screen_saver_timeout(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &obsolete_screen_saver_timeout_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_ScreenSaverProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_ScreenSaverProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_ScreenSaverProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_ScreenSaverProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string OBSOLETE_screen_saver_extension_id = 1 [deprecated = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->obsolete_screen_saver_extension_id(), output); |
| } |
| |
| // optional int64 OBSOLETE_screen_saver_timeout = 2 [deprecated = true]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->obsolete_screen_saver_timeout(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_ScreenSaverProto) |
| } |
| |
| size_t OBSOLETE_ScreenSaverProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_ScreenSaverProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional string OBSOLETE_screen_saver_extension_id = 1 [deprecated = true]; |
| if (has_obsolete_screen_saver_extension_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_screen_saver_extension_id()); |
| } |
| |
| // optional int64 OBSOLETE_screen_saver_timeout = 2 [deprecated = true]; |
| if (has_obsolete_screen_saver_timeout()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->obsolete_screen_saver_timeout()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_ScreenSaverProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_ScreenSaverProto*>(&from)); |
| } |
| |
| void OBSOLETE_ScreenSaverProto::MergeFrom(const OBSOLETE_ScreenSaverProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_ScreenSaverProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_obsolete_screen_saver_extension_id(); |
| obsolete_screen_saver_extension_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.obsolete_screen_saver_extension_id_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| obsolete_screen_saver_timeout_ = from.obsolete_screen_saver_timeout_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void OBSOLETE_ScreenSaverProto::CopyFrom(const OBSOLETE_ScreenSaverProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_ScreenSaverProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_ScreenSaverProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_ScreenSaverProto::Swap(OBSOLETE_ScreenSaverProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_ScreenSaverProto::InternalSwap(OBSOLETE_ScreenSaverProto* other) { |
| using std::swap; |
| obsolete_screen_saver_extension_id_.Swap(&other->obsolete_screen_saver_extension_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(obsolete_screen_saver_timeout_, other->obsolete_screen_saver_timeout_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_ScreenSaverProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_ScreenSaverProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AutoUpdateSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AutoUpdateSettingsProto::kUpdateDisabledFieldNumber; |
| const int AutoUpdateSettingsProto::kTargetVersionPrefixFieldNumber; |
| const int AutoUpdateSettingsProto::kTargetVersionDisplayNameFieldNumber; |
| const int AutoUpdateSettingsProto::kScatterFactorInSecondsFieldNumber; |
| const int AutoUpdateSettingsProto::kAllowedConnectionTypesFieldNumber; |
| const int AutoUpdateSettingsProto::kOBSOLETERebootAfterUpdateFieldNumber; |
| const int AutoUpdateSettingsProto::kHttpDownloadsEnabledFieldNumber; |
| const int AutoUpdateSettingsProto::kRebootAfterUpdateFieldNumber; |
| const int AutoUpdateSettingsProto::kP2PEnabledFieldNumber; |
| const int AutoUpdateSettingsProto::kRollbackToTargetVersionFieldNumber; |
| const int AutoUpdateSettingsProto::kRollbackAllowedMilestonesFieldNumber; |
| const int AutoUpdateSettingsProto::kDisallowedTimeIntervalsFieldNumber; |
| const int AutoUpdateSettingsProto::kStagingScheduleFieldNumber; |
| const int AutoUpdateSettingsProto::kDeviceQuickFixBuildTokenFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AutoUpdateSettingsProto::AutoUpdateSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AutoUpdateSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AutoUpdateSettingsProto) |
| } |
| AutoUpdateSettingsProto::AutoUpdateSettingsProto(const AutoUpdateSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| allowed_connection_types_(from.allowed_connection_types_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| target_version_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_target_version_prefix()) { |
| target_version_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_version_prefix_); |
| } |
| target_version_display_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_target_version_display_name()) { |
| target_version_display_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_version_display_name_); |
| } |
| disallowed_time_intervals_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_disallowed_time_intervals()) { |
| disallowed_time_intervals_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.disallowed_time_intervals_); |
| } |
| staging_schedule_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_staging_schedule()) { |
| staging_schedule_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.staging_schedule_); |
| } |
| device_quick_fix_build_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_quick_fix_build_token()) { |
| device_quick_fix_build_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_quick_fix_build_token_); |
| } |
| ::memcpy(&scatter_factor_in_seconds_, &from.scatter_factor_in_seconds_, |
| static_cast<size_t>(reinterpret_cast<char*>(&rollback_to_target_version_) - |
| reinterpret_cast<char*>(&scatter_factor_in_seconds_)) + sizeof(rollback_to_target_version_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AutoUpdateSettingsProto) |
| } |
| |
| void AutoUpdateSettingsProto::SharedCtor() { |
| target_version_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| target_version_display_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| disallowed_time_intervals_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| staging_schedule_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| device_quick_fix_build_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| ::memset(&scatter_factor_in_seconds_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&rollback_allowed_milestones_) - |
| reinterpret_cast<char*>(&scatter_factor_in_seconds_)) + sizeof(rollback_allowed_milestones_)); |
| rollback_to_target_version_ = 1; |
| } |
| |
| AutoUpdateSettingsProto::~AutoUpdateSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AutoUpdateSettingsProto) |
| SharedDtor(); |
| } |
| |
| void AutoUpdateSettingsProto::SharedDtor() { |
| target_version_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| target_version_display_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| disallowed_time_intervals_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| staging_schedule_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| device_quick_fix_build_token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void AutoUpdateSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AutoUpdateSettingsProto& AutoUpdateSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AutoUpdateSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AutoUpdateSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AutoUpdateSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| allowed_connection_types_.Clear(); |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 31u) { |
| if (cached_has_bits & 0x00000001u) { |
| target_version_prefix_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| target_version_display_name_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| disallowed_time_intervals_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| staging_schedule_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| device_quick_fix_build_token_.ClearNonDefaultToEmptyNoArena(); |
| } |
| } |
| if (cached_has_bits & 224u) { |
| ::memset(&scatter_factor_in_seconds_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&obsolete_reboot_after_update_) - |
| reinterpret_cast<char*>(&scatter_factor_in_seconds_)) + sizeof(obsolete_reboot_after_update_)); |
| } |
| if (cached_has_bits & 7936u) { |
| ::memset(&http_downloads_enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&rollback_allowed_milestones_) - |
| reinterpret_cast<char*>(&http_downloads_enabled_)) + sizeof(rollback_allowed_milestones_)); |
| rollback_to_target_version_ = 1; |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AutoUpdateSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AutoUpdateSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool update_disabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_update_disabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &update_disabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string target_version_prefix = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_target_version_prefix())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string target_version_display_name = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_target_version_display_name())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 scatter_factor_in_seconds = 4; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
| set_has_scatter_factor_in_seconds(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &scatter_factor_in_seconds_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // repeated .enterprise_management.AutoUpdateSettingsProto.ConnectionType allowed_connection_types = 5; |
| case 5: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::AutoUpdateSettingsProto_ConnectionType_IsValid(value)) { |
| add_allowed_connection_types(static_cast< ::enterprise_management::AutoUpdateSettingsProto_ConnectionType >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(tag); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else if ( |
| static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPackedEnumPreserveUnknowns( |
| input, |
| 5, |
| ::enterprise_management::AutoUpdateSettingsProto_ConnectionType_IsValid, |
| &unknown_fields_stream, |
| this->mutable_allowed_connection_types()))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool OBSOLETE_reboot_after_update = 6 [deprecated = true]; |
| case 6: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
| set_has_obsolete_reboot_after_update(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &obsolete_reboot_after_update_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool http_downloads_enabled = 7 [default = false]; |
| case 7: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { |
| set_has_http_downloads_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &http_downloads_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool reboot_after_update = 8; |
| case 8: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { |
| set_has_reboot_after_update(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &reboot_after_update_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool p2p_enabled = 9 [default = false]; |
| case 9: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { |
| set_has_p2p_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &p2p_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AutoUpdateSettingsProto.RollbackToTargetVersion rollback_to_target_version = 10 [default = ROLLBACK_DISABLED]; |
| case 10: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::AutoUpdateSettingsProto_RollbackToTargetVersion_IsValid(value)) { |
| set_rollback_to_target_version(static_cast< ::enterprise_management::AutoUpdateSettingsProto_RollbackToTargetVersion >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(80u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 rollback_allowed_milestones = 11 [default = 0]; |
| case 11: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { |
| set_has_rollback_allowed_milestones(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &rollback_allowed_milestones_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string disallowed_time_intervals = 12; |
| case 12: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_disallowed_time_intervals())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string staging_schedule = 14; |
| case 14: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_staging_schedule())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string device_quick_fix_build_token = 15; |
| case 15: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_quick_fix_build_token())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AutoUpdateSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AutoUpdateSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AutoUpdateSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AutoUpdateSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool update_disabled = 1; |
| if (cached_has_bits & 0x00000040u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->update_disabled(), output); |
| } |
| |
| // optional string target_version_prefix = 2; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->target_version_prefix(), output); |
| } |
| |
| // optional string target_version_display_name = 3; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 3, this->target_version_display_name(), output); |
| } |
| |
| // optional int64 scatter_factor_in_seconds = 4; |
| if (cached_has_bits & 0x00000020u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->scatter_factor_in_seconds(), output); |
| } |
| |
| // repeated .enterprise_management.AutoUpdateSettingsProto.ConnectionType allowed_connection_types = 5; |
| for (int i = 0, n = this->allowed_connection_types_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 5, this->allowed_connection_types(i), output); |
| } |
| |
| // optional bool OBSOLETE_reboot_after_update = 6 [deprecated = true]; |
| if (cached_has_bits & 0x00000080u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->obsolete_reboot_after_update(), output); |
| } |
| |
| // optional bool http_downloads_enabled = 7 [default = false]; |
| if (cached_has_bits & 0x00000100u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->http_downloads_enabled(), output); |
| } |
| |
| // optional bool reboot_after_update = 8; |
| if (cached_has_bits & 0x00000200u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->reboot_after_update(), output); |
| } |
| |
| // optional bool p2p_enabled = 9 [default = false]; |
| if (cached_has_bits & 0x00000400u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->p2p_enabled(), output); |
| } |
| |
| // optional .enterprise_management.AutoUpdateSettingsProto.RollbackToTargetVersion rollback_to_target_version = 10 [default = ROLLBACK_DISABLED]; |
| if (cached_has_bits & 0x00001000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 10, this->rollback_to_target_version(), output); |
| } |
| |
| // optional int32 rollback_allowed_milestones = 11 [default = 0]; |
| if (cached_has_bits & 0x00000800u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->rollback_allowed_milestones(), output); |
| } |
| |
| // optional string disallowed_time_intervals = 12; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 12, this->disallowed_time_intervals(), output); |
| } |
| |
| // optional string staging_schedule = 14; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 14, this->staging_schedule(), output); |
| } |
| |
| // optional string device_quick_fix_build_token = 15; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 15, this->device_quick_fix_build_token(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AutoUpdateSettingsProto) |
| } |
| |
| size_t AutoUpdateSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AutoUpdateSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated .enterprise_management.AutoUpdateSettingsProto.ConnectionType allowed_connection_types = 5; |
| { |
| size_t data_size = 0; |
| unsigned int count = static_cast<unsigned int>(this->allowed_connection_types_size());for (unsigned int i = 0; i < count; i++) { |
| data_size += ::google::protobuf::internal::WireFormatLite::EnumSize( |
| this->allowed_connection_types(static_cast<int>(i))); |
| } |
| total_size += (1UL * count) + data_size; |
| } |
| |
| if (_has_bits_[0 / 32] & 255u) { |
| // optional string target_version_prefix = 2; |
| if (has_target_version_prefix()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->target_version_prefix()); |
| } |
| |
| // optional string target_version_display_name = 3; |
| if (has_target_version_display_name()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->target_version_display_name()); |
| } |
| |
| // optional string disallowed_time_intervals = 12; |
| if (has_disallowed_time_intervals()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->disallowed_time_intervals()); |
| } |
| |
| // optional string staging_schedule = 14; |
| if (has_staging_schedule()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->staging_schedule()); |
| } |
| |
| // optional string device_quick_fix_build_token = 15; |
| if (has_device_quick_fix_build_token()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_quick_fix_build_token()); |
| } |
| |
| // optional int64 scatter_factor_in_seconds = 4; |
| if (has_scatter_factor_in_seconds()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->scatter_factor_in_seconds()); |
| } |
| |
| // optional bool update_disabled = 1; |
| if (has_update_disabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool OBSOLETE_reboot_after_update = 6 [deprecated = true]; |
| if (has_obsolete_reboot_after_update()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| if (_has_bits_[8 / 32] & 7936u) { |
| // optional bool http_downloads_enabled = 7 [default = false]; |
| if (has_http_downloads_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool reboot_after_update = 8; |
| if (has_reboot_after_update()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool p2p_enabled = 9 [default = false]; |
| if (has_p2p_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional int32 rollback_allowed_milestones = 11 [default = 0]; |
| if (has_rollback_allowed_milestones()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->rollback_allowed_milestones()); |
| } |
| |
| // optional .enterprise_management.AutoUpdateSettingsProto.RollbackToTargetVersion rollback_to_target_version = 10 [default = ROLLBACK_DISABLED]; |
| if (has_rollback_to_target_version()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->rollback_to_target_version()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AutoUpdateSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AutoUpdateSettingsProto*>(&from)); |
| } |
| |
| void AutoUpdateSettingsProto::MergeFrom(const AutoUpdateSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AutoUpdateSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| allowed_connection_types_.MergeFrom(from.allowed_connection_types_); |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_target_version_prefix(); |
| target_version_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_version_prefix_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| set_has_target_version_display_name(); |
| target_version_display_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_version_display_name_); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| set_has_disallowed_time_intervals(); |
| disallowed_time_intervals_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.disallowed_time_intervals_); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| set_has_staging_schedule(); |
| staging_schedule_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.staging_schedule_); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| set_has_device_quick_fix_build_token(); |
| device_quick_fix_build_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_quick_fix_build_token_); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| scatter_factor_in_seconds_ = from.scatter_factor_in_seconds_; |
| } |
| if (cached_has_bits & 0x00000040u) { |
| update_disabled_ = from.update_disabled_; |
| } |
| if (cached_has_bits & 0x00000080u) { |
| obsolete_reboot_after_update_ = from.obsolete_reboot_after_update_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| if (cached_has_bits & 7936u) { |
| if (cached_has_bits & 0x00000100u) { |
| http_downloads_enabled_ = from.http_downloads_enabled_; |
| } |
| if (cached_has_bits & 0x00000200u) { |
| reboot_after_update_ = from.reboot_after_update_; |
| } |
| if (cached_has_bits & 0x00000400u) { |
| p2p_enabled_ = from.p2p_enabled_; |
| } |
| if (cached_has_bits & 0x00000800u) { |
| rollback_allowed_milestones_ = from.rollback_allowed_milestones_; |
| } |
| if (cached_has_bits & 0x00001000u) { |
| rollback_to_target_version_ = from.rollback_to_target_version_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void AutoUpdateSettingsProto::CopyFrom(const AutoUpdateSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AutoUpdateSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AutoUpdateSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AutoUpdateSettingsProto::Swap(AutoUpdateSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AutoUpdateSettingsProto::InternalSwap(AutoUpdateSettingsProto* other) { |
| using std::swap; |
| allowed_connection_types_.InternalSwap(&other->allowed_connection_types_); |
| target_version_prefix_.Swap(&other->target_version_prefix_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| target_version_display_name_.Swap(&other->target_version_display_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| disallowed_time_intervals_.Swap(&other->disallowed_time_intervals_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| staging_schedule_.Swap(&other->staging_schedule_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| device_quick_fix_build_token_.Swap(&other->device_quick_fix_build_token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(scatter_factor_in_seconds_, other->scatter_factor_in_seconds_); |
| swap(update_disabled_, other->update_disabled_); |
| swap(obsolete_reboot_after_update_, other->obsolete_reboot_after_update_); |
| swap(http_downloads_enabled_, other->http_downloads_enabled_); |
| swap(reboot_after_update_, other->reboot_after_update_); |
| swap(p2p_enabled_, other->p2p_enabled_); |
| swap(rollback_allowed_milestones_, other->rollback_allowed_milestones_); |
| swap(rollback_to_target_version_, other->rollback_to_target_version_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AutoUpdateSettingsProto::GetTypeName() const { |
| return "enterprise_management.AutoUpdateSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void OBSOLETE_StartUpUrlsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int OBSOLETE_StartUpUrlsProto::kOBSOLETEStartUpUrlsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| OBSOLETE_StartUpUrlsProto::OBSOLETE_StartUpUrlsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_StartUpUrlsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| } |
| OBSOLETE_StartUpUrlsProto::OBSOLETE_StartUpUrlsProto(const OBSOLETE_StartUpUrlsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| obsolete_start_up_urls_(from.obsolete_start_up_urls_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::SharedCtor() { |
| } |
| |
| OBSOLETE_StartUpUrlsProto::~OBSOLETE_StartUpUrlsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| SharedDtor(); |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::SharedDtor() { |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const OBSOLETE_StartUpUrlsProto& OBSOLETE_StartUpUrlsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_OBSOLETE_StartUpUrlsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void OBSOLETE_StartUpUrlsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| obsolete_start_up_urls_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool OBSOLETE_StartUpUrlsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string OBSOLETE_start_up_urls = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_obsolete_start_up_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string OBSOLETE_start_up_urls = 1 [deprecated = true]; |
| for (int i = 0, n = this->obsolete_start_up_urls_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->obsolete_start_up_urls(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| } |
| |
| size_t OBSOLETE_StartUpUrlsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string OBSOLETE_start_up_urls = 1 [deprecated = true]; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->obsolete_start_up_urls_size()); |
| for (int i = 0, n = this->obsolete_start_up_urls_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->obsolete_start_up_urls(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const OBSOLETE_StartUpUrlsProto*>(&from)); |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::MergeFrom(const OBSOLETE_StartUpUrlsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| obsolete_start_up_urls_.MergeFrom(from.obsolete_start_up_urls_); |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::CopyFrom(const OBSOLETE_StartUpUrlsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.OBSOLETE_StartUpUrlsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool OBSOLETE_StartUpUrlsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void OBSOLETE_StartUpUrlsProto::Swap(OBSOLETE_StartUpUrlsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void OBSOLETE_StartUpUrlsProto::InternalSwap(OBSOLETE_StartUpUrlsProto* other) { |
| using std::swap; |
| obsolete_start_up_urls_.InternalSwap(CastToBase(&other->obsolete_start_up_urls_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string OBSOLETE_StartUpUrlsProto::GetTypeName() const { |
| return "enterprise_management.OBSOLETE_StartUpUrlsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void SystemTimezoneProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int SystemTimezoneProto::kTimezoneFieldNumber; |
| const int SystemTimezoneProto::kTimezoneDetectionTypeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| SystemTimezoneProto::SystemTimezoneProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemTimezoneProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.SystemTimezoneProto) |
| } |
| SystemTimezoneProto::SystemTimezoneProto(const SystemTimezoneProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| timezone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_timezone()) { |
| timezone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.timezone_); |
| } |
| timezone_detection_type_ = from.timezone_detection_type_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.SystemTimezoneProto) |
| } |
| |
| void SystemTimezoneProto::SharedCtor() { |
| timezone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| timezone_detection_type_ = 0; |
| } |
| |
| SystemTimezoneProto::~SystemTimezoneProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.SystemTimezoneProto) |
| SharedDtor(); |
| } |
| |
| void SystemTimezoneProto::SharedDtor() { |
| timezone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void SystemTimezoneProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const SystemTimezoneProto& SystemTimezoneProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemTimezoneProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void SystemTimezoneProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.SystemTimezoneProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| timezone_.ClearNonDefaultToEmptyNoArena(); |
| } |
| timezone_detection_type_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool SystemTimezoneProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.SystemTimezoneProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string timezone = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_timezone())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SystemTimezoneProto.AutomaticTimezoneDetectionType timezone_detection_type = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::SystemTimezoneProto_AutomaticTimezoneDetectionType_IsValid(value)) { |
| set_timezone_detection_type(static_cast< ::enterprise_management::SystemTimezoneProto_AutomaticTimezoneDetectionType >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(16u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.SystemTimezoneProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.SystemTimezoneProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void SystemTimezoneProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.SystemTimezoneProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string timezone = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->timezone(), output); |
| } |
| |
| // optional .enterprise_management.SystemTimezoneProto.AutomaticTimezoneDetectionType timezone_detection_type = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 2, this->timezone_detection_type(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.SystemTimezoneProto) |
| } |
| |
| size_t SystemTimezoneProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.SystemTimezoneProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional string timezone = 1; |
| if (has_timezone()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->timezone()); |
| } |
| |
| // optional .enterprise_management.SystemTimezoneProto.AutomaticTimezoneDetectionType timezone_detection_type = 2; |
| if (has_timezone_detection_type()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->timezone_detection_type()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void SystemTimezoneProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const SystemTimezoneProto*>(&from)); |
| } |
| |
| void SystemTimezoneProto::MergeFrom(const SystemTimezoneProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.SystemTimezoneProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_timezone(); |
| timezone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.timezone_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| timezone_detection_type_ = from.timezone_detection_type_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void SystemTimezoneProto::CopyFrom(const SystemTimezoneProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.SystemTimezoneProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool SystemTimezoneProto::IsInitialized() const { |
| return true; |
| } |
| |
| void SystemTimezoneProto::Swap(SystemTimezoneProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void SystemTimezoneProto::InternalSwap(SystemTimezoneProto* other) { |
| using std::swap; |
| timezone_.Swap(&other->timezone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(timezone_detection_type_, other->timezone_detection_type_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string SystemTimezoneProto::GetTypeName() const { |
| return "enterprise_management.SystemTimezoneProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void SystemUse24HourClockProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int SystemUse24HourClockProto::kUse24HourClockFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| SystemUse24HourClockProto::SystemUse24HourClockProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemUse24HourClockProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.SystemUse24HourClockProto) |
| } |
| SystemUse24HourClockProto::SystemUse24HourClockProto(const SystemUse24HourClockProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| use_24hour_clock_ = from.use_24hour_clock_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.SystemUse24HourClockProto) |
| } |
| |
| void SystemUse24HourClockProto::SharedCtor() { |
| use_24hour_clock_ = false; |
| } |
| |
| SystemUse24HourClockProto::~SystemUse24HourClockProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.SystemUse24HourClockProto) |
| SharedDtor(); |
| } |
| |
| void SystemUse24HourClockProto::SharedDtor() { |
| } |
| |
| void SystemUse24HourClockProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const SystemUse24HourClockProto& SystemUse24HourClockProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemUse24HourClockProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void SystemUse24HourClockProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.SystemUse24HourClockProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| use_24hour_clock_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool SystemUse24HourClockProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.SystemUse24HourClockProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool use_24hour_clock = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_use_24hour_clock(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &use_24hour_clock_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.SystemUse24HourClockProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.SystemUse24HourClockProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void SystemUse24HourClockProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.SystemUse24HourClockProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool use_24hour_clock = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->use_24hour_clock(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.SystemUse24HourClockProto) |
| } |
| |
| size_t SystemUse24HourClockProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.SystemUse24HourClockProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool use_24hour_clock = 1; |
| if (has_use_24hour_clock()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void SystemUse24HourClockProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const SystemUse24HourClockProto*>(&from)); |
| } |
| |
| void SystemUse24HourClockProto::MergeFrom(const SystemUse24HourClockProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.SystemUse24HourClockProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_use_24hour_clock()) { |
| set_use_24hour_clock(from.use_24hour_clock()); |
| } |
| } |
| |
| void SystemUse24HourClockProto::CopyFrom(const SystemUse24HourClockProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.SystemUse24HourClockProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool SystemUse24HourClockProto::IsInitialized() const { |
| return true; |
| } |
| |
| void SystemUse24HourClockProto::Swap(SystemUse24HourClockProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void SystemUse24HourClockProto::InternalSwap(SystemUse24HourClockProto* other) { |
| using std::swap; |
| swap(use_24hour_clock_, other->use_24hour_clock_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string SystemUse24HourClockProto::GetTypeName() const { |
| return "enterprise_management.SystemUse24HourClockProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void KioskAppInfoProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int KioskAppInfoProto::kAppIdFieldNumber; |
| const int KioskAppInfoProto::kUpdateUrlFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| KioskAppInfoProto::KioskAppInfoProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_KioskAppInfoProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.KioskAppInfoProto) |
| } |
| KioskAppInfoProto::KioskAppInfoProto(const KioskAppInfoProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| app_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_app_id()) { |
| app_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.app_id_); |
| } |
| update_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_update_url()) { |
| update_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.update_url_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.KioskAppInfoProto) |
| } |
| |
| void KioskAppInfoProto::SharedCtor() { |
| app_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| update_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| KioskAppInfoProto::~KioskAppInfoProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.KioskAppInfoProto) |
| SharedDtor(); |
| } |
| |
| void KioskAppInfoProto::SharedDtor() { |
| app_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| update_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void KioskAppInfoProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const KioskAppInfoProto& KioskAppInfoProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_KioskAppInfoProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void KioskAppInfoProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.KioskAppInfoProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| app_id_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| update_url_.ClearNonDefaultToEmptyNoArena(); |
| } |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool KioskAppInfoProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.KioskAppInfoProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string app_id = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_app_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string update_url = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_update_url())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.KioskAppInfoProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.KioskAppInfoProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void KioskAppInfoProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.KioskAppInfoProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string app_id = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->app_id(), output); |
| } |
| |
| // optional string update_url = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->update_url(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.KioskAppInfoProto) |
| } |
| |
| size_t KioskAppInfoProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.KioskAppInfoProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional string app_id = 1; |
| if (has_app_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->app_id()); |
| } |
| |
| // optional string update_url = 2; |
| if (has_update_url()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->update_url()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void KioskAppInfoProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const KioskAppInfoProto*>(&from)); |
| } |
| |
| void KioskAppInfoProto::MergeFrom(const KioskAppInfoProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.KioskAppInfoProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_app_id(); |
| app_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.app_id_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| set_has_update_url(); |
| update_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.update_url_); |
| } |
| } |
| } |
| |
| void KioskAppInfoProto::CopyFrom(const KioskAppInfoProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.KioskAppInfoProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool KioskAppInfoProto::IsInitialized() const { |
| return true; |
| } |
| |
| void KioskAppInfoProto::Swap(KioskAppInfoProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void KioskAppInfoProto::InternalSwap(KioskAppInfoProto* other) { |
| using std::swap; |
| app_id_.Swap(&other->app_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| update_url_.Swap(&other->update_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string KioskAppInfoProto::GetTypeName() const { |
| return "enterprise_management.KioskAppInfoProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AndroidKioskAppInfoProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AndroidKioskAppInfoProto::kPackageNameFieldNumber; |
| const int AndroidKioskAppInfoProto::kClassNameFieldNumber; |
| const int AndroidKioskAppInfoProto::kActionFieldNumber; |
| const int AndroidKioskAppInfoProto::kDisplayNameFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AndroidKioskAppInfoProto::AndroidKioskAppInfoProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AndroidKioskAppInfoProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AndroidKioskAppInfoProto) |
| } |
| AndroidKioskAppInfoProto::AndroidKioskAppInfoProto(const AndroidKioskAppInfoProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| package_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_package_name()) { |
| package_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.package_name_); |
| } |
| class_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_class_name()) { |
| class_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.class_name_); |
| } |
| action_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_action()) { |
| action_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.action_); |
| } |
| display_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_display_name()) { |
| display_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.display_name_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AndroidKioskAppInfoProto) |
| } |
| |
| void AndroidKioskAppInfoProto::SharedCtor() { |
| package_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| class_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| action_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| display_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| AndroidKioskAppInfoProto::~AndroidKioskAppInfoProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AndroidKioskAppInfoProto) |
| SharedDtor(); |
| } |
| |
| void AndroidKioskAppInfoProto::SharedDtor() { |
| package_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| class_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| action_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| display_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void AndroidKioskAppInfoProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AndroidKioskAppInfoProto& AndroidKioskAppInfoProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AndroidKioskAppInfoProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AndroidKioskAppInfoProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AndroidKioskAppInfoProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 15u) { |
| if (cached_has_bits & 0x00000001u) { |
| package_name_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| class_name_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| action_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| display_name_.ClearNonDefaultToEmptyNoArena(); |
| } |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AndroidKioskAppInfoProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AndroidKioskAppInfoProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string package_name = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_package_name())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string class_name = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_class_name())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string action = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_action())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string display_name = 4; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_display_name())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AndroidKioskAppInfoProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AndroidKioskAppInfoProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AndroidKioskAppInfoProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AndroidKioskAppInfoProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string package_name = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->package_name(), output); |
| } |
| |
| // optional string class_name = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->class_name(), output); |
| } |
| |
| // optional string action = 3; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 3, this->action(), output); |
| } |
| |
| // optional string display_name = 4; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 4, this->display_name(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AndroidKioskAppInfoProto) |
| } |
| |
| size_t AndroidKioskAppInfoProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AndroidKioskAppInfoProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 15u) { |
| // optional string package_name = 1; |
| if (has_package_name()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->package_name()); |
| } |
| |
| // optional string class_name = 2; |
| if (has_class_name()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->class_name()); |
| } |
| |
| // optional string action = 3; |
| if (has_action()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->action()); |
| } |
| |
| // optional string display_name = 4; |
| if (has_display_name()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->display_name()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AndroidKioskAppInfoProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AndroidKioskAppInfoProto*>(&from)); |
| } |
| |
| void AndroidKioskAppInfoProto::MergeFrom(const AndroidKioskAppInfoProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AndroidKioskAppInfoProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 15u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_package_name(); |
| package_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.package_name_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| set_has_class_name(); |
| class_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.class_name_); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| set_has_action(); |
| action_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.action_); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| set_has_display_name(); |
| display_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.display_name_); |
| } |
| } |
| } |
| |
| void AndroidKioskAppInfoProto::CopyFrom(const AndroidKioskAppInfoProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AndroidKioskAppInfoProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AndroidKioskAppInfoProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AndroidKioskAppInfoProto::Swap(AndroidKioskAppInfoProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AndroidKioskAppInfoProto::InternalSwap(AndroidKioskAppInfoProto* other) { |
| using std::swap; |
| package_name_.Swap(&other->package_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| class_name_.Swap(&other->class_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| action_.Swap(&other->action_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| display_name_.Swap(&other->display_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AndroidKioskAppInfoProto::GetTypeName() const { |
| return "enterprise_management.AndroidKioskAppInfoProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLocalAccountInfoProto::InitAsDefaultInstance() { |
| ::enterprise_management::_DeviceLocalAccountInfoProto_default_instance_._instance.get_mutable()->kiosk_app_ = const_cast< ::enterprise_management::KioskAppInfoProto*>( |
| ::enterprise_management::KioskAppInfoProto::internal_default_instance()); |
| ::enterprise_management::_DeviceLocalAccountInfoProto_default_instance_._instance.get_mutable()->android_kiosk_app_ = const_cast< ::enterprise_management::AndroidKioskAppInfoProto*>( |
| ::enterprise_management::AndroidKioskAppInfoProto::internal_default_instance()); |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLocalAccountInfoProto::kDeprecatedPublicSessionIdFieldNumber; |
| const int DeviceLocalAccountInfoProto::kAccountIdFieldNumber; |
| const int DeviceLocalAccountInfoProto::kTypeFieldNumber; |
| const int DeviceLocalAccountInfoProto::kKioskAppFieldNumber; |
| const int DeviceLocalAccountInfoProto::kAndroidKioskAppFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLocalAccountInfoProto::DeviceLocalAccountInfoProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLocalAccountInfoProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLocalAccountInfoProto) |
| } |
| DeviceLocalAccountInfoProto::DeviceLocalAccountInfoProto(const DeviceLocalAccountInfoProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| deprecated_public_session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_deprecated_public_session_id()) { |
| deprecated_public_session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deprecated_public_session_id_); |
| } |
| account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_account_id()) { |
| account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); |
| } |
| if (from.has_kiosk_app()) { |
| kiosk_app_ = new ::enterprise_management::KioskAppInfoProto(*from.kiosk_app_); |
| } else { |
| kiosk_app_ = NULL; |
| } |
| if (from.has_android_kiosk_app()) { |
| android_kiosk_app_ = new ::enterprise_management::AndroidKioskAppInfoProto(*from.android_kiosk_app_); |
| } else { |
| android_kiosk_app_ = NULL; |
| } |
| type_ = from.type_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLocalAccountInfoProto) |
| } |
| |
| void DeviceLocalAccountInfoProto::SharedCtor() { |
| deprecated_public_session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| ::memset(&kiosk_app_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&type_) - |
| reinterpret_cast<char*>(&kiosk_app_)) + sizeof(type_)); |
| } |
| |
| DeviceLocalAccountInfoProto::~DeviceLocalAccountInfoProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLocalAccountInfoProto) |
| SharedDtor(); |
| } |
| |
| void DeviceLocalAccountInfoProto::SharedDtor() { |
| deprecated_public_session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| account_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (this != internal_default_instance()) delete kiosk_app_; |
| if (this != internal_default_instance()) delete android_kiosk_app_; |
| } |
| |
| void DeviceLocalAccountInfoProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLocalAccountInfoProto& DeviceLocalAccountInfoProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLocalAccountInfoProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLocalAccountInfoProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLocalAccountInfoProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 15u) { |
| if (cached_has_bits & 0x00000001u) { |
| deprecated_public_session_id_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| account_id_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| GOOGLE_DCHECK(kiosk_app_ != NULL); |
| kiosk_app_->Clear(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| GOOGLE_DCHECK(android_kiosk_app_ != NULL); |
| android_kiosk_app_->Clear(); |
| } |
| } |
| type_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLocalAccountInfoProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLocalAccountInfoProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string deprecated_public_session_id = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_deprecated_public_session_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string account_id = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_account_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLocalAccountInfoProto.AccountType type = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceLocalAccountInfoProto_AccountType_IsValid(value)) { |
| set_type(static_cast< ::enterprise_management::DeviceLocalAccountInfoProto_AccountType >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(24u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.KioskAppInfoProto kiosk_app = 4; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_kiosk_app())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AndroidKioskAppInfoProto android_kiosk_app = 5; |
| case 5: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_android_kiosk_app())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLocalAccountInfoProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLocalAccountInfoProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLocalAccountInfoProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLocalAccountInfoProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string deprecated_public_session_id = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->deprecated_public_session_id(), output); |
| } |
| |
| // optional string account_id = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->account_id(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLocalAccountInfoProto.AccountType type = 3; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 3, this->type(), output); |
| } |
| |
| // optional .enterprise_management.KioskAppInfoProto kiosk_app = 4; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 4, this->_internal_kiosk_app(), output); |
| } |
| |
| // optional .enterprise_management.AndroidKioskAppInfoProto android_kiosk_app = 5; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 5, this->_internal_android_kiosk_app(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLocalAccountInfoProto) |
| } |
| |
| size_t DeviceLocalAccountInfoProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLocalAccountInfoProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 31u) { |
| // optional string deprecated_public_session_id = 1; |
| if (has_deprecated_public_session_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->deprecated_public_session_id()); |
| } |
| |
| // optional string account_id = 2; |
| if (has_account_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->account_id()); |
| } |
| |
| // optional .enterprise_management.KioskAppInfoProto kiosk_app = 4; |
| if (has_kiosk_app()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *kiosk_app_); |
| } |
| |
| // optional .enterprise_management.AndroidKioskAppInfoProto android_kiosk_app = 5; |
| if (has_android_kiosk_app()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *android_kiosk_app_); |
| } |
| |
| // optional .enterprise_management.DeviceLocalAccountInfoProto.AccountType type = 3; |
| if (has_type()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLocalAccountInfoProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLocalAccountInfoProto*>(&from)); |
| } |
| |
| void DeviceLocalAccountInfoProto::MergeFrom(const DeviceLocalAccountInfoProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLocalAccountInfoProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 31u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_deprecated_public_session_id(); |
| deprecated_public_session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deprecated_public_session_id_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| set_has_account_id(); |
| account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| mutable_kiosk_app()->::enterprise_management::KioskAppInfoProto::MergeFrom(from.kiosk_app()); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| mutable_android_kiosk_app()->::enterprise_management::AndroidKioskAppInfoProto::MergeFrom(from.android_kiosk_app()); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| type_ = from.type_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DeviceLocalAccountInfoProto::CopyFrom(const DeviceLocalAccountInfoProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLocalAccountInfoProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLocalAccountInfoProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLocalAccountInfoProto::Swap(DeviceLocalAccountInfoProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLocalAccountInfoProto::InternalSwap(DeviceLocalAccountInfoProto* other) { |
| using std::swap; |
| deprecated_public_session_id_.Swap(&other->deprecated_public_session_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| account_id_.Swap(&other->account_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(kiosk_app_, other->kiosk_app_); |
| swap(android_kiosk_app_, other->android_kiosk_app_); |
| swap(type_, other->type_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLocalAccountInfoProto::GetTypeName() const { |
| return "enterprise_management.DeviceLocalAccountInfoProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLocalAccountsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLocalAccountsProto::kAccountFieldNumber; |
| const int DeviceLocalAccountsProto::kAutoLoginIdFieldNumber; |
| const int DeviceLocalAccountsProto::kAutoLoginDelayFieldNumber; |
| const int DeviceLocalAccountsProto::kEnableAutoLoginBailoutFieldNumber; |
| const int DeviceLocalAccountsProto::kPromptForNetworkWhenOfflineFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLocalAccountsProto::DeviceLocalAccountsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLocalAccountsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLocalAccountsProto) |
| } |
| DeviceLocalAccountsProto::DeviceLocalAccountsProto(const DeviceLocalAccountsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| account_(from.account_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| auto_login_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_auto_login_id()) { |
| auto_login_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.auto_login_id_); |
| } |
| ::memcpy(&auto_login_delay_, &from.auto_login_delay_, |
| static_cast<size_t>(reinterpret_cast<char*>(&prompt_for_network_when_offline_) - |
| reinterpret_cast<char*>(&auto_login_delay_)) + sizeof(prompt_for_network_when_offline_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLocalAccountsProto) |
| } |
| |
| void DeviceLocalAccountsProto::SharedCtor() { |
| auto_login_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| auto_login_delay_ = GOOGLE_LONGLONG(0); |
| enable_auto_login_bailout_ = true; |
| prompt_for_network_when_offline_ = true; |
| } |
| |
| DeviceLocalAccountsProto::~DeviceLocalAccountsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLocalAccountsProto) |
| SharedDtor(); |
| } |
| |
| void DeviceLocalAccountsProto::SharedDtor() { |
| auto_login_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceLocalAccountsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLocalAccountsProto& DeviceLocalAccountsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLocalAccountsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLocalAccountsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLocalAccountsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| account_.Clear(); |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| auto_login_id_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 14u) { |
| auto_login_delay_ = GOOGLE_LONGLONG(0); |
| enable_auto_login_bailout_ = true; |
| prompt_for_network_when_offline_ = true; |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLocalAccountsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLocalAccountsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated .enterprise_management.DeviceLocalAccountInfoProto account = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, add_account())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string auto_login_id = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_auto_login_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 auto_login_delay = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| set_has_auto_login_delay(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &auto_login_delay_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool enable_auto_login_bailout = 4 [default = true]; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
| set_has_enable_auto_login_bailout(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &enable_auto_login_bailout_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool prompt_for_network_when_offline = 5 [default = true]; |
| case 5: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
| set_has_prompt_for_network_when_offline(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &prompt_for_network_when_offline_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLocalAccountsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLocalAccountsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLocalAccountsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLocalAccountsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated .enterprise_management.DeviceLocalAccountInfoProto account = 1; |
| for (unsigned int i = 0, |
| n = static_cast<unsigned int>(this->account_size()); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 1, |
| this->account(static_cast<int>(i)), |
| output); |
| } |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string auto_login_id = 2; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->auto_login_id(), output); |
| } |
| |
| // optional int64 auto_login_delay = 3; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->auto_login_delay(), output); |
| } |
| |
| // optional bool enable_auto_login_bailout = 4 [default = true]; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->enable_auto_login_bailout(), output); |
| } |
| |
| // optional bool prompt_for_network_when_offline = 5 [default = true]; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->prompt_for_network_when_offline(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLocalAccountsProto) |
| } |
| |
| size_t DeviceLocalAccountsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLocalAccountsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated .enterprise_management.DeviceLocalAccountInfoProto account = 1; |
| { |
| unsigned int count = static_cast<unsigned int>(this->account_size()); |
| total_size += 1UL * count; |
| for (unsigned int i = 0; i < count; i++) { |
| total_size += |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| this->account(static_cast<int>(i))); |
| } |
| } |
| |
| if (_has_bits_[0 / 32] & 15u) { |
| // optional string auto_login_id = 2; |
| if (has_auto_login_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->auto_login_id()); |
| } |
| |
| // optional int64 auto_login_delay = 3; |
| if (has_auto_login_delay()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->auto_login_delay()); |
| } |
| |
| // optional bool enable_auto_login_bailout = 4 [default = true]; |
| if (has_enable_auto_login_bailout()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool prompt_for_network_when_offline = 5 [default = true]; |
| if (has_prompt_for_network_when_offline()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLocalAccountsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLocalAccountsProto*>(&from)); |
| } |
| |
| void DeviceLocalAccountsProto::MergeFrom(const DeviceLocalAccountsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLocalAccountsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| account_.MergeFrom(from.account_); |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 15u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_auto_login_id(); |
| auto_login_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.auto_login_id_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| auto_login_delay_ = from.auto_login_delay_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| enable_auto_login_bailout_ = from.enable_auto_login_bailout_; |
| } |
| if (cached_has_bits & 0x00000008u) { |
| prompt_for_network_when_offline_ = from.prompt_for_network_when_offline_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DeviceLocalAccountsProto::CopyFrom(const DeviceLocalAccountsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLocalAccountsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLocalAccountsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLocalAccountsProto::Swap(DeviceLocalAccountsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLocalAccountsProto::InternalSwap(DeviceLocalAccountsProto* other) { |
| using std::swap; |
| CastToBase(&account_)->InternalSwap(CastToBase(&other->account_)); |
| auto_login_id_.Swap(&other->auto_login_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(auto_login_delay_, other->auto_login_delay_); |
| swap(enable_auto_login_bailout_, other->enable_auto_login_bailout_); |
| swap(prompt_for_network_when_offline_, other->prompt_for_network_when_offline_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLocalAccountsProto::GetTypeName() const { |
| return "enterprise_management.DeviceLocalAccountsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AllowRedeemChromeOsRegistrationOffersProto::kAllowRedeemOffersFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AllowRedeemChromeOsRegistrationOffersProto::AllowRedeemChromeOsRegistrationOffersProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowRedeemChromeOsRegistrationOffersProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| } |
| AllowRedeemChromeOsRegistrationOffersProto::AllowRedeemChromeOsRegistrationOffersProto(const AllowRedeemChromeOsRegistrationOffersProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| allow_redeem_offers_ = from.allow_redeem_offers_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::SharedCtor() { |
| allow_redeem_offers_ = true; |
| } |
| |
| AllowRedeemChromeOsRegistrationOffersProto::~AllowRedeemChromeOsRegistrationOffersProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| SharedDtor(); |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::SharedDtor() { |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AllowRedeemChromeOsRegistrationOffersProto& AllowRedeemChromeOsRegistrationOffersProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowRedeemChromeOsRegistrationOffersProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| allow_redeem_offers_ = true; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AllowRedeemChromeOsRegistrationOffersProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool allow_redeem_offers = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_allow_redeem_offers(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &allow_redeem_offers_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool allow_redeem_offers = 1 [default = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->allow_redeem_offers(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| } |
| |
| size_t AllowRedeemChromeOsRegistrationOffersProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool allow_redeem_offers = 1 [default = true]; |
| if (has_allow_redeem_offers()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AllowRedeemChromeOsRegistrationOffersProto*>(&from)); |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::MergeFrom(const AllowRedeemChromeOsRegistrationOffersProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_allow_redeem_offers()) { |
| set_allow_redeem_offers(from.allow_redeem_offers()); |
| } |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::CopyFrom(const AllowRedeemChromeOsRegistrationOffersProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AllowRedeemChromeOsRegistrationOffersProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AllowRedeemChromeOsRegistrationOffersProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AllowRedeemChromeOsRegistrationOffersProto::Swap(AllowRedeemChromeOsRegistrationOffersProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AllowRedeemChromeOsRegistrationOffersProto::InternalSwap(AllowRedeemChromeOsRegistrationOffersProto* other) { |
| using std::swap; |
| swap(allow_redeem_offers_, other->allow_redeem_offers_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AllowRedeemChromeOsRegistrationOffersProto::GetTypeName() const { |
| return "enterprise_management.AllowRedeemChromeOsRegistrationOffersProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void StartUpFlagsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int StartUpFlagsProto::kFlagsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| StartUpFlagsProto::StartUpFlagsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_StartUpFlagsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.StartUpFlagsProto) |
| } |
| StartUpFlagsProto::StartUpFlagsProto(const StartUpFlagsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| flags_(from.flags_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.StartUpFlagsProto) |
| } |
| |
| void StartUpFlagsProto::SharedCtor() { |
| } |
| |
| StartUpFlagsProto::~StartUpFlagsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.StartUpFlagsProto) |
| SharedDtor(); |
| } |
| |
| void StartUpFlagsProto::SharedDtor() { |
| } |
| |
| void StartUpFlagsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const StartUpFlagsProto& StartUpFlagsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_StartUpFlagsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void StartUpFlagsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.StartUpFlagsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| flags_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool StartUpFlagsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.StartUpFlagsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string flags = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_flags())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.StartUpFlagsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.StartUpFlagsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void StartUpFlagsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.StartUpFlagsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string flags = 1; |
| for (int i = 0, n = this->flags_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->flags(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.StartUpFlagsProto) |
| } |
| |
| size_t StartUpFlagsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.StartUpFlagsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string flags = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->flags_size()); |
| for (int i = 0, n = this->flags_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->flags(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void StartUpFlagsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const StartUpFlagsProto*>(&from)); |
| } |
| |
| void StartUpFlagsProto::MergeFrom(const StartUpFlagsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.StartUpFlagsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| flags_.MergeFrom(from.flags_); |
| } |
| |
| void StartUpFlagsProto::CopyFrom(const StartUpFlagsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.StartUpFlagsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool StartUpFlagsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void StartUpFlagsProto::Swap(StartUpFlagsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void StartUpFlagsProto::InternalSwap(StartUpFlagsProto* other) { |
| using std::swap; |
| flags_.InternalSwap(CastToBase(&other->flags_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string StartUpFlagsProto::GetTypeName() const { |
| return "enterprise_management.StartUpFlagsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void UptimeLimitProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int UptimeLimitProto::kOBSOLETEUptimeLimitFieldNumber; |
| const int UptimeLimitProto::kUptimeLimitFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| UptimeLimitProto::UptimeLimitProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UptimeLimitProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.UptimeLimitProto) |
| } |
| UptimeLimitProto::UptimeLimitProto(const UptimeLimitProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&obsolete_uptime_limit_, &from.obsolete_uptime_limit_, |
| static_cast<size_t>(reinterpret_cast<char*>(&uptime_limit_) - |
| reinterpret_cast<char*>(&obsolete_uptime_limit_)) + sizeof(uptime_limit_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.UptimeLimitProto) |
| } |
| |
| void UptimeLimitProto::SharedCtor() { |
| ::memset(&obsolete_uptime_limit_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&uptime_limit_) - |
| reinterpret_cast<char*>(&obsolete_uptime_limit_)) + sizeof(uptime_limit_)); |
| } |
| |
| UptimeLimitProto::~UptimeLimitProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.UptimeLimitProto) |
| SharedDtor(); |
| } |
| |
| void UptimeLimitProto::SharedDtor() { |
| } |
| |
| void UptimeLimitProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const UptimeLimitProto& UptimeLimitProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UptimeLimitProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void UptimeLimitProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.UptimeLimitProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| ::memset(&obsolete_uptime_limit_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&uptime_limit_) - |
| reinterpret_cast<char*>(&obsolete_uptime_limit_)) + sizeof(uptime_limit_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool UptimeLimitProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.UptimeLimitProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int64 OBSOLETE_uptime_limit = 1 [deprecated = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_obsolete_uptime_limit(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &obsolete_uptime_limit_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 uptime_limit = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_uptime_limit(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &uptime_limit_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.UptimeLimitProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.UptimeLimitProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void UptimeLimitProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.UptimeLimitProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int64 OBSOLETE_uptime_limit = 1 [deprecated = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->obsolete_uptime_limit(), output); |
| } |
| |
| // optional int64 uptime_limit = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->uptime_limit(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.UptimeLimitProto) |
| } |
| |
| size_t UptimeLimitProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.UptimeLimitProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional int64 OBSOLETE_uptime_limit = 1 [deprecated = true]; |
| if (has_obsolete_uptime_limit()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->obsolete_uptime_limit()); |
| } |
| |
| // optional int64 uptime_limit = 2; |
| if (has_uptime_limit()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->uptime_limit()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void UptimeLimitProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const UptimeLimitProto*>(&from)); |
| } |
| |
| void UptimeLimitProto::MergeFrom(const UptimeLimitProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.UptimeLimitProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| obsolete_uptime_limit_ = from.obsolete_uptime_limit_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| uptime_limit_ = from.uptime_limit_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void UptimeLimitProto::CopyFrom(const UptimeLimitProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.UptimeLimitProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool UptimeLimitProto::IsInitialized() const { |
| return true; |
| } |
| |
| void UptimeLimitProto::Swap(UptimeLimitProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void UptimeLimitProto::InternalSwap(UptimeLimitProto* other) { |
| using std::swap; |
| swap(obsolete_uptime_limit_, other->obsolete_uptime_limit_); |
| swap(uptime_limit_, other->uptime_limit_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string UptimeLimitProto::GetTypeName() const { |
| return "enterprise_management.UptimeLimitProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void VariationsParameterProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int VariationsParameterProto::kParameterFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| VariationsParameterProto::VariationsParameterProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_VariationsParameterProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.VariationsParameterProto) |
| } |
| VariationsParameterProto::VariationsParameterProto(const VariationsParameterProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| parameter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_parameter()) { |
| parameter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parameter_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.VariationsParameterProto) |
| } |
| |
| void VariationsParameterProto::SharedCtor() { |
| parameter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| VariationsParameterProto::~VariationsParameterProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.VariationsParameterProto) |
| SharedDtor(); |
| } |
| |
| void VariationsParameterProto::SharedDtor() { |
| parameter_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void VariationsParameterProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const VariationsParameterProto& VariationsParameterProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_VariationsParameterProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void VariationsParameterProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.VariationsParameterProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| parameter_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool VariationsParameterProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.VariationsParameterProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string parameter = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_parameter())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.VariationsParameterProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.VariationsParameterProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void VariationsParameterProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.VariationsParameterProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string parameter = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->parameter(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.VariationsParameterProto) |
| } |
| |
| size_t VariationsParameterProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.VariationsParameterProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string parameter = 1; |
| if (has_parameter()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->parameter()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void VariationsParameterProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const VariationsParameterProto*>(&from)); |
| } |
| |
| void VariationsParameterProto::MergeFrom(const VariationsParameterProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.VariationsParameterProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_parameter()) { |
| set_has_parameter(); |
| parameter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.parameter_); |
| } |
| } |
| |
| void VariationsParameterProto::CopyFrom(const VariationsParameterProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.VariationsParameterProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool VariationsParameterProto::IsInitialized() const { |
| return true; |
| } |
| |
| void VariationsParameterProto::Swap(VariationsParameterProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void VariationsParameterProto::InternalSwap(VariationsParameterProto* other) { |
| using std::swap; |
| parameter_.Swap(&other->parameter_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string VariationsParameterProto::GetTypeName() const { |
| return "enterprise_management.VariationsParameterProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AttestationSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AttestationSettingsProto::kAttestationEnabledFieldNumber; |
| const int AttestationSettingsProto::kContentProtectionEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AttestationSettingsProto::AttestationSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AttestationSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AttestationSettingsProto) |
| } |
| AttestationSettingsProto::AttestationSettingsProto(const AttestationSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&attestation_enabled_, &from.attestation_enabled_, |
| static_cast<size_t>(reinterpret_cast<char*>(&content_protection_enabled_) - |
| reinterpret_cast<char*>(&attestation_enabled_)) + sizeof(content_protection_enabled_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AttestationSettingsProto) |
| } |
| |
| void AttestationSettingsProto::SharedCtor() { |
| attestation_enabled_ = false; |
| content_protection_enabled_ = true; |
| } |
| |
| AttestationSettingsProto::~AttestationSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AttestationSettingsProto) |
| SharedDtor(); |
| } |
| |
| void AttestationSettingsProto::SharedDtor() { |
| } |
| |
| void AttestationSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AttestationSettingsProto& AttestationSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AttestationSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AttestationSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AttestationSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| attestation_enabled_ = false; |
| content_protection_enabled_ = true; |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AttestationSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AttestationSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool attestation_enabled = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_attestation_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &attestation_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool content_protection_enabled = 2 [default = true]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_content_protection_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &content_protection_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AttestationSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AttestationSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AttestationSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AttestationSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool attestation_enabled = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->attestation_enabled(), output); |
| } |
| |
| // optional bool content_protection_enabled = 2 [default = true]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->content_protection_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AttestationSettingsProto) |
| } |
| |
| size_t AttestationSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AttestationSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional bool attestation_enabled = 1 [default = false]; |
| if (has_attestation_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool content_protection_enabled = 2 [default = true]; |
| if (has_content_protection_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AttestationSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AttestationSettingsProto*>(&from)); |
| } |
| |
| void AttestationSettingsProto::MergeFrom(const AttestationSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AttestationSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| attestation_enabled_ = from.attestation_enabled_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| content_protection_enabled_ = from.content_protection_enabled_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void AttestationSettingsProto::CopyFrom(const AttestationSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AttestationSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AttestationSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AttestationSettingsProto::Swap(AttestationSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AttestationSettingsProto::InternalSwap(AttestationSettingsProto* other) { |
| using std::swap; |
| swap(attestation_enabled_, other->attestation_enabled_); |
| swap(content_protection_enabled_, other->content_protection_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AttestationSettingsProto::GetTypeName() const { |
| return "enterprise_management.AttestationSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AccessibilitySettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AccessibilitySettingsProto::kLoginScreenDefaultLargeCursorEnabledFieldNumber; |
| const int AccessibilitySettingsProto::kLoginScreenDefaultSpokenFeedbackEnabledFieldNumber; |
| const int AccessibilitySettingsProto::kLoginScreenDefaultHighContrastEnabledFieldNumber; |
| const int AccessibilitySettingsProto::kLoginScreenDefaultScreenMagnifierTypeFieldNumber; |
| const int AccessibilitySettingsProto::kLoginScreenDefaultVirtualKeyboardEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AccessibilitySettingsProto::AccessibilitySettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AccessibilitySettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AccessibilitySettingsProto) |
| } |
| AccessibilitySettingsProto::AccessibilitySettingsProto(const AccessibilitySettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&login_screen_default_large_cursor_enabled_, &from.login_screen_default_large_cursor_enabled_, |
| static_cast<size_t>(reinterpret_cast<char*>(&login_screen_default_screen_magnifier_type_) - |
| reinterpret_cast<char*>(&login_screen_default_large_cursor_enabled_)) + sizeof(login_screen_default_screen_magnifier_type_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AccessibilitySettingsProto) |
| } |
| |
| void AccessibilitySettingsProto::SharedCtor() { |
| ::memset(&login_screen_default_large_cursor_enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&login_screen_default_screen_magnifier_type_) - |
| reinterpret_cast<char*>(&login_screen_default_large_cursor_enabled_)) + sizeof(login_screen_default_screen_magnifier_type_)); |
| } |
| |
| AccessibilitySettingsProto::~AccessibilitySettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AccessibilitySettingsProto) |
| SharedDtor(); |
| } |
| |
| void AccessibilitySettingsProto::SharedDtor() { |
| } |
| |
| void AccessibilitySettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AccessibilitySettingsProto& AccessibilitySettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AccessibilitySettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AccessibilitySettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AccessibilitySettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 31u) { |
| ::memset(&login_screen_default_large_cursor_enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&login_screen_default_screen_magnifier_type_) - |
| reinterpret_cast<char*>(&login_screen_default_large_cursor_enabled_)) + sizeof(login_screen_default_screen_magnifier_type_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AccessibilitySettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AccessibilitySettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool login_screen_default_large_cursor_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_login_screen_default_large_cursor_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &login_screen_default_large_cursor_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool login_screen_default_spoken_feedback_enabled = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_login_screen_default_spoken_feedback_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &login_screen_default_spoken_feedback_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool login_screen_default_high_contrast_enabled = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| set_has_login_screen_default_high_contrast_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &login_screen_default_high_contrast_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AccessibilitySettingsProto.ScreenMagnifierType login_screen_default_screen_magnifier_type = 4; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::AccessibilitySettingsProto_ScreenMagnifierType_IsValid(value)) { |
| set_login_screen_default_screen_magnifier_type(static_cast< ::enterprise_management::AccessibilitySettingsProto_ScreenMagnifierType >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(32u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool login_screen_default_virtual_keyboard_enabled = 5; |
| case 5: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
| set_has_login_screen_default_virtual_keyboard_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &login_screen_default_virtual_keyboard_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AccessibilitySettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AccessibilitySettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AccessibilitySettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AccessibilitySettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool login_screen_default_large_cursor_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->login_screen_default_large_cursor_enabled(), output); |
| } |
| |
| // optional bool login_screen_default_spoken_feedback_enabled = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->login_screen_default_spoken_feedback_enabled(), output); |
| } |
| |
| // optional bool login_screen_default_high_contrast_enabled = 3; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->login_screen_default_high_contrast_enabled(), output); |
| } |
| |
| // optional .enterprise_management.AccessibilitySettingsProto.ScreenMagnifierType login_screen_default_screen_magnifier_type = 4; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 4, this->login_screen_default_screen_magnifier_type(), output); |
| } |
| |
| // optional bool login_screen_default_virtual_keyboard_enabled = 5; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->login_screen_default_virtual_keyboard_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AccessibilitySettingsProto) |
| } |
| |
| size_t AccessibilitySettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AccessibilitySettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 31u) { |
| // optional bool login_screen_default_large_cursor_enabled = 1; |
| if (has_login_screen_default_large_cursor_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool login_screen_default_spoken_feedback_enabled = 2; |
| if (has_login_screen_default_spoken_feedback_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool login_screen_default_high_contrast_enabled = 3; |
| if (has_login_screen_default_high_contrast_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool login_screen_default_virtual_keyboard_enabled = 5; |
| if (has_login_screen_default_virtual_keyboard_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional .enterprise_management.AccessibilitySettingsProto.ScreenMagnifierType login_screen_default_screen_magnifier_type = 4; |
| if (has_login_screen_default_screen_magnifier_type()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->login_screen_default_screen_magnifier_type()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AccessibilitySettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AccessibilitySettingsProto*>(&from)); |
| } |
| |
| void AccessibilitySettingsProto::MergeFrom(const AccessibilitySettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AccessibilitySettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 31u) { |
| if (cached_has_bits & 0x00000001u) { |
| login_screen_default_large_cursor_enabled_ = from.login_screen_default_large_cursor_enabled_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| login_screen_default_spoken_feedback_enabled_ = from.login_screen_default_spoken_feedback_enabled_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| login_screen_default_high_contrast_enabled_ = from.login_screen_default_high_contrast_enabled_; |
| } |
| if (cached_has_bits & 0x00000008u) { |
| login_screen_default_virtual_keyboard_enabled_ = from.login_screen_default_virtual_keyboard_enabled_; |
| } |
| if (cached_has_bits & 0x00000010u) { |
| login_screen_default_screen_magnifier_type_ = from.login_screen_default_screen_magnifier_type_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void AccessibilitySettingsProto::CopyFrom(const AccessibilitySettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AccessibilitySettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AccessibilitySettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AccessibilitySettingsProto::Swap(AccessibilitySettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AccessibilitySettingsProto::InternalSwap(AccessibilitySettingsProto* other) { |
| using std::swap; |
| swap(login_screen_default_large_cursor_enabled_, other->login_screen_default_large_cursor_enabled_); |
| swap(login_screen_default_spoken_feedback_enabled_, other->login_screen_default_spoken_feedback_enabled_); |
| swap(login_screen_default_high_contrast_enabled_, other->login_screen_default_high_contrast_enabled_); |
| swap(login_screen_default_virtual_keyboard_enabled_, other->login_screen_default_virtual_keyboard_enabled_); |
| swap(login_screen_default_screen_magnifier_type_, other->login_screen_default_screen_magnifier_type_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AccessibilitySettingsProto::GetTypeName() const { |
| return "enterprise_management.AccessibilitySettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void SupervisedUsersSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int SupervisedUsersSettingsProto::kSupervisedUsersEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| SupervisedUsersSettingsProto::SupervisedUsersSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SupervisedUsersSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.SupervisedUsersSettingsProto) |
| } |
| SupervisedUsersSettingsProto::SupervisedUsersSettingsProto(const SupervisedUsersSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| supervised_users_enabled_ = from.supervised_users_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.SupervisedUsersSettingsProto) |
| } |
| |
| void SupervisedUsersSettingsProto::SharedCtor() { |
| supervised_users_enabled_ = false; |
| } |
| |
| SupervisedUsersSettingsProto::~SupervisedUsersSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.SupervisedUsersSettingsProto) |
| SharedDtor(); |
| } |
| |
| void SupervisedUsersSettingsProto::SharedDtor() { |
| } |
| |
| void SupervisedUsersSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const SupervisedUsersSettingsProto& SupervisedUsersSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SupervisedUsersSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void SupervisedUsersSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.SupervisedUsersSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| supervised_users_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool SupervisedUsersSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.SupervisedUsersSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool supervised_users_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_supervised_users_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &supervised_users_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.SupervisedUsersSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.SupervisedUsersSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void SupervisedUsersSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.SupervisedUsersSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool supervised_users_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->supervised_users_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.SupervisedUsersSettingsProto) |
| } |
| |
| size_t SupervisedUsersSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.SupervisedUsersSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool supervised_users_enabled = 1; |
| if (has_supervised_users_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void SupervisedUsersSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const SupervisedUsersSettingsProto*>(&from)); |
| } |
| |
| void SupervisedUsersSettingsProto::MergeFrom(const SupervisedUsersSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.SupervisedUsersSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_supervised_users_enabled()) { |
| set_supervised_users_enabled(from.supervised_users_enabled()); |
| } |
| } |
| |
| void SupervisedUsersSettingsProto::CopyFrom(const SupervisedUsersSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.SupervisedUsersSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool SupervisedUsersSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void SupervisedUsersSettingsProto::Swap(SupervisedUsersSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void SupervisedUsersSettingsProto::InternalSwap(SupervisedUsersSettingsProto* other) { |
| using std::swap; |
| swap(supervised_users_enabled_, other->supervised_users_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string SupervisedUsersSettingsProto::GetTypeName() const { |
| return "enterprise_management.SupervisedUsersSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void LoginScreenPowerManagementProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int LoginScreenPowerManagementProto::kLoginScreenPowerManagementFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| LoginScreenPowerManagementProto::LoginScreenPowerManagementProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenPowerManagementProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.LoginScreenPowerManagementProto) |
| } |
| LoginScreenPowerManagementProto::LoginScreenPowerManagementProto(const LoginScreenPowerManagementProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| login_screen_power_management_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_login_screen_power_management()) { |
| login_screen_power_management_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.login_screen_power_management_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.LoginScreenPowerManagementProto) |
| } |
| |
| void LoginScreenPowerManagementProto::SharedCtor() { |
| login_screen_power_management_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| LoginScreenPowerManagementProto::~LoginScreenPowerManagementProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.LoginScreenPowerManagementProto) |
| SharedDtor(); |
| } |
| |
| void LoginScreenPowerManagementProto::SharedDtor() { |
| login_screen_power_management_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void LoginScreenPowerManagementProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const LoginScreenPowerManagementProto& LoginScreenPowerManagementProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenPowerManagementProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void LoginScreenPowerManagementProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.LoginScreenPowerManagementProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| login_screen_power_management_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool LoginScreenPowerManagementProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.LoginScreenPowerManagementProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string login_screen_power_management = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_login_screen_power_management())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.LoginScreenPowerManagementProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.LoginScreenPowerManagementProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void LoginScreenPowerManagementProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.LoginScreenPowerManagementProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string login_screen_power_management = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->login_screen_power_management(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.LoginScreenPowerManagementProto) |
| } |
| |
| size_t LoginScreenPowerManagementProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.LoginScreenPowerManagementProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string login_screen_power_management = 1; |
| if (has_login_screen_power_management()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->login_screen_power_management()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void LoginScreenPowerManagementProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const LoginScreenPowerManagementProto*>(&from)); |
| } |
| |
| void LoginScreenPowerManagementProto::MergeFrom(const LoginScreenPowerManagementProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.LoginScreenPowerManagementProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_login_screen_power_management()) { |
| set_has_login_screen_power_management(); |
| login_screen_power_management_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.login_screen_power_management_); |
| } |
| } |
| |
| void LoginScreenPowerManagementProto::CopyFrom(const LoginScreenPowerManagementProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.LoginScreenPowerManagementProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool LoginScreenPowerManagementProto::IsInitialized() const { |
| return true; |
| } |
| |
| void LoginScreenPowerManagementProto::Swap(LoginScreenPowerManagementProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void LoginScreenPowerManagementProto::InternalSwap(LoginScreenPowerManagementProto* other) { |
| using std::swap; |
| login_screen_power_management_.Swap(&other->login_screen_power_management_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string LoginScreenPowerManagementProto::GetTypeName() const { |
| return "enterprise_management.LoginScreenPowerManagementProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AutoCleanupSettigsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AutoCleanupSettigsProto::kCleanUpStrategyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AutoCleanupSettigsProto::AutoCleanupSettigsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AutoCleanupSettigsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AutoCleanupSettigsProto) |
| } |
| AutoCleanupSettigsProto::AutoCleanupSettigsProto(const AutoCleanupSettigsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| clean_up_strategy_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_clean_up_strategy()) { |
| clean_up_strategy_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clean_up_strategy_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AutoCleanupSettigsProto) |
| } |
| |
| void AutoCleanupSettigsProto::SharedCtor() { |
| clean_up_strategy_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| AutoCleanupSettigsProto::~AutoCleanupSettigsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AutoCleanupSettigsProto) |
| SharedDtor(); |
| } |
| |
| void AutoCleanupSettigsProto::SharedDtor() { |
| clean_up_strategy_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void AutoCleanupSettigsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AutoCleanupSettigsProto& AutoCleanupSettigsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AutoCleanupSettigsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AutoCleanupSettigsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AutoCleanupSettigsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| clean_up_strategy_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AutoCleanupSettigsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AutoCleanupSettigsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string clean_up_strategy = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_clean_up_strategy())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AutoCleanupSettigsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AutoCleanupSettigsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AutoCleanupSettigsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AutoCleanupSettigsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string clean_up_strategy = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->clean_up_strategy(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AutoCleanupSettigsProto) |
| } |
| |
| size_t AutoCleanupSettigsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AutoCleanupSettigsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string clean_up_strategy = 1; |
| if (has_clean_up_strategy()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->clean_up_strategy()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AutoCleanupSettigsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AutoCleanupSettigsProto*>(&from)); |
| } |
| |
| void AutoCleanupSettigsProto::MergeFrom(const AutoCleanupSettigsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AutoCleanupSettigsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_clean_up_strategy()) { |
| set_has_clean_up_strategy(); |
| clean_up_strategy_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clean_up_strategy_); |
| } |
| } |
| |
| void AutoCleanupSettigsProto::CopyFrom(const AutoCleanupSettigsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AutoCleanupSettigsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AutoCleanupSettigsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AutoCleanupSettigsProto::Swap(AutoCleanupSettigsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AutoCleanupSettigsProto::InternalSwap(AutoCleanupSettigsProto* other) { |
| using std::swap; |
| clean_up_strategy_.Swap(&other->clean_up_strategy_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AutoCleanupSettigsProto::GetTypeName() const { |
| return "enterprise_management.AutoCleanupSettigsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void SystemSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int SystemSettingsProto::kBlockDevmodeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| SystemSettingsProto::SystemSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.SystemSettingsProto) |
| } |
| SystemSettingsProto::SystemSettingsProto(const SystemSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| block_devmode_ = from.block_devmode_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.SystemSettingsProto) |
| } |
| |
| void SystemSettingsProto::SharedCtor() { |
| block_devmode_ = false; |
| } |
| |
| SystemSettingsProto::~SystemSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.SystemSettingsProto) |
| SharedDtor(); |
| } |
| |
| void SystemSettingsProto::SharedDtor() { |
| } |
| |
| void SystemSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const SystemSettingsProto& SystemSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SystemSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void SystemSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.SystemSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| block_devmode_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool SystemSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.SystemSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool block_devmode = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_block_devmode(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &block_devmode_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.SystemSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.SystemSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void SystemSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.SystemSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool block_devmode = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->block_devmode(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.SystemSettingsProto) |
| } |
| |
| size_t SystemSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.SystemSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool block_devmode = 1; |
| if (has_block_devmode()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void SystemSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const SystemSettingsProto*>(&from)); |
| } |
| |
| void SystemSettingsProto::MergeFrom(const SystemSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.SystemSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_block_devmode()) { |
| set_block_devmode(from.block_devmode()); |
| } |
| } |
| |
| void SystemSettingsProto::CopyFrom(const SystemSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.SystemSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool SystemSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void SystemSettingsProto::Swap(SystemSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void SystemSettingsProto::InternalSwap(SystemSettingsProto* other) { |
| using std::swap; |
| swap(block_devmode_, other->block_devmode_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string SystemSettingsProto::GetTypeName() const { |
| return "enterprise_management.SystemSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void SAMLSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int SAMLSettingsProto::kTransferSamlCookiesFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| SAMLSettingsProto::SAMLSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SAMLSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.SAMLSettingsProto) |
| } |
| SAMLSettingsProto::SAMLSettingsProto(const SAMLSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| transfer_saml_cookies_ = from.transfer_saml_cookies_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.SAMLSettingsProto) |
| } |
| |
| void SAMLSettingsProto::SharedCtor() { |
| transfer_saml_cookies_ = false; |
| } |
| |
| SAMLSettingsProto::~SAMLSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.SAMLSettingsProto) |
| SharedDtor(); |
| } |
| |
| void SAMLSettingsProto::SharedDtor() { |
| } |
| |
| void SAMLSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const SAMLSettingsProto& SAMLSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SAMLSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void SAMLSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.SAMLSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| transfer_saml_cookies_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool SAMLSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.SAMLSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool transfer_saml_cookies = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_transfer_saml_cookies(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &transfer_saml_cookies_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.SAMLSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.SAMLSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void SAMLSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.SAMLSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool transfer_saml_cookies = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->transfer_saml_cookies(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.SAMLSettingsProto) |
| } |
| |
| size_t SAMLSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.SAMLSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool transfer_saml_cookies = 1; |
| if (has_transfer_saml_cookies()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void SAMLSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const SAMLSettingsProto*>(&from)); |
| } |
| |
| void SAMLSettingsProto::MergeFrom(const SAMLSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.SAMLSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_transfer_saml_cookies()) { |
| set_transfer_saml_cookies(from.transfer_saml_cookies()); |
| } |
| } |
| |
| void SAMLSettingsProto::CopyFrom(const SAMLSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.SAMLSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool SAMLSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void SAMLSettingsProto::Swap(SAMLSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void SAMLSettingsProto::InternalSwap(SAMLSettingsProto* other) { |
| using std::swap; |
| swap(transfer_saml_cookies_, other->transfer_saml_cookies_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string SAMLSettingsProto::GetTypeName() const { |
| return "enterprise_management.SAMLSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void RebootOnShutdownProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int RebootOnShutdownProto::kRebootOnShutdownFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| RebootOnShutdownProto::RebootOnShutdownProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_RebootOnShutdownProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.RebootOnShutdownProto) |
| } |
| RebootOnShutdownProto::RebootOnShutdownProto(const RebootOnShutdownProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| reboot_on_shutdown_ = from.reboot_on_shutdown_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.RebootOnShutdownProto) |
| } |
| |
| void RebootOnShutdownProto::SharedCtor() { |
| reboot_on_shutdown_ = false; |
| } |
| |
| RebootOnShutdownProto::~RebootOnShutdownProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.RebootOnShutdownProto) |
| SharedDtor(); |
| } |
| |
| void RebootOnShutdownProto::SharedDtor() { |
| } |
| |
| void RebootOnShutdownProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const RebootOnShutdownProto& RebootOnShutdownProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_RebootOnShutdownProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void RebootOnShutdownProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.RebootOnShutdownProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| reboot_on_shutdown_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool RebootOnShutdownProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.RebootOnShutdownProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool reboot_on_shutdown = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_reboot_on_shutdown(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &reboot_on_shutdown_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.RebootOnShutdownProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.RebootOnShutdownProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void RebootOnShutdownProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.RebootOnShutdownProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool reboot_on_shutdown = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reboot_on_shutdown(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.RebootOnShutdownProto) |
| } |
| |
| size_t RebootOnShutdownProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.RebootOnShutdownProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool reboot_on_shutdown = 1 [default = false]; |
| if (has_reboot_on_shutdown()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void RebootOnShutdownProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const RebootOnShutdownProto*>(&from)); |
| } |
| |
| void RebootOnShutdownProto::MergeFrom(const RebootOnShutdownProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.RebootOnShutdownProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_reboot_on_shutdown()) { |
| set_reboot_on_shutdown(from.reboot_on_shutdown()); |
| } |
| } |
| |
| void RebootOnShutdownProto::CopyFrom(const RebootOnShutdownProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.RebootOnShutdownProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool RebootOnShutdownProto::IsInitialized() const { |
| return true; |
| } |
| |
| void RebootOnShutdownProto::Swap(RebootOnShutdownProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void RebootOnShutdownProto::InternalSwap(RebootOnShutdownProto* other) { |
| using std::swap; |
| swap(reboot_on_shutdown_, other->reboot_on_shutdown_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string RebootOnShutdownProto::GetTypeName() const { |
| return "enterprise_management.RebootOnShutdownProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceHeartbeatSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceHeartbeatSettingsProto::kHeartbeatEnabledFieldNumber; |
| const int DeviceHeartbeatSettingsProto::kHeartbeatFrequencyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceHeartbeatSettingsProto::DeviceHeartbeatSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceHeartbeatSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceHeartbeatSettingsProto) |
| } |
| DeviceHeartbeatSettingsProto::DeviceHeartbeatSettingsProto(const DeviceHeartbeatSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&heartbeat_enabled_, &from.heartbeat_enabled_, |
| static_cast<size_t>(reinterpret_cast<char*>(&heartbeat_frequency_) - |
| reinterpret_cast<char*>(&heartbeat_enabled_)) + sizeof(heartbeat_frequency_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceHeartbeatSettingsProto) |
| } |
| |
| void DeviceHeartbeatSettingsProto::SharedCtor() { |
| heartbeat_enabled_ = false; |
| heartbeat_frequency_ = GOOGLE_LONGLONG(120000); |
| } |
| |
| DeviceHeartbeatSettingsProto::~DeviceHeartbeatSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceHeartbeatSettingsProto) |
| SharedDtor(); |
| } |
| |
| void DeviceHeartbeatSettingsProto::SharedDtor() { |
| } |
| |
| void DeviceHeartbeatSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceHeartbeatSettingsProto& DeviceHeartbeatSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceHeartbeatSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceHeartbeatSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceHeartbeatSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| heartbeat_enabled_ = false; |
| heartbeat_frequency_ = GOOGLE_LONGLONG(120000); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceHeartbeatSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceHeartbeatSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool heartbeat_enabled = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_heartbeat_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &heartbeat_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int64 heartbeat_frequency = 2 [default = 120000]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_heartbeat_frequency(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &heartbeat_frequency_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceHeartbeatSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceHeartbeatSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceHeartbeatSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceHeartbeatSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool heartbeat_enabled = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->heartbeat_enabled(), output); |
| } |
| |
| // optional int64 heartbeat_frequency = 2 [default = 120000]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->heartbeat_frequency(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceHeartbeatSettingsProto) |
| } |
| |
| size_t DeviceHeartbeatSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceHeartbeatSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional bool heartbeat_enabled = 1 [default = false]; |
| if (has_heartbeat_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional int64 heartbeat_frequency = 2 [default = 120000]; |
| if (has_heartbeat_frequency()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->heartbeat_frequency()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceHeartbeatSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceHeartbeatSettingsProto*>(&from)); |
| } |
| |
| void DeviceHeartbeatSettingsProto::MergeFrom(const DeviceHeartbeatSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceHeartbeatSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| heartbeat_enabled_ = from.heartbeat_enabled_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| heartbeat_frequency_ = from.heartbeat_frequency_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DeviceHeartbeatSettingsProto::CopyFrom(const DeviceHeartbeatSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceHeartbeatSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceHeartbeatSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceHeartbeatSettingsProto::Swap(DeviceHeartbeatSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceHeartbeatSettingsProto::InternalSwap(DeviceHeartbeatSettingsProto* other) { |
| using std::swap; |
| swap(heartbeat_enabled_, other->heartbeat_enabled_); |
| swap(heartbeat_frequency_, other->heartbeat_frequency_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceHeartbeatSettingsProto::GetTypeName() const { |
| return "enterprise_management.DeviceHeartbeatSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void ExtensionCacheSizeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int ExtensionCacheSizeProto::kExtensionCacheSizeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| ExtensionCacheSizeProto::ExtensionCacheSizeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ExtensionCacheSizeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.ExtensionCacheSizeProto) |
| } |
| ExtensionCacheSizeProto::ExtensionCacheSizeProto(const ExtensionCacheSizeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| extension_cache_size_ = from.extension_cache_size_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.ExtensionCacheSizeProto) |
| } |
| |
| void ExtensionCacheSizeProto::SharedCtor() { |
| extension_cache_size_ = GOOGLE_LONGLONG(0); |
| } |
| |
| ExtensionCacheSizeProto::~ExtensionCacheSizeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.ExtensionCacheSizeProto) |
| SharedDtor(); |
| } |
| |
| void ExtensionCacheSizeProto::SharedDtor() { |
| } |
| |
| void ExtensionCacheSizeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const ExtensionCacheSizeProto& ExtensionCacheSizeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ExtensionCacheSizeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void ExtensionCacheSizeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.ExtensionCacheSizeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| extension_cache_size_ = GOOGLE_LONGLONG(0); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool ExtensionCacheSizeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.ExtensionCacheSizeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int64 extension_cache_size = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_extension_cache_size(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
| input, &extension_cache_size_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.ExtensionCacheSizeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.ExtensionCacheSizeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void ExtensionCacheSizeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.ExtensionCacheSizeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int64 extension_cache_size = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->extension_cache_size(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.ExtensionCacheSizeProto) |
| } |
| |
| size_t ExtensionCacheSizeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.ExtensionCacheSizeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional int64 extension_cache_size = 1; |
| if (has_extension_cache_size()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int64Size( |
| this->extension_cache_size()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void ExtensionCacheSizeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const ExtensionCacheSizeProto*>(&from)); |
| } |
| |
| void ExtensionCacheSizeProto::MergeFrom(const ExtensionCacheSizeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.ExtensionCacheSizeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_extension_cache_size()) { |
| set_extension_cache_size(from.extension_cache_size()); |
| } |
| } |
| |
| void ExtensionCacheSizeProto::CopyFrom(const ExtensionCacheSizeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.ExtensionCacheSizeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool ExtensionCacheSizeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void ExtensionCacheSizeProto::Swap(ExtensionCacheSizeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void ExtensionCacheSizeProto::InternalSwap(ExtensionCacheSizeProto* other) { |
| using std::swap; |
| swap(extension_cache_size_, other->extension_cache_size_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string ExtensionCacheSizeProto::GetTypeName() const { |
| return "enterprise_management.ExtensionCacheSizeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void LoginScreenDomainAutoCompleteProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int LoginScreenDomainAutoCompleteProto::kLoginScreenDomainAutoCompleteFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| LoginScreenDomainAutoCompleteProto::LoginScreenDomainAutoCompleteProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenDomainAutoCompleteProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| } |
| LoginScreenDomainAutoCompleteProto::LoginScreenDomainAutoCompleteProto(const LoginScreenDomainAutoCompleteProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| login_screen_domain_auto_complete_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_login_screen_domain_auto_complete()) { |
| login_screen_domain_auto_complete_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.login_screen_domain_auto_complete_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::SharedCtor() { |
| login_screen_domain_auto_complete_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| LoginScreenDomainAutoCompleteProto::~LoginScreenDomainAutoCompleteProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| SharedDtor(); |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::SharedDtor() { |
| login_screen_domain_auto_complete_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const LoginScreenDomainAutoCompleteProto& LoginScreenDomainAutoCompleteProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenDomainAutoCompleteProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void LoginScreenDomainAutoCompleteProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| login_screen_domain_auto_complete_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool LoginScreenDomainAutoCompleteProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string login_screen_domain_auto_complete = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_login_screen_domain_auto_complete())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string login_screen_domain_auto_complete = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->login_screen_domain_auto_complete(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| } |
| |
| size_t LoginScreenDomainAutoCompleteProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string login_screen_domain_auto_complete = 1; |
| if (has_login_screen_domain_auto_complete()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->login_screen_domain_auto_complete()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const LoginScreenDomainAutoCompleteProto*>(&from)); |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::MergeFrom(const LoginScreenDomainAutoCompleteProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_login_screen_domain_auto_complete()) { |
| set_has_login_screen_domain_auto_complete(); |
| login_screen_domain_auto_complete_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.login_screen_domain_auto_complete_); |
| } |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::CopyFrom(const LoginScreenDomainAutoCompleteProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.LoginScreenDomainAutoCompleteProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool LoginScreenDomainAutoCompleteProto::IsInitialized() const { |
| return true; |
| } |
| |
| void LoginScreenDomainAutoCompleteProto::Swap(LoginScreenDomainAutoCompleteProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void LoginScreenDomainAutoCompleteProto::InternalSwap(LoginScreenDomainAutoCompleteProto* other) { |
| using std::swap; |
| login_screen_domain_auto_complete_.Swap(&other->login_screen_domain_auto_complete_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string LoginScreenDomainAutoCompleteProto::GetTypeName() const { |
| return "enterprise_management.LoginScreenDomainAutoCompleteProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLogUploadSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLogUploadSettingsProto::kSystemLogUploadEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLogUploadSettingsProto::DeviceLogUploadSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLogUploadSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLogUploadSettingsProto) |
| } |
| DeviceLogUploadSettingsProto::DeviceLogUploadSettingsProto(const DeviceLogUploadSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| system_log_upload_enabled_ = from.system_log_upload_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLogUploadSettingsProto) |
| } |
| |
| void DeviceLogUploadSettingsProto::SharedCtor() { |
| system_log_upload_enabled_ = false; |
| } |
| |
| DeviceLogUploadSettingsProto::~DeviceLogUploadSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLogUploadSettingsProto) |
| SharedDtor(); |
| } |
| |
| void DeviceLogUploadSettingsProto::SharedDtor() { |
| } |
| |
| void DeviceLogUploadSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLogUploadSettingsProto& DeviceLogUploadSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLogUploadSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLogUploadSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLogUploadSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| system_log_upload_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLogUploadSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLogUploadSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool system_log_upload_enabled = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_system_log_upload_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &system_log_upload_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLogUploadSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLogUploadSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLogUploadSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLogUploadSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool system_log_upload_enabled = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->system_log_upload_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLogUploadSettingsProto) |
| } |
| |
| size_t DeviceLogUploadSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLogUploadSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool system_log_upload_enabled = 1 [default = false]; |
| if (has_system_log_upload_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLogUploadSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLogUploadSettingsProto*>(&from)); |
| } |
| |
| void DeviceLogUploadSettingsProto::MergeFrom(const DeviceLogUploadSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLogUploadSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_system_log_upload_enabled()) { |
| set_system_log_upload_enabled(from.system_log_upload_enabled()); |
| } |
| } |
| |
| void DeviceLogUploadSettingsProto::CopyFrom(const DeviceLogUploadSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLogUploadSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLogUploadSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLogUploadSettingsProto::Swap(DeviceLogUploadSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLogUploadSettingsProto::InternalSwap(DeviceLogUploadSettingsProto* other) { |
| using std::swap; |
| swap(system_log_upload_enabled_, other->system_log_upload_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLogUploadSettingsProto::GetTypeName() const { |
| return "enterprise_management.DeviceLogUploadSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DisplayRotationDefaultProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DisplayRotationDefaultProto::kDisplayRotationDefaultFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DisplayRotationDefaultProto::DisplayRotationDefaultProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DisplayRotationDefaultProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DisplayRotationDefaultProto) |
| } |
| DisplayRotationDefaultProto::DisplayRotationDefaultProto(const DisplayRotationDefaultProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| display_rotation_default_ = from.display_rotation_default_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DisplayRotationDefaultProto) |
| } |
| |
| void DisplayRotationDefaultProto::SharedCtor() { |
| display_rotation_default_ = 0; |
| } |
| |
| DisplayRotationDefaultProto::~DisplayRotationDefaultProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DisplayRotationDefaultProto) |
| SharedDtor(); |
| } |
| |
| void DisplayRotationDefaultProto::SharedDtor() { |
| } |
| |
| void DisplayRotationDefaultProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DisplayRotationDefaultProto& DisplayRotationDefaultProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DisplayRotationDefaultProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DisplayRotationDefaultProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DisplayRotationDefaultProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| display_rotation_default_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DisplayRotationDefaultProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DisplayRotationDefaultProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DisplayRotationDefaultProto.Rotation display_rotation_default = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DisplayRotationDefaultProto_Rotation_IsValid(value)) { |
| set_display_rotation_default(static_cast< ::enterprise_management::DisplayRotationDefaultProto_Rotation >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DisplayRotationDefaultProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DisplayRotationDefaultProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DisplayRotationDefaultProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DisplayRotationDefaultProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DisplayRotationDefaultProto.Rotation display_rotation_default = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->display_rotation_default(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DisplayRotationDefaultProto) |
| } |
| |
| size_t DisplayRotationDefaultProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DisplayRotationDefaultProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DisplayRotationDefaultProto.Rotation display_rotation_default = 1; |
| if (has_display_rotation_default()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->display_rotation_default()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DisplayRotationDefaultProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DisplayRotationDefaultProto*>(&from)); |
| } |
| |
| void DisplayRotationDefaultProto::MergeFrom(const DisplayRotationDefaultProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DisplayRotationDefaultProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_display_rotation_default()) { |
| set_display_rotation_default(from.display_rotation_default()); |
| } |
| } |
| |
| void DisplayRotationDefaultProto::CopyFrom(const DisplayRotationDefaultProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DisplayRotationDefaultProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DisplayRotationDefaultProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DisplayRotationDefaultProto::Swap(DisplayRotationDefaultProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DisplayRotationDefaultProto::InternalSwap(DisplayRotationDefaultProto* other) { |
| using std::swap; |
| swap(display_rotation_default_, other->display_rotation_default_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DisplayRotationDefaultProto::GetTypeName() const { |
| return "enterprise_management.DisplayRotationDefaultProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceDisplayResolutionProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceDisplayResolutionProto::kDeviceDisplayResolutionFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceDisplayResolutionProto::DeviceDisplayResolutionProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceDisplayResolutionProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceDisplayResolutionProto) |
| } |
| DeviceDisplayResolutionProto::DeviceDisplayResolutionProto(const DeviceDisplayResolutionProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_display_resolution_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_display_resolution()) { |
| device_display_resolution_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_display_resolution_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceDisplayResolutionProto) |
| } |
| |
| void DeviceDisplayResolutionProto::SharedCtor() { |
| device_display_resolution_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceDisplayResolutionProto::~DeviceDisplayResolutionProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceDisplayResolutionProto) |
| SharedDtor(); |
| } |
| |
| void DeviceDisplayResolutionProto::SharedDtor() { |
| device_display_resolution_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceDisplayResolutionProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceDisplayResolutionProto& DeviceDisplayResolutionProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceDisplayResolutionProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceDisplayResolutionProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceDisplayResolutionProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| device_display_resolution_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceDisplayResolutionProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceDisplayResolutionProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string device_display_resolution = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_display_resolution())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceDisplayResolutionProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceDisplayResolutionProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceDisplayResolutionProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceDisplayResolutionProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string device_display_resolution = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->device_display_resolution(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceDisplayResolutionProto) |
| } |
| |
| size_t DeviceDisplayResolutionProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceDisplayResolutionProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string device_display_resolution = 1; |
| if (has_device_display_resolution()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_display_resolution()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceDisplayResolutionProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceDisplayResolutionProto*>(&from)); |
| } |
| |
| void DeviceDisplayResolutionProto::MergeFrom(const DeviceDisplayResolutionProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceDisplayResolutionProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_display_resolution()) { |
| set_has_device_display_resolution(); |
| device_display_resolution_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_display_resolution_); |
| } |
| } |
| |
| void DeviceDisplayResolutionProto::CopyFrom(const DeviceDisplayResolutionProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceDisplayResolutionProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceDisplayResolutionProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceDisplayResolutionProto::Swap(DeviceDisplayResolutionProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceDisplayResolutionProto::InternalSwap(DeviceDisplayResolutionProto* other) { |
| using std::swap; |
| device_display_resolution_.Swap(&other->device_display_resolution_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceDisplayResolutionProto::GetTypeName() const { |
| return "enterprise_management.DeviceDisplayResolutionProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AllowKioskAppControlChromeVersionProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AllowKioskAppControlChromeVersionProto::kAllowKioskAppControlChromeVersionFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AllowKioskAppControlChromeVersionProto::AllowKioskAppControlChromeVersionProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowKioskAppControlChromeVersionProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| } |
| AllowKioskAppControlChromeVersionProto::AllowKioskAppControlChromeVersionProto(const AllowKioskAppControlChromeVersionProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| allow_kiosk_app_control_chrome_version_ = from.allow_kiosk_app_control_chrome_version_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::SharedCtor() { |
| allow_kiosk_app_control_chrome_version_ = false; |
| } |
| |
| AllowKioskAppControlChromeVersionProto::~AllowKioskAppControlChromeVersionProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| SharedDtor(); |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::SharedDtor() { |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AllowKioskAppControlChromeVersionProto& AllowKioskAppControlChromeVersionProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowKioskAppControlChromeVersionProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AllowKioskAppControlChromeVersionProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| allow_kiosk_app_control_chrome_version_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AllowKioskAppControlChromeVersionProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool allow_kiosk_app_control_chrome_version = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_allow_kiosk_app_control_chrome_version(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &allow_kiosk_app_control_chrome_version_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool allow_kiosk_app_control_chrome_version = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->allow_kiosk_app_control_chrome_version(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| } |
| |
| size_t AllowKioskAppControlChromeVersionProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool allow_kiosk_app_control_chrome_version = 1 [default = false]; |
| if (has_allow_kiosk_app_control_chrome_version()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AllowKioskAppControlChromeVersionProto*>(&from)); |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::MergeFrom(const AllowKioskAppControlChromeVersionProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_allow_kiosk_app_control_chrome_version()) { |
| set_allow_kiosk_app_control_chrome_version(from.allow_kiosk_app_control_chrome_version()); |
| } |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::CopyFrom(const AllowKioskAppControlChromeVersionProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AllowKioskAppControlChromeVersionProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AllowKioskAppControlChromeVersionProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AllowKioskAppControlChromeVersionProto::Swap(AllowKioskAppControlChromeVersionProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AllowKioskAppControlChromeVersionProto::InternalSwap(AllowKioskAppControlChromeVersionProto* other) { |
| using std::swap; |
| swap(allow_kiosk_app_control_chrome_version_, other->allow_kiosk_app_control_chrome_version_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AllowKioskAppControlChromeVersionProto::GetTypeName() const { |
| return "enterprise_management.AllowKioskAppControlChromeVersionProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void LoginAuthenticationBehaviorProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int LoginAuthenticationBehaviorProto::kLoginAuthenticationBehaviorFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| LoginAuthenticationBehaviorProto::LoginAuthenticationBehaviorProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginAuthenticationBehaviorProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.LoginAuthenticationBehaviorProto) |
| } |
| LoginAuthenticationBehaviorProto::LoginAuthenticationBehaviorProto(const LoginAuthenticationBehaviorProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| login_authentication_behavior_ = from.login_authentication_behavior_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.LoginAuthenticationBehaviorProto) |
| } |
| |
| void LoginAuthenticationBehaviorProto::SharedCtor() { |
| login_authentication_behavior_ = 0; |
| } |
| |
| LoginAuthenticationBehaviorProto::~LoginAuthenticationBehaviorProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.LoginAuthenticationBehaviorProto) |
| SharedDtor(); |
| } |
| |
| void LoginAuthenticationBehaviorProto::SharedDtor() { |
| } |
| |
| void LoginAuthenticationBehaviorProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const LoginAuthenticationBehaviorProto& LoginAuthenticationBehaviorProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginAuthenticationBehaviorProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void LoginAuthenticationBehaviorProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.LoginAuthenticationBehaviorProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| login_authentication_behavior_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool LoginAuthenticationBehaviorProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.LoginAuthenticationBehaviorProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.LoginAuthenticationBehaviorProto.LoginBehavior login_authentication_behavior = 1 [default = GAIA]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::LoginAuthenticationBehaviorProto_LoginBehavior_IsValid(value)) { |
| set_login_authentication_behavior(static_cast< ::enterprise_management::LoginAuthenticationBehaviorProto_LoginBehavior >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.LoginAuthenticationBehaviorProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.LoginAuthenticationBehaviorProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void LoginAuthenticationBehaviorProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.LoginAuthenticationBehaviorProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.LoginAuthenticationBehaviorProto.LoginBehavior login_authentication_behavior = 1 [default = GAIA]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->login_authentication_behavior(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.LoginAuthenticationBehaviorProto) |
| } |
| |
| size_t LoginAuthenticationBehaviorProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.LoginAuthenticationBehaviorProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.LoginAuthenticationBehaviorProto.LoginBehavior login_authentication_behavior = 1 [default = GAIA]; |
| if (has_login_authentication_behavior()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->login_authentication_behavior()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void LoginAuthenticationBehaviorProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const LoginAuthenticationBehaviorProto*>(&from)); |
| } |
| |
| void LoginAuthenticationBehaviorProto::MergeFrom(const LoginAuthenticationBehaviorProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.LoginAuthenticationBehaviorProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_login_authentication_behavior()) { |
| set_login_authentication_behavior(from.login_authentication_behavior()); |
| } |
| } |
| |
| void LoginAuthenticationBehaviorProto::CopyFrom(const LoginAuthenticationBehaviorProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.LoginAuthenticationBehaviorProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool LoginAuthenticationBehaviorProto::IsInitialized() const { |
| return true; |
| } |
| |
| void LoginAuthenticationBehaviorProto::Swap(LoginAuthenticationBehaviorProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void LoginAuthenticationBehaviorProto::InternalSwap(LoginAuthenticationBehaviorProto* other) { |
| using std::swap; |
| swap(login_authentication_behavior_, other->login_authentication_behavior_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string LoginAuthenticationBehaviorProto::GetTypeName() const { |
| return "enterprise_management.LoginAuthenticationBehaviorProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void UsbDeviceIdProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int UsbDeviceIdProto::kVendorIdFieldNumber; |
| const int UsbDeviceIdProto::kProductIdFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| UsbDeviceIdProto::UsbDeviceIdProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UsbDeviceIdProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.UsbDeviceIdProto) |
| } |
| UsbDeviceIdProto::UsbDeviceIdProto(const UsbDeviceIdProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&vendor_id_, &from.vendor_id_, |
| static_cast<size_t>(reinterpret_cast<char*>(&product_id_) - |
| reinterpret_cast<char*>(&vendor_id_)) + sizeof(product_id_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.UsbDeviceIdProto) |
| } |
| |
| void UsbDeviceIdProto::SharedCtor() { |
| ::memset(&vendor_id_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&product_id_) - |
| reinterpret_cast<char*>(&vendor_id_)) + sizeof(product_id_)); |
| } |
| |
| UsbDeviceIdProto::~UsbDeviceIdProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.UsbDeviceIdProto) |
| SharedDtor(); |
| } |
| |
| void UsbDeviceIdProto::SharedDtor() { |
| } |
| |
| void UsbDeviceIdProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const UsbDeviceIdProto& UsbDeviceIdProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UsbDeviceIdProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void UsbDeviceIdProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.UsbDeviceIdProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| ::memset(&vendor_id_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&product_id_) - |
| reinterpret_cast<char*>(&vendor_id_)) + sizeof(product_id_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool UsbDeviceIdProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.UsbDeviceIdProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int32 vendor_id = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_vendor_id(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &vendor_id_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 product_id = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_product_id(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &product_id_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.UsbDeviceIdProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.UsbDeviceIdProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void UsbDeviceIdProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.UsbDeviceIdProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int32 vendor_id = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->vendor_id(), output); |
| } |
| |
| // optional int32 product_id = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->product_id(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.UsbDeviceIdProto) |
| } |
| |
| size_t UsbDeviceIdProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.UsbDeviceIdProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional int32 vendor_id = 1; |
| if (has_vendor_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->vendor_id()); |
| } |
| |
| // optional int32 product_id = 2; |
| if (has_product_id()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->product_id()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void UsbDeviceIdProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const UsbDeviceIdProto*>(&from)); |
| } |
| |
| void UsbDeviceIdProto::MergeFrom(const UsbDeviceIdProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.UsbDeviceIdProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| vendor_id_ = from.vendor_id_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| product_id_ = from.product_id_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void UsbDeviceIdProto::CopyFrom(const UsbDeviceIdProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.UsbDeviceIdProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool UsbDeviceIdProto::IsInitialized() const { |
| return true; |
| } |
| |
| void UsbDeviceIdProto::Swap(UsbDeviceIdProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void UsbDeviceIdProto::InternalSwap(UsbDeviceIdProto* other) { |
| using std::swap; |
| swap(vendor_id_, other->vendor_id_); |
| swap(product_id_, other->product_id_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string UsbDeviceIdProto::GetTypeName() const { |
| return "enterprise_management.UsbDeviceIdProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void UsbDetachableWhitelistProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int UsbDetachableWhitelistProto::kIdFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| UsbDetachableWhitelistProto::UsbDetachableWhitelistProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UsbDetachableWhitelistProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.UsbDetachableWhitelistProto) |
| } |
| UsbDetachableWhitelistProto::UsbDetachableWhitelistProto(const UsbDetachableWhitelistProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| id_(from.id_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.UsbDetachableWhitelistProto) |
| } |
| |
| void UsbDetachableWhitelistProto::SharedCtor() { |
| } |
| |
| UsbDetachableWhitelistProto::~UsbDetachableWhitelistProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.UsbDetachableWhitelistProto) |
| SharedDtor(); |
| } |
| |
| void UsbDetachableWhitelistProto::SharedDtor() { |
| } |
| |
| void UsbDetachableWhitelistProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const UsbDetachableWhitelistProto& UsbDetachableWhitelistProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UsbDetachableWhitelistProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void UsbDetachableWhitelistProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.UsbDetachableWhitelistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| id_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool UsbDetachableWhitelistProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.UsbDetachableWhitelistProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated .enterprise_management.UsbDeviceIdProto id = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, add_id())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.UsbDetachableWhitelistProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.UsbDetachableWhitelistProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void UsbDetachableWhitelistProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.UsbDetachableWhitelistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated .enterprise_management.UsbDeviceIdProto id = 1; |
| for (unsigned int i = 0, |
| n = static_cast<unsigned int>(this->id_size()); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 1, |
| this->id(static_cast<int>(i)), |
| output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.UsbDetachableWhitelistProto) |
| } |
| |
| size_t UsbDetachableWhitelistProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.UsbDetachableWhitelistProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated .enterprise_management.UsbDeviceIdProto id = 1; |
| { |
| unsigned int count = static_cast<unsigned int>(this->id_size()); |
| total_size += 1UL * count; |
| for (unsigned int i = 0; i < count; i++) { |
| total_size += |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| this->id(static_cast<int>(i))); |
| } |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void UsbDetachableWhitelistProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const UsbDetachableWhitelistProto*>(&from)); |
| } |
| |
| void UsbDetachableWhitelistProto::MergeFrom(const UsbDetachableWhitelistProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.UsbDetachableWhitelistProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| id_.MergeFrom(from.id_); |
| } |
| |
| void UsbDetachableWhitelistProto::CopyFrom(const UsbDetachableWhitelistProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.UsbDetachableWhitelistProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool UsbDetachableWhitelistProto::IsInitialized() const { |
| return true; |
| } |
| |
| void UsbDetachableWhitelistProto::Swap(UsbDetachableWhitelistProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void UsbDetachableWhitelistProto::InternalSwap(UsbDetachableWhitelistProto* other) { |
| using std::swap; |
| CastToBase(&id_)->InternalSwap(CastToBase(&other->id_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string UsbDetachableWhitelistProto::GetTypeName() const { |
| return "enterprise_management.UsbDetachableWhitelistProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void AllowBluetoothProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int AllowBluetoothProto::kAllowBluetoothFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| AllowBluetoothProto::AllowBluetoothProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowBluetoothProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.AllowBluetoothProto) |
| } |
| AllowBluetoothProto::AllowBluetoothProto(const AllowBluetoothProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| allow_bluetooth_ = from.allow_bluetooth_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.AllowBluetoothProto) |
| } |
| |
| void AllowBluetoothProto::SharedCtor() { |
| allow_bluetooth_ = true; |
| } |
| |
| AllowBluetoothProto::~AllowBluetoothProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.AllowBluetoothProto) |
| SharedDtor(); |
| } |
| |
| void AllowBluetoothProto::SharedDtor() { |
| } |
| |
| void AllowBluetoothProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const AllowBluetoothProto& AllowBluetoothProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_AllowBluetoothProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void AllowBluetoothProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.AllowBluetoothProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| allow_bluetooth_ = true; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool AllowBluetoothProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.AllowBluetoothProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool allow_bluetooth = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_allow_bluetooth(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &allow_bluetooth_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.AllowBluetoothProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.AllowBluetoothProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void AllowBluetoothProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.AllowBluetoothProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool allow_bluetooth = 1 [default = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->allow_bluetooth(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.AllowBluetoothProto) |
| } |
| |
| size_t AllowBluetoothProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.AllowBluetoothProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool allow_bluetooth = 1 [default = true]; |
| if (has_allow_bluetooth()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void AllowBluetoothProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const AllowBluetoothProto*>(&from)); |
| } |
| |
| void AllowBluetoothProto::MergeFrom(const AllowBluetoothProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.AllowBluetoothProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_allow_bluetooth()) { |
| set_allow_bluetooth(from.allow_bluetooth()); |
| } |
| } |
| |
| void AllowBluetoothProto::CopyFrom(const AllowBluetoothProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.AllowBluetoothProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool AllowBluetoothProto::IsInitialized() const { |
| return true; |
| } |
| |
| void AllowBluetoothProto::Swap(AllowBluetoothProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void AllowBluetoothProto::InternalSwap(AllowBluetoothProto* other) { |
| using std::swap; |
| swap(allow_bluetooth_, other->allow_bluetooth_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string AllowBluetoothProto::GetTypeName() const { |
| return "enterprise_management.AllowBluetoothProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceWiFiAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceWiFiAllowedProto::kDeviceWifiAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceWiFiAllowedProto::DeviceWiFiAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWiFiAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceWiFiAllowedProto) |
| } |
| DeviceWiFiAllowedProto::DeviceWiFiAllowedProto(const DeviceWiFiAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_wifi_allowed_ = from.device_wifi_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceWiFiAllowedProto) |
| } |
| |
| void DeviceWiFiAllowedProto::SharedCtor() { |
| device_wifi_allowed_ = true; |
| } |
| |
| DeviceWiFiAllowedProto::~DeviceWiFiAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceWiFiAllowedProto) |
| SharedDtor(); |
| } |
| |
| void DeviceWiFiAllowedProto::SharedDtor() { |
| } |
| |
| void DeviceWiFiAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceWiFiAllowedProto& DeviceWiFiAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWiFiAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceWiFiAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceWiFiAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_wifi_allowed_ = true; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceWiFiAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceWiFiAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool device_wifi_allowed = 1 [default = true]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_device_wifi_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &device_wifi_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceWiFiAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceWiFiAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceWiFiAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceWiFiAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool device_wifi_allowed = 1 [default = true]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->device_wifi_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceWiFiAllowedProto) |
| } |
| |
| size_t DeviceWiFiAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceWiFiAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool device_wifi_allowed = 1 [default = true]; |
| if (has_device_wifi_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceWiFiAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceWiFiAllowedProto*>(&from)); |
| } |
| |
| void DeviceWiFiAllowedProto::MergeFrom(const DeviceWiFiAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceWiFiAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_wifi_allowed()) { |
| set_device_wifi_allowed(from.device_wifi_allowed()); |
| } |
| } |
| |
| void DeviceWiFiAllowedProto::CopyFrom(const DeviceWiFiAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceWiFiAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceWiFiAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceWiFiAllowedProto::Swap(DeviceWiFiAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceWiFiAllowedProto::InternalSwap(DeviceWiFiAllowedProto* other) { |
| using std::swap; |
| swap(device_wifi_allowed_, other->device_wifi_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceWiFiAllowedProto::GetTypeName() const { |
| return "enterprise_management.DeviceWiFiAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceQuirksDownloadEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceQuirksDownloadEnabledProto::kQuirksDownloadEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceQuirksDownloadEnabledProto::DeviceQuirksDownloadEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceQuirksDownloadEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| } |
| DeviceQuirksDownloadEnabledProto::DeviceQuirksDownloadEnabledProto(const DeviceQuirksDownloadEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| quirks_download_enabled_ = from.quirks_download_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::SharedCtor() { |
| quirks_download_enabled_ = false; |
| } |
| |
| DeviceQuirksDownloadEnabledProto::~DeviceQuirksDownloadEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| SharedDtor(); |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::SharedDtor() { |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceQuirksDownloadEnabledProto& DeviceQuirksDownloadEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceQuirksDownloadEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceQuirksDownloadEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| quirks_download_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceQuirksDownloadEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool quirks_download_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_quirks_download_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &quirks_download_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool quirks_download_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->quirks_download_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| } |
| |
| size_t DeviceQuirksDownloadEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool quirks_download_enabled = 1; |
| if (has_quirks_download_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceQuirksDownloadEnabledProto*>(&from)); |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::MergeFrom(const DeviceQuirksDownloadEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_quirks_download_enabled()) { |
| set_quirks_download_enabled(from.quirks_download_enabled()); |
| } |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::CopyFrom(const DeviceQuirksDownloadEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceQuirksDownloadEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceQuirksDownloadEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceQuirksDownloadEnabledProto::Swap(DeviceQuirksDownloadEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceQuirksDownloadEnabledProto::InternalSwap(DeviceQuirksDownloadEnabledProto* other) { |
| using std::swap; |
| swap(quirks_download_enabled_, other->quirks_download_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceQuirksDownloadEnabledProto::GetTypeName() const { |
| return "enterprise_management.DeviceQuirksDownloadEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void LoginVideoCaptureAllowedUrlsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int LoginVideoCaptureAllowedUrlsProto::kUrlsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| LoginVideoCaptureAllowedUrlsProto::LoginVideoCaptureAllowedUrlsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginVideoCaptureAllowedUrlsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| } |
| LoginVideoCaptureAllowedUrlsProto::LoginVideoCaptureAllowedUrlsProto(const LoginVideoCaptureAllowedUrlsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| urls_(from.urls_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::SharedCtor() { |
| } |
| |
| LoginVideoCaptureAllowedUrlsProto::~LoginVideoCaptureAllowedUrlsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| SharedDtor(); |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::SharedDtor() { |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const LoginVideoCaptureAllowedUrlsProto& LoginVideoCaptureAllowedUrlsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginVideoCaptureAllowedUrlsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void LoginVideoCaptureAllowedUrlsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| urls_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool LoginVideoCaptureAllowedUrlsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string urls = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string urls = 1; |
| for (int i = 0, n = this->urls_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->urls(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| } |
| |
| size_t LoginVideoCaptureAllowedUrlsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string urls = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->urls_size()); |
| for (int i = 0, n = this->urls_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->urls(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const LoginVideoCaptureAllowedUrlsProto*>(&from)); |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::MergeFrom(const LoginVideoCaptureAllowedUrlsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| urls_.MergeFrom(from.urls_); |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::CopyFrom(const LoginVideoCaptureAllowedUrlsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.LoginVideoCaptureAllowedUrlsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool LoginVideoCaptureAllowedUrlsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void LoginVideoCaptureAllowedUrlsProto::Swap(LoginVideoCaptureAllowedUrlsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void LoginVideoCaptureAllowedUrlsProto::InternalSwap(LoginVideoCaptureAllowedUrlsProto* other) { |
| using std::swap; |
| urls_.InternalSwap(CastToBase(&other->urls_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string LoginVideoCaptureAllowedUrlsProto::GetTypeName() const { |
| return "enterprise_management.LoginVideoCaptureAllowedUrlsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceWiFiFastTransitionEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceWiFiFastTransitionEnabledProto::kDeviceWifiFastTransitionEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceWiFiFastTransitionEnabledProto::DeviceWiFiFastTransitionEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWiFiFastTransitionEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| } |
| DeviceWiFiFastTransitionEnabledProto::DeviceWiFiFastTransitionEnabledProto(const DeviceWiFiFastTransitionEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_wifi_fast_transition_enabled_ = from.device_wifi_fast_transition_enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::SharedCtor() { |
| device_wifi_fast_transition_enabled_ = false; |
| } |
| |
| DeviceWiFiFastTransitionEnabledProto::~DeviceWiFiFastTransitionEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| SharedDtor(); |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::SharedDtor() { |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceWiFiFastTransitionEnabledProto& DeviceWiFiFastTransitionEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWiFiFastTransitionEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceWiFiFastTransitionEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_wifi_fast_transition_enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceWiFiFastTransitionEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool device_wifi_fast_transition_enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_device_wifi_fast_transition_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &device_wifi_fast_transition_enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool device_wifi_fast_transition_enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->device_wifi_fast_transition_enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| } |
| |
| size_t DeviceWiFiFastTransitionEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool device_wifi_fast_transition_enabled = 1; |
| if (has_device_wifi_fast_transition_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceWiFiFastTransitionEnabledProto*>(&from)); |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::MergeFrom(const DeviceWiFiFastTransitionEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_wifi_fast_transition_enabled()) { |
| set_device_wifi_fast_transition_enabled(from.device_wifi_fast_transition_enabled()); |
| } |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::CopyFrom(const DeviceWiFiFastTransitionEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceWiFiFastTransitionEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceWiFiFastTransitionEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceWiFiFastTransitionEnabledProto::Swap(DeviceWiFiFastTransitionEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceWiFiFastTransitionEnabledProto::InternalSwap(DeviceWiFiFastTransitionEnabledProto* other) { |
| using std::swap; |
| swap(device_wifi_fast_transition_enabled_, other->device_wifi_fast_transition_enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceWiFiFastTransitionEnabledProto::GetTypeName() const { |
| return "enterprise_management.DeviceWiFiFastTransitionEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void NetworkThrottlingEnabledProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int NetworkThrottlingEnabledProto::kEnabledFieldNumber; |
| const int NetworkThrottlingEnabledProto::kUploadRateKbitsFieldNumber; |
| const int NetworkThrottlingEnabledProto::kDownloadRateKbitsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| NetworkThrottlingEnabledProto::NetworkThrottlingEnabledProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_NetworkThrottlingEnabledProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.NetworkThrottlingEnabledProto) |
| } |
| NetworkThrottlingEnabledProto::NetworkThrottlingEnabledProto(const NetworkThrottlingEnabledProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&enabled_, &from.enabled_, |
| static_cast<size_t>(reinterpret_cast<char*>(&download_rate_kbits_) - |
| reinterpret_cast<char*>(&enabled_)) + sizeof(download_rate_kbits_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.NetworkThrottlingEnabledProto) |
| } |
| |
| void NetworkThrottlingEnabledProto::SharedCtor() { |
| ::memset(&enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&download_rate_kbits_) - |
| reinterpret_cast<char*>(&enabled_)) + sizeof(download_rate_kbits_)); |
| } |
| |
| NetworkThrottlingEnabledProto::~NetworkThrottlingEnabledProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.NetworkThrottlingEnabledProto) |
| SharedDtor(); |
| } |
| |
| void NetworkThrottlingEnabledProto::SharedDtor() { |
| } |
| |
| void NetworkThrottlingEnabledProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const NetworkThrottlingEnabledProto& NetworkThrottlingEnabledProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_NetworkThrottlingEnabledProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void NetworkThrottlingEnabledProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.NetworkThrottlingEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| ::memset(&enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&download_rate_kbits_) - |
| reinterpret_cast<char*>(&enabled_)) + sizeof(download_rate_kbits_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool NetworkThrottlingEnabledProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.NetworkThrottlingEnabledProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool enabled = 1 [default = false]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 upload_rate_kbits = 2 [default = 0]; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_upload_rate_kbits(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &upload_rate_kbits_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 download_rate_kbits = 3 [default = 0]; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| set_has_download_rate_kbits(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &download_rate_kbits_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.NetworkThrottlingEnabledProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.NetworkThrottlingEnabledProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void NetworkThrottlingEnabledProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.NetworkThrottlingEnabledProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool enabled = 1 [default = false]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enabled(), output); |
| } |
| |
| // optional int32 upload_rate_kbits = 2 [default = 0]; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->upload_rate_kbits(), output); |
| } |
| |
| // optional int32 download_rate_kbits = 3 [default = 0]; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->download_rate_kbits(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.NetworkThrottlingEnabledProto) |
| } |
| |
| size_t NetworkThrottlingEnabledProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.NetworkThrottlingEnabledProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 7u) { |
| // optional bool enabled = 1 [default = false]; |
| if (has_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional int32 upload_rate_kbits = 2 [default = 0]; |
| if (has_upload_rate_kbits()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->upload_rate_kbits()); |
| } |
| |
| // optional int32 download_rate_kbits = 3 [default = 0]; |
| if (has_download_rate_kbits()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->download_rate_kbits()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void NetworkThrottlingEnabledProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const NetworkThrottlingEnabledProto*>(&from)); |
| } |
| |
| void NetworkThrottlingEnabledProto::MergeFrom(const NetworkThrottlingEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.NetworkThrottlingEnabledProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| if (cached_has_bits & 0x00000001u) { |
| enabled_ = from.enabled_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| upload_rate_kbits_ = from.upload_rate_kbits_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| download_rate_kbits_ = from.download_rate_kbits_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void NetworkThrottlingEnabledProto::CopyFrom(const NetworkThrottlingEnabledProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.NetworkThrottlingEnabledProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool NetworkThrottlingEnabledProto::IsInitialized() const { |
| return true; |
| } |
| |
| void NetworkThrottlingEnabledProto::Swap(NetworkThrottlingEnabledProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void NetworkThrottlingEnabledProto::InternalSwap(NetworkThrottlingEnabledProto* other) { |
| using std::swap; |
| swap(enabled_, other->enabled_); |
| swap(upload_rate_kbits_, other->upload_rate_kbits_); |
| swap(download_rate_kbits_, other->download_rate_kbits_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string NetworkThrottlingEnabledProto::GetTypeName() const { |
| return "enterprise_management.NetworkThrottlingEnabledProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLoginScreenExtensionsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLoginScreenExtensionsProto::kDeviceLoginScreenExtensionsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLoginScreenExtensionsProto::DeviceLoginScreenExtensionsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenExtensionsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLoginScreenExtensionsProto) |
| } |
| DeviceLoginScreenExtensionsProto::DeviceLoginScreenExtensionsProto(const DeviceLoginScreenExtensionsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| device_login_screen_extensions_(from.device_login_screen_extensions_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLoginScreenExtensionsProto) |
| } |
| |
| void DeviceLoginScreenExtensionsProto::SharedCtor() { |
| } |
| |
| DeviceLoginScreenExtensionsProto::~DeviceLoginScreenExtensionsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLoginScreenExtensionsProto) |
| SharedDtor(); |
| } |
| |
| void DeviceLoginScreenExtensionsProto::SharedDtor() { |
| } |
| |
| void DeviceLoginScreenExtensionsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLoginScreenExtensionsProto& DeviceLoginScreenExtensionsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenExtensionsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLoginScreenExtensionsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLoginScreenExtensionsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_login_screen_extensions_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLoginScreenExtensionsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLoginScreenExtensionsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string device_login_screen_extensions = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_device_login_screen_extensions())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLoginScreenExtensionsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLoginScreenExtensionsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLoginScreenExtensionsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLoginScreenExtensionsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string device_login_screen_extensions = 1; |
| for (int i = 0, n = this->device_login_screen_extensions_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->device_login_screen_extensions(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLoginScreenExtensionsProto) |
| } |
| |
| size_t DeviceLoginScreenExtensionsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLoginScreenExtensionsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string device_login_screen_extensions = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->device_login_screen_extensions_size()); |
| for (int i = 0, n = this->device_login_screen_extensions_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_login_screen_extensions(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLoginScreenExtensionsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLoginScreenExtensionsProto*>(&from)); |
| } |
| |
| void DeviceLoginScreenExtensionsProto::MergeFrom(const DeviceLoginScreenExtensionsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLoginScreenExtensionsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| device_login_screen_extensions_.MergeFrom(from.device_login_screen_extensions_); |
| } |
| |
| void DeviceLoginScreenExtensionsProto::CopyFrom(const DeviceLoginScreenExtensionsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLoginScreenExtensionsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLoginScreenExtensionsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLoginScreenExtensionsProto::Swap(DeviceLoginScreenExtensionsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLoginScreenExtensionsProto::InternalSwap(DeviceLoginScreenExtensionsProto* other) { |
| using std::swap; |
| device_login_screen_extensions_.InternalSwap(CastToBase(&other->device_login_screen_extensions_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLoginScreenExtensionsProto::GetTypeName() const { |
| return "enterprise_management.DeviceLoginScreenExtensionsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void LoginScreenLocalesProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int LoginScreenLocalesProto::kLoginScreenLocalesFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| LoginScreenLocalesProto::LoginScreenLocalesProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenLocalesProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.LoginScreenLocalesProto) |
| } |
| LoginScreenLocalesProto::LoginScreenLocalesProto(const LoginScreenLocalesProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| login_screen_locales_(from.login_screen_locales_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.LoginScreenLocalesProto) |
| } |
| |
| void LoginScreenLocalesProto::SharedCtor() { |
| } |
| |
| LoginScreenLocalesProto::~LoginScreenLocalesProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.LoginScreenLocalesProto) |
| SharedDtor(); |
| } |
| |
| void LoginScreenLocalesProto::SharedDtor() { |
| } |
| |
| void LoginScreenLocalesProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const LoginScreenLocalesProto& LoginScreenLocalesProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenLocalesProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void LoginScreenLocalesProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.LoginScreenLocalesProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| login_screen_locales_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool LoginScreenLocalesProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.LoginScreenLocalesProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string login_screen_locales = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_login_screen_locales())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.LoginScreenLocalesProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.LoginScreenLocalesProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void LoginScreenLocalesProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.LoginScreenLocalesProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string login_screen_locales = 1; |
| for (int i = 0, n = this->login_screen_locales_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->login_screen_locales(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.LoginScreenLocalesProto) |
| } |
| |
| size_t LoginScreenLocalesProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.LoginScreenLocalesProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string login_screen_locales = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->login_screen_locales_size()); |
| for (int i = 0, n = this->login_screen_locales_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->login_screen_locales(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void LoginScreenLocalesProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const LoginScreenLocalesProto*>(&from)); |
| } |
| |
| void LoginScreenLocalesProto::MergeFrom(const LoginScreenLocalesProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.LoginScreenLocalesProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| login_screen_locales_.MergeFrom(from.login_screen_locales_); |
| } |
| |
| void LoginScreenLocalesProto::CopyFrom(const LoginScreenLocalesProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.LoginScreenLocalesProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool LoginScreenLocalesProto::IsInitialized() const { |
| return true; |
| } |
| |
| void LoginScreenLocalesProto::Swap(LoginScreenLocalesProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void LoginScreenLocalesProto::InternalSwap(LoginScreenLocalesProto* other) { |
| using std::swap; |
| login_screen_locales_.InternalSwap(CastToBase(&other->login_screen_locales_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string LoginScreenLocalesProto::GetTypeName() const { |
| return "enterprise_management.LoginScreenLocalesProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void LoginScreenInputMethodsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int LoginScreenInputMethodsProto::kLoginScreenInputMethodsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| LoginScreenInputMethodsProto::LoginScreenInputMethodsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenInputMethodsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.LoginScreenInputMethodsProto) |
| } |
| LoginScreenInputMethodsProto::LoginScreenInputMethodsProto(const LoginScreenInputMethodsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| login_screen_input_methods_(from.login_screen_input_methods_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.LoginScreenInputMethodsProto) |
| } |
| |
| void LoginScreenInputMethodsProto::SharedCtor() { |
| } |
| |
| LoginScreenInputMethodsProto::~LoginScreenInputMethodsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.LoginScreenInputMethodsProto) |
| SharedDtor(); |
| } |
| |
| void LoginScreenInputMethodsProto::SharedDtor() { |
| } |
| |
| void LoginScreenInputMethodsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const LoginScreenInputMethodsProto& LoginScreenInputMethodsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_LoginScreenInputMethodsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void LoginScreenInputMethodsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.LoginScreenInputMethodsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| login_screen_input_methods_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool LoginScreenInputMethodsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.LoginScreenInputMethodsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string login_screen_input_methods = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_login_screen_input_methods())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.LoginScreenInputMethodsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.LoginScreenInputMethodsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void LoginScreenInputMethodsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.LoginScreenInputMethodsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string login_screen_input_methods = 1; |
| for (int i = 0, n = this->login_screen_input_methods_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->login_screen_input_methods(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.LoginScreenInputMethodsProto) |
| } |
| |
| size_t LoginScreenInputMethodsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.LoginScreenInputMethodsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string login_screen_input_methods = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->login_screen_input_methods_size()); |
| for (int i = 0, n = this->login_screen_input_methods_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->login_screen_input_methods(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void LoginScreenInputMethodsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const LoginScreenInputMethodsProto*>(&from)); |
| } |
| |
| void LoginScreenInputMethodsProto::MergeFrom(const LoginScreenInputMethodsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.LoginScreenInputMethodsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| login_screen_input_methods_.MergeFrom(from.login_screen_input_methods_); |
| } |
| |
| void LoginScreenInputMethodsProto::CopyFrom(const LoginScreenInputMethodsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.LoginScreenInputMethodsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool LoginScreenInputMethodsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void LoginScreenInputMethodsProto::Swap(LoginScreenInputMethodsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void LoginScreenInputMethodsProto::InternalSwap(LoginScreenInputMethodsProto* other) { |
| using std::swap; |
| login_screen_input_methods_.InternalSwap(CastToBase(&other->login_screen_input_methods_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string LoginScreenInputMethodsProto::GetTypeName() const { |
| return "enterprise_management.LoginScreenInputMethodsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceWallpaperImageProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceWallpaperImageProto::kDeviceWallpaperImageFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceWallpaperImageProto::DeviceWallpaperImageProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWallpaperImageProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceWallpaperImageProto) |
| } |
| DeviceWallpaperImageProto::DeviceWallpaperImageProto(const DeviceWallpaperImageProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_wallpaper_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_wallpaper_image()) { |
| device_wallpaper_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_wallpaper_image_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceWallpaperImageProto) |
| } |
| |
| void DeviceWallpaperImageProto::SharedCtor() { |
| device_wallpaper_image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceWallpaperImageProto::~DeviceWallpaperImageProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceWallpaperImageProto) |
| SharedDtor(); |
| } |
| |
| void DeviceWallpaperImageProto::SharedDtor() { |
| device_wallpaper_image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceWallpaperImageProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceWallpaperImageProto& DeviceWallpaperImageProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWallpaperImageProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceWallpaperImageProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceWallpaperImageProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| device_wallpaper_image_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceWallpaperImageProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceWallpaperImageProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string device_wallpaper_image = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_wallpaper_image())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceWallpaperImageProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceWallpaperImageProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceWallpaperImageProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceWallpaperImageProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string device_wallpaper_image = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->device_wallpaper_image(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceWallpaperImageProto) |
| } |
| |
| size_t DeviceWallpaperImageProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceWallpaperImageProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string device_wallpaper_image = 1; |
| if (has_device_wallpaper_image()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_wallpaper_image()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceWallpaperImageProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceWallpaperImageProto*>(&from)); |
| } |
| |
| void DeviceWallpaperImageProto::MergeFrom(const DeviceWallpaperImageProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceWallpaperImageProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_wallpaper_image()) { |
| set_has_device_wallpaper_image(); |
| device_wallpaper_image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_wallpaper_image_); |
| } |
| } |
| |
| void DeviceWallpaperImageProto::CopyFrom(const DeviceWallpaperImageProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceWallpaperImageProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceWallpaperImageProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceWallpaperImageProto::Swap(DeviceWallpaperImageProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceWallpaperImageProto::InternalSwap(DeviceWallpaperImageProto* other) { |
| using std::swap; |
| device_wallpaper_image_.Swap(&other->device_wallpaper_image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceWallpaperImageProto::GetTypeName() const { |
| return "enterprise_management.DeviceWallpaperImageProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceEcryptfsMigrationStrategyProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceEcryptfsMigrationStrategyProto::kMigrationStrategyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceEcryptfsMigrationStrategyProto::DeviceEcryptfsMigrationStrategyProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceEcryptfsMigrationStrategyProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| } |
| DeviceEcryptfsMigrationStrategyProto::DeviceEcryptfsMigrationStrategyProto(const DeviceEcryptfsMigrationStrategyProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| migration_strategy_ = from.migration_strategy_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::SharedCtor() { |
| migration_strategy_ = 0; |
| } |
| |
| DeviceEcryptfsMigrationStrategyProto::~DeviceEcryptfsMigrationStrategyProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| SharedDtor(); |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::SharedDtor() { |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceEcryptfsMigrationStrategyProto& DeviceEcryptfsMigrationStrategyProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceEcryptfsMigrationStrategyProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceEcryptfsMigrationStrategyProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| migration_strategy_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceEcryptfsMigrationStrategyProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceEcryptfsMigrationStrategyProto.MigrationStrategy migration_strategy = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceEcryptfsMigrationStrategyProto_MigrationStrategy_IsValid(value)) { |
| set_migration_strategy(static_cast< ::enterprise_management::DeviceEcryptfsMigrationStrategyProto_MigrationStrategy >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceEcryptfsMigrationStrategyProto.MigrationStrategy migration_strategy = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->migration_strategy(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| } |
| |
| size_t DeviceEcryptfsMigrationStrategyProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceEcryptfsMigrationStrategyProto.MigrationStrategy migration_strategy = 1; |
| if (has_migration_strategy()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->migration_strategy()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceEcryptfsMigrationStrategyProto*>(&from)); |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::MergeFrom(const DeviceEcryptfsMigrationStrategyProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_migration_strategy()) { |
| set_migration_strategy(from.migration_strategy()); |
| } |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::CopyFrom(const DeviceEcryptfsMigrationStrategyProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceEcryptfsMigrationStrategyProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceEcryptfsMigrationStrategyProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceEcryptfsMigrationStrategyProto::Swap(DeviceEcryptfsMigrationStrategyProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceEcryptfsMigrationStrategyProto::InternalSwap(DeviceEcryptfsMigrationStrategyProto* other) { |
| using std::swap; |
| swap(migration_strategy_, other->migration_strategy_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceEcryptfsMigrationStrategyProto::GetTypeName() const { |
| return "enterprise_management.DeviceEcryptfsMigrationStrategyProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceSecondFactorAuthenticationProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceSecondFactorAuthenticationProto::kModeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceSecondFactorAuthenticationProto::DeviceSecondFactorAuthenticationProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceSecondFactorAuthenticationProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| } |
| DeviceSecondFactorAuthenticationProto::DeviceSecondFactorAuthenticationProto(const DeviceSecondFactorAuthenticationProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| mode_ = from.mode_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::SharedCtor() { |
| mode_ = 0; |
| } |
| |
| DeviceSecondFactorAuthenticationProto::~DeviceSecondFactorAuthenticationProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| SharedDtor(); |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::SharedDtor() { |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceSecondFactorAuthenticationProto& DeviceSecondFactorAuthenticationProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceSecondFactorAuthenticationProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceSecondFactorAuthenticationProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| mode_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceSecondFactorAuthenticationProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceSecondFactorAuthenticationProto.U2fMode mode = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceSecondFactorAuthenticationProto_U2fMode_IsValid(value)) { |
| set_mode(static_cast< ::enterprise_management::DeviceSecondFactorAuthenticationProto_U2fMode >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceSecondFactorAuthenticationProto.U2fMode mode = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->mode(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| } |
| |
| size_t DeviceSecondFactorAuthenticationProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceSecondFactorAuthenticationProto.U2fMode mode = 1; |
| if (has_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->mode()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceSecondFactorAuthenticationProto*>(&from)); |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::MergeFrom(const DeviceSecondFactorAuthenticationProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_mode()) { |
| set_mode(from.mode()); |
| } |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::CopyFrom(const DeviceSecondFactorAuthenticationProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceSecondFactorAuthenticationProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceSecondFactorAuthenticationProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceSecondFactorAuthenticationProto::Swap(DeviceSecondFactorAuthenticationProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceSecondFactorAuthenticationProto::InternalSwap(DeviceSecondFactorAuthenticationProto* other) { |
| using std::swap; |
| swap(mode_, other->mode_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceSecondFactorAuthenticationProto::GetTypeName() const { |
| return "enterprise_management.DeviceSecondFactorAuthenticationProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void CastReceiverNameProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int CastReceiverNameProto::kNameFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| CastReceiverNameProto::CastReceiverNameProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_CastReceiverNameProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.CastReceiverNameProto) |
| } |
| CastReceiverNameProto::CastReceiverNameProto(const CastReceiverNameProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_name()) { |
| name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.CastReceiverNameProto) |
| } |
| |
| void CastReceiverNameProto::SharedCtor() { |
| name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| CastReceiverNameProto::~CastReceiverNameProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.CastReceiverNameProto) |
| SharedDtor(); |
| } |
| |
| void CastReceiverNameProto::SharedDtor() { |
| name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void CastReceiverNameProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const CastReceiverNameProto& CastReceiverNameProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_CastReceiverNameProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void CastReceiverNameProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.CastReceiverNameProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| name_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool CastReceiverNameProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.CastReceiverNameProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string name = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_name())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.CastReceiverNameProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.CastReceiverNameProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void CastReceiverNameProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.CastReceiverNameProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string name = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->name(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.CastReceiverNameProto) |
| } |
| |
| size_t CastReceiverNameProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.CastReceiverNameProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string name = 1; |
| if (has_name()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->name()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void CastReceiverNameProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const CastReceiverNameProto*>(&from)); |
| } |
| |
| void CastReceiverNameProto::MergeFrom(const CastReceiverNameProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.CastReceiverNameProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_name()) { |
| set_has_name(); |
| name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); |
| } |
| } |
| |
| void CastReceiverNameProto::CopyFrom(const CastReceiverNameProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.CastReceiverNameProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool CastReceiverNameProto::IsInitialized() const { |
| return true; |
| } |
| |
| void CastReceiverNameProto::Swap(CastReceiverNameProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void CastReceiverNameProto::InternalSwap(CastReceiverNameProto* other) { |
| using std::swap; |
| name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string CastReceiverNameProto::GetTypeName() const { |
| return "enterprise_management.CastReceiverNameProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void WeeklyTimeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int WeeklyTimeProto::kDayOfWeekFieldNumber; |
| const int WeeklyTimeProto::kTimeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| WeeklyTimeProto::WeeklyTimeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_WeeklyTimeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.WeeklyTimeProto) |
| } |
| WeeklyTimeProto::WeeklyTimeProto(const WeeklyTimeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&day_of_week_, &from.day_of_week_, |
| static_cast<size_t>(reinterpret_cast<char*>(&time_) - |
| reinterpret_cast<char*>(&day_of_week_)) + sizeof(time_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.WeeklyTimeProto) |
| } |
| |
| void WeeklyTimeProto::SharedCtor() { |
| ::memset(&day_of_week_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&time_) - |
| reinterpret_cast<char*>(&day_of_week_)) + sizeof(time_)); |
| } |
| |
| WeeklyTimeProto::~WeeklyTimeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.WeeklyTimeProto) |
| SharedDtor(); |
| } |
| |
| void WeeklyTimeProto::SharedDtor() { |
| } |
| |
| void WeeklyTimeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const WeeklyTimeProto& WeeklyTimeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_WeeklyTimeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void WeeklyTimeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.WeeklyTimeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| ::memset(&day_of_week_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&time_) - |
| reinterpret_cast<char*>(&day_of_week_)) + sizeof(time_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool WeeklyTimeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.WeeklyTimeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.WeeklyTimeProto.DayOfWeek day_of_week = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::WeeklyTimeProto_DayOfWeek_IsValid(value)) { |
| set_day_of_week(static_cast< ::enterprise_management::WeeklyTimeProto_DayOfWeek >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 time = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_time(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &time_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.WeeklyTimeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.WeeklyTimeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void WeeklyTimeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.WeeklyTimeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.WeeklyTimeProto.DayOfWeek day_of_week = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->day_of_week(), output); |
| } |
| |
| // optional int32 time = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->time(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.WeeklyTimeProto) |
| } |
| |
| size_t WeeklyTimeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.WeeklyTimeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional .enterprise_management.WeeklyTimeProto.DayOfWeek day_of_week = 1; |
| if (has_day_of_week()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->day_of_week()); |
| } |
| |
| // optional int32 time = 2; |
| if (has_time()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->time()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void WeeklyTimeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const WeeklyTimeProto*>(&from)); |
| } |
| |
| void WeeklyTimeProto::MergeFrom(const WeeklyTimeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.WeeklyTimeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| day_of_week_ = from.day_of_week_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| time_ = from.time_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void WeeklyTimeProto::CopyFrom(const WeeklyTimeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.WeeklyTimeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool WeeklyTimeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void WeeklyTimeProto::Swap(WeeklyTimeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void WeeklyTimeProto::InternalSwap(WeeklyTimeProto* other) { |
| using std::swap; |
| swap(day_of_week_, other->day_of_week_); |
| swap(time_, other->time_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string WeeklyTimeProto::GetTypeName() const { |
| return "enterprise_management.WeeklyTimeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void WeeklyTimeIntervalProto::InitAsDefaultInstance() { |
| ::enterprise_management::_WeeklyTimeIntervalProto_default_instance_._instance.get_mutable()->start_ = const_cast< ::enterprise_management::WeeklyTimeProto*>( |
| ::enterprise_management::WeeklyTimeProto::internal_default_instance()); |
| ::enterprise_management::_WeeklyTimeIntervalProto_default_instance_._instance.get_mutable()->end_ = const_cast< ::enterprise_management::WeeklyTimeProto*>( |
| ::enterprise_management::WeeklyTimeProto::internal_default_instance()); |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int WeeklyTimeIntervalProto::kStartFieldNumber; |
| const int WeeklyTimeIntervalProto::kEndFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| WeeklyTimeIntervalProto::WeeklyTimeIntervalProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_WeeklyTimeIntervalProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.WeeklyTimeIntervalProto) |
| } |
| WeeklyTimeIntervalProto::WeeklyTimeIntervalProto(const WeeklyTimeIntervalProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| if (from.has_start()) { |
| start_ = new ::enterprise_management::WeeklyTimeProto(*from.start_); |
| } else { |
| start_ = NULL; |
| } |
| if (from.has_end()) { |
| end_ = new ::enterprise_management::WeeklyTimeProto(*from.end_); |
| } else { |
| end_ = NULL; |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.WeeklyTimeIntervalProto) |
| } |
| |
| void WeeklyTimeIntervalProto::SharedCtor() { |
| ::memset(&start_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&end_) - |
| reinterpret_cast<char*>(&start_)) + sizeof(end_)); |
| } |
| |
| WeeklyTimeIntervalProto::~WeeklyTimeIntervalProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.WeeklyTimeIntervalProto) |
| SharedDtor(); |
| } |
| |
| void WeeklyTimeIntervalProto::SharedDtor() { |
| if (this != internal_default_instance()) delete start_; |
| if (this != internal_default_instance()) delete end_; |
| } |
| |
| void WeeklyTimeIntervalProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const WeeklyTimeIntervalProto& WeeklyTimeIntervalProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_WeeklyTimeIntervalProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void WeeklyTimeIntervalProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.WeeklyTimeIntervalProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| GOOGLE_DCHECK(start_ != NULL); |
| start_->Clear(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| GOOGLE_DCHECK(end_ != NULL); |
| end_->Clear(); |
| } |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool WeeklyTimeIntervalProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.WeeklyTimeIntervalProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.WeeklyTimeProto start = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_start())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.WeeklyTimeProto end = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_end())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.WeeklyTimeIntervalProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.WeeklyTimeIntervalProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void WeeklyTimeIntervalProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.WeeklyTimeIntervalProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.WeeklyTimeProto start = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 1, this->_internal_start(), output); |
| } |
| |
| // optional .enterprise_management.WeeklyTimeProto end = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 2, this->_internal_end(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.WeeklyTimeIntervalProto) |
| } |
| |
| size_t WeeklyTimeIntervalProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.WeeklyTimeIntervalProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional .enterprise_management.WeeklyTimeProto start = 1; |
| if (has_start()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *start_); |
| } |
| |
| // optional .enterprise_management.WeeklyTimeProto end = 2; |
| if (has_end()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *end_); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void WeeklyTimeIntervalProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const WeeklyTimeIntervalProto*>(&from)); |
| } |
| |
| void WeeklyTimeIntervalProto::MergeFrom(const WeeklyTimeIntervalProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.WeeklyTimeIntervalProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| mutable_start()->::enterprise_management::WeeklyTimeProto::MergeFrom(from.start()); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| mutable_end()->::enterprise_management::WeeklyTimeProto::MergeFrom(from.end()); |
| } |
| } |
| } |
| |
| void WeeklyTimeIntervalProto::CopyFrom(const WeeklyTimeIntervalProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.WeeklyTimeIntervalProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool WeeklyTimeIntervalProto::IsInitialized() const { |
| return true; |
| } |
| |
| void WeeklyTimeIntervalProto::Swap(WeeklyTimeIntervalProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void WeeklyTimeIntervalProto::InternalSwap(WeeklyTimeIntervalProto* other) { |
| using std::swap; |
| swap(start_, other->start_); |
| swap(end_, other->end_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string WeeklyTimeIntervalProto::GetTypeName() const { |
| return "enterprise_management.WeeklyTimeIntervalProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceOffHoursProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceOffHoursProto::kIntervalsFieldNumber; |
| const int DeviceOffHoursProto::kTimezoneFieldNumber; |
| const int DeviceOffHoursProto::kIgnoredPolicyProtoTagsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceOffHoursProto::DeviceOffHoursProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceOffHoursProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceOffHoursProto) |
| } |
| DeviceOffHoursProto::DeviceOffHoursProto(const DeviceOffHoursProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| intervals_(from.intervals_), |
| ignored_policy_proto_tags_(from.ignored_policy_proto_tags_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| timezone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_timezone()) { |
| timezone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.timezone_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceOffHoursProto) |
| } |
| |
| void DeviceOffHoursProto::SharedCtor() { |
| timezone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceOffHoursProto::~DeviceOffHoursProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceOffHoursProto) |
| SharedDtor(); |
| } |
| |
| void DeviceOffHoursProto::SharedDtor() { |
| timezone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceOffHoursProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceOffHoursProto& DeviceOffHoursProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceOffHoursProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceOffHoursProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceOffHoursProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| intervals_.Clear(); |
| ignored_policy_proto_tags_.Clear(); |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| timezone_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceOffHoursProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceOffHoursProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated .enterprise_management.WeeklyTimeIntervalProto intervals = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, add_intervals())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string timezone = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_timezone())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // repeated int32 ignored_policy_proto_tags = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| 1, 24u, input, this->mutable_ignored_policy_proto_tags()))); |
| } else if ( |
| static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, this->mutable_ignored_policy_proto_tags()))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceOffHoursProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceOffHoursProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceOffHoursProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceOffHoursProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated .enterprise_management.WeeklyTimeIntervalProto intervals = 1; |
| for (unsigned int i = 0, |
| n = static_cast<unsigned int>(this->intervals_size()); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 1, |
| this->intervals(static_cast<int>(i)), |
| output); |
| } |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string timezone = 2; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->timezone(), output); |
| } |
| |
| // repeated int32 ignored_policy_proto_tags = 3; |
| for (int i = 0, n = this->ignored_policy_proto_tags_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32( |
| 3, this->ignored_policy_proto_tags(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceOffHoursProto) |
| } |
| |
| size_t DeviceOffHoursProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceOffHoursProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated .enterprise_management.WeeklyTimeIntervalProto intervals = 1; |
| { |
| unsigned int count = static_cast<unsigned int>(this->intervals_size()); |
| total_size += 1UL * count; |
| for (unsigned int i = 0; i < count; i++) { |
| total_size += |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| this->intervals(static_cast<int>(i))); |
| } |
| } |
| |
| // repeated int32 ignored_policy_proto_tags = 3; |
| { |
| size_t data_size = ::google::protobuf::internal::WireFormatLite:: |
| Int32Size(this->ignored_policy_proto_tags_); |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->ignored_policy_proto_tags_size()); |
| total_size += data_size; |
| } |
| |
| // optional string timezone = 2; |
| if (has_timezone()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->timezone()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceOffHoursProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceOffHoursProto*>(&from)); |
| } |
| |
| void DeviceOffHoursProto::MergeFrom(const DeviceOffHoursProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceOffHoursProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| intervals_.MergeFrom(from.intervals_); |
| ignored_policy_proto_tags_.MergeFrom(from.ignored_policy_proto_tags_); |
| if (from.has_timezone()) { |
| set_has_timezone(); |
| timezone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.timezone_); |
| } |
| } |
| |
| void DeviceOffHoursProto::CopyFrom(const DeviceOffHoursProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceOffHoursProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceOffHoursProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceOffHoursProto::Swap(DeviceOffHoursProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceOffHoursProto::InternalSwap(DeviceOffHoursProto* other) { |
| using std::swap; |
| CastToBase(&intervals_)->InternalSwap(CastToBase(&other->intervals_)); |
| ignored_policy_proto_tags_.InternalSwap(&other->ignored_policy_proto_tags_); |
| timezone_.Swap(&other->timezone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceOffHoursProto::GetTypeName() const { |
| return "enterprise_management.DeviceOffHoursProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceNativePrintersProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceNativePrintersProto::kExternalPolicyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceNativePrintersProto::DeviceNativePrintersProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceNativePrintersProto) |
| } |
| DeviceNativePrintersProto::DeviceNativePrintersProto(const DeviceNativePrintersProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| external_policy_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_external_policy()) { |
| external_policy_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_policy_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceNativePrintersProto) |
| } |
| |
| void DeviceNativePrintersProto::SharedCtor() { |
| external_policy_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceNativePrintersProto::~DeviceNativePrintersProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceNativePrintersProto) |
| SharedDtor(); |
| } |
| |
| void DeviceNativePrintersProto::SharedDtor() { |
| external_policy_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceNativePrintersProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceNativePrintersProto& DeviceNativePrintersProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceNativePrintersProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceNativePrintersProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| external_policy_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceNativePrintersProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceNativePrintersProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string external_policy = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_external_policy())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceNativePrintersProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceNativePrintersProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceNativePrintersProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceNativePrintersProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string external_policy = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->external_policy(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceNativePrintersProto) |
| } |
| |
| size_t DeviceNativePrintersProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceNativePrintersProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string external_policy = 1; |
| if (has_external_policy()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->external_policy()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceNativePrintersProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceNativePrintersProto*>(&from)); |
| } |
| |
| void DeviceNativePrintersProto::MergeFrom(const DeviceNativePrintersProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceNativePrintersProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_external_policy()) { |
| set_has_external_policy(); |
| external_policy_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_policy_); |
| } |
| } |
| |
| void DeviceNativePrintersProto::CopyFrom(const DeviceNativePrintersProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceNativePrintersProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceNativePrintersProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceNativePrintersProto::Swap(DeviceNativePrintersProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceNativePrintersProto::InternalSwap(DeviceNativePrintersProto* other) { |
| using std::swap; |
| external_policy_.Swap(&other->external_policy_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceNativePrintersProto::GetTypeName() const { |
| return "enterprise_management.DeviceNativePrintersProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceNativePrintersAccessModeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceNativePrintersAccessModeProto::kAccessModeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceNativePrintersAccessModeProto::DeviceNativePrintersAccessModeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersAccessModeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceNativePrintersAccessModeProto) |
| } |
| DeviceNativePrintersAccessModeProto::DeviceNativePrintersAccessModeProto(const DeviceNativePrintersAccessModeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| access_mode_ = from.access_mode_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceNativePrintersAccessModeProto) |
| } |
| |
| void DeviceNativePrintersAccessModeProto::SharedCtor() { |
| access_mode_ = 0; |
| } |
| |
| DeviceNativePrintersAccessModeProto::~DeviceNativePrintersAccessModeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceNativePrintersAccessModeProto) |
| SharedDtor(); |
| } |
| |
| void DeviceNativePrintersAccessModeProto::SharedDtor() { |
| } |
| |
| void DeviceNativePrintersAccessModeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceNativePrintersAccessModeProto& DeviceNativePrintersAccessModeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersAccessModeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceNativePrintersAccessModeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceNativePrintersAccessModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| access_mode_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceNativePrintersAccessModeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceNativePrintersAccessModeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceNativePrintersAccessModeProto.AccessMode access_mode = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceNativePrintersAccessModeProto_AccessMode_IsValid(value)) { |
| set_access_mode(static_cast< ::enterprise_management::DeviceNativePrintersAccessModeProto_AccessMode >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceNativePrintersAccessModeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceNativePrintersAccessModeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceNativePrintersAccessModeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceNativePrintersAccessModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceNativePrintersAccessModeProto.AccessMode access_mode = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->access_mode(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceNativePrintersAccessModeProto) |
| } |
| |
| size_t DeviceNativePrintersAccessModeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceNativePrintersAccessModeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceNativePrintersAccessModeProto.AccessMode access_mode = 1; |
| if (has_access_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->access_mode()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceNativePrintersAccessModeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceNativePrintersAccessModeProto*>(&from)); |
| } |
| |
| void DeviceNativePrintersAccessModeProto::MergeFrom(const DeviceNativePrintersAccessModeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceNativePrintersAccessModeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_access_mode()) { |
| set_access_mode(from.access_mode()); |
| } |
| } |
| |
| void DeviceNativePrintersAccessModeProto::CopyFrom(const DeviceNativePrintersAccessModeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceNativePrintersAccessModeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceNativePrintersAccessModeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceNativePrintersAccessModeProto::Swap(DeviceNativePrintersAccessModeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceNativePrintersAccessModeProto::InternalSwap(DeviceNativePrintersAccessModeProto* other) { |
| using std::swap; |
| swap(access_mode_, other->access_mode_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceNativePrintersAccessModeProto::GetTypeName() const { |
| return "enterprise_management.DeviceNativePrintersAccessModeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceNativePrintersBlacklistProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceNativePrintersBlacklistProto::kBlacklistFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceNativePrintersBlacklistProto::DeviceNativePrintersBlacklistProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersBlacklistProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceNativePrintersBlacklistProto) |
| } |
| DeviceNativePrintersBlacklistProto::DeviceNativePrintersBlacklistProto(const DeviceNativePrintersBlacklistProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| blacklist_(from.blacklist_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceNativePrintersBlacklistProto) |
| } |
| |
| void DeviceNativePrintersBlacklistProto::SharedCtor() { |
| } |
| |
| DeviceNativePrintersBlacklistProto::~DeviceNativePrintersBlacklistProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceNativePrintersBlacklistProto) |
| SharedDtor(); |
| } |
| |
| void DeviceNativePrintersBlacklistProto::SharedDtor() { |
| } |
| |
| void DeviceNativePrintersBlacklistProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceNativePrintersBlacklistProto& DeviceNativePrintersBlacklistProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersBlacklistProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceNativePrintersBlacklistProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceNativePrintersBlacklistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| blacklist_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceNativePrintersBlacklistProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceNativePrintersBlacklistProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string blacklist = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_blacklist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceNativePrintersBlacklistProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceNativePrintersBlacklistProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceNativePrintersBlacklistProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceNativePrintersBlacklistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string blacklist = 1; |
| for (int i = 0, n = this->blacklist_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->blacklist(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceNativePrintersBlacklistProto) |
| } |
| |
| size_t DeviceNativePrintersBlacklistProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceNativePrintersBlacklistProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string blacklist = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->blacklist_size()); |
| for (int i = 0, n = this->blacklist_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->blacklist(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceNativePrintersBlacklistProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceNativePrintersBlacklistProto*>(&from)); |
| } |
| |
| void DeviceNativePrintersBlacklistProto::MergeFrom(const DeviceNativePrintersBlacklistProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceNativePrintersBlacklistProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| blacklist_.MergeFrom(from.blacklist_); |
| } |
| |
| void DeviceNativePrintersBlacklistProto::CopyFrom(const DeviceNativePrintersBlacklistProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceNativePrintersBlacklistProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceNativePrintersBlacklistProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceNativePrintersBlacklistProto::Swap(DeviceNativePrintersBlacklistProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceNativePrintersBlacklistProto::InternalSwap(DeviceNativePrintersBlacklistProto* other) { |
| using std::swap; |
| blacklist_.InternalSwap(CastToBase(&other->blacklist_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceNativePrintersBlacklistProto::GetTypeName() const { |
| return "enterprise_management.DeviceNativePrintersBlacklistProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceNativePrintersWhitelistProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceNativePrintersWhitelistProto::kWhitelistFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceNativePrintersWhitelistProto::DeviceNativePrintersWhitelistProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersWhitelistProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceNativePrintersWhitelistProto) |
| } |
| DeviceNativePrintersWhitelistProto::DeviceNativePrintersWhitelistProto(const DeviceNativePrintersWhitelistProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| whitelist_(from.whitelist_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceNativePrintersWhitelistProto) |
| } |
| |
| void DeviceNativePrintersWhitelistProto::SharedCtor() { |
| } |
| |
| DeviceNativePrintersWhitelistProto::~DeviceNativePrintersWhitelistProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceNativePrintersWhitelistProto) |
| SharedDtor(); |
| } |
| |
| void DeviceNativePrintersWhitelistProto::SharedDtor() { |
| } |
| |
| void DeviceNativePrintersWhitelistProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceNativePrintersWhitelistProto& DeviceNativePrintersWhitelistProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceNativePrintersWhitelistProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceNativePrintersWhitelistProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceNativePrintersWhitelistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| whitelist_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceNativePrintersWhitelistProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceNativePrintersWhitelistProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string whitelist = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_whitelist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceNativePrintersWhitelistProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceNativePrintersWhitelistProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceNativePrintersWhitelistProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceNativePrintersWhitelistProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string whitelist = 1; |
| for (int i = 0, n = this->whitelist_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->whitelist(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceNativePrintersWhitelistProto) |
| } |
| |
| size_t DeviceNativePrintersWhitelistProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceNativePrintersWhitelistProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string whitelist = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->whitelist_size()); |
| for (int i = 0, n = this->whitelist_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->whitelist(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceNativePrintersWhitelistProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceNativePrintersWhitelistProto*>(&from)); |
| } |
| |
| void DeviceNativePrintersWhitelistProto::MergeFrom(const DeviceNativePrintersWhitelistProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceNativePrintersWhitelistProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| whitelist_.MergeFrom(from.whitelist_); |
| } |
| |
| void DeviceNativePrintersWhitelistProto::CopyFrom(const DeviceNativePrintersWhitelistProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceNativePrintersWhitelistProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceNativePrintersWhitelistProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceNativePrintersWhitelistProto::Swap(DeviceNativePrintersWhitelistProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceNativePrintersWhitelistProto::InternalSwap(DeviceNativePrintersWhitelistProto* other) { |
| using std::swap; |
| whitelist_.InternalSwap(CastToBase(&other->whitelist_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceNativePrintersWhitelistProto::GetTypeName() const { |
| return "enterprise_management.DeviceNativePrintersWhitelistProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void TPMFirmwareUpdateSettingsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int TPMFirmwareUpdateSettingsProto::kAllowUserInitiatedPowerwashFieldNumber; |
| const int TPMFirmwareUpdateSettingsProto::kAllowUserInitiatedPreserveDeviceStateFieldNumber; |
| const int TPMFirmwareUpdateSettingsProto::kAutoUpdateModeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| TPMFirmwareUpdateSettingsProto::TPMFirmwareUpdateSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_TPMFirmwareUpdateSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| } |
| TPMFirmwareUpdateSettingsProto::TPMFirmwareUpdateSettingsProto(const TPMFirmwareUpdateSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&allow_user_initiated_powerwash_, &from.allow_user_initiated_powerwash_, |
| static_cast<size_t>(reinterpret_cast<char*>(&auto_update_mode_) - |
| reinterpret_cast<char*>(&allow_user_initiated_powerwash_)) + sizeof(auto_update_mode_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::SharedCtor() { |
| ::memset(&allow_user_initiated_powerwash_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&allow_user_initiated_preserve_device_state_) - |
| reinterpret_cast<char*>(&allow_user_initiated_powerwash_)) + sizeof(allow_user_initiated_preserve_device_state_)); |
| auto_update_mode_ = 1; |
| } |
| |
| TPMFirmwareUpdateSettingsProto::~TPMFirmwareUpdateSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| SharedDtor(); |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::SharedDtor() { |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const TPMFirmwareUpdateSettingsProto& TPMFirmwareUpdateSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_TPMFirmwareUpdateSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void TPMFirmwareUpdateSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| ::memset(&allow_user_initiated_powerwash_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&allow_user_initiated_preserve_device_state_) - |
| reinterpret_cast<char*>(&allow_user_initiated_powerwash_)) + sizeof(allow_user_initiated_preserve_device_state_)); |
| auto_update_mode_ = 1; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool TPMFirmwareUpdateSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool allow_user_initiated_powerwash = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_allow_user_initiated_powerwash(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &allow_user_initiated_powerwash_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional bool allow_user_initiated_preserve_device_state = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_allow_user_initiated_preserve_device_state(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &allow_user_initiated_preserve_device_state_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.TPMFirmwareUpdateSettingsProto.AutoUpdateMode auto_update_mode = 3 [default = NEVER]; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::TPMFirmwareUpdateSettingsProto_AutoUpdateMode_IsValid(value)) { |
| set_auto_update_mode(static_cast< ::enterprise_management::TPMFirmwareUpdateSettingsProto_AutoUpdateMode >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(24u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool allow_user_initiated_powerwash = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->allow_user_initiated_powerwash(), output); |
| } |
| |
| // optional bool allow_user_initiated_preserve_device_state = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->allow_user_initiated_preserve_device_state(), output); |
| } |
| |
| // optional .enterprise_management.TPMFirmwareUpdateSettingsProto.AutoUpdateMode auto_update_mode = 3 [default = NEVER]; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 3, this->auto_update_mode(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| } |
| |
| size_t TPMFirmwareUpdateSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 7u) { |
| // optional bool allow_user_initiated_powerwash = 1; |
| if (has_allow_user_initiated_powerwash()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional bool allow_user_initiated_preserve_device_state = 2; |
| if (has_allow_user_initiated_preserve_device_state()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional .enterprise_management.TPMFirmwareUpdateSettingsProto.AutoUpdateMode auto_update_mode = 3 [default = NEVER]; |
| if (has_auto_update_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->auto_update_mode()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const TPMFirmwareUpdateSettingsProto*>(&from)); |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::MergeFrom(const TPMFirmwareUpdateSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| if (cached_has_bits & 0x00000001u) { |
| allow_user_initiated_powerwash_ = from.allow_user_initiated_powerwash_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| allow_user_initiated_preserve_device_state_ = from.allow_user_initiated_preserve_device_state_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| auto_update_mode_ = from.auto_update_mode_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::CopyFrom(const TPMFirmwareUpdateSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.TPMFirmwareUpdateSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool TPMFirmwareUpdateSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void TPMFirmwareUpdateSettingsProto::Swap(TPMFirmwareUpdateSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void TPMFirmwareUpdateSettingsProto::InternalSwap(TPMFirmwareUpdateSettingsProto* other) { |
| using std::swap; |
| swap(allow_user_initiated_powerwash_, other->allow_user_initiated_powerwash_); |
| swap(allow_user_initiated_preserve_device_state_, other->allow_user_initiated_preserve_device_state_); |
| swap(auto_update_mode_, other->auto_update_mode_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string TPMFirmwareUpdateSettingsProto::GetTypeName() const { |
| return "enterprise_management.TPMFirmwareUpdateSettingsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void MinimumRequiredVersionProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int MinimumRequiredVersionProto::kChromeVersionFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| MinimumRequiredVersionProto::MinimumRequiredVersionProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_MinimumRequiredVersionProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.MinimumRequiredVersionProto) |
| } |
| MinimumRequiredVersionProto::MinimumRequiredVersionProto(const MinimumRequiredVersionProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| chrome_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_chrome_version()) { |
| chrome_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chrome_version_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.MinimumRequiredVersionProto) |
| } |
| |
| void MinimumRequiredVersionProto::SharedCtor() { |
| chrome_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| MinimumRequiredVersionProto::~MinimumRequiredVersionProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.MinimumRequiredVersionProto) |
| SharedDtor(); |
| } |
| |
| void MinimumRequiredVersionProto::SharedDtor() { |
| chrome_version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void MinimumRequiredVersionProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const MinimumRequiredVersionProto& MinimumRequiredVersionProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_MinimumRequiredVersionProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void MinimumRequiredVersionProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.MinimumRequiredVersionProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| chrome_version_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool MinimumRequiredVersionProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.MinimumRequiredVersionProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string chrome_version = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_chrome_version())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.MinimumRequiredVersionProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.MinimumRequiredVersionProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void MinimumRequiredVersionProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.MinimumRequiredVersionProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string chrome_version = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->chrome_version(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.MinimumRequiredVersionProto) |
| } |
| |
| size_t MinimumRequiredVersionProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.MinimumRequiredVersionProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string chrome_version = 1; |
| if (has_chrome_version()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->chrome_version()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void MinimumRequiredVersionProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const MinimumRequiredVersionProto*>(&from)); |
| } |
| |
| void MinimumRequiredVersionProto::MergeFrom(const MinimumRequiredVersionProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.MinimumRequiredVersionProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_chrome_version()) { |
| set_has_chrome_version(); |
| chrome_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chrome_version_); |
| } |
| } |
| |
| void MinimumRequiredVersionProto::CopyFrom(const MinimumRequiredVersionProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.MinimumRequiredVersionProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool MinimumRequiredVersionProto::IsInitialized() const { |
| return true; |
| } |
| |
| void MinimumRequiredVersionProto::Swap(MinimumRequiredVersionProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void MinimumRequiredVersionProto::InternalSwap(MinimumRequiredVersionProto* other) { |
| using std::swap; |
| chrome_version_.Swap(&other->chrome_version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string MinimumRequiredVersionProto::GetTypeName() const { |
| return "enterprise_management.MinimumRequiredVersionProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLoginScreenAutoSelectCertificateForUrls::kLoginScreenAutoSelectCertificateRulesFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLoginScreenAutoSelectCertificateForUrls::DeviceLoginScreenAutoSelectCertificateForUrls() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenAutoSelectCertificateForUrls.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| } |
| DeviceLoginScreenAutoSelectCertificateForUrls::DeviceLoginScreenAutoSelectCertificateForUrls(const DeviceLoginScreenAutoSelectCertificateForUrls& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_), |
| login_screen_auto_select_certificate_rules_(from.login_screen_auto_select_certificate_rules_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::SharedCtor() { |
| } |
| |
| DeviceLoginScreenAutoSelectCertificateForUrls::~DeviceLoginScreenAutoSelectCertificateForUrls() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| SharedDtor(); |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::SharedDtor() { |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLoginScreenAutoSelectCertificateForUrls& DeviceLoginScreenAutoSelectCertificateForUrls::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenAutoSelectCertificateForUrls.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| login_screen_auto_select_certificate_rules_.Clear(); |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLoginScreenAutoSelectCertificateForUrls::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // repeated string login_screen_auto_select_certificate_rules = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->add_login_screen_auto_select_certificate_rules())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| // repeated string login_screen_auto_select_certificate_rules = 1; |
| for (int i = 0, n = this->login_screen_auto_select_certificate_rules_size(); i < n; i++) { |
| ::google::protobuf::internal::WireFormatLite::WriteString( |
| 1, this->login_screen_auto_select_certificate_rules(i), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| } |
| |
| size_t DeviceLoginScreenAutoSelectCertificateForUrls::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // repeated string login_screen_auto_select_certificate_rules = 1; |
| total_size += 1 * |
| ::google::protobuf::internal::FromIntSize(this->login_screen_auto_select_certificate_rules_size()); |
| for (int i = 0, n = this->login_screen_auto_select_certificate_rules_size(); i < n; i++) { |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->login_screen_auto_select_certificate_rules(i)); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLoginScreenAutoSelectCertificateForUrls*>(&from)); |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::MergeFrom(const DeviceLoginScreenAutoSelectCertificateForUrls& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| login_screen_auto_select_certificate_rules_.MergeFrom(from.login_screen_auto_select_certificate_rules_); |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::CopyFrom(const DeviceLoginScreenAutoSelectCertificateForUrls& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLoginScreenAutoSelectCertificateForUrls::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLoginScreenAutoSelectCertificateForUrls::Swap(DeviceLoginScreenAutoSelectCertificateForUrls* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLoginScreenAutoSelectCertificateForUrls::InternalSwap(DeviceLoginScreenAutoSelectCertificateForUrls* other) { |
| using std::swap; |
| login_screen_auto_select_certificate_rules_.InternalSwap(CastToBase(&other->login_screen_auto_select_certificate_rules_)); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLoginScreenAutoSelectCertificateForUrls::GetTypeName() const { |
| return "enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls"; |
| } |
| |
| |
| // =================================================================== |
| |
| void UnaffiliatedArcAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int UnaffiliatedArcAllowedProto::kUnaffiliatedArcAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| UnaffiliatedArcAllowedProto::UnaffiliatedArcAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UnaffiliatedArcAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.UnaffiliatedArcAllowedProto) |
| } |
| UnaffiliatedArcAllowedProto::UnaffiliatedArcAllowedProto(const UnaffiliatedArcAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| unaffiliated_arc_allowed_ = from.unaffiliated_arc_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.UnaffiliatedArcAllowedProto) |
| } |
| |
| void UnaffiliatedArcAllowedProto::SharedCtor() { |
| unaffiliated_arc_allowed_ = false; |
| } |
| |
| UnaffiliatedArcAllowedProto::~UnaffiliatedArcAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.UnaffiliatedArcAllowedProto) |
| SharedDtor(); |
| } |
| |
| void UnaffiliatedArcAllowedProto::SharedDtor() { |
| } |
| |
| void UnaffiliatedArcAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const UnaffiliatedArcAllowedProto& UnaffiliatedArcAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_UnaffiliatedArcAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void UnaffiliatedArcAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.UnaffiliatedArcAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| unaffiliated_arc_allowed_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool UnaffiliatedArcAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.UnaffiliatedArcAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool unaffiliated_arc_allowed = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_unaffiliated_arc_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &unaffiliated_arc_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.UnaffiliatedArcAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.UnaffiliatedArcAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void UnaffiliatedArcAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.UnaffiliatedArcAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool unaffiliated_arc_allowed = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->unaffiliated_arc_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.UnaffiliatedArcAllowedProto) |
| } |
| |
| size_t UnaffiliatedArcAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.UnaffiliatedArcAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool unaffiliated_arc_allowed = 1; |
| if (has_unaffiliated_arc_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void UnaffiliatedArcAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const UnaffiliatedArcAllowedProto*>(&from)); |
| } |
| |
| void UnaffiliatedArcAllowedProto::MergeFrom(const UnaffiliatedArcAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.UnaffiliatedArcAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_unaffiliated_arc_allowed()) { |
| set_unaffiliated_arc_allowed(from.unaffiliated_arc_allowed()); |
| } |
| } |
| |
| void UnaffiliatedArcAllowedProto::CopyFrom(const UnaffiliatedArcAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.UnaffiliatedArcAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool UnaffiliatedArcAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void UnaffiliatedArcAllowedProto::Swap(UnaffiliatedArcAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void UnaffiliatedArcAllowedProto::InternalSwap(UnaffiliatedArcAllowedProto* other) { |
| using std::swap; |
| swap(unaffiliated_arc_allowed_, other->unaffiliated_arc_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string UnaffiliatedArcAllowedProto::GetTypeName() const { |
| return "enterprise_management.UnaffiliatedArcAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceKerberosEncryptionTypesProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceKerberosEncryptionTypesProto::kTypesFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceKerberosEncryptionTypesProto::DeviceKerberosEncryptionTypesProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceKerberosEncryptionTypesProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| } |
| DeviceKerberosEncryptionTypesProto::DeviceKerberosEncryptionTypesProto(const DeviceKerberosEncryptionTypesProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| types_ = from.types_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::SharedCtor() { |
| types_ = 1; |
| } |
| |
| DeviceKerberosEncryptionTypesProto::~DeviceKerberosEncryptionTypesProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| SharedDtor(); |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::SharedDtor() { |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceKerberosEncryptionTypesProto& DeviceKerberosEncryptionTypesProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceKerberosEncryptionTypesProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceKerberosEncryptionTypesProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| types_ = 1; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceKerberosEncryptionTypesProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceKerberosEncryptionTypesProto.Types types = 1 [default = ENC_TYPES_STRONG]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceKerberosEncryptionTypesProto_Types_IsValid(value)) { |
| set_types(static_cast< ::enterprise_management::DeviceKerberosEncryptionTypesProto_Types >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceKerberosEncryptionTypesProto.Types types = 1 [default = ENC_TYPES_STRONG]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->types(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| } |
| |
| size_t DeviceKerberosEncryptionTypesProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceKerberosEncryptionTypesProto.Types types = 1 [default = ENC_TYPES_STRONG]; |
| if (has_types()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->types()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceKerberosEncryptionTypesProto*>(&from)); |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::MergeFrom(const DeviceKerberosEncryptionTypesProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_types()) { |
| set_types(from.types()); |
| } |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::CopyFrom(const DeviceKerberosEncryptionTypesProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceKerberosEncryptionTypesProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceKerberosEncryptionTypesProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceKerberosEncryptionTypesProto::Swap(DeviceKerberosEncryptionTypesProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceKerberosEncryptionTypesProto::InternalSwap(DeviceKerberosEncryptionTypesProto* other) { |
| using std::swap; |
| swap(types_, other->types_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceKerberosEncryptionTypesProto::GetTypeName() const { |
| return "enterprise_management.DeviceKerberosEncryptionTypesProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceUserPolicyLoopbackProcessingModeProto::kModeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceUserPolicyLoopbackProcessingModeProto::DeviceUserPolicyLoopbackProcessingModeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUserPolicyLoopbackProcessingModeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| } |
| DeviceUserPolicyLoopbackProcessingModeProto::DeviceUserPolicyLoopbackProcessingModeProto(const DeviceUserPolicyLoopbackProcessingModeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| mode_ = from.mode_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::SharedCtor() { |
| mode_ = 0; |
| } |
| |
| DeviceUserPolicyLoopbackProcessingModeProto::~DeviceUserPolicyLoopbackProcessingModeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| SharedDtor(); |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::SharedDtor() { |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceUserPolicyLoopbackProcessingModeProto& DeviceUserPolicyLoopbackProcessingModeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUserPolicyLoopbackProcessingModeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| mode_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceUserPolicyLoopbackProcessingModeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto.Mode mode = 1 [default = USER_POLICY_MODE_DEFAULT]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto_Mode_IsValid(value)) { |
| set_mode(static_cast< ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto_Mode >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto.Mode mode = 1 [default = USER_POLICY_MODE_DEFAULT]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->mode(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| } |
| |
| size_t DeviceUserPolicyLoopbackProcessingModeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto.Mode mode = 1 [default = USER_POLICY_MODE_DEFAULT]; |
| if (has_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->mode()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceUserPolicyLoopbackProcessingModeProto*>(&from)); |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::MergeFrom(const DeviceUserPolicyLoopbackProcessingModeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_mode()) { |
| set_mode(from.mode()); |
| } |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::CopyFrom(const DeviceUserPolicyLoopbackProcessingModeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceUserPolicyLoopbackProcessingModeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceUserPolicyLoopbackProcessingModeProto::Swap(DeviceUserPolicyLoopbackProcessingModeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceUserPolicyLoopbackProcessingModeProto::InternalSwap(DeviceUserPolicyLoopbackProcessingModeProto* other) { |
| using std::swap; |
| swap(mode_, other->mode_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceUserPolicyLoopbackProcessingModeProto::GetTypeName() const { |
| return "enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLoginScreenIsolateOriginsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLoginScreenIsolateOriginsProto::kIsolateOriginsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLoginScreenIsolateOriginsProto::DeviceLoginScreenIsolateOriginsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenIsolateOriginsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| } |
| DeviceLoginScreenIsolateOriginsProto::DeviceLoginScreenIsolateOriginsProto(const DeviceLoginScreenIsolateOriginsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| isolate_origins_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_isolate_origins()) { |
| isolate_origins_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.isolate_origins_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::SharedCtor() { |
| isolate_origins_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceLoginScreenIsolateOriginsProto::~DeviceLoginScreenIsolateOriginsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| SharedDtor(); |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::SharedDtor() { |
| isolate_origins_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLoginScreenIsolateOriginsProto& DeviceLoginScreenIsolateOriginsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenIsolateOriginsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLoginScreenIsolateOriginsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| isolate_origins_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLoginScreenIsolateOriginsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string isolate_origins = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_isolate_origins())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string isolate_origins = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->isolate_origins(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| } |
| |
| size_t DeviceLoginScreenIsolateOriginsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string isolate_origins = 1; |
| if (has_isolate_origins()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->isolate_origins()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLoginScreenIsolateOriginsProto*>(&from)); |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::MergeFrom(const DeviceLoginScreenIsolateOriginsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_isolate_origins()) { |
| set_has_isolate_origins(); |
| isolate_origins_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.isolate_origins_); |
| } |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::CopyFrom(const DeviceLoginScreenIsolateOriginsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLoginScreenIsolateOriginsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLoginScreenIsolateOriginsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLoginScreenIsolateOriginsProto::Swap(DeviceLoginScreenIsolateOriginsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLoginScreenIsolateOriginsProto::InternalSwap(DeviceLoginScreenIsolateOriginsProto* other) { |
| using std::swap; |
| isolate_origins_.Swap(&other->isolate_origins_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLoginScreenIsolateOriginsProto::GetTypeName() const { |
| return "enterprise_management.DeviceLoginScreenIsolateOriginsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceLoginScreenSitePerProcessProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceLoginScreenSitePerProcessProto::kSitePerProcessFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceLoginScreenSitePerProcessProto::DeviceLoginScreenSitePerProcessProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenSitePerProcessProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| } |
| DeviceLoginScreenSitePerProcessProto::DeviceLoginScreenSitePerProcessProto(const DeviceLoginScreenSitePerProcessProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| site_per_process_ = from.site_per_process_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::SharedCtor() { |
| site_per_process_ = false; |
| } |
| |
| DeviceLoginScreenSitePerProcessProto::~DeviceLoginScreenSitePerProcessProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| SharedDtor(); |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::SharedDtor() { |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceLoginScreenSitePerProcessProto& DeviceLoginScreenSitePerProcessProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceLoginScreenSitePerProcessProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceLoginScreenSitePerProcessProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| site_per_process_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceLoginScreenSitePerProcessProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool site_per_process = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_site_per_process(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &site_per_process_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool site_per_process = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->site_per_process(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| } |
| |
| size_t DeviceLoginScreenSitePerProcessProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool site_per_process = 1; |
| if (has_site_per_process()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceLoginScreenSitePerProcessProto*>(&from)); |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::MergeFrom(const DeviceLoginScreenSitePerProcessProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_site_per_process()) { |
| set_site_per_process(from.site_per_process()); |
| } |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::CopyFrom(const DeviceLoginScreenSitePerProcessProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceLoginScreenSitePerProcessProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceLoginScreenSitePerProcessProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceLoginScreenSitePerProcessProto::Swap(DeviceLoginScreenSitePerProcessProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceLoginScreenSitePerProcessProto::InternalSwap(DeviceLoginScreenSitePerProcessProto* other) { |
| using std::swap; |
| swap(site_per_process_, other->site_per_process_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceLoginScreenSitePerProcessProto::GetTypeName() const { |
| return "enterprise_management.DeviceLoginScreenSitePerProcessProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void VirtualMachinesAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int VirtualMachinesAllowedProto::kVirtualMachinesAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| VirtualMachinesAllowedProto::VirtualMachinesAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_VirtualMachinesAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.VirtualMachinesAllowedProto) |
| } |
| VirtualMachinesAllowedProto::VirtualMachinesAllowedProto(const VirtualMachinesAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| virtual_machines_allowed_ = from.virtual_machines_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.VirtualMachinesAllowedProto) |
| } |
| |
| void VirtualMachinesAllowedProto::SharedCtor() { |
| virtual_machines_allowed_ = false; |
| } |
| |
| VirtualMachinesAllowedProto::~VirtualMachinesAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.VirtualMachinesAllowedProto) |
| SharedDtor(); |
| } |
| |
| void VirtualMachinesAllowedProto::SharedDtor() { |
| } |
| |
| void VirtualMachinesAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const VirtualMachinesAllowedProto& VirtualMachinesAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_VirtualMachinesAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void VirtualMachinesAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.VirtualMachinesAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| virtual_machines_allowed_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool VirtualMachinesAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.VirtualMachinesAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool virtual_machines_allowed = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_virtual_machines_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &virtual_machines_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.VirtualMachinesAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.VirtualMachinesAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void VirtualMachinesAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.VirtualMachinesAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool virtual_machines_allowed = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->virtual_machines_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.VirtualMachinesAllowedProto) |
| } |
| |
| size_t VirtualMachinesAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.VirtualMachinesAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool virtual_machines_allowed = 1; |
| if (has_virtual_machines_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void VirtualMachinesAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const VirtualMachinesAllowedProto*>(&from)); |
| } |
| |
| void VirtualMachinesAllowedProto::MergeFrom(const VirtualMachinesAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.VirtualMachinesAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_virtual_machines_allowed()) { |
| set_virtual_machines_allowed(from.virtual_machines_allowed()); |
| } |
| } |
| |
| void VirtualMachinesAllowedProto::CopyFrom(const VirtualMachinesAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.VirtualMachinesAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool VirtualMachinesAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void VirtualMachinesAllowedProto::Swap(VirtualMachinesAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void VirtualMachinesAllowedProto::InternalSwap(VirtualMachinesAllowedProto* other) { |
| using std::swap; |
| swap(virtual_machines_allowed_, other->virtual_machines_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string VirtualMachinesAllowedProto::GetTypeName() const { |
| return "enterprise_management.VirtualMachinesAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceMachinePasswordChangeRateProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceMachinePasswordChangeRateProto::kRateDaysFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceMachinePasswordChangeRateProto::DeviceMachinePasswordChangeRateProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceMachinePasswordChangeRateProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| } |
| DeviceMachinePasswordChangeRateProto::DeviceMachinePasswordChangeRateProto(const DeviceMachinePasswordChangeRateProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| rate_days_ = from.rate_days_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::SharedCtor() { |
| rate_days_ = 0; |
| } |
| |
| DeviceMachinePasswordChangeRateProto::~DeviceMachinePasswordChangeRateProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| SharedDtor(); |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::SharedDtor() { |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceMachinePasswordChangeRateProto& DeviceMachinePasswordChangeRateProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceMachinePasswordChangeRateProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceMachinePasswordChangeRateProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| rate_days_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceMachinePasswordChangeRateProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int32 rate_days = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_rate_days(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &rate_days_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int32 rate_days = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rate_days(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| } |
| |
| size_t DeviceMachinePasswordChangeRateProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional int32 rate_days = 1; |
| if (has_rate_days()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->rate_days()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceMachinePasswordChangeRateProto*>(&from)); |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::MergeFrom(const DeviceMachinePasswordChangeRateProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_rate_days()) { |
| set_rate_days(from.rate_days()); |
| } |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::CopyFrom(const DeviceMachinePasswordChangeRateProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceMachinePasswordChangeRateProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceMachinePasswordChangeRateProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceMachinePasswordChangeRateProto::Swap(DeviceMachinePasswordChangeRateProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceMachinePasswordChangeRateProto::InternalSwap(DeviceMachinePasswordChangeRateProto* other) { |
| using std::swap; |
| swap(rate_days_, other->rate_days_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceMachinePasswordChangeRateProto::GetTypeName() const { |
| return "enterprise_management.DeviceMachinePasswordChangeRateProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceGpoCacheLifetimeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceGpoCacheLifetimeProto::kLifetimeHoursFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceGpoCacheLifetimeProto::DeviceGpoCacheLifetimeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceGpoCacheLifetimeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceGpoCacheLifetimeProto) |
| } |
| DeviceGpoCacheLifetimeProto::DeviceGpoCacheLifetimeProto(const DeviceGpoCacheLifetimeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| lifetime_hours_ = from.lifetime_hours_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceGpoCacheLifetimeProto) |
| } |
| |
| void DeviceGpoCacheLifetimeProto::SharedCtor() { |
| lifetime_hours_ = 0; |
| } |
| |
| DeviceGpoCacheLifetimeProto::~DeviceGpoCacheLifetimeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceGpoCacheLifetimeProto) |
| SharedDtor(); |
| } |
| |
| void DeviceGpoCacheLifetimeProto::SharedDtor() { |
| } |
| |
| void DeviceGpoCacheLifetimeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceGpoCacheLifetimeProto& DeviceGpoCacheLifetimeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceGpoCacheLifetimeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceGpoCacheLifetimeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceGpoCacheLifetimeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| lifetime_hours_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceGpoCacheLifetimeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceGpoCacheLifetimeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int32 lifetime_hours = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_lifetime_hours(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &lifetime_hours_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceGpoCacheLifetimeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceGpoCacheLifetimeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceGpoCacheLifetimeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceGpoCacheLifetimeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int32 lifetime_hours = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->lifetime_hours(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceGpoCacheLifetimeProto) |
| } |
| |
| size_t DeviceGpoCacheLifetimeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceGpoCacheLifetimeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional int32 lifetime_hours = 1; |
| if (has_lifetime_hours()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->lifetime_hours()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceGpoCacheLifetimeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceGpoCacheLifetimeProto*>(&from)); |
| } |
| |
| void DeviceGpoCacheLifetimeProto::MergeFrom(const DeviceGpoCacheLifetimeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceGpoCacheLifetimeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_lifetime_hours()) { |
| set_lifetime_hours(from.lifetime_hours()); |
| } |
| } |
| |
| void DeviceGpoCacheLifetimeProto::CopyFrom(const DeviceGpoCacheLifetimeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceGpoCacheLifetimeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceGpoCacheLifetimeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceGpoCacheLifetimeProto::Swap(DeviceGpoCacheLifetimeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceGpoCacheLifetimeProto::InternalSwap(DeviceGpoCacheLifetimeProto* other) { |
| using std::swap; |
| swap(lifetime_hours_, other->lifetime_hours_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceGpoCacheLifetimeProto::GetTypeName() const { |
| return "enterprise_management.DeviceGpoCacheLifetimeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceAuthDataCacheLifetimeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceAuthDataCacheLifetimeProto::kLifetimeHoursFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceAuthDataCacheLifetimeProto::DeviceAuthDataCacheLifetimeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceAuthDataCacheLifetimeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| } |
| DeviceAuthDataCacheLifetimeProto::DeviceAuthDataCacheLifetimeProto(const DeviceAuthDataCacheLifetimeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| lifetime_hours_ = from.lifetime_hours_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::SharedCtor() { |
| lifetime_hours_ = 0; |
| } |
| |
| DeviceAuthDataCacheLifetimeProto::~DeviceAuthDataCacheLifetimeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| SharedDtor(); |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::SharedDtor() { |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceAuthDataCacheLifetimeProto& DeviceAuthDataCacheLifetimeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceAuthDataCacheLifetimeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceAuthDataCacheLifetimeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| lifetime_hours_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceAuthDataCacheLifetimeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional int32 lifetime_hours = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_lifetime_hours(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &lifetime_hours_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional int32 lifetime_hours = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->lifetime_hours(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| } |
| |
| size_t DeviceAuthDataCacheLifetimeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional int32 lifetime_hours = 1; |
| if (has_lifetime_hours()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->lifetime_hours()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceAuthDataCacheLifetimeProto*>(&from)); |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::MergeFrom(const DeviceAuthDataCacheLifetimeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_lifetime_hours()) { |
| set_lifetime_hours(from.lifetime_hours()); |
| } |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::CopyFrom(const DeviceAuthDataCacheLifetimeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceAuthDataCacheLifetimeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceAuthDataCacheLifetimeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceAuthDataCacheLifetimeProto::Swap(DeviceAuthDataCacheLifetimeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceAuthDataCacheLifetimeProto::InternalSwap(DeviceAuthDataCacheLifetimeProto* other) { |
| using std::swap; |
| swap(lifetime_hours_, other->lifetime_hours_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceAuthDataCacheLifetimeProto::GetTypeName() const { |
| return "enterprise_management.DeviceAuthDataCacheLifetimeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void SamlLoginAuthenticationTypeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int SamlLoginAuthenticationTypeProto::kSamlLoginAuthenticationTypeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| SamlLoginAuthenticationTypeProto::SamlLoginAuthenticationTypeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SamlLoginAuthenticationTypeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.SamlLoginAuthenticationTypeProto) |
| } |
| SamlLoginAuthenticationTypeProto::SamlLoginAuthenticationTypeProto(const SamlLoginAuthenticationTypeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| saml_login_authentication_type_ = from.saml_login_authentication_type_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.SamlLoginAuthenticationTypeProto) |
| } |
| |
| void SamlLoginAuthenticationTypeProto::SharedCtor() { |
| saml_login_authentication_type_ = 0; |
| } |
| |
| SamlLoginAuthenticationTypeProto::~SamlLoginAuthenticationTypeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.SamlLoginAuthenticationTypeProto) |
| SharedDtor(); |
| } |
| |
| void SamlLoginAuthenticationTypeProto::SharedDtor() { |
| } |
| |
| void SamlLoginAuthenticationTypeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const SamlLoginAuthenticationTypeProto& SamlLoginAuthenticationTypeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_SamlLoginAuthenticationTypeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void SamlLoginAuthenticationTypeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.SamlLoginAuthenticationTypeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| saml_login_authentication_type_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool SamlLoginAuthenticationTypeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.SamlLoginAuthenticationTypeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.SamlLoginAuthenticationTypeProto.Type saml_login_authentication_type = 1 [default = TYPE_DEFAULT]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::SamlLoginAuthenticationTypeProto_Type_IsValid(value)) { |
| set_saml_login_authentication_type(static_cast< ::enterprise_management::SamlLoginAuthenticationTypeProto_Type >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.SamlLoginAuthenticationTypeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.SamlLoginAuthenticationTypeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void SamlLoginAuthenticationTypeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.SamlLoginAuthenticationTypeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.SamlLoginAuthenticationTypeProto.Type saml_login_authentication_type = 1 [default = TYPE_DEFAULT]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->saml_login_authentication_type(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.SamlLoginAuthenticationTypeProto) |
| } |
| |
| size_t SamlLoginAuthenticationTypeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.SamlLoginAuthenticationTypeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.SamlLoginAuthenticationTypeProto.Type saml_login_authentication_type = 1 [default = TYPE_DEFAULT]; |
| if (has_saml_login_authentication_type()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->saml_login_authentication_type()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void SamlLoginAuthenticationTypeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const SamlLoginAuthenticationTypeProto*>(&from)); |
| } |
| |
| void SamlLoginAuthenticationTypeProto::MergeFrom(const SamlLoginAuthenticationTypeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.SamlLoginAuthenticationTypeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_saml_login_authentication_type()) { |
| set_saml_login_authentication_type(from.saml_login_authentication_type()); |
| } |
| } |
| |
| void SamlLoginAuthenticationTypeProto::CopyFrom(const SamlLoginAuthenticationTypeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.SamlLoginAuthenticationTypeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool SamlLoginAuthenticationTypeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void SamlLoginAuthenticationTypeProto::Swap(SamlLoginAuthenticationTypeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void SamlLoginAuthenticationTypeProto::InternalSwap(SamlLoginAuthenticationTypeProto* other) { |
| using std::swap; |
| swap(saml_login_authentication_type_, other->saml_login_authentication_type_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string SamlLoginAuthenticationTypeProto::GetTypeName() const { |
| return "enterprise_management.SamlLoginAuthenticationTypeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceUnaffiliatedCrostiniAllowedProto::kDeviceUnaffiliatedCrostiniAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceUnaffiliatedCrostiniAllowedProto::DeviceUnaffiliatedCrostiniAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUnaffiliatedCrostiniAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| } |
| DeviceUnaffiliatedCrostiniAllowedProto::DeviceUnaffiliatedCrostiniAllowedProto(const DeviceUnaffiliatedCrostiniAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_unaffiliated_crostini_allowed_ = from.device_unaffiliated_crostini_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::SharedCtor() { |
| device_unaffiliated_crostini_allowed_ = false; |
| } |
| |
| DeviceUnaffiliatedCrostiniAllowedProto::~DeviceUnaffiliatedCrostiniAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| SharedDtor(); |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::SharedDtor() { |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceUnaffiliatedCrostiniAllowedProto& DeviceUnaffiliatedCrostiniAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUnaffiliatedCrostiniAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_unaffiliated_crostini_allowed_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceUnaffiliatedCrostiniAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool device_unaffiliated_crostini_allowed = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_device_unaffiliated_crostini_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &device_unaffiliated_crostini_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool device_unaffiliated_crostini_allowed = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->device_unaffiliated_crostini_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| } |
| |
| size_t DeviceUnaffiliatedCrostiniAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool device_unaffiliated_crostini_allowed = 1; |
| if (has_device_unaffiliated_crostini_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceUnaffiliatedCrostiniAllowedProto*>(&from)); |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::MergeFrom(const DeviceUnaffiliatedCrostiniAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_unaffiliated_crostini_allowed()) { |
| set_device_unaffiliated_crostini_allowed(from.device_unaffiliated_crostini_allowed()); |
| } |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::CopyFrom(const DeviceUnaffiliatedCrostiniAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceUnaffiliatedCrostiniAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceUnaffiliatedCrostiniAllowedProto::Swap(DeviceUnaffiliatedCrostiniAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceUnaffiliatedCrostiniAllowedProto::InternalSwap(DeviceUnaffiliatedCrostiniAllowedProto* other) { |
| using std::swap; |
| swap(device_unaffiliated_crostini_allowed_, other->device_unaffiliated_crostini_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceUnaffiliatedCrostiniAllowedProto::GetTypeName() const { |
| return "enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void PluginVmAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int PluginVmAllowedProto::kPluginVmAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| PluginVmAllowedProto::PluginVmAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_PluginVmAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.PluginVmAllowedProto) |
| } |
| PluginVmAllowedProto::PluginVmAllowedProto(const PluginVmAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| plugin_vm_allowed_ = from.plugin_vm_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.PluginVmAllowedProto) |
| } |
| |
| void PluginVmAllowedProto::SharedCtor() { |
| plugin_vm_allowed_ = false; |
| } |
| |
| PluginVmAllowedProto::~PluginVmAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.PluginVmAllowedProto) |
| SharedDtor(); |
| } |
| |
| void PluginVmAllowedProto::SharedDtor() { |
| } |
| |
| void PluginVmAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const PluginVmAllowedProto& PluginVmAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_PluginVmAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void PluginVmAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.PluginVmAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| plugin_vm_allowed_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool PluginVmAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.PluginVmAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool plugin_vm_allowed = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_plugin_vm_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &plugin_vm_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.PluginVmAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.PluginVmAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void PluginVmAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.PluginVmAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool plugin_vm_allowed = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->plugin_vm_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.PluginVmAllowedProto) |
| } |
| |
| size_t PluginVmAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.PluginVmAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool plugin_vm_allowed = 1; |
| if (has_plugin_vm_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void PluginVmAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const PluginVmAllowedProto*>(&from)); |
| } |
| |
| void PluginVmAllowedProto::MergeFrom(const PluginVmAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.PluginVmAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_plugin_vm_allowed()) { |
| set_plugin_vm_allowed(from.plugin_vm_allowed()); |
| } |
| } |
| |
| void PluginVmAllowedProto::CopyFrom(const PluginVmAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.PluginVmAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool PluginVmAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void PluginVmAllowedProto::Swap(PluginVmAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void PluginVmAllowedProto::InternalSwap(PluginVmAllowedProto* other) { |
| using std::swap; |
| swap(plugin_vm_allowed_, other->plugin_vm_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string PluginVmAllowedProto::GetTypeName() const { |
| return "enterprise_management.PluginVmAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void PluginVmLicenseKeyProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int PluginVmLicenseKeyProto::kPluginVmLicenseKeyFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| PluginVmLicenseKeyProto::PluginVmLicenseKeyProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_PluginVmLicenseKeyProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.PluginVmLicenseKeyProto) |
| } |
| PluginVmLicenseKeyProto::PluginVmLicenseKeyProto(const PluginVmLicenseKeyProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| plugin_vm_license_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_plugin_vm_license_key()) { |
| plugin_vm_license_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plugin_vm_license_key_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.PluginVmLicenseKeyProto) |
| } |
| |
| void PluginVmLicenseKeyProto::SharedCtor() { |
| plugin_vm_license_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| PluginVmLicenseKeyProto::~PluginVmLicenseKeyProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.PluginVmLicenseKeyProto) |
| SharedDtor(); |
| } |
| |
| void PluginVmLicenseKeyProto::SharedDtor() { |
| plugin_vm_license_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void PluginVmLicenseKeyProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const PluginVmLicenseKeyProto& PluginVmLicenseKeyProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_PluginVmLicenseKeyProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void PluginVmLicenseKeyProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.PluginVmLicenseKeyProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| plugin_vm_license_key_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool PluginVmLicenseKeyProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.PluginVmLicenseKeyProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string plugin_vm_license_key = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_plugin_vm_license_key())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.PluginVmLicenseKeyProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.PluginVmLicenseKeyProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void PluginVmLicenseKeyProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.PluginVmLicenseKeyProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string plugin_vm_license_key = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->plugin_vm_license_key(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.PluginVmLicenseKeyProto) |
| } |
| |
| size_t PluginVmLicenseKeyProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.PluginVmLicenseKeyProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string plugin_vm_license_key = 1; |
| if (has_plugin_vm_license_key()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->plugin_vm_license_key()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void PluginVmLicenseKeyProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const PluginVmLicenseKeyProto*>(&from)); |
| } |
| |
| void PluginVmLicenseKeyProto::MergeFrom(const PluginVmLicenseKeyProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.PluginVmLicenseKeyProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_plugin_vm_license_key()) { |
| set_has_plugin_vm_license_key(); |
| plugin_vm_license_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plugin_vm_license_key_); |
| } |
| } |
| |
| void PluginVmLicenseKeyProto::CopyFrom(const PluginVmLicenseKeyProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.PluginVmLicenseKeyProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool PluginVmLicenseKeyProto::IsInitialized() const { |
| return true; |
| } |
| |
| void PluginVmLicenseKeyProto::Swap(PluginVmLicenseKeyProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void PluginVmLicenseKeyProto::InternalSwap(PluginVmLicenseKeyProto* other) { |
| using std::swap; |
| plugin_vm_license_key_.Swap(&other->plugin_vm_license_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string PluginVmLicenseKeyProto::GetTypeName() const { |
| return "enterprise_management.PluginVmLicenseKeyProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceRebootOnUserSignoutProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceRebootOnUserSignoutProto::kRebootOnSignoutModeFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceRebootOnUserSignoutProto::DeviceRebootOnUserSignoutProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceRebootOnUserSignoutProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceRebootOnUserSignoutProto) |
| } |
| DeviceRebootOnUserSignoutProto::DeviceRebootOnUserSignoutProto(const DeviceRebootOnUserSignoutProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| reboot_on_signout_mode_ = from.reboot_on_signout_mode_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceRebootOnUserSignoutProto) |
| } |
| |
| void DeviceRebootOnUserSignoutProto::SharedCtor() { |
| reboot_on_signout_mode_ = 1; |
| } |
| |
| DeviceRebootOnUserSignoutProto::~DeviceRebootOnUserSignoutProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceRebootOnUserSignoutProto) |
| SharedDtor(); |
| } |
| |
| void DeviceRebootOnUserSignoutProto::SharedDtor() { |
| } |
| |
| void DeviceRebootOnUserSignoutProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceRebootOnUserSignoutProto& DeviceRebootOnUserSignoutProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceRebootOnUserSignoutProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceRebootOnUserSignoutProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceRebootOnUserSignoutProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| reboot_on_signout_mode_ = 1; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceRebootOnUserSignoutProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceRebootOnUserSignoutProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceRebootOnUserSignoutProto.RebootOnSignoutMode reboot_on_signout_mode = 1 [default = NEVER]; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceRebootOnUserSignoutProto_RebootOnSignoutMode_IsValid(value)) { |
| set_reboot_on_signout_mode(static_cast< ::enterprise_management::DeviceRebootOnUserSignoutProto_RebootOnSignoutMode >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceRebootOnUserSignoutProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceRebootOnUserSignoutProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceRebootOnUserSignoutProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceRebootOnUserSignoutProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceRebootOnUserSignoutProto.RebootOnSignoutMode reboot_on_signout_mode = 1 [default = NEVER]; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->reboot_on_signout_mode(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceRebootOnUserSignoutProto) |
| } |
| |
| size_t DeviceRebootOnUserSignoutProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceRebootOnUserSignoutProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceRebootOnUserSignoutProto.RebootOnSignoutMode reboot_on_signout_mode = 1 [default = NEVER]; |
| if (has_reboot_on_signout_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->reboot_on_signout_mode()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceRebootOnUserSignoutProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceRebootOnUserSignoutProto*>(&from)); |
| } |
| |
| void DeviceRebootOnUserSignoutProto::MergeFrom(const DeviceRebootOnUserSignoutProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceRebootOnUserSignoutProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_reboot_on_signout_mode()) { |
| set_reboot_on_signout_mode(from.reboot_on_signout_mode()); |
| } |
| } |
| |
| void DeviceRebootOnUserSignoutProto::CopyFrom(const DeviceRebootOnUserSignoutProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceRebootOnUserSignoutProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceRebootOnUserSignoutProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceRebootOnUserSignoutProto::Swap(DeviceRebootOnUserSignoutProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceRebootOnUserSignoutProto::InternalSwap(DeviceRebootOnUserSignoutProto* other) { |
| using std::swap; |
| swap(reboot_on_signout_mode_, other->reboot_on_signout_mode_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceRebootOnUserSignoutProto::GetTypeName() const { |
| return "enterprise_management.DeviceRebootOnUserSignoutProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceWilcoDtcAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceWilcoDtcAllowedProto::kDeviceWilcoDtcAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceWilcoDtcAllowedProto::DeviceWilcoDtcAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWilcoDtcAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceWilcoDtcAllowedProto) |
| } |
| DeviceWilcoDtcAllowedProto::DeviceWilcoDtcAllowedProto(const DeviceWilcoDtcAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_wilco_dtc_allowed_ = from.device_wilco_dtc_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceWilcoDtcAllowedProto) |
| } |
| |
| void DeviceWilcoDtcAllowedProto::SharedCtor() { |
| device_wilco_dtc_allowed_ = false; |
| } |
| |
| DeviceWilcoDtcAllowedProto::~DeviceWilcoDtcAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceWilcoDtcAllowedProto) |
| SharedDtor(); |
| } |
| |
| void DeviceWilcoDtcAllowedProto::SharedDtor() { |
| } |
| |
| void DeviceWilcoDtcAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceWilcoDtcAllowedProto& DeviceWilcoDtcAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWilcoDtcAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceWilcoDtcAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceWilcoDtcAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_wilco_dtc_allowed_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceWilcoDtcAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceWilcoDtcAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool device_wilco_dtc_allowed = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_device_wilco_dtc_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &device_wilco_dtc_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceWilcoDtcAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceWilcoDtcAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceWilcoDtcAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceWilcoDtcAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool device_wilco_dtc_allowed = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->device_wilco_dtc_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceWilcoDtcAllowedProto) |
| } |
| |
| size_t DeviceWilcoDtcAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceWilcoDtcAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool device_wilco_dtc_allowed = 1; |
| if (has_device_wilco_dtc_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceWilcoDtcAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceWilcoDtcAllowedProto*>(&from)); |
| } |
| |
| void DeviceWilcoDtcAllowedProto::MergeFrom(const DeviceWilcoDtcAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceWilcoDtcAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_wilco_dtc_allowed()) { |
| set_device_wilco_dtc_allowed(from.device_wilco_dtc_allowed()); |
| } |
| } |
| |
| void DeviceWilcoDtcAllowedProto::CopyFrom(const DeviceWilcoDtcAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceWilcoDtcAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceWilcoDtcAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceWilcoDtcAllowedProto::Swap(DeviceWilcoDtcAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceWilcoDtcAllowedProto::InternalSwap(DeviceWilcoDtcAllowedProto* other) { |
| using std::swap; |
| swap(device_wilco_dtc_allowed_, other->device_wilco_dtc_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceWilcoDtcAllowedProto::GetTypeName() const { |
| return "enterprise_management.DeviceWilcoDtcAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceWilcoDtcConfigurationProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceWilcoDtcConfigurationProto::kDeviceWilcoDtcConfigurationFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceWilcoDtcConfigurationProto::DeviceWilcoDtcConfigurationProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWilcoDtcConfigurationProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| } |
| DeviceWilcoDtcConfigurationProto::DeviceWilcoDtcConfigurationProto(const DeviceWilcoDtcConfigurationProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_wilco_dtc_configuration_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_wilco_dtc_configuration()) { |
| device_wilco_dtc_configuration_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_wilco_dtc_configuration_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::SharedCtor() { |
| device_wilco_dtc_configuration_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceWilcoDtcConfigurationProto::~DeviceWilcoDtcConfigurationProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| SharedDtor(); |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::SharedDtor() { |
| device_wilco_dtc_configuration_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceWilcoDtcConfigurationProto& DeviceWilcoDtcConfigurationProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWilcoDtcConfigurationProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceWilcoDtcConfigurationProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| device_wilco_dtc_configuration_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceWilcoDtcConfigurationProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string device_wilco_dtc_configuration = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_wilco_dtc_configuration())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string device_wilco_dtc_configuration = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->device_wilco_dtc_configuration(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| } |
| |
| size_t DeviceWilcoDtcConfigurationProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string device_wilco_dtc_configuration = 1; |
| if (has_device_wilco_dtc_configuration()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_wilco_dtc_configuration()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceWilcoDtcConfigurationProto*>(&from)); |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::MergeFrom(const DeviceWilcoDtcConfigurationProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_wilco_dtc_configuration()) { |
| set_has_device_wilco_dtc_configuration(); |
| device_wilco_dtc_configuration_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_wilco_dtc_configuration_); |
| } |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::CopyFrom(const DeviceWilcoDtcConfigurationProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceWilcoDtcConfigurationProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceWilcoDtcConfigurationProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceWilcoDtcConfigurationProto::Swap(DeviceWilcoDtcConfigurationProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceWilcoDtcConfigurationProto::InternalSwap(DeviceWilcoDtcConfigurationProto* other) { |
| using std::swap; |
| device_wilco_dtc_configuration_.Swap(&other->device_wilco_dtc_configuration_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceWilcoDtcConfigurationProto::GetTypeName() const { |
| return "enterprise_management.DeviceWilcoDtcConfigurationProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DevicePowerPeakShiftProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DevicePowerPeakShiftProto::kEnabledFieldNumber; |
| const int DevicePowerPeakShiftProto::kBatteryThresholdFieldNumber; |
| const int DevicePowerPeakShiftProto::kDayConfigsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DevicePowerPeakShiftProto::DevicePowerPeakShiftProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePowerPeakShiftProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DevicePowerPeakShiftProto) |
| } |
| DevicePowerPeakShiftProto::DevicePowerPeakShiftProto(const DevicePowerPeakShiftProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| day_configs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_day_configs()) { |
| day_configs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.day_configs_); |
| } |
| ::memcpy(&enabled_, &from.enabled_, |
| static_cast<size_t>(reinterpret_cast<char*>(&battery_threshold_) - |
| reinterpret_cast<char*>(&enabled_)) + sizeof(battery_threshold_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DevicePowerPeakShiftProto) |
| } |
| |
| void DevicePowerPeakShiftProto::SharedCtor() { |
| day_configs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| ::memset(&enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&battery_threshold_) - |
| reinterpret_cast<char*>(&enabled_)) + sizeof(battery_threshold_)); |
| } |
| |
| DevicePowerPeakShiftProto::~DevicePowerPeakShiftProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DevicePowerPeakShiftProto) |
| SharedDtor(); |
| } |
| |
| void DevicePowerPeakShiftProto::SharedDtor() { |
| day_configs_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DevicePowerPeakShiftProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DevicePowerPeakShiftProto& DevicePowerPeakShiftProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePowerPeakShiftProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DevicePowerPeakShiftProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DevicePowerPeakShiftProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| day_configs_.ClearNonDefaultToEmptyNoArena(); |
| } |
| if (cached_has_bits & 6u) { |
| ::memset(&enabled_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&battery_threshold_) - |
| reinterpret_cast<char*>(&enabled_)) + sizeof(battery_threshold_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DevicePowerPeakShiftProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DevicePowerPeakShiftProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 battery_threshold = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_battery_threshold(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &battery_threshold_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string day_configs = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_day_configs())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DevicePowerPeakShiftProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DevicePowerPeakShiftProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DevicePowerPeakShiftProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DevicePowerPeakShiftProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool enabled = 1; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enabled(), output); |
| } |
| |
| // optional int32 battery_threshold = 2; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->battery_threshold(), output); |
| } |
| |
| // optional string day_configs = 3; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 3, this->day_configs(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DevicePowerPeakShiftProto) |
| } |
| |
| size_t DevicePowerPeakShiftProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DevicePowerPeakShiftProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 7u) { |
| // optional string day_configs = 3; |
| if (has_day_configs()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->day_configs()); |
| } |
| |
| // optional bool enabled = 1; |
| if (has_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| // optional int32 battery_threshold = 2; |
| if (has_battery_threshold()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->battery_threshold()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DevicePowerPeakShiftProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DevicePowerPeakShiftProto*>(&from)); |
| } |
| |
| void DevicePowerPeakShiftProto::MergeFrom(const DevicePowerPeakShiftProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DevicePowerPeakShiftProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_day_configs(); |
| day_configs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.day_configs_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| enabled_ = from.enabled_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| battery_threshold_ = from.battery_threshold_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DevicePowerPeakShiftProto::CopyFrom(const DevicePowerPeakShiftProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DevicePowerPeakShiftProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DevicePowerPeakShiftProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DevicePowerPeakShiftProto::Swap(DevicePowerPeakShiftProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DevicePowerPeakShiftProto::InternalSwap(DevicePowerPeakShiftProto* other) { |
| using std::swap; |
| day_configs_.Swap(&other->day_configs_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(enabled_, other->enabled_); |
| swap(battery_threshold_, other->battery_threshold_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DevicePowerPeakShiftProto::GetTypeName() const { |
| return "enterprise_management.DevicePowerPeakShiftProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceBootOnAcProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceBootOnAcProto::kEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceBootOnAcProto::DeviceBootOnAcProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceBootOnAcProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceBootOnAcProto) |
| } |
| DeviceBootOnAcProto::DeviceBootOnAcProto(const DeviceBootOnAcProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| enabled_ = from.enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceBootOnAcProto) |
| } |
| |
| void DeviceBootOnAcProto::SharedCtor() { |
| enabled_ = false; |
| } |
| |
| DeviceBootOnAcProto::~DeviceBootOnAcProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceBootOnAcProto) |
| SharedDtor(); |
| } |
| |
| void DeviceBootOnAcProto::SharedDtor() { |
| } |
| |
| void DeviceBootOnAcProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceBootOnAcProto& DeviceBootOnAcProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceBootOnAcProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceBootOnAcProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceBootOnAcProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceBootOnAcProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceBootOnAcProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceBootOnAcProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceBootOnAcProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceBootOnAcProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceBootOnAcProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceBootOnAcProto) |
| } |
| |
| size_t DeviceBootOnAcProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceBootOnAcProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool enabled = 1; |
| if (has_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceBootOnAcProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceBootOnAcProto*>(&from)); |
| } |
| |
| void DeviceBootOnAcProto::MergeFrom(const DeviceBootOnAcProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceBootOnAcProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_enabled()) { |
| set_enabled(from.enabled()); |
| } |
| } |
| |
| void DeviceBootOnAcProto::CopyFrom(const DeviceBootOnAcProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceBootOnAcProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceBootOnAcProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceBootOnAcProto::Swap(DeviceBootOnAcProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceBootOnAcProto::InternalSwap(DeviceBootOnAcProto* other) { |
| using std::swap; |
| swap(enabled_, other->enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceBootOnAcProto::GetTypeName() const { |
| return "enterprise_management.DeviceBootOnAcProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceDockMacAddressSourceProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceDockMacAddressSourceProto::kSourceFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceDockMacAddressSourceProto::DeviceDockMacAddressSourceProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceDockMacAddressSourceProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceDockMacAddressSourceProto) |
| } |
| DeviceDockMacAddressSourceProto::DeviceDockMacAddressSourceProto(const DeviceDockMacAddressSourceProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| source_ = from.source_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceDockMacAddressSourceProto) |
| } |
| |
| void DeviceDockMacAddressSourceProto::SharedCtor() { |
| source_ = 0; |
| } |
| |
| DeviceDockMacAddressSourceProto::~DeviceDockMacAddressSourceProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceDockMacAddressSourceProto) |
| SharedDtor(); |
| } |
| |
| void DeviceDockMacAddressSourceProto::SharedDtor() { |
| } |
| |
| void DeviceDockMacAddressSourceProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceDockMacAddressSourceProto& DeviceDockMacAddressSourceProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceDockMacAddressSourceProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceDockMacAddressSourceProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceDockMacAddressSourceProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| source_ = 0; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceDockMacAddressSourceProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceDockMacAddressSourceProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceDockMacAddressSourceProto.Source source = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceDockMacAddressSourceProto_Source_IsValid(value)) { |
| set_source(static_cast< ::enterprise_management::DeviceDockMacAddressSourceProto_Source >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceDockMacAddressSourceProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceDockMacAddressSourceProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceDockMacAddressSourceProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceDockMacAddressSourceProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceDockMacAddressSourceProto.Source source = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->source(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceDockMacAddressSourceProto) |
| } |
| |
| size_t DeviceDockMacAddressSourceProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceDockMacAddressSourceProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional .enterprise_management.DeviceDockMacAddressSourceProto.Source source = 1; |
| if (has_source()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->source()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceDockMacAddressSourceProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceDockMacAddressSourceProto*>(&from)); |
| } |
| |
| void DeviceDockMacAddressSourceProto::MergeFrom(const DeviceDockMacAddressSourceProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceDockMacAddressSourceProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_source()) { |
| set_source(from.source()); |
| } |
| } |
| |
| void DeviceDockMacAddressSourceProto::CopyFrom(const DeviceDockMacAddressSourceProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceDockMacAddressSourceProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceDockMacAddressSourceProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceDockMacAddressSourceProto::Swap(DeviceDockMacAddressSourceProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceDockMacAddressSourceProto::InternalSwap(DeviceDockMacAddressSourceProto* other) { |
| using std::swap; |
| swap(source_, other->source_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceDockMacAddressSourceProto::GetTypeName() const { |
| return "enterprise_management.DeviceDockMacAddressSourceProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceAdvancedBatteryChargeModeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceAdvancedBatteryChargeModeProto::kEnabledFieldNumber; |
| const int DeviceAdvancedBatteryChargeModeProto::kDayConfigsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceAdvancedBatteryChargeModeProto::DeviceAdvancedBatteryChargeModeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceAdvancedBatteryChargeModeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| } |
| DeviceAdvancedBatteryChargeModeProto::DeviceAdvancedBatteryChargeModeProto(const DeviceAdvancedBatteryChargeModeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| day_configs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_day_configs()) { |
| day_configs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.day_configs_); |
| } |
| enabled_ = from.enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::SharedCtor() { |
| day_configs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| enabled_ = false; |
| } |
| |
| DeviceAdvancedBatteryChargeModeProto::~DeviceAdvancedBatteryChargeModeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| SharedDtor(); |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::SharedDtor() { |
| day_configs_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceAdvancedBatteryChargeModeProto& DeviceAdvancedBatteryChargeModeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceAdvancedBatteryChargeModeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceAdvancedBatteryChargeModeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| day_configs_.ClearNonDefaultToEmptyNoArena(); |
| } |
| enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceAdvancedBatteryChargeModeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional string day_configs = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_day_configs())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool enabled = 1; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enabled(), output); |
| } |
| |
| // optional string day_configs = 2; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 2, this->day_configs(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| } |
| |
| size_t DeviceAdvancedBatteryChargeModeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 3u) { |
| // optional string day_configs = 2; |
| if (has_day_configs()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->day_configs()); |
| } |
| |
| // optional bool enabled = 1; |
| if (has_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceAdvancedBatteryChargeModeProto*>(&from)); |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::MergeFrom(const DeviceAdvancedBatteryChargeModeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 3u) { |
| if (cached_has_bits & 0x00000001u) { |
| set_has_day_configs(); |
| day_configs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.day_configs_); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| enabled_ = from.enabled_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::CopyFrom(const DeviceAdvancedBatteryChargeModeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceAdvancedBatteryChargeModeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceAdvancedBatteryChargeModeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceAdvancedBatteryChargeModeProto::Swap(DeviceAdvancedBatteryChargeModeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceAdvancedBatteryChargeModeProto::InternalSwap(DeviceAdvancedBatteryChargeModeProto* other) { |
| using std::swap; |
| day_configs_.Swap(&other->day_configs_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(enabled_, other->enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceAdvancedBatteryChargeModeProto::GetTypeName() const { |
| return "enterprise_management.DeviceAdvancedBatteryChargeModeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceBatteryChargeModeProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceBatteryChargeModeProto::kBatteryChargeModeFieldNumber; |
| const int DeviceBatteryChargeModeProto::kCustomChargeStartFieldNumber; |
| const int DeviceBatteryChargeModeProto::kCustomChargeStopFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceBatteryChargeModeProto::DeviceBatteryChargeModeProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceBatteryChargeModeProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceBatteryChargeModeProto) |
| } |
| DeviceBatteryChargeModeProto::DeviceBatteryChargeModeProto(const DeviceBatteryChargeModeProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::memcpy(&battery_charge_mode_, &from.battery_charge_mode_, |
| static_cast<size_t>(reinterpret_cast<char*>(&custom_charge_stop_) - |
| reinterpret_cast<char*>(&battery_charge_mode_)) + sizeof(custom_charge_stop_)); |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceBatteryChargeModeProto) |
| } |
| |
| void DeviceBatteryChargeModeProto::SharedCtor() { |
| ::memset(&battery_charge_mode_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&custom_charge_stop_) - |
| reinterpret_cast<char*>(&battery_charge_mode_)) + sizeof(custom_charge_stop_)); |
| } |
| |
| DeviceBatteryChargeModeProto::~DeviceBatteryChargeModeProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceBatteryChargeModeProto) |
| SharedDtor(); |
| } |
| |
| void DeviceBatteryChargeModeProto::SharedDtor() { |
| } |
| |
| void DeviceBatteryChargeModeProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceBatteryChargeModeProto& DeviceBatteryChargeModeProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceBatteryChargeModeProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceBatteryChargeModeProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceBatteryChargeModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| ::memset(&battery_charge_mode_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&custom_charge_stop_) - |
| reinterpret_cast<char*>(&battery_charge_mode_)) + sizeof(custom_charge_stop_)); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceBatteryChargeModeProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceBatteryChargeModeProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DeviceBatteryChargeModeProto.BatteryChargeMode battery_charge_mode = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| int value; |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
| input, &value))); |
| if (::enterprise_management::DeviceBatteryChargeModeProto_BatteryChargeMode_IsValid(value)) { |
| set_battery_charge_mode(static_cast< ::enterprise_management::DeviceBatteryChargeModeProto_BatteryChargeMode >(value)); |
| } else { |
| unknown_fields_stream.WriteVarint32(8u); |
| unknown_fields_stream.WriteVarint32( |
| static_cast< ::google::protobuf::uint32>(value)); |
| } |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 custom_charge_start = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
| set_has_custom_charge_start(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &custom_charge_start_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional int32 custom_charge_stop = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
| set_has_custom_charge_stop(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
| input, &custom_charge_stop_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceBatteryChargeModeProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceBatteryChargeModeProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceBatteryChargeModeProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceBatteryChargeModeProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DeviceBatteryChargeModeProto.BatteryChargeMode battery_charge_mode = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteEnum( |
| 1, this->battery_charge_mode(), output); |
| } |
| |
| // optional int32 custom_charge_start = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->custom_charge_start(), output); |
| } |
| |
| // optional int32 custom_charge_stop = 3; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->custom_charge_stop(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceBatteryChargeModeProto) |
| } |
| |
| size_t DeviceBatteryChargeModeProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceBatteryChargeModeProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 7u) { |
| // optional .enterprise_management.DeviceBatteryChargeModeProto.BatteryChargeMode battery_charge_mode = 1; |
| if (has_battery_charge_mode()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::EnumSize(this->battery_charge_mode()); |
| } |
| |
| // optional int32 custom_charge_start = 2; |
| if (has_custom_charge_start()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->custom_charge_start()); |
| } |
| |
| // optional int32 custom_charge_stop = 3; |
| if (has_custom_charge_stop()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::Int32Size( |
| this->custom_charge_stop()); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceBatteryChargeModeProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceBatteryChargeModeProto*>(&from)); |
| } |
| |
| void DeviceBatteryChargeModeProto::MergeFrom(const DeviceBatteryChargeModeProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceBatteryChargeModeProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 7u) { |
| if (cached_has_bits & 0x00000001u) { |
| battery_charge_mode_ = from.battery_charge_mode_; |
| } |
| if (cached_has_bits & 0x00000002u) { |
| custom_charge_start_ = from.custom_charge_start_; |
| } |
| if (cached_has_bits & 0x00000004u) { |
| custom_charge_stop_ = from.custom_charge_stop_; |
| } |
| _has_bits_[0] |= cached_has_bits; |
| } |
| } |
| |
| void DeviceBatteryChargeModeProto::CopyFrom(const DeviceBatteryChargeModeProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceBatteryChargeModeProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceBatteryChargeModeProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceBatteryChargeModeProto::Swap(DeviceBatteryChargeModeProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceBatteryChargeModeProto::InternalSwap(DeviceBatteryChargeModeProto* other) { |
| using std::swap; |
| swap(battery_charge_mode_, other->battery_charge_mode_); |
| swap(custom_charge_start_, other->custom_charge_start_); |
| swap(custom_charge_stop_, other->custom_charge_stop_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceBatteryChargeModeProto::GetTypeName() const { |
| return "enterprise_management.DeviceBatteryChargeModeProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceUsbPowerShareProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceUsbPowerShareProto::kEnabledFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceUsbPowerShareProto::DeviceUsbPowerShareProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUsbPowerShareProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceUsbPowerShareProto) |
| } |
| DeviceUsbPowerShareProto::DeviceUsbPowerShareProto(const DeviceUsbPowerShareProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| enabled_ = from.enabled_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceUsbPowerShareProto) |
| } |
| |
| void DeviceUsbPowerShareProto::SharedCtor() { |
| enabled_ = false; |
| } |
| |
| DeviceUsbPowerShareProto::~DeviceUsbPowerShareProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceUsbPowerShareProto) |
| SharedDtor(); |
| } |
| |
| void DeviceUsbPowerShareProto::SharedDtor() { |
| } |
| |
| void DeviceUsbPowerShareProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceUsbPowerShareProto& DeviceUsbPowerShareProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceUsbPowerShareProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceUsbPowerShareProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceUsbPowerShareProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| enabled_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceUsbPowerShareProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceUsbPowerShareProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool enabled = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_enabled(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &enabled_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceUsbPowerShareProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceUsbPowerShareProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceUsbPowerShareProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceUsbPowerShareProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool enabled = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enabled(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceUsbPowerShareProto) |
| } |
| |
| size_t DeviceUsbPowerShareProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceUsbPowerShareProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool enabled = 1; |
| if (has_enabled()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceUsbPowerShareProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceUsbPowerShareProto*>(&from)); |
| } |
| |
| void DeviceUsbPowerShareProto::MergeFrom(const DeviceUsbPowerShareProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceUsbPowerShareProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_enabled()) { |
| set_enabled(from.enabled()); |
| } |
| } |
| |
| void DeviceUsbPowerShareProto::CopyFrom(const DeviceUsbPowerShareProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceUsbPowerShareProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceUsbPowerShareProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceUsbPowerShareProto::Swap(DeviceUsbPowerShareProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceUsbPowerShareProto::InternalSwap(DeviceUsbPowerShareProto* other) { |
| using std::swap; |
| swap(enabled_, other->enabled_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceUsbPowerShareProto::GetTypeName() const { |
| return "enterprise_management.DeviceUsbPowerShareProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceScheduledUpdateCheckProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceScheduledUpdateCheckProto::kDeviceScheduledUpdateCheckSettingsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceScheduledUpdateCheckProto::DeviceScheduledUpdateCheckProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceScheduledUpdateCheckProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceScheduledUpdateCheckProto) |
| } |
| DeviceScheduledUpdateCheckProto::DeviceScheduledUpdateCheckProto(const DeviceScheduledUpdateCheckProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_scheduled_update_check_settings_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_scheduled_update_check_settings()) { |
| device_scheduled_update_check_settings_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_scheduled_update_check_settings_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceScheduledUpdateCheckProto) |
| } |
| |
| void DeviceScheduledUpdateCheckProto::SharedCtor() { |
| device_scheduled_update_check_settings_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceScheduledUpdateCheckProto::~DeviceScheduledUpdateCheckProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceScheduledUpdateCheckProto) |
| SharedDtor(); |
| } |
| |
| void DeviceScheduledUpdateCheckProto::SharedDtor() { |
| device_scheduled_update_check_settings_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceScheduledUpdateCheckProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceScheduledUpdateCheckProto& DeviceScheduledUpdateCheckProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceScheduledUpdateCheckProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceScheduledUpdateCheckProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceScheduledUpdateCheckProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| device_scheduled_update_check_settings_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceScheduledUpdateCheckProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceScheduledUpdateCheckProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string device_scheduled_update_check_settings = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_scheduled_update_check_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceScheduledUpdateCheckProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceScheduledUpdateCheckProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceScheduledUpdateCheckProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceScheduledUpdateCheckProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string device_scheduled_update_check_settings = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->device_scheduled_update_check_settings(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceScheduledUpdateCheckProto) |
| } |
| |
| size_t DeviceScheduledUpdateCheckProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceScheduledUpdateCheckProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string device_scheduled_update_check_settings = 1; |
| if (has_device_scheduled_update_check_settings()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_scheduled_update_check_settings()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceScheduledUpdateCheckProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceScheduledUpdateCheckProto*>(&from)); |
| } |
| |
| void DeviceScheduledUpdateCheckProto::MergeFrom(const DeviceScheduledUpdateCheckProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceScheduledUpdateCheckProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_scheduled_update_check_settings()) { |
| set_has_device_scheduled_update_check_settings(); |
| device_scheduled_update_check_settings_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_scheduled_update_check_settings_); |
| } |
| } |
| |
| void DeviceScheduledUpdateCheckProto::CopyFrom(const DeviceScheduledUpdateCheckProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceScheduledUpdateCheckProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceScheduledUpdateCheckProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceScheduledUpdateCheckProto::Swap(DeviceScheduledUpdateCheckProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceScheduledUpdateCheckProto::InternalSwap(DeviceScheduledUpdateCheckProto* other) { |
| using std::swap; |
| device_scheduled_update_check_settings_.Swap(&other->device_scheduled_update_check_settings_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceScheduledUpdateCheckProto::GetTypeName() const { |
| return "enterprise_management.DeviceScheduledUpdateCheckProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DeviceWebUsbAllowDevicesForUrlsProto::kDeviceWebusbAllowDevicesForUrlsFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DeviceWebUsbAllowDevicesForUrlsProto::DeviceWebUsbAllowDevicesForUrlsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWebUsbAllowDevicesForUrlsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| } |
| DeviceWebUsbAllowDevicesForUrlsProto::DeviceWebUsbAllowDevicesForUrlsProto(const DeviceWebUsbAllowDevicesForUrlsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_webusb_allow_devices_for_urls_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| if (from.has_device_webusb_allow_devices_for_urls()) { |
| device_webusb_allow_devices_for_urls_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_webusb_allow_devices_for_urls_); |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::SharedCtor() { |
| device_webusb_allow_devices_for_urls_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| DeviceWebUsbAllowDevicesForUrlsProto::~DeviceWebUsbAllowDevicesForUrlsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| SharedDtor(); |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::SharedDtor() { |
| device_webusb_allow_devices_for_urls_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DeviceWebUsbAllowDevicesForUrlsProto& DeviceWebUsbAllowDevicesForUrlsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DeviceWebUsbAllowDevicesForUrlsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| device_webusb_allow_devices_for_urls_.ClearNonDefaultToEmptyNoArena(); |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DeviceWebUsbAllowDevicesForUrlsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional string device_webusb_allow_devices_for_urls = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
| input, this->mutable_device_webusb_allow_devices_for_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional string device_webusb_allow_devices_for_urls = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
| 1, this->device_webusb_allow_devices_for_urls(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| } |
| |
| size_t DeviceWebUsbAllowDevicesForUrlsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional string device_webusb_allow_devices_for_urls = 1; |
| if (has_device_webusb_allow_devices_for_urls()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::StringSize( |
| this->device_webusb_allow_devices_for_urls()); |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DeviceWebUsbAllowDevicesForUrlsProto*>(&from)); |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::MergeFrom(const DeviceWebUsbAllowDevicesForUrlsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_webusb_allow_devices_for_urls()) { |
| set_has_device_webusb_allow_devices_for_urls(); |
| device_webusb_allow_devices_for_urls_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_webusb_allow_devices_for_urls_); |
| } |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::CopyFrom(const DeviceWebUsbAllowDevicesForUrlsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DeviceWebUsbAllowDevicesForUrlsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DeviceWebUsbAllowDevicesForUrlsProto::Swap(DeviceWebUsbAllowDevicesForUrlsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DeviceWebUsbAllowDevicesForUrlsProto::InternalSwap(DeviceWebUsbAllowDevicesForUrlsProto* other) { |
| using std::swap; |
| device_webusb_allow_devices_for_urls_.Swap(&other->device_webusb_allow_devices_for_urls_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| GetArenaNoVirtual()); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DeviceWebUsbAllowDevicesForUrlsProto::GetTypeName() const { |
| return "enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void DevicePowerwashAllowedProto::InitAsDefaultInstance() { |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int DevicePowerwashAllowedProto::kDevicePowerwashAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| DevicePowerwashAllowedProto::DevicePowerwashAllowedProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePowerwashAllowedProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.DevicePowerwashAllowedProto) |
| } |
| DevicePowerwashAllowedProto::DevicePowerwashAllowedProto(const DevicePowerwashAllowedProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| device_powerwash_allowed_ = from.device_powerwash_allowed_; |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.DevicePowerwashAllowedProto) |
| } |
| |
| void DevicePowerwashAllowedProto::SharedCtor() { |
| device_powerwash_allowed_ = false; |
| } |
| |
| DevicePowerwashAllowedProto::~DevicePowerwashAllowedProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.DevicePowerwashAllowedProto) |
| SharedDtor(); |
| } |
| |
| void DevicePowerwashAllowedProto::SharedDtor() { |
| } |
| |
| void DevicePowerwashAllowedProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const DevicePowerwashAllowedProto& DevicePowerwashAllowedProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_DevicePowerwashAllowedProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void DevicePowerwashAllowedProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.DevicePowerwashAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| device_powerwash_allowed_ = false; |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool DevicePowerwashAllowedProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.DevicePowerwashAllowedProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional bool device_powerwash_allowed = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
| set_has_device_powerwash_allowed(); |
| DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
| bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
| input, &device_powerwash_allowed_))); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.DevicePowerwashAllowedProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.DevicePowerwashAllowedProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void DevicePowerwashAllowedProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.DevicePowerwashAllowedProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional bool device_powerwash_allowed = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->device_powerwash_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.DevicePowerwashAllowedProto) |
| } |
| |
| size_t DevicePowerwashAllowedProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.DevicePowerwashAllowedProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| // optional bool device_powerwash_allowed = 1; |
| if (has_device_powerwash_allowed()) { |
| total_size += 1 + 1; |
| } |
| |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void DevicePowerwashAllowedProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const DevicePowerwashAllowedProto*>(&from)); |
| } |
| |
| void DevicePowerwashAllowedProto::MergeFrom(const DevicePowerwashAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.DevicePowerwashAllowedProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| if (from.has_device_powerwash_allowed()) { |
| set_device_powerwash_allowed(from.device_powerwash_allowed()); |
| } |
| } |
| |
| void DevicePowerwashAllowedProto::CopyFrom(const DevicePowerwashAllowedProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.DevicePowerwashAllowedProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool DevicePowerwashAllowedProto::IsInitialized() const { |
| return true; |
| } |
| |
| void DevicePowerwashAllowedProto::Swap(DevicePowerwashAllowedProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void DevicePowerwashAllowedProto::InternalSwap(DevicePowerwashAllowedProto* other) { |
| using std::swap; |
| swap(device_powerwash_allowed_, other->device_powerwash_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string DevicePowerwashAllowedProto::GetTypeName() const { |
| return "enterprise_management.DevicePowerwashAllowedProto"; |
| } |
| |
| |
| // =================================================================== |
| |
| void ChromeDeviceSettingsProto::InitAsDefaultInstance() { |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_policy_refresh_rate_ = const_cast< ::enterprise_management::DevicePolicyRefreshRateProto*>( |
| ::enterprise_management::DevicePolicyRefreshRateProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->user_whitelist_ = const_cast< ::enterprise_management::UserWhitelistProto*>( |
| ::enterprise_management::UserWhitelistProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->guest_mode_enabled_ = const_cast< ::enterprise_management::GuestModeEnabledProto*>( |
| ::enterprise_management::GuestModeEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_proxy_settings_ = const_cast< ::enterprise_management::OBSOLETE_DeviceProxySettingsProto*>( |
| ::enterprise_management::OBSOLETE_DeviceProxySettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->camera_enabled_ = const_cast< ::enterprise_management::CameraEnabledProto*>( |
| ::enterprise_management::CameraEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->show_user_names_ = const_cast< ::enterprise_management::ShowUserNamesOnSigninProto*>( |
| ::enterprise_management::ShowUserNamesOnSigninProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->data_roaming_enabled_ = const_cast< ::enterprise_management::DataRoamingEnabledProto*>( |
| ::enterprise_management::DataRoamingEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->allow_new_users_ = const_cast< ::enterprise_management::AllowNewUsersProto*>( |
| ::enterprise_management::AllowNewUsersProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->metrics_enabled_ = const_cast< ::enterprise_management::MetricsEnabledProto*>( |
| ::enterprise_management::MetricsEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->release_channel_ = const_cast< ::enterprise_management::ReleaseChannelProto*>( |
| ::enterprise_management::ReleaseChannelProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->open_network_configuration_ = const_cast< ::enterprise_management::DeviceOpenNetworkConfigurationProto*>( |
| ::enterprise_management::DeviceOpenNetworkConfigurationProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_reporting_ = const_cast< ::enterprise_management::DeviceReportingProto*>( |
| ::enterprise_management::DeviceReportingProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->ephemeral_users_enabled_ = const_cast< ::enterprise_management::EphemeralUsersEnabledProto*>( |
| ::enterprise_management::EphemeralUsersEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->app_pack_ = const_cast< ::enterprise_management::OBSOLETE_AppPackProto*>( |
| ::enterprise_management::OBSOLETE_AppPackProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->forced_logout_timeouts_ = const_cast< ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto*>( |
| ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_screen_saver_ = const_cast< ::enterprise_management::OBSOLETE_ScreenSaverProto*>( |
| ::enterprise_management::OBSOLETE_ScreenSaverProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->auto_update_settings_ = const_cast< ::enterprise_management::AutoUpdateSettingsProto*>( |
| ::enterprise_management::AutoUpdateSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->start_up_urls_ = const_cast< ::enterprise_management::OBSOLETE_StartUpUrlsProto*>( |
| ::enterprise_management::OBSOLETE_StartUpUrlsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->pinned_apps_ = const_cast< ::enterprise_management::OBSOLETE_PinnedAppsProto*>( |
| ::enterprise_management::OBSOLETE_PinnedAppsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->system_timezone_ = const_cast< ::enterprise_management::SystemTimezoneProto*>( |
| ::enterprise_management::SystemTimezoneProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_local_accounts_ = const_cast< ::enterprise_management::DeviceLocalAccountsProto*>( |
| ::enterprise_management::DeviceLocalAccountsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->allow_redeem_offers_ = const_cast< ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto*>( |
| ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->start_up_flags_ = const_cast< ::enterprise_management::StartUpFlagsProto*>( |
| ::enterprise_management::StartUpFlagsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->uptime_limit_ = const_cast< ::enterprise_management::UptimeLimitProto*>( |
| ::enterprise_management::UptimeLimitProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->variations_parameter_ = const_cast< ::enterprise_management::VariationsParameterProto*>( |
| ::enterprise_management::VariationsParameterProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->attestation_settings_ = const_cast< ::enterprise_management::AttestationSettingsProto*>( |
| ::enterprise_management::AttestationSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->accessibility_settings_ = const_cast< ::enterprise_management::AccessibilitySettingsProto*>( |
| ::enterprise_management::AccessibilitySettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->supervised_users_settings_ = const_cast< ::enterprise_management::SupervisedUsersSettingsProto*>( |
| ::enterprise_management::SupervisedUsersSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_screen_power_management_ = const_cast< ::enterprise_management::LoginScreenPowerManagementProto*>( |
| ::enterprise_management::LoginScreenPowerManagementProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->use_24hour_clock_ = const_cast< ::enterprise_management::SystemUse24HourClockProto*>( |
| ::enterprise_management::SystemUse24HourClockProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->auto_clean_up_settings_ = const_cast< ::enterprise_management::AutoCleanupSettigsProto*>( |
| ::enterprise_management::AutoCleanupSettigsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->system_settings_ = const_cast< ::enterprise_management::SystemSettingsProto*>( |
| ::enterprise_management::SystemSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->saml_settings_ = const_cast< ::enterprise_management::SAMLSettingsProto*>( |
| ::enterprise_management::SAMLSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->reboot_on_shutdown_ = const_cast< ::enterprise_management::RebootOnShutdownProto*>( |
| ::enterprise_management::RebootOnShutdownProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_heartbeat_settings_ = const_cast< ::enterprise_management::DeviceHeartbeatSettingsProto*>( |
| ::enterprise_management::DeviceHeartbeatSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->extension_cache_size_ = const_cast< ::enterprise_management::ExtensionCacheSizeProto*>( |
| ::enterprise_management::ExtensionCacheSizeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_screen_domain_auto_complete_ = const_cast< ::enterprise_management::LoginScreenDomainAutoCompleteProto*>( |
| ::enterprise_management::LoginScreenDomainAutoCompleteProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_log_upload_settings_ = const_cast< ::enterprise_management::DeviceLogUploadSettingsProto*>( |
| ::enterprise_management::DeviceLogUploadSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->display_rotation_default_ = const_cast< ::enterprise_management::DisplayRotationDefaultProto*>( |
| ::enterprise_management::DisplayRotationDefaultProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->allow_kiosk_app_control_chrome_version_ = const_cast< ::enterprise_management::AllowKioskAppControlChromeVersionProto*>( |
| ::enterprise_management::AllowKioskAppControlChromeVersionProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_authentication_behavior_ = const_cast< ::enterprise_management::LoginAuthenticationBehaviorProto*>( |
| ::enterprise_management::LoginAuthenticationBehaviorProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->usb_detachable_whitelist_ = const_cast< ::enterprise_management::UsbDetachableWhitelistProto*>( |
| ::enterprise_management::UsbDetachableWhitelistProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->allow_bluetooth_ = const_cast< ::enterprise_management::AllowBluetoothProto*>( |
| ::enterprise_management::AllowBluetoothProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->quirks_download_enabled_ = const_cast< ::enterprise_management::DeviceQuirksDownloadEnabledProto*>( |
| ::enterprise_management::DeviceQuirksDownloadEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_video_capture_allowed_urls_ = const_cast< ::enterprise_management::LoginVideoCaptureAllowedUrlsProto*>( |
| ::enterprise_management::LoginVideoCaptureAllowedUrlsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_login_screen_extensions_ = const_cast< ::enterprise_management::DeviceLoginScreenExtensionsProto*>( |
| ::enterprise_management::DeviceLoginScreenExtensionsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->network_throttling_ = const_cast< ::enterprise_management::NetworkThrottlingEnabledProto*>( |
| ::enterprise_management::NetworkThrottlingEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_wallpaper_image_ = const_cast< ::enterprise_management::DeviceWallpaperImageProto*>( |
| ::enterprise_management::DeviceWallpaperImageProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_screen_locales_ = const_cast< ::enterprise_management::LoginScreenLocalesProto*>( |
| ::enterprise_management::LoginScreenLocalesProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->login_screen_input_methods_ = const_cast< ::enterprise_management::LoginScreenInputMethodsProto*>( |
| ::enterprise_management::LoginScreenInputMethodsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_ecryptfs_migration_strategy_ = const_cast< ::enterprise_management::DeviceEcryptfsMigrationStrategyProto*>( |
| ::enterprise_management::DeviceEcryptfsMigrationStrategyProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_second_factor_authentication_ = const_cast< ::enterprise_management::DeviceSecondFactorAuthenticationProto*>( |
| ::enterprise_management::DeviceSecondFactorAuthenticationProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->cast_receiver_name_ = const_cast< ::enterprise_management::CastReceiverNameProto*>( |
| ::enterprise_management::CastReceiverNameProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_off_hours_ = const_cast< ::enterprise_management::DeviceOffHoursProto*>( |
| ::enterprise_management::DeviceOffHoursProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->native_device_printers_ = const_cast< ::enterprise_management::DeviceNativePrintersProto*>( |
| ::enterprise_management::DeviceNativePrintersProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->native_device_printers_access_mode_ = const_cast< ::enterprise_management::DeviceNativePrintersAccessModeProto*>( |
| ::enterprise_management::DeviceNativePrintersAccessModeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->native_device_printers_blacklist_ = const_cast< ::enterprise_management::DeviceNativePrintersBlacklistProto*>( |
| ::enterprise_management::DeviceNativePrintersBlacklistProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->native_device_printers_whitelist_ = const_cast< ::enterprise_management::DeviceNativePrintersWhitelistProto*>( |
| ::enterprise_management::DeviceNativePrintersWhitelistProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->tpm_firmware_update_settings_ = const_cast< ::enterprise_management::TPMFirmwareUpdateSettingsProto*>( |
| ::enterprise_management::TPMFirmwareUpdateSettingsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->minimum_required_version_ = const_cast< ::enterprise_management::MinimumRequiredVersionProto*>( |
| ::enterprise_management::MinimumRequiredVersionProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_login_screen_auto_select_certificate_for_urls_ = const_cast< ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls*>( |
| ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->unaffiliated_arc_allowed_ = const_cast< ::enterprise_management::UnaffiliatedArcAllowedProto*>( |
| ::enterprise_management::UnaffiliatedArcAllowedProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->network_hostname_ = const_cast< ::enterprise_management::NetworkHostnameProto*>( |
| ::enterprise_management::NetworkHostnameProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_kerberos_encryption_types_ = const_cast< ::enterprise_management::DeviceKerberosEncryptionTypesProto*>( |
| ::enterprise_management::DeviceKerberosEncryptionTypesProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_user_policy_loopback_processing_mode_ = const_cast< ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto*>( |
| ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_login_screen_isolate_origins_ = const_cast< ::enterprise_management::DeviceLoginScreenIsolateOriginsProto*>( |
| ::enterprise_management::DeviceLoginScreenIsolateOriginsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_login_screen_site_per_process_ = const_cast< ::enterprise_management::DeviceLoginScreenSitePerProcessProto*>( |
| ::enterprise_management::DeviceLoginScreenSitePerProcessProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->virtual_machines_allowed_ = const_cast< ::enterprise_management::VirtualMachinesAllowedProto*>( |
| ::enterprise_management::VirtualMachinesAllowedProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_machine_password_change_rate_ = const_cast< ::enterprise_management::DeviceMachinePasswordChangeRateProto*>( |
| ::enterprise_management::DeviceMachinePasswordChangeRateProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->saml_login_authentication_type_ = const_cast< ::enterprise_management::SamlLoginAuthenticationTypeProto*>( |
| ::enterprise_management::SamlLoginAuthenticationTypeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_unaffiliated_crostini_allowed_ = const_cast< ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto*>( |
| ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_wifi_fast_transition_enabled_ = const_cast< ::enterprise_management::DeviceWiFiFastTransitionEnabledProto*>( |
| ::enterprise_management::DeviceWiFiFastTransitionEnabledProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_display_resolution_ = const_cast< ::enterprise_management::DeviceDisplayResolutionProto*>( |
| ::enterprise_management::DeviceDisplayResolutionProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->plugin_vm_allowed_ = const_cast< ::enterprise_management::PluginVmAllowedProto*>( |
| ::enterprise_management::PluginVmAllowedProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_gpo_cache_lifetime_ = const_cast< ::enterprise_management::DeviceGpoCacheLifetimeProto*>( |
| ::enterprise_management::DeviceGpoCacheLifetimeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_auth_data_cache_lifetime_ = const_cast< ::enterprise_management::DeviceAuthDataCacheLifetimeProto*>( |
| ::enterprise_management::DeviceAuthDataCacheLifetimeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->plugin_vm_license_key_ = const_cast< ::enterprise_management::PluginVmLicenseKeyProto*>( |
| ::enterprise_management::PluginVmLicenseKeyProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_reboot_on_user_signout_ = const_cast< ::enterprise_management::DeviceRebootOnUserSignoutProto*>( |
| ::enterprise_management::DeviceRebootOnUserSignoutProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_wilco_dtc_allowed_ = const_cast< ::enterprise_management::DeviceWilcoDtcAllowedProto*>( |
| ::enterprise_management::DeviceWilcoDtcAllowedProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_wilco_dtc_configuration_ = const_cast< ::enterprise_management::DeviceWilcoDtcConfigurationProto*>( |
| ::enterprise_management::DeviceWilcoDtcConfigurationProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_wifi_allowed_ = const_cast< ::enterprise_management::DeviceWiFiAllowedProto*>( |
| ::enterprise_management::DeviceWiFiAllowedProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_power_peak_shift_ = const_cast< ::enterprise_management::DevicePowerPeakShiftProto*>( |
| ::enterprise_management::DevicePowerPeakShiftProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_boot_on_ac_ = const_cast< ::enterprise_management::DeviceBootOnAcProto*>( |
| ::enterprise_management::DeviceBootOnAcProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_dock_mac_address_source_ = const_cast< ::enterprise_management::DeviceDockMacAddressSourceProto*>( |
| ::enterprise_management::DeviceDockMacAddressSourceProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_advanced_battery_charge_mode_ = const_cast< ::enterprise_management::DeviceAdvancedBatteryChargeModeProto*>( |
| ::enterprise_management::DeviceAdvancedBatteryChargeModeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_battery_charge_mode_ = const_cast< ::enterprise_management::DeviceBatteryChargeModeProto*>( |
| ::enterprise_management::DeviceBatteryChargeModeProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_usb_power_share_ = const_cast< ::enterprise_management::DeviceUsbPowerShareProto*>( |
| ::enterprise_management::DeviceUsbPowerShareProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_scheduled_update_check_ = const_cast< ::enterprise_management::DeviceScheduledUpdateCheckProto*>( |
| ::enterprise_management::DeviceScheduledUpdateCheckProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_webusb_allow_devices_for_urls_ = const_cast< ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto*>( |
| ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto::internal_default_instance()); |
| ::enterprise_management::_ChromeDeviceSettingsProto_default_instance_._instance.get_mutable()->device_powerwash_allowed_ = const_cast< ::enterprise_management::DevicePowerwashAllowedProto*>( |
| ::enterprise_management::DevicePowerwashAllowedProto::internal_default_instance()); |
| } |
| #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
| const int ChromeDeviceSettingsProto::kDevicePolicyRefreshRateFieldNumber; |
| const int ChromeDeviceSettingsProto::kUserWhitelistFieldNumber; |
| const int ChromeDeviceSettingsProto::kGuestModeEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceProxySettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kCameraEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kShowUserNamesFieldNumber; |
| const int ChromeDeviceSettingsProto::kDataRoamingEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kAllowNewUsersFieldNumber; |
| const int ChromeDeviceSettingsProto::kMetricsEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kReleaseChannelFieldNumber; |
| const int ChromeDeviceSettingsProto::kOpenNetworkConfigurationFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceReportingFieldNumber; |
| const int ChromeDeviceSettingsProto::kEphemeralUsersEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kAppPackFieldNumber; |
| const int ChromeDeviceSettingsProto::kForcedLogoutTimeoutsFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginScreenSaverFieldNumber; |
| const int ChromeDeviceSettingsProto::kAutoUpdateSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kStartUpUrlsFieldNumber; |
| const int ChromeDeviceSettingsProto::kPinnedAppsFieldNumber; |
| const int ChromeDeviceSettingsProto::kSystemTimezoneFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceLocalAccountsFieldNumber; |
| const int ChromeDeviceSettingsProto::kAllowRedeemOffersFieldNumber; |
| const int ChromeDeviceSettingsProto::kStartUpFlagsFieldNumber; |
| const int ChromeDeviceSettingsProto::kUptimeLimitFieldNumber; |
| const int ChromeDeviceSettingsProto::kVariationsParameterFieldNumber; |
| const int ChromeDeviceSettingsProto::kAttestationSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kAccessibilitySettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kSupervisedUsersSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginScreenPowerManagementFieldNumber; |
| const int ChromeDeviceSettingsProto::kUse24HourClockFieldNumber; |
| const int ChromeDeviceSettingsProto::kAutoCleanUpSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kSystemSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kSamlSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kRebootOnShutdownFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceHeartbeatSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kExtensionCacheSizeFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginScreenDomainAutoCompleteFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceLogUploadSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kDisplayRotationDefaultFieldNumber; |
| const int ChromeDeviceSettingsProto::kAllowKioskAppControlChromeVersionFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginAuthenticationBehaviorFieldNumber; |
| const int ChromeDeviceSettingsProto::kUsbDetachableWhitelistFieldNumber; |
| const int ChromeDeviceSettingsProto::kAllowBluetoothFieldNumber; |
| const int ChromeDeviceSettingsProto::kQuirksDownloadEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginVideoCaptureAllowedUrlsFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceLoginScreenExtensionsFieldNumber; |
| const int ChromeDeviceSettingsProto::kNetworkThrottlingFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceWallpaperImageFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginScreenLocalesFieldNumber; |
| const int ChromeDeviceSettingsProto::kLoginScreenInputMethodsFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceEcryptfsMigrationStrategyFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceSecondFactorAuthenticationFieldNumber; |
| const int ChromeDeviceSettingsProto::kCastReceiverNameFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceOffHoursFieldNumber; |
| const int ChromeDeviceSettingsProto::kNativeDevicePrintersFieldNumber; |
| const int ChromeDeviceSettingsProto::kNativeDevicePrintersAccessModeFieldNumber; |
| const int ChromeDeviceSettingsProto::kNativeDevicePrintersBlacklistFieldNumber; |
| const int ChromeDeviceSettingsProto::kNativeDevicePrintersWhitelistFieldNumber; |
| const int ChromeDeviceSettingsProto::kTpmFirmwareUpdateSettingsFieldNumber; |
| const int ChromeDeviceSettingsProto::kMinimumRequiredVersionFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceLoginScreenAutoSelectCertificateForUrlsFieldNumber; |
| const int ChromeDeviceSettingsProto::kUnaffiliatedArcAllowedFieldNumber; |
| const int ChromeDeviceSettingsProto::kNetworkHostnameFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceKerberosEncryptionTypesFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceUserPolicyLoopbackProcessingModeFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceLoginScreenIsolateOriginsFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceLoginScreenSitePerProcessFieldNumber; |
| const int ChromeDeviceSettingsProto::kVirtualMachinesAllowedFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceMachinePasswordChangeRateFieldNumber; |
| const int ChromeDeviceSettingsProto::kSamlLoginAuthenticationTypeFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceUnaffiliatedCrostiniAllowedFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceWifiFastTransitionEnabledFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceDisplayResolutionFieldNumber; |
| const int ChromeDeviceSettingsProto::kPluginVmAllowedFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceGpoCacheLifetimeFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceAuthDataCacheLifetimeFieldNumber; |
| const int ChromeDeviceSettingsProto::kPluginVmLicenseKeyFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceRebootOnUserSignoutFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceWilcoDtcAllowedFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceWilcoDtcConfigurationFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceWifiAllowedFieldNumber; |
| const int ChromeDeviceSettingsProto::kDevicePowerPeakShiftFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceBootOnAcFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceDockMacAddressSourceFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceAdvancedBatteryChargeModeFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceBatteryChargeModeFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceUsbPowerShareFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceScheduledUpdateCheckFieldNumber; |
| const int ChromeDeviceSettingsProto::kDeviceWebusbAllowDevicesForUrlsFieldNumber; |
| const int ChromeDeviceSettingsProto::kDevicePowerwashAllowedFieldNumber; |
| #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
| |
| ChromeDeviceSettingsProto::ChromeDeviceSettingsProto() |
| : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { |
| ::google::protobuf::internal::InitSCC( |
| &protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ChromeDeviceSettingsProto.base); |
| SharedCtor(); |
| // @@protoc_insertion_point(constructor:enterprise_management.ChromeDeviceSettingsProto) |
| } |
| ChromeDeviceSettingsProto::ChromeDeviceSettingsProto(const ChromeDeviceSettingsProto& from) |
| : ::google::protobuf::MessageLite(), |
| _internal_metadata_(NULL), |
| _has_bits_(from._has_bits_) { |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| if (from.has_device_policy_refresh_rate()) { |
| device_policy_refresh_rate_ = new ::enterprise_management::DevicePolicyRefreshRateProto(*from.device_policy_refresh_rate_); |
| } else { |
| device_policy_refresh_rate_ = NULL; |
| } |
| if (from.has_user_whitelist()) { |
| user_whitelist_ = new ::enterprise_management::UserWhitelistProto(*from.user_whitelist_); |
| } else { |
| user_whitelist_ = NULL; |
| } |
| if (from.has_guest_mode_enabled()) { |
| guest_mode_enabled_ = new ::enterprise_management::GuestModeEnabledProto(*from.guest_mode_enabled_); |
| } else { |
| guest_mode_enabled_ = NULL; |
| } |
| if (from.has_device_proxy_settings()) { |
| device_proxy_settings_ = new ::enterprise_management::OBSOLETE_DeviceProxySettingsProto(*from.device_proxy_settings_); |
| } else { |
| device_proxy_settings_ = NULL; |
| } |
| if (from.has_camera_enabled()) { |
| camera_enabled_ = new ::enterprise_management::CameraEnabledProto(*from.camera_enabled_); |
| } else { |
| camera_enabled_ = NULL; |
| } |
| if (from.has_show_user_names()) { |
| show_user_names_ = new ::enterprise_management::ShowUserNamesOnSigninProto(*from.show_user_names_); |
| } else { |
| show_user_names_ = NULL; |
| } |
| if (from.has_data_roaming_enabled()) { |
| data_roaming_enabled_ = new ::enterprise_management::DataRoamingEnabledProto(*from.data_roaming_enabled_); |
| } else { |
| data_roaming_enabled_ = NULL; |
| } |
| if (from.has_allow_new_users()) { |
| allow_new_users_ = new ::enterprise_management::AllowNewUsersProto(*from.allow_new_users_); |
| } else { |
| allow_new_users_ = NULL; |
| } |
| if (from.has_metrics_enabled()) { |
| metrics_enabled_ = new ::enterprise_management::MetricsEnabledProto(*from.metrics_enabled_); |
| } else { |
| metrics_enabled_ = NULL; |
| } |
| if (from.has_release_channel()) { |
| release_channel_ = new ::enterprise_management::ReleaseChannelProto(*from.release_channel_); |
| } else { |
| release_channel_ = NULL; |
| } |
| if (from.has_open_network_configuration()) { |
| open_network_configuration_ = new ::enterprise_management::DeviceOpenNetworkConfigurationProto(*from.open_network_configuration_); |
| } else { |
| open_network_configuration_ = NULL; |
| } |
| if (from.has_device_reporting()) { |
| device_reporting_ = new ::enterprise_management::DeviceReportingProto(*from.device_reporting_); |
| } else { |
| device_reporting_ = NULL; |
| } |
| if (from.has_ephemeral_users_enabled()) { |
| ephemeral_users_enabled_ = new ::enterprise_management::EphemeralUsersEnabledProto(*from.ephemeral_users_enabled_); |
| } else { |
| ephemeral_users_enabled_ = NULL; |
| } |
| if (from.has_app_pack()) { |
| app_pack_ = new ::enterprise_management::OBSOLETE_AppPackProto(*from.app_pack_); |
| } else { |
| app_pack_ = NULL; |
| } |
| if (from.has_forced_logout_timeouts()) { |
| forced_logout_timeouts_ = new ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto(*from.forced_logout_timeouts_); |
| } else { |
| forced_logout_timeouts_ = NULL; |
| } |
| if (from.has_login_screen_saver()) { |
| login_screen_saver_ = new ::enterprise_management::OBSOLETE_ScreenSaverProto(*from.login_screen_saver_); |
| } else { |
| login_screen_saver_ = NULL; |
| } |
| if (from.has_auto_update_settings()) { |
| auto_update_settings_ = new ::enterprise_management::AutoUpdateSettingsProto(*from.auto_update_settings_); |
| } else { |
| auto_update_settings_ = NULL; |
| } |
| if (from.has_start_up_urls()) { |
| start_up_urls_ = new ::enterprise_management::OBSOLETE_StartUpUrlsProto(*from.start_up_urls_); |
| } else { |
| start_up_urls_ = NULL; |
| } |
| if (from.has_pinned_apps()) { |
| pinned_apps_ = new ::enterprise_management::OBSOLETE_PinnedAppsProto(*from.pinned_apps_); |
| } else { |
| pinned_apps_ = NULL; |
| } |
| if (from.has_system_timezone()) { |
| system_timezone_ = new ::enterprise_management::SystemTimezoneProto(*from.system_timezone_); |
| } else { |
| system_timezone_ = NULL; |
| } |
| if (from.has_device_local_accounts()) { |
| device_local_accounts_ = new ::enterprise_management::DeviceLocalAccountsProto(*from.device_local_accounts_); |
| } else { |
| device_local_accounts_ = NULL; |
| } |
| if (from.has_allow_redeem_offers()) { |
| allow_redeem_offers_ = new ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto(*from.allow_redeem_offers_); |
| } else { |
| allow_redeem_offers_ = NULL; |
| } |
| if (from.has_start_up_flags()) { |
| start_up_flags_ = new ::enterprise_management::StartUpFlagsProto(*from.start_up_flags_); |
| } else { |
| start_up_flags_ = NULL; |
| } |
| if (from.has_uptime_limit()) { |
| uptime_limit_ = new ::enterprise_management::UptimeLimitProto(*from.uptime_limit_); |
| } else { |
| uptime_limit_ = NULL; |
| } |
| if (from.has_variations_parameter()) { |
| variations_parameter_ = new ::enterprise_management::VariationsParameterProto(*from.variations_parameter_); |
| } else { |
| variations_parameter_ = NULL; |
| } |
| if (from.has_attestation_settings()) { |
| attestation_settings_ = new ::enterprise_management::AttestationSettingsProto(*from.attestation_settings_); |
| } else { |
| attestation_settings_ = NULL; |
| } |
| if (from.has_accessibility_settings()) { |
| accessibility_settings_ = new ::enterprise_management::AccessibilitySettingsProto(*from.accessibility_settings_); |
| } else { |
| accessibility_settings_ = NULL; |
| } |
| if (from.has_supervised_users_settings()) { |
| supervised_users_settings_ = new ::enterprise_management::SupervisedUsersSettingsProto(*from.supervised_users_settings_); |
| } else { |
| supervised_users_settings_ = NULL; |
| } |
| if (from.has_login_screen_power_management()) { |
| login_screen_power_management_ = new ::enterprise_management::LoginScreenPowerManagementProto(*from.login_screen_power_management_); |
| } else { |
| login_screen_power_management_ = NULL; |
| } |
| if (from.has_use_24hour_clock()) { |
| use_24hour_clock_ = new ::enterprise_management::SystemUse24HourClockProto(*from.use_24hour_clock_); |
| } else { |
| use_24hour_clock_ = NULL; |
| } |
| if (from.has_auto_clean_up_settings()) { |
| auto_clean_up_settings_ = new ::enterprise_management::AutoCleanupSettigsProto(*from.auto_clean_up_settings_); |
| } else { |
| auto_clean_up_settings_ = NULL; |
| } |
| if (from.has_system_settings()) { |
| system_settings_ = new ::enterprise_management::SystemSettingsProto(*from.system_settings_); |
| } else { |
| system_settings_ = NULL; |
| } |
| if (from.has_saml_settings()) { |
| saml_settings_ = new ::enterprise_management::SAMLSettingsProto(*from.saml_settings_); |
| } else { |
| saml_settings_ = NULL; |
| } |
| if (from.has_reboot_on_shutdown()) { |
| reboot_on_shutdown_ = new ::enterprise_management::RebootOnShutdownProto(*from.reboot_on_shutdown_); |
| } else { |
| reboot_on_shutdown_ = NULL; |
| } |
| if (from.has_device_heartbeat_settings()) { |
| device_heartbeat_settings_ = new ::enterprise_management::DeviceHeartbeatSettingsProto(*from.device_heartbeat_settings_); |
| } else { |
| device_heartbeat_settings_ = NULL; |
| } |
| if (from.has_extension_cache_size()) { |
| extension_cache_size_ = new ::enterprise_management::ExtensionCacheSizeProto(*from.extension_cache_size_); |
| } else { |
| extension_cache_size_ = NULL; |
| } |
| if (from.has_login_screen_domain_auto_complete()) { |
| login_screen_domain_auto_complete_ = new ::enterprise_management::LoginScreenDomainAutoCompleteProto(*from.login_screen_domain_auto_complete_); |
| } else { |
| login_screen_domain_auto_complete_ = NULL; |
| } |
| if (from.has_device_log_upload_settings()) { |
| device_log_upload_settings_ = new ::enterprise_management::DeviceLogUploadSettingsProto(*from.device_log_upload_settings_); |
| } else { |
| device_log_upload_settings_ = NULL; |
| } |
| if (from.has_display_rotation_default()) { |
| display_rotation_default_ = new ::enterprise_management::DisplayRotationDefaultProto(*from.display_rotation_default_); |
| } else { |
| display_rotation_default_ = NULL; |
| } |
| if (from.has_allow_kiosk_app_control_chrome_version()) { |
| allow_kiosk_app_control_chrome_version_ = new ::enterprise_management::AllowKioskAppControlChromeVersionProto(*from.allow_kiosk_app_control_chrome_version_); |
| } else { |
| allow_kiosk_app_control_chrome_version_ = NULL; |
| } |
| if (from.has_login_authentication_behavior()) { |
| login_authentication_behavior_ = new ::enterprise_management::LoginAuthenticationBehaviorProto(*from.login_authentication_behavior_); |
| } else { |
| login_authentication_behavior_ = NULL; |
| } |
| if (from.has_usb_detachable_whitelist()) { |
| usb_detachable_whitelist_ = new ::enterprise_management::UsbDetachableWhitelistProto(*from.usb_detachable_whitelist_); |
| } else { |
| usb_detachable_whitelist_ = NULL; |
| } |
| if (from.has_allow_bluetooth()) { |
| allow_bluetooth_ = new ::enterprise_management::AllowBluetoothProto(*from.allow_bluetooth_); |
| } else { |
| allow_bluetooth_ = NULL; |
| } |
| if (from.has_quirks_download_enabled()) { |
| quirks_download_enabled_ = new ::enterprise_management::DeviceQuirksDownloadEnabledProto(*from.quirks_download_enabled_); |
| } else { |
| quirks_download_enabled_ = NULL; |
| } |
| if (from.has_login_video_capture_allowed_urls()) { |
| login_video_capture_allowed_urls_ = new ::enterprise_management::LoginVideoCaptureAllowedUrlsProto(*from.login_video_capture_allowed_urls_); |
| } else { |
| login_video_capture_allowed_urls_ = NULL; |
| } |
| if (from.has_device_login_screen_extensions()) { |
| device_login_screen_extensions_ = new ::enterprise_management::DeviceLoginScreenExtensionsProto(*from.device_login_screen_extensions_); |
| } else { |
| device_login_screen_extensions_ = NULL; |
| } |
| if (from.has_network_throttling()) { |
| network_throttling_ = new ::enterprise_management::NetworkThrottlingEnabledProto(*from.network_throttling_); |
| } else { |
| network_throttling_ = NULL; |
| } |
| if (from.has_device_wallpaper_image()) { |
| device_wallpaper_image_ = new ::enterprise_management::DeviceWallpaperImageProto(*from.device_wallpaper_image_); |
| } else { |
| device_wallpaper_image_ = NULL; |
| } |
| if (from.has_login_screen_locales()) { |
| login_screen_locales_ = new ::enterprise_management::LoginScreenLocalesProto(*from.login_screen_locales_); |
| } else { |
| login_screen_locales_ = NULL; |
| } |
| if (from.has_login_screen_input_methods()) { |
| login_screen_input_methods_ = new ::enterprise_management::LoginScreenInputMethodsProto(*from.login_screen_input_methods_); |
| } else { |
| login_screen_input_methods_ = NULL; |
| } |
| if (from.has_device_ecryptfs_migration_strategy()) { |
| device_ecryptfs_migration_strategy_ = new ::enterprise_management::DeviceEcryptfsMigrationStrategyProto(*from.device_ecryptfs_migration_strategy_); |
| } else { |
| device_ecryptfs_migration_strategy_ = NULL; |
| } |
| if (from.has_device_second_factor_authentication()) { |
| device_second_factor_authentication_ = new ::enterprise_management::DeviceSecondFactorAuthenticationProto(*from.device_second_factor_authentication_); |
| } else { |
| device_second_factor_authentication_ = NULL; |
| } |
| if (from.has_cast_receiver_name()) { |
| cast_receiver_name_ = new ::enterprise_management::CastReceiverNameProto(*from.cast_receiver_name_); |
| } else { |
| cast_receiver_name_ = NULL; |
| } |
| if (from.has_device_off_hours()) { |
| device_off_hours_ = new ::enterprise_management::DeviceOffHoursProto(*from.device_off_hours_); |
| } else { |
| device_off_hours_ = NULL; |
| } |
| if (from.has_native_device_printers()) { |
| native_device_printers_ = new ::enterprise_management::DeviceNativePrintersProto(*from.native_device_printers_); |
| } else { |
| native_device_printers_ = NULL; |
| } |
| if (from.has_native_device_printers_access_mode()) { |
| native_device_printers_access_mode_ = new ::enterprise_management::DeviceNativePrintersAccessModeProto(*from.native_device_printers_access_mode_); |
| } else { |
| native_device_printers_access_mode_ = NULL; |
| } |
| if (from.has_native_device_printers_blacklist()) { |
| native_device_printers_blacklist_ = new ::enterprise_management::DeviceNativePrintersBlacklistProto(*from.native_device_printers_blacklist_); |
| } else { |
| native_device_printers_blacklist_ = NULL; |
| } |
| if (from.has_native_device_printers_whitelist()) { |
| native_device_printers_whitelist_ = new ::enterprise_management::DeviceNativePrintersWhitelistProto(*from.native_device_printers_whitelist_); |
| } else { |
| native_device_printers_whitelist_ = NULL; |
| } |
| if (from.has_tpm_firmware_update_settings()) { |
| tpm_firmware_update_settings_ = new ::enterprise_management::TPMFirmwareUpdateSettingsProto(*from.tpm_firmware_update_settings_); |
| } else { |
| tpm_firmware_update_settings_ = NULL; |
| } |
| if (from.has_minimum_required_version()) { |
| minimum_required_version_ = new ::enterprise_management::MinimumRequiredVersionProto(*from.minimum_required_version_); |
| } else { |
| minimum_required_version_ = NULL; |
| } |
| if (from.has_device_login_screen_auto_select_certificate_for_urls()) { |
| device_login_screen_auto_select_certificate_for_urls_ = new ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls(*from.device_login_screen_auto_select_certificate_for_urls_); |
| } else { |
| device_login_screen_auto_select_certificate_for_urls_ = NULL; |
| } |
| if (from.has_unaffiliated_arc_allowed()) { |
| unaffiliated_arc_allowed_ = new ::enterprise_management::UnaffiliatedArcAllowedProto(*from.unaffiliated_arc_allowed_); |
| } else { |
| unaffiliated_arc_allowed_ = NULL; |
| } |
| if (from.has_network_hostname()) { |
| network_hostname_ = new ::enterprise_management::NetworkHostnameProto(*from.network_hostname_); |
| } else { |
| network_hostname_ = NULL; |
| } |
| if (from.has_device_kerberos_encryption_types()) { |
| device_kerberos_encryption_types_ = new ::enterprise_management::DeviceKerberosEncryptionTypesProto(*from.device_kerberos_encryption_types_); |
| } else { |
| device_kerberos_encryption_types_ = NULL; |
| } |
| if (from.has_device_user_policy_loopback_processing_mode()) { |
| device_user_policy_loopback_processing_mode_ = new ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto(*from.device_user_policy_loopback_processing_mode_); |
| } else { |
| device_user_policy_loopback_processing_mode_ = NULL; |
| } |
| if (from.has_device_login_screen_isolate_origins()) { |
| device_login_screen_isolate_origins_ = new ::enterprise_management::DeviceLoginScreenIsolateOriginsProto(*from.device_login_screen_isolate_origins_); |
| } else { |
| device_login_screen_isolate_origins_ = NULL; |
| } |
| if (from.has_device_login_screen_site_per_process()) { |
| device_login_screen_site_per_process_ = new ::enterprise_management::DeviceLoginScreenSitePerProcessProto(*from.device_login_screen_site_per_process_); |
| } else { |
| device_login_screen_site_per_process_ = NULL; |
| } |
| if (from.has_virtual_machines_allowed()) { |
| virtual_machines_allowed_ = new ::enterprise_management::VirtualMachinesAllowedProto(*from.virtual_machines_allowed_); |
| } else { |
| virtual_machines_allowed_ = NULL; |
| } |
| if (from.has_device_machine_password_change_rate()) { |
| device_machine_password_change_rate_ = new ::enterprise_management::DeviceMachinePasswordChangeRateProto(*from.device_machine_password_change_rate_); |
| } else { |
| device_machine_password_change_rate_ = NULL; |
| } |
| if (from.has_saml_login_authentication_type()) { |
| saml_login_authentication_type_ = new ::enterprise_management::SamlLoginAuthenticationTypeProto(*from.saml_login_authentication_type_); |
| } else { |
| saml_login_authentication_type_ = NULL; |
| } |
| if (from.has_device_unaffiliated_crostini_allowed()) { |
| device_unaffiliated_crostini_allowed_ = new ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto(*from.device_unaffiliated_crostini_allowed_); |
| } else { |
| device_unaffiliated_crostini_allowed_ = NULL; |
| } |
| if (from.has_device_wifi_fast_transition_enabled()) { |
| device_wifi_fast_transition_enabled_ = new ::enterprise_management::DeviceWiFiFastTransitionEnabledProto(*from.device_wifi_fast_transition_enabled_); |
| } else { |
| device_wifi_fast_transition_enabled_ = NULL; |
| } |
| if (from.has_device_display_resolution()) { |
| device_display_resolution_ = new ::enterprise_management::DeviceDisplayResolutionProto(*from.device_display_resolution_); |
| } else { |
| device_display_resolution_ = NULL; |
| } |
| if (from.has_plugin_vm_allowed()) { |
| plugin_vm_allowed_ = new ::enterprise_management::PluginVmAllowedProto(*from.plugin_vm_allowed_); |
| } else { |
| plugin_vm_allowed_ = NULL; |
| } |
| if (from.has_device_gpo_cache_lifetime()) { |
| device_gpo_cache_lifetime_ = new ::enterprise_management::DeviceGpoCacheLifetimeProto(*from.device_gpo_cache_lifetime_); |
| } else { |
| device_gpo_cache_lifetime_ = NULL; |
| } |
| if (from.has_device_auth_data_cache_lifetime()) { |
| device_auth_data_cache_lifetime_ = new ::enterprise_management::DeviceAuthDataCacheLifetimeProto(*from.device_auth_data_cache_lifetime_); |
| } else { |
| device_auth_data_cache_lifetime_ = NULL; |
| } |
| if (from.has_plugin_vm_license_key()) { |
| plugin_vm_license_key_ = new ::enterprise_management::PluginVmLicenseKeyProto(*from.plugin_vm_license_key_); |
| } else { |
| plugin_vm_license_key_ = NULL; |
| } |
| if (from.has_device_reboot_on_user_signout()) { |
| device_reboot_on_user_signout_ = new ::enterprise_management::DeviceRebootOnUserSignoutProto(*from.device_reboot_on_user_signout_); |
| } else { |
| device_reboot_on_user_signout_ = NULL; |
| } |
| if (from.has_device_wilco_dtc_allowed()) { |
| device_wilco_dtc_allowed_ = new ::enterprise_management::DeviceWilcoDtcAllowedProto(*from.device_wilco_dtc_allowed_); |
| } else { |
| device_wilco_dtc_allowed_ = NULL; |
| } |
| if (from.has_device_wilco_dtc_configuration()) { |
| device_wilco_dtc_configuration_ = new ::enterprise_management::DeviceWilcoDtcConfigurationProto(*from.device_wilco_dtc_configuration_); |
| } else { |
| device_wilco_dtc_configuration_ = NULL; |
| } |
| if (from.has_device_wifi_allowed()) { |
| device_wifi_allowed_ = new ::enterprise_management::DeviceWiFiAllowedProto(*from.device_wifi_allowed_); |
| } else { |
| device_wifi_allowed_ = NULL; |
| } |
| if (from.has_device_power_peak_shift()) { |
| device_power_peak_shift_ = new ::enterprise_management::DevicePowerPeakShiftProto(*from.device_power_peak_shift_); |
| } else { |
| device_power_peak_shift_ = NULL; |
| } |
| if (from.has_device_boot_on_ac()) { |
| device_boot_on_ac_ = new ::enterprise_management::DeviceBootOnAcProto(*from.device_boot_on_ac_); |
| } else { |
| device_boot_on_ac_ = NULL; |
| } |
| if (from.has_device_dock_mac_address_source()) { |
| device_dock_mac_address_source_ = new ::enterprise_management::DeviceDockMacAddressSourceProto(*from.device_dock_mac_address_source_); |
| } else { |
| device_dock_mac_address_source_ = NULL; |
| } |
| if (from.has_device_advanced_battery_charge_mode()) { |
| device_advanced_battery_charge_mode_ = new ::enterprise_management::DeviceAdvancedBatteryChargeModeProto(*from.device_advanced_battery_charge_mode_); |
| } else { |
| device_advanced_battery_charge_mode_ = NULL; |
| } |
| if (from.has_device_battery_charge_mode()) { |
| device_battery_charge_mode_ = new ::enterprise_management::DeviceBatteryChargeModeProto(*from.device_battery_charge_mode_); |
| } else { |
| device_battery_charge_mode_ = NULL; |
| } |
| if (from.has_device_usb_power_share()) { |
| device_usb_power_share_ = new ::enterprise_management::DeviceUsbPowerShareProto(*from.device_usb_power_share_); |
| } else { |
| device_usb_power_share_ = NULL; |
| } |
| if (from.has_device_scheduled_update_check()) { |
| device_scheduled_update_check_ = new ::enterprise_management::DeviceScheduledUpdateCheckProto(*from.device_scheduled_update_check_); |
| } else { |
| device_scheduled_update_check_ = NULL; |
| } |
| if (from.has_device_webusb_allow_devices_for_urls()) { |
| device_webusb_allow_devices_for_urls_ = new ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto(*from.device_webusb_allow_devices_for_urls_); |
| } else { |
| device_webusb_allow_devices_for_urls_ = NULL; |
| } |
| if (from.has_device_powerwash_allowed()) { |
| device_powerwash_allowed_ = new ::enterprise_management::DevicePowerwashAllowedProto(*from.device_powerwash_allowed_); |
| } else { |
| device_powerwash_allowed_ = NULL; |
| } |
| // @@protoc_insertion_point(copy_constructor:enterprise_management.ChromeDeviceSettingsProto) |
| } |
| |
| void ChromeDeviceSettingsProto::SharedCtor() { |
| ::memset(&device_policy_refresh_rate_, 0, static_cast<size_t>( |
| reinterpret_cast<char*>(&device_powerwash_allowed_) - |
| reinterpret_cast<char*>(&device_policy_refresh_rate_)) + sizeof(device_powerwash_allowed_)); |
| } |
| |
| ChromeDeviceSettingsProto::~ChromeDeviceSettingsProto() { |
| // @@protoc_insertion_point(destructor:enterprise_management.ChromeDeviceSettingsProto) |
| SharedDtor(); |
| } |
| |
| void ChromeDeviceSettingsProto::SharedDtor() { |
| if (this != internal_default_instance()) delete device_policy_refresh_rate_; |
| if (this != internal_default_instance()) delete user_whitelist_; |
| if (this != internal_default_instance()) delete guest_mode_enabled_; |
| if (this != internal_default_instance()) delete device_proxy_settings_; |
| if (this != internal_default_instance()) delete camera_enabled_; |
| if (this != internal_default_instance()) delete show_user_names_; |
| if (this != internal_default_instance()) delete data_roaming_enabled_; |
| if (this != internal_default_instance()) delete allow_new_users_; |
| if (this != internal_default_instance()) delete metrics_enabled_; |
| if (this != internal_default_instance()) delete release_channel_; |
| if (this != internal_default_instance()) delete open_network_configuration_; |
| if (this != internal_default_instance()) delete device_reporting_; |
| if (this != internal_default_instance()) delete ephemeral_users_enabled_; |
| if (this != internal_default_instance()) delete app_pack_; |
| if (this != internal_default_instance()) delete forced_logout_timeouts_; |
| if (this != internal_default_instance()) delete login_screen_saver_; |
| if (this != internal_default_instance()) delete auto_update_settings_; |
| if (this != internal_default_instance()) delete start_up_urls_; |
| if (this != internal_default_instance()) delete pinned_apps_; |
| if (this != internal_default_instance()) delete system_timezone_; |
| if (this != internal_default_instance()) delete device_local_accounts_; |
| if (this != internal_default_instance()) delete allow_redeem_offers_; |
| if (this != internal_default_instance()) delete start_up_flags_; |
| if (this != internal_default_instance()) delete uptime_limit_; |
| if (this != internal_default_instance()) delete variations_parameter_; |
| if (this != internal_default_instance()) delete attestation_settings_; |
| if (this != internal_default_instance()) delete accessibility_settings_; |
| if (this != internal_default_instance()) delete supervised_users_settings_; |
| if (this != internal_default_instance()) delete login_screen_power_management_; |
| if (this != internal_default_instance()) delete use_24hour_clock_; |
| if (this != internal_default_instance()) delete auto_clean_up_settings_; |
| if (this != internal_default_instance()) delete system_settings_; |
| if (this != internal_default_instance()) delete saml_settings_; |
| if (this != internal_default_instance()) delete reboot_on_shutdown_; |
| if (this != internal_default_instance()) delete device_heartbeat_settings_; |
| if (this != internal_default_instance()) delete extension_cache_size_; |
| if (this != internal_default_instance()) delete login_screen_domain_auto_complete_; |
| if (this != internal_default_instance()) delete device_log_upload_settings_; |
| if (this != internal_default_instance()) delete display_rotation_default_; |
| if (this != internal_default_instance()) delete allow_kiosk_app_control_chrome_version_; |
| if (this != internal_default_instance()) delete login_authentication_behavior_; |
| if (this != internal_default_instance()) delete usb_detachable_whitelist_; |
| if (this != internal_default_instance()) delete allow_bluetooth_; |
| if (this != internal_default_instance()) delete quirks_download_enabled_; |
| if (this != internal_default_instance()) delete login_video_capture_allowed_urls_; |
| if (this != internal_default_instance()) delete device_login_screen_extensions_; |
| if (this != internal_default_instance()) delete network_throttling_; |
| if (this != internal_default_instance()) delete device_wallpaper_image_; |
| if (this != internal_default_instance()) delete login_screen_locales_; |
| if (this != internal_default_instance()) delete login_screen_input_methods_; |
| if (this != internal_default_instance()) delete device_ecryptfs_migration_strategy_; |
| if (this != internal_default_instance()) delete device_second_factor_authentication_; |
| if (this != internal_default_instance()) delete cast_receiver_name_; |
| if (this != internal_default_instance()) delete device_off_hours_; |
| if (this != internal_default_instance()) delete native_device_printers_; |
| if (this != internal_default_instance()) delete native_device_printers_access_mode_; |
| if (this != internal_default_instance()) delete native_device_printers_blacklist_; |
| if (this != internal_default_instance()) delete native_device_printers_whitelist_; |
| if (this != internal_default_instance()) delete tpm_firmware_update_settings_; |
| if (this != internal_default_instance()) delete minimum_required_version_; |
| if (this != internal_default_instance()) delete device_login_screen_auto_select_certificate_for_urls_; |
| if (this != internal_default_instance()) delete unaffiliated_arc_allowed_; |
| if (this != internal_default_instance()) delete network_hostname_; |
| if (this != internal_default_instance()) delete device_kerberos_encryption_types_; |
| if (this != internal_default_instance()) delete device_user_policy_loopback_processing_mode_; |
| if (this != internal_default_instance()) delete device_login_screen_isolate_origins_; |
| if (this != internal_default_instance()) delete device_login_screen_site_per_process_; |
| if (this != internal_default_instance()) delete virtual_machines_allowed_; |
| if (this != internal_default_instance()) delete device_machine_password_change_rate_; |
| if (this != internal_default_instance()) delete saml_login_authentication_type_; |
| if (this != internal_default_instance()) delete device_unaffiliated_crostini_allowed_; |
| if (this != internal_default_instance()) delete device_wifi_fast_transition_enabled_; |
| if (this != internal_default_instance()) delete device_display_resolution_; |
| if (this != internal_default_instance()) delete plugin_vm_allowed_; |
| if (this != internal_default_instance()) delete device_gpo_cache_lifetime_; |
| if (this != internal_default_instance()) delete device_auth_data_cache_lifetime_; |
| if (this != internal_default_instance()) delete plugin_vm_license_key_; |
| if (this != internal_default_instance()) delete device_reboot_on_user_signout_; |
| if (this != internal_default_instance()) delete device_wilco_dtc_allowed_; |
| if (this != internal_default_instance()) delete device_wilco_dtc_configuration_; |
| if (this != internal_default_instance()) delete device_wifi_allowed_; |
| if (this != internal_default_instance()) delete device_power_peak_shift_; |
| if (this != internal_default_instance()) delete device_boot_on_ac_; |
| if (this != internal_default_instance()) delete device_dock_mac_address_source_; |
| if (this != internal_default_instance()) delete device_advanced_battery_charge_mode_; |
| if (this != internal_default_instance()) delete device_battery_charge_mode_; |
| if (this != internal_default_instance()) delete device_usb_power_share_; |
| if (this != internal_default_instance()) delete device_scheduled_update_check_; |
| if (this != internal_default_instance()) delete device_webusb_allow_devices_for_urls_; |
| if (this != internal_default_instance()) delete device_powerwash_allowed_; |
| } |
| |
| void ChromeDeviceSettingsProto::SetCachedSize(int size) const { |
| _cached_size_.Set(size); |
| } |
| const ChromeDeviceSettingsProto& ChromeDeviceSettingsProto::default_instance() { |
| ::google::protobuf::internal::InitSCC(&protobuf_chrome_5fdevice_5fpolicy_2eproto::scc_info_ChromeDeviceSettingsProto.base); |
| return *internal_default_instance(); |
| } |
| |
| |
| void ChromeDeviceSettingsProto::Clear() { |
| // @@protoc_insertion_point(message_clear_start:enterprise_management.ChromeDeviceSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| GOOGLE_DCHECK(device_policy_refresh_rate_ != NULL); |
| device_policy_refresh_rate_->Clear(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| GOOGLE_DCHECK(user_whitelist_ != NULL); |
| user_whitelist_->Clear(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| GOOGLE_DCHECK(guest_mode_enabled_ != NULL); |
| guest_mode_enabled_->Clear(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| GOOGLE_DCHECK(device_proxy_settings_ != NULL); |
| device_proxy_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| GOOGLE_DCHECK(camera_enabled_ != NULL); |
| camera_enabled_->Clear(); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| GOOGLE_DCHECK(show_user_names_ != NULL); |
| show_user_names_->Clear(); |
| } |
| if (cached_has_bits & 0x00000040u) { |
| GOOGLE_DCHECK(data_roaming_enabled_ != NULL); |
| data_roaming_enabled_->Clear(); |
| } |
| if (cached_has_bits & 0x00000080u) { |
| GOOGLE_DCHECK(allow_new_users_ != NULL); |
| allow_new_users_->Clear(); |
| } |
| } |
| if (cached_has_bits & 65280u) { |
| if (cached_has_bits & 0x00000100u) { |
| GOOGLE_DCHECK(metrics_enabled_ != NULL); |
| metrics_enabled_->Clear(); |
| } |
| if (cached_has_bits & 0x00000200u) { |
| GOOGLE_DCHECK(release_channel_ != NULL); |
| release_channel_->Clear(); |
| } |
| if (cached_has_bits & 0x00000400u) { |
| GOOGLE_DCHECK(open_network_configuration_ != NULL); |
| open_network_configuration_->Clear(); |
| } |
| if (cached_has_bits & 0x00000800u) { |
| GOOGLE_DCHECK(device_reporting_ != NULL); |
| device_reporting_->Clear(); |
| } |
| if (cached_has_bits & 0x00001000u) { |
| GOOGLE_DCHECK(ephemeral_users_enabled_ != NULL); |
| ephemeral_users_enabled_->Clear(); |
| } |
| if (cached_has_bits & 0x00002000u) { |
| GOOGLE_DCHECK(app_pack_ != NULL); |
| app_pack_->Clear(); |
| } |
| if (cached_has_bits & 0x00004000u) { |
| GOOGLE_DCHECK(forced_logout_timeouts_ != NULL); |
| forced_logout_timeouts_->Clear(); |
| } |
| if (cached_has_bits & 0x00008000u) { |
| GOOGLE_DCHECK(login_screen_saver_ != NULL); |
| login_screen_saver_->Clear(); |
| } |
| } |
| if (cached_has_bits & 16711680u) { |
| if (cached_has_bits & 0x00010000u) { |
| GOOGLE_DCHECK(auto_update_settings_ != NULL); |
| auto_update_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x00020000u) { |
| GOOGLE_DCHECK(start_up_urls_ != NULL); |
| start_up_urls_->Clear(); |
| } |
| if (cached_has_bits & 0x00040000u) { |
| GOOGLE_DCHECK(pinned_apps_ != NULL); |
| pinned_apps_->Clear(); |
| } |
| if (cached_has_bits & 0x00080000u) { |
| GOOGLE_DCHECK(system_timezone_ != NULL); |
| system_timezone_->Clear(); |
| } |
| if (cached_has_bits & 0x00100000u) { |
| GOOGLE_DCHECK(device_local_accounts_ != NULL); |
| device_local_accounts_->Clear(); |
| } |
| if (cached_has_bits & 0x00200000u) { |
| GOOGLE_DCHECK(allow_redeem_offers_ != NULL); |
| allow_redeem_offers_->Clear(); |
| } |
| if (cached_has_bits & 0x00400000u) { |
| GOOGLE_DCHECK(start_up_flags_ != NULL); |
| start_up_flags_->Clear(); |
| } |
| if (cached_has_bits & 0x00800000u) { |
| GOOGLE_DCHECK(uptime_limit_ != NULL); |
| uptime_limit_->Clear(); |
| } |
| } |
| if (cached_has_bits & 4278190080u) { |
| if (cached_has_bits & 0x01000000u) { |
| GOOGLE_DCHECK(variations_parameter_ != NULL); |
| variations_parameter_->Clear(); |
| } |
| if (cached_has_bits & 0x02000000u) { |
| GOOGLE_DCHECK(attestation_settings_ != NULL); |
| attestation_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x04000000u) { |
| GOOGLE_DCHECK(accessibility_settings_ != NULL); |
| accessibility_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x08000000u) { |
| GOOGLE_DCHECK(supervised_users_settings_ != NULL); |
| supervised_users_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x10000000u) { |
| GOOGLE_DCHECK(login_screen_power_management_ != NULL); |
| login_screen_power_management_->Clear(); |
| } |
| if (cached_has_bits & 0x20000000u) { |
| GOOGLE_DCHECK(use_24hour_clock_ != NULL); |
| use_24hour_clock_->Clear(); |
| } |
| if (cached_has_bits & 0x40000000u) { |
| GOOGLE_DCHECK(auto_clean_up_settings_ != NULL); |
| auto_clean_up_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x80000000u) { |
| GOOGLE_DCHECK(system_settings_ != NULL); |
| system_settings_->Clear(); |
| } |
| } |
| cached_has_bits = _has_bits_[1]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| GOOGLE_DCHECK(saml_settings_ != NULL); |
| saml_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| GOOGLE_DCHECK(reboot_on_shutdown_ != NULL); |
| reboot_on_shutdown_->Clear(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| GOOGLE_DCHECK(device_heartbeat_settings_ != NULL); |
| device_heartbeat_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| GOOGLE_DCHECK(extension_cache_size_ != NULL); |
| extension_cache_size_->Clear(); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| GOOGLE_DCHECK(login_screen_domain_auto_complete_ != NULL); |
| login_screen_domain_auto_complete_->Clear(); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| GOOGLE_DCHECK(device_log_upload_settings_ != NULL); |
| device_log_upload_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x00000040u) { |
| GOOGLE_DCHECK(display_rotation_default_ != NULL); |
| display_rotation_default_->Clear(); |
| } |
| if (cached_has_bits & 0x00000080u) { |
| GOOGLE_DCHECK(allow_kiosk_app_control_chrome_version_ != NULL); |
| allow_kiosk_app_control_chrome_version_->Clear(); |
| } |
| } |
| if (cached_has_bits & 65280u) { |
| if (cached_has_bits & 0x00000100u) { |
| GOOGLE_DCHECK(login_authentication_behavior_ != NULL); |
| login_authentication_behavior_->Clear(); |
| } |
| if (cached_has_bits & 0x00000200u) { |
| GOOGLE_DCHECK(usb_detachable_whitelist_ != NULL); |
| usb_detachable_whitelist_->Clear(); |
| } |
| if (cached_has_bits & 0x00000400u) { |
| GOOGLE_DCHECK(allow_bluetooth_ != NULL); |
| allow_bluetooth_->Clear(); |
| } |
| if (cached_has_bits & 0x00000800u) { |
| GOOGLE_DCHECK(quirks_download_enabled_ != NULL); |
| quirks_download_enabled_->Clear(); |
| } |
| if (cached_has_bits & 0x00001000u) { |
| GOOGLE_DCHECK(login_video_capture_allowed_urls_ != NULL); |
| login_video_capture_allowed_urls_->Clear(); |
| } |
| if (cached_has_bits & 0x00002000u) { |
| GOOGLE_DCHECK(device_login_screen_extensions_ != NULL); |
| device_login_screen_extensions_->Clear(); |
| } |
| if (cached_has_bits & 0x00004000u) { |
| GOOGLE_DCHECK(network_throttling_ != NULL); |
| network_throttling_->Clear(); |
| } |
| if (cached_has_bits & 0x00008000u) { |
| GOOGLE_DCHECK(device_wallpaper_image_ != NULL); |
| device_wallpaper_image_->Clear(); |
| } |
| } |
| if (cached_has_bits & 16711680u) { |
| if (cached_has_bits & 0x00010000u) { |
| GOOGLE_DCHECK(login_screen_locales_ != NULL); |
| login_screen_locales_->Clear(); |
| } |
| if (cached_has_bits & 0x00020000u) { |
| GOOGLE_DCHECK(login_screen_input_methods_ != NULL); |
| login_screen_input_methods_->Clear(); |
| } |
| if (cached_has_bits & 0x00040000u) { |
| GOOGLE_DCHECK(device_ecryptfs_migration_strategy_ != NULL); |
| device_ecryptfs_migration_strategy_->Clear(); |
| } |
| if (cached_has_bits & 0x00080000u) { |
| GOOGLE_DCHECK(device_second_factor_authentication_ != NULL); |
| device_second_factor_authentication_->Clear(); |
| } |
| if (cached_has_bits & 0x00100000u) { |
| GOOGLE_DCHECK(cast_receiver_name_ != NULL); |
| cast_receiver_name_->Clear(); |
| } |
| if (cached_has_bits & 0x00200000u) { |
| GOOGLE_DCHECK(device_off_hours_ != NULL); |
| device_off_hours_->Clear(); |
| } |
| if (cached_has_bits & 0x00400000u) { |
| GOOGLE_DCHECK(native_device_printers_ != NULL); |
| native_device_printers_->Clear(); |
| } |
| if (cached_has_bits & 0x00800000u) { |
| GOOGLE_DCHECK(native_device_printers_access_mode_ != NULL); |
| native_device_printers_access_mode_->Clear(); |
| } |
| } |
| if (cached_has_bits & 4278190080u) { |
| if (cached_has_bits & 0x01000000u) { |
| GOOGLE_DCHECK(native_device_printers_blacklist_ != NULL); |
| native_device_printers_blacklist_->Clear(); |
| } |
| if (cached_has_bits & 0x02000000u) { |
| GOOGLE_DCHECK(native_device_printers_whitelist_ != NULL); |
| native_device_printers_whitelist_->Clear(); |
| } |
| if (cached_has_bits & 0x04000000u) { |
| GOOGLE_DCHECK(tpm_firmware_update_settings_ != NULL); |
| tpm_firmware_update_settings_->Clear(); |
| } |
| if (cached_has_bits & 0x08000000u) { |
| GOOGLE_DCHECK(minimum_required_version_ != NULL); |
| minimum_required_version_->Clear(); |
| } |
| if (cached_has_bits & 0x10000000u) { |
| GOOGLE_DCHECK(device_login_screen_auto_select_certificate_for_urls_ != NULL); |
| device_login_screen_auto_select_certificate_for_urls_->Clear(); |
| } |
| if (cached_has_bits & 0x20000000u) { |
| GOOGLE_DCHECK(unaffiliated_arc_allowed_ != NULL); |
| unaffiliated_arc_allowed_->Clear(); |
| } |
| if (cached_has_bits & 0x40000000u) { |
| GOOGLE_DCHECK(network_hostname_ != NULL); |
| network_hostname_->Clear(); |
| } |
| if (cached_has_bits & 0x80000000u) { |
| GOOGLE_DCHECK(device_kerberos_encryption_types_ != NULL); |
| device_kerberos_encryption_types_->Clear(); |
| } |
| } |
| cached_has_bits = _has_bits_[2]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| GOOGLE_DCHECK(device_user_policy_loopback_processing_mode_ != NULL); |
| device_user_policy_loopback_processing_mode_->Clear(); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| GOOGLE_DCHECK(device_login_screen_isolate_origins_ != NULL); |
| device_login_screen_isolate_origins_->Clear(); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| GOOGLE_DCHECK(device_login_screen_site_per_process_ != NULL); |
| device_login_screen_site_per_process_->Clear(); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| GOOGLE_DCHECK(virtual_machines_allowed_ != NULL); |
| virtual_machines_allowed_->Clear(); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| GOOGLE_DCHECK(device_machine_password_change_rate_ != NULL); |
| device_machine_password_change_rate_->Clear(); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| GOOGLE_DCHECK(saml_login_authentication_type_ != NULL); |
| saml_login_authentication_type_->Clear(); |
| } |
| if (cached_has_bits & 0x00000040u) { |
| GOOGLE_DCHECK(device_unaffiliated_crostini_allowed_ != NULL); |
| device_unaffiliated_crostini_allowed_->Clear(); |
| } |
| if (cached_has_bits & 0x00000080u) { |
| GOOGLE_DCHECK(device_wifi_fast_transition_enabled_ != NULL); |
| device_wifi_fast_transition_enabled_->Clear(); |
| } |
| } |
| if (cached_has_bits & 65280u) { |
| if (cached_has_bits & 0x00000100u) { |
| GOOGLE_DCHECK(device_display_resolution_ != NULL); |
| device_display_resolution_->Clear(); |
| } |
| if (cached_has_bits & 0x00000200u) { |
| GOOGLE_DCHECK(plugin_vm_allowed_ != NULL); |
| plugin_vm_allowed_->Clear(); |
| } |
| if (cached_has_bits & 0x00000400u) { |
| GOOGLE_DCHECK(device_gpo_cache_lifetime_ != NULL); |
| device_gpo_cache_lifetime_->Clear(); |
| } |
| if (cached_has_bits & 0x00000800u) { |
| GOOGLE_DCHECK(device_auth_data_cache_lifetime_ != NULL); |
| device_auth_data_cache_lifetime_->Clear(); |
| } |
| if (cached_has_bits & 0x00001000u) { |
| GOOGLE_DCHECK(plugin_vm_license_key_ != NULL); |
| plugin_vm_license_key_->Clear(); |
| } |
| if (cached_has_bits & 0x00002000u) { |
| GOOGLE_DCHECK(device_reboot_on_user_signout_ != NULL); |
| device_reboot_on_user_signout_->Clear(); |
| } |
| if (cached_has_bits & 0x00004000u) { |
| GOOGLE_DCHECK(device_wilco_dtc_allowed_ != NULL); |
| device_wilco_dtc_allowed_->Clear(); |
| } |
| if (cached_has_bits & 0x00008000u) { |
| GOOGLE_DCHECK(device_wilco_dtc_configuration_ != NULL); |
| device_wilco_dtc_configuration_->Clear(); |
| } |
| } |
| if (cached_has_bits & 16711680u) { |
| if (cached_has_bits & 0x00010000u) { |
| GOOGLE_DCHECK(device_wifi_allowed_ != NULL); |
| device_wifi_allowed_->Clear(); |
| } |
| if (cached_has_bits & 0x00020000u) { |
| GOOGLE_DCHECK(device_power_peak_shift_ != NULL); |
| device_power_peak_shift_->Clear(); |
| } |
| if (cached_has_bits & 0x00040000u) { |
| GOOGLE_DCHECK(device_boot_on_ac_ != NULL); |
| device_boot_on_ac_->Clear(); |
| } |
| if (cached_has_bits & 0x00080000u) { |
| GOOGLE_DCHECK(device_dock_mac_address_source_ != NULL); |
| device_dock_mac_address_source_->Clear(); |
| } |
| if (cached_has_bits & 0x00100000u) { |
| GOOGLE_DCHECK(device_advanced_battery_charge_mode_ != NULL); |
| device_advanced_battery_charge_mode_->Clear(); |
| } |
| if (cached_has_bits & 0x00200000u) { |
| GOOGLE_DCHECK(device_battery_charge_mode_ != NULL); |
| device_battery_charge_mode_->Clear(); |
| } |
| if (cached_has_bits & 0x00400000u) { |
| GOOGLE_DCHECK(device_usb_power_share_ != NULL); |
| device_usb_power_share_->Clear(); |
| } |
| if (cached_has_bits & 0x00800000u) { |
| GOOGLE_DCHECK(device_scheduled_update_check_ != NULL); |
| device_scheduled_update_check_->Clear(); |
| } |
| } |
| if (cached_has_bits & 50331648u) { |
| if (cached_has_bits & 0x01000000u) { |
| GOOGLE_DCHECK(device_webusb_allow_devices_for_urls_ != NULL); |
| device_webusb_allow_devices_for_urls_->Clear(); |
| } |
| if (cached_has_bits & 0x02000000u) { |
| GOOGLE_DCHECK(device_powerwash_allowed_ != NULL); |
| device_powerwash_allowed_->Clear(); |
| } |
| } |
| _has_bits_.Clear(); |
| _internal_metadata_.Clear(); |
| } |
| |
| bool ChromeDeviceSettingsProto::MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input) { |
| #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
| ::google::protobuf::uint32 tag; |
| ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter( |
| &_internal_metadata_); |
| ::google::protobuf::io::StringOutputStream unknown_fields_output( |
| unknown_fields_setter.buffer()); |
| ::google::protobuf::io::CodedOutputStream unknown_fields_stream( |
| &unknown_fields_output, false); |
| // @@protoc_insertion_point(parse_start:enterprise_management.ChromeDeviceSettingsProto) |
| for (;;) { |
| ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
| tag = p.first; |
| if (!p.second) goto handle_unusual; |
| switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
| // optional .enterprise_management.DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; |
| case 1: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_policy_refresh_rate())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.UserWhitelistProto user_whitelist = 2; |
| case 2: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_user_whitelist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.GuestModeEnabledProto guest_mode_enabled = 3; |
| case 3: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_guest_mode_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.OBSOLETE_DeviceProxySettingsProto device_proxy_settings = 4 [deprecated = true]; |
| case 4: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_proxy_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.CameraEnabledProto camera_enabled = 5; |
| case 5: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_camera_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.ShowUserNamesOnSigninProto show_user_names = 6; |
| case 6: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_show_user_names())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DataRoamingEnabledProto data_roaming_enabled = 7; |
| case 7: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_data_roaming_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AllowNewUsersProto allow_new_users = 8; |
| case 8: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_allow_new_users())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.MetricsEnabledProto metrics_enabled = 9; |
| case 9: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_metrics_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.ReleaseChannelProto release_channel = 10; |
| case 10: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_release_channel())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceOpenNetworkConfigurationProto open_network_configuration = 11; |
| case 11: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_open_network_configuration())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceReportingProto device_reporting = 12; |
| case 12: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_reporting())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.EphemeralUsersEnabledProto ephemeral_users_enabled = 13; |
| case 13: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_ephemeral_users_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.OBSOLETE_AppPackProto app_pack = 14 [deprecated = true]; |
| case 14: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_app_pack())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto forced_logout_timeouts = 15 [deprecated = true]; |
| case 15: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_forced_logout_timeouts())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.OBSOLETE_ScreenSaverProto login_screen_saver = 16 [deprecated = true]; |
| case 16: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_screen_saver())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AutoUpdateSettingsProto auto_update_settings = 17; |
| case 17: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_auto_update_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.OBSOLETE_StartUpUrlsProto start_up_urls = 18 [deprecated = true]; |
| case 18: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_start_up_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.OBSOLETE_PinnedAppsProto pinned_apps = 19 [deprecated = true]; |
| case 19: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_pinned_apps())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SystemTimezoneProto system_timezone = 20; |
| case 20: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_system_timezone())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLocalAccountsProto device_local_accounts = 21; |
| case 21: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(170u /* 170 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_local_accounts())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; |
| case 22: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(178u /* 178 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_allow_redeem_offers())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.StartUpFlagsProto start_up_flags = 23; |
| case 23: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(186u /* 186 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_start_up_flags())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.UptimeLimitProto uptime_limit = 24; |
| case 24: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(194u /* 194 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_uptime_limit())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.VariationsParameterProto variations_parameter = 25; |
| case 25: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(202u /* 202 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_variations_parameter())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AttestationSettingsProto attestation_settings = 26; |
| case 26: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(210u /* 210 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_attestation_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AccessibilitySettingsProto accessibility_settings = 27; |
| case 27: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(218u /* 218 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_accessibility_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SupervisedUsersSettingsProto supervised_users_settings = 28; |
| case 28: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(226u /* 226 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_supervised_users_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.LoginScreenPowerManagementProto login_screen_power_management = 29; |
| case 29: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(234u /* 234 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_screen_power_management())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SystemUse24HourClockProto use_24hour_clock = 30; |
| case 30: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(242u /* 242 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_use_24hour_clock())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AutoCleanupSettigsProto auto_clean_up_settings = 31; |
| case 31: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(250u /* 250 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_auto_clean_up_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SystemSettingsProto system_settings = 32; |
| case 32: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(2u /* 258 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_system_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SAMLSettingsProto saml_settings = 33; |
| case 33: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 266 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_saml_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.RebootOnShutdownProto reboot_on_shutdown = 34; |
| case 34: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 274 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_reboot_on_shutdown())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceHeartbeatSettingsProto device_heartbeat_settings = 35; |
| case 35: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 282 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_heartbeat_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.ExtensionCacheSizeProto extension_cache_size = 36; |
| case 36: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(34u /* 290 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_extension_cache_size())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.LoginScreenDomainAutoCompleteProto login_screen_domain_auto_complete = 37; |
| case 37: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(42u /* 298 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_screen_domain_auto_complete())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLogUploadSettingsProto device_log_upload_settings = 38; |
| case 38: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(50u /* 306 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_log_upload_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DisplayRotationDefaultProto display_rotation_default = 39; |
| case 39: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(58u /* 314 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_display_rotation_default())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AllowKioskAppControlChromeVersionProto allow_kiosk_app_control_chrome_version = 40; |
| case 40: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(66u /* 322 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_allow_kiosk_app_control_chrome_version())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.LoginAuthenticationBehaviorProto login_authentication_behavior = 41; |
| case 41: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(74u /* 330 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_authentication_behavior())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.UsbDetachableWhitelistProto usb_detachable_whitelist = 42; |
| case 42: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(82u /* 338 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_usb_detachable_whitelist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.AllowBluetoothProto allow_bluetooth = 43; |
| case 43: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(90u /* 346 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_allow_bluetooth())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceQuirksDownloadEnabledProto quirks_download_enabled = 44; |
| case 44: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(98u /* 354 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_quirks_download_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.LoginVideoCaptureAllowedUrlsProto login_video_capture_allowed_urls = 45; |
| case 45: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(106u /* 362 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_video_capture_allowed_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenExtensionsProto device_login_screen_extensions = 46; |
| case 46: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(114u /* 370 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_login_screen_extensions())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.NetworkThrottlingEnabledProto network_throttling = 47; |
| case 47: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(122u /* 378 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_network_throttling())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceWallpaperImageProto device_wallpaper_image = 48; |
| case 48: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(130u /* 386 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_wallpaper_image())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.LoginScreenLocalesProto login_screen_locales = 49; |
| case 49: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(138u /* 394 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_screen_locales())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.LoginScreenInputMethodsProto login_screen_input_methods = 50; |
| case 50: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(146u /* 402 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_login_screen_input_methods())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceEcryptfsMigrationStrategyProto device_ecryptfs_migration_strategy = 51; |
| case 51: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(154u /* 410 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_ecryptfs_migration_strategy())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceSecondFactorAuthenticationProto device_second_factor_authentication = 52; |
| case 52: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(162u /* 418 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_second_factor_authentication())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.CastReceiverNameProto cast_receiver_name = 53; |
| case 53: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(170u /* 426 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_cast_receiver_name())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceOffHoursProto device_off_hours = 54; |
| case 54: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(178u /* 434 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_off_hours())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersProto native_device_printers = 55; |
| case 55: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(186u /* 442 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_native_device_printers())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersAccessModeProto native_device_printers_access_mode = 56; |
| case 56: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(194u /* 450 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_native_device_printers_access_mode())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersBlacklistProto native_device_printers_blacklist = 57; |
| case 57: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(202u /* 458 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_native_device_printers_blacklist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersWhitelistProto native_device_printers_whitelist = 58; |
| case 58: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(210u /* 466 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_native_device_printers_whitelist())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.TPMFirmwareUpdateSettingsProto tpm_firmware_update_settings = 59; |
| case 59: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(218u /* 474 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_tpm_firmware_update_settings())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.MinimumRequiredVersionProto minimum_required_version = 60; |
| case 60: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(226u /* 482 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_minimum_required_version())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls device_login_screen_auto_select_certificate_for_urls = 62; |
| case 62: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(242u /* 498 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_login_screen_auto_select_certificate_for_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.UnaffiliatedArcAllowedProto unaffiliated_arc_allowed = 63; |
| case 63: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(250u /* 506 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_unaffiliated_arc_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.NetworkHostnameProto network_hostname = 64; |
| case 64: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(2u /* 514 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_network_hostname())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceKerberosEncryptionTypesProto device_kerberos_encryption_types = 65; |
| case 65: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(10u /* 522 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_kerberos_encryption_types())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto device_user_policy_loopback_processing_mode = 66; |
| case 66: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(18u /* 530 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_user_policy_loopback_processing_mode())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenIsolateOriginsProto device_login_screen_isolate_origins = 67; |
| case 67: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(26u /* 538 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_login_screen_isolate_origins())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenSitePerProcessProto device_login_screen_site_per_process = 68; |
| case 68: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(34u /* 546 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_login_screen_site_per_process())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.VirtualMachinesAllowedProto virtual_machines_allowed = 69; |
| case 69: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(42u /* 554 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_virtual_machines_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceMachinePasswordChangeRateProto device_machine_password_change_rate = 70; |
| case 70: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(50u /* 562 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_machine_password_change_rate())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.SamlLoginAuthenticationTypeProto saml_login_authentication_type = 71; |
| case 71: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(58u /* 570 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_saml_login_authentication_type())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto device_unaffiliated_crostini_allowed = 72; |
| case 72: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(66u /* 578 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_unaffiliated_crostini_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceWiFiFastTransitionEnabledProto device_wifi_fast_transition_enabled = 73; |
| case 73: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(74u /* 586 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_wifi_fast_transition_enabled())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceDisplayResolutionProto device_display_resolution = 74; |
| case 74: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(82u /* 594 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_display_resolution())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.PluginVmAllowedProto plugin_vm_allowed = 75; |
| case 75: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(90u /* 602 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_plugin_vm_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceGpoCacheLifetimeProto device_gpo_cache_lifetime = 76; |
| case 76: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(98u /* 610 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_gpo_cache_lifetime())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceAuthDataCacheLifetimeProto device_auth_data_cache_lifetime = 77; |
| case 77: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(106u /* 618 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_auth_data_cache_lifetime())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.PluginVmLicenseKeyProto plugin_vm_license_key = 78; |
| case 78: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(114u /* 626 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_plugin_vm_license_key())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceRebootOnUserSignoutProto device_reboot_on_user_signout = 79; |
| case 79: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(122u /* 634 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_reboot_on_user_signout())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceWilcoDtcAllowedProto device_wilco_dtc_allowed = 80; |
| case 80: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(130u /* 642 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_wilco_dtc_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceWilcoDtcConfigurationProto device_wilco_dtc_configuration = 81; |
| case 81: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(138u /* 650 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_wilco_dtc_configuration())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceWiFiAllowedProto device_wifi_allowed = 82; |
| case 82: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(146u /* 658 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_wifi_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DevicePowerPeakShiftProto device_power_peak_shift = 83; |
| case 83: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(154u /* 666 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_power_peak_shift())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceBootOnAcProto device_boot_on_ac = 84; |
| case 84: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(162u /* 674 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_boot_on_ac())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceDockMacAddressSourceProto device_dock_mac_address_source = 85; |
| case 85: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(170u /* 682 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_dock_mac_address_source())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceAdvancedBatteryChargeModeProto device_advanced_battery_charge_mode = 86; |
| case 86: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(178u /* 690 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_advanced_battery_charge_mode())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceBatteryChargeModeProto device_battery_charge_mode = 87; |
| case 87: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(186u /* 698 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_battery_charge_mode())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceUsbPowerShareProto device_usb_power_share = 88; |
| case 88: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(194u /* 706 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_usb_power_share())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceScheduledUpdateCheckProto device_scheduled_update_check = 89; |
| case 89: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(202u /* 714 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_scheduled_update_check())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto device_webusb_allow_devices_for_urls = 90; |
| case 90: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(210u /* 722 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_webusb_allow_devices_for_urls())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| // optional .enterprise_management.DevicePowerwashAllowedProto device_powerwash_allowed = 91; |
| case 91: { |
| if (static_cast< ::google::protobuf::uint8>(tag) == |
| static_cast< ::google::protobuf::uint8>(218u /* 730 & 0xFF */)) { |
| DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
| input, mutable_device_powerwash_allowed())); |
| } else { |
| goto handle_unusual; |
| } |
| break; |
| } |
| |
| default: { |
| handle_unusual: |
| if (tag == 0) { |
| goto success; |
| } |
| DO_(::google::protobuf::internal::WireFormatLite::SkipField( |
| input, tag, &unknown_fields_stream)); |
| break; |
| } |
| } |
| } |
| success: |
| // @@protoc_insertion_point(parse_success:enterprise_management.ChromeDeviceSettingsProto) |
| return true; |
| failure: |
| // @@protoc_insertion_point(parse_failure:enterprise_management.ChromeDeviceSettingsProto) |
| return false; |
| #undef DO_ |
| } |
| |
| void ChromeDeviceSettingsProto::SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const { |
| // @@protoc_insertion_point(serialize_start:enterprise_management.ChromeDeviceSettingsProto) |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = _has_bits_[0]; |
| // optional .enterprise_management.DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 1, this->_internal_device_policy_refresh_rate(), output); |
| } |
| |
| // optional .enterprise_management.UserWhitelistProto user_whitelist = 2; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 2, this->_internal_user_whitelist(), output); |
| } |
| |
| // optional .enterprise_management.GuestModeEnabledProto guest_mode_enabled = 3; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 3, this->_internal_guest_mode_enabled(), output); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_DeviceProxySettingsProto device_proxy_settings = 4 [deprecated = true]; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 4, this->_internal_device_proxy_settings(), output); |
| } |
| |
| // optional .enterprise_management.CameraEnabledProto camera_enabled = 5; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 5, this->_internal_camera_enabled(), output); |
| } |
| |
| // optional .enterprise_management.ShowUserNamesOnSigninProto show_user_names = 6; |
| if (cached_has_bits & 0x00000020u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 6, this->_internal_show_user_names(), output); |
| } |
| |
| // optional .enterprise_management.DataRoamingEnabledProto data_roaming_enabled = 7; |
| if (cached_has_bits & 0x00000040u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 7, this->_internal_data_roaming_enabled(), output); |
| } |
| |
| // optional .enterprise_management.AllowNewUsersProto allow_new_users = 8; |
| if (cached_has_bits & 0x00000080u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 8, this->_internal_allow_new_users(), output); |
| } |
| |
| // optional .enterprise_management.MetricsEnabledProto metrics_enabled = 9; |
| if (cached_has_bits & 0x00000100u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 9, this->_internal_metrics_enabled(), output); |
| } |
| |
| // optional .enterprise_management.ReleaseChannelProto release_channel = 10; |
| if (cached_has_bits & 0x00000200u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 10, this->_internal_release_channel(), output); |
| } |
| |
| // optional .enterprise_management.DeviceOpenNetworkConfigurationProto open_network_configuration = 11; |
| if (cached_has_bits & 0x00000400u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 11, this->_internal_open_network_configuration(), output); |
| } |
| |
| // optional .enterprise_management.DeviceReportingProto device_reporting = 12; |
| if (cached_has_bits & 0x00000800u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 12, this->_internal_device_reporting(), output); |
| } |
| |
| // optional .enterprise_management.EphemeralUsersEnabledProto ephemeral_users_enabled = 13; |
| if (cached_has_bits & 0x00001000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 13, this->_internal_ephemeral_users_enabled(), output); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_AppPackProto app_pack = 14 [deprecated = true]; |
| if (cached_has_bits & 0x00002000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 14, this->_internal_app_pack(), output); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto forced_logout_timeouts = 15 [deprecated = true]; |
| if (cached_has_bits & 0x00004000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 15, this->_internal_forced_logout_timeouts(), output); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_ScreenSaverProto login_screen_saver = 16 [deprecated = true]; |
| if (cached_has_bits & 0x00008000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 16, this->_internal_login_screen_saver(), output); |
| } |
| |
| // optional .enterprise_management.AutoUpdateSettingsProto auto_update_settings = 17; |
| if (cached_has_bits & 0x00010000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 17, this->_internal_auto_update_settings(), output); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_StartUpUrlsProto start_up_urls = 18 [deprecated = true]; |
| if (cached_has_bits & 0x00020000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 18, this->_internal_start_up_urls(), output); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_PinnedAppsProto pinned_apps = 19 [deprecated = true]; |
| if (cached_has_bits & 0x00040000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 19, this->_internal_pinned_apps(), output); |
| } |
| |
| // optional .enterprise_management.SystemTimezoneProto system_timezone = 20; |
| if (cached_has_bits & 0x00080000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 20, this->_internal_system_timezone(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLocalAccountsProto device_local_accounts = 21; |
| if (cached_has_bits & 0x00100000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 21, this->_internal_device_local_accounts(), output); |
| } |
| |
| // optional .enterprise_management.AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; |
| if (cached_has_bits & 0x00200000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 22, this->_internal_allow_redeem_offers(), output); |
| } |
| |
| // optional .enterprise_management.StartUpFlagsProto start_up_flags = 23; |
| if (cached_has_bits & 0x00400000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 23, this->_internal_start_up_flags(), output); |
| } |
| |
| // optional .enterprise_management.UptimeLimitProto uptime_limit = 24; |
| if (cached_has_bits & 0x00800000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 24, this->_internal_uptime_limit(), output); |
| } |
| |
| // optional .enterprise_management.VariationsParameterProto variations_parameter = 25; |
| if (cached_has_bits & 0x01000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 25, this->_internal_variations_parameter(), output); |
| } |
| |
| // optional .enterprise_management.AttestationSettingsProto attestation_settings = 26; |
| if (cached_has_bits & 0x02000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 26, this->_internal_attestation_settings(), output); |
| } |
| |
| // optional .enterprise_management.AccessibilitySettingsProto accessibility_settings = 27; |
| if (cached_has_bits & 0x04000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 27, this->_internal_accessibility_settings(), output); |
| } |
| |
| // optional .enterprise_management.SupervisedUsersSettingsProto supervised_users_settings = 28; |
| if (cached_has_bits & 0x08000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 28, this->_internal_supervised_users_settings(), output); |
| } |
| |
| // optional .enterprise_management.LoginScreenPowerManagementProto login_screen_power_management = 29; |
| if (cached_has_bits & 0x10000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 29, this->_internal_login_screen_power_management(), output); |
| } |
| |
| // optional .enterprise_management.SystemUse24HourClockProto use_24hour_clock = 30; |
| if (cached_has_bits & 0x20000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 30, this->_internal_use_24hour_clock(), output); |
| } |
| |
| // optional .enterprise_management.AutoCleanupSettigsProto auto_clean_up_settings = 31; |
| if (cached_has_bits & 0x40000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 31, this->_internal_auto_clean_up_settings(), output); |
| } |
| |
| // optional .enterprise_management.SystemSettingsProto system_settings = 32; |
| if (cached_has_bits & 0x80000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 32, this->_internal_system_settings(), output); |
| } |
| |
| cached_has_bits = _has_bits_[1]; |
| // optional .enterprise_management.SAMLSettingsProto saml_settings = 33; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 33, this->_internal_saml_settings(), output); |
| } |
| |
| // optional .enterprise_management.RebootOnShutdownProto reboot_on_shutdown = 34; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 34, this->_internal_reboot_on_shutdown(), output); |
| } |
| |
| // optional .enterprise_management.DeviceHeartbeatSettingsProto device_heartbeat_settings = 35; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 35, this->_internal_device_heartbeat_settings(), output); |
| } |
| |
| // optional .enterprise_management.ExtensionCacheSizeProto extension_cache_size = 36; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 36, this->_internal_extension_cache_size(), output); |
| } |
| |
| // optional .enterprise_management.LoginScreenDomainAutoCompleteProto login_screen_domain_auto_complete = 37; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 37, this->_internal_login_screen_domain_auto_complete(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLogUploadSettingsProto device_log_upload_settings = 38; |
| if (cached_has_bits & 0x00000020u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 38, this->_internal_device_log_upload_settings(), output); |
| } |
| |
| // optional .enterprise_management.DisplayRotationDefaultProto display_rotation_default = 39; |
| if (cached_has_bits & 0x00000040u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 39, this->_internal_display_rotation_default(), output); |
| } |
| |
| // optional .enterprise_management.AllowKioskAppControlChromeVersionProto allow_kiosk_app_control_chrome_version = 40; |
| if (cached_has_bits & 0x00000080u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 40, this->_internal_allow_kiosk_app_control_chrome_version(), output); |
| } |
| |
| // optional .enterprise_management.LoginAuthenticationBehaviorProto login_authentication_behavior = 41; |
| if (cached_has_bits & 0x00000100u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 41, this->_internal_login_authentication_behavior(), output); |
| } |
| |
| // optional .enterprise_management.UsbDetachableWhitelistProto usb_detachable_whitelist = 42; |
| if (cached_has_bits & 0x00000200u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 42, this->_internal_usb_detachable_whitelist(), output); |
| } |
| |
| // optional .enterprise_management.AllowBluetoothProto allow_bluetooth = 43; |
| if (cached_has_bits & 0x00000400u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 43, this->_internal_allow_bluetooth(), output); |
| } |
| |
| // optional .enterprise_management.DeviceQuirksDownloadEnabledProto quirks_download_enabled = 44; |
| if (cached_has_bits & 0x00000800u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 44, this->_internal_quirks_download_enabled(), output); |
| } |
| |
| // optional .enterprise_management.LoginVideoCaptureAllowedUrlsProto login_video_capture_allowed_urls = 45; |
| if (cached_has_bits & 0x00001000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 45, this->_internal_login_video_capture_allowed_urls(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenExtensionsProto device_login_screen_extensions = 46; |
| if (cached_has_bits & 0x00002000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 46, this->_internal_device_login_screen_extensions(), output); |
| } |
| |
| // optional .enterprise_management.NetworkThrottlingEnabledProto network_throttling = 47; |
| if (cached_has_bits & 0x00004000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 47, this->_internal_network_throttling(), output); |
| } |
| |
| // optional .enterprise_management.DeviceWallpaperImageProto device_wallpaper_image = 48; |
| if (cached_has_bits & 0x00008000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 48, this->_internal_device_wallpaper_image(), output); |
| } |
| |
| // optional .enterprise_management.LoginScreenLocalesProto login_screen_locales = 49; |
| if (cached_has_bits & 0x00010000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 49, this->_internal_login_screen_locales(), output); |
| } |
| |
| // optional .enterprise_management.LoginScreenInputMethodsProto login_screen_input_methods = 50; |
| if (cached_has_bits & 0x00020000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 50, this->_internal_login_screen_input_methods(), output); |
| } |
| |
| // optional .enterprise_management.DeviceEcryptfsMigrationStrategyProto device_ecryptfs_migration_strategy = 51; |
| if (cached_has_bits & 0x00040000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 51, this->_internal_device_ecryptfs_migration_strategy(), output); |
| } |
| |
| // optional .enterprise_management.DeviceSecondFactorAuthenticationProto device_second_factor_authentication = 52; |
| if (cached_has_bits & 0x00080000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 52, this->_internal_device_second_factor_authentication(), output); |
| } |
| |
| // optional .enterprise_management.CastReceiverNameProto cast_receiver_name = 53; |
| if (cached_has_bits & 0x00100000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 53, this->_internal_cast_receiver_name(), output); |
| } |
| |
| // optional .enterprise_management.DeviceOffHoursProto device_off_hours = 54; |
| if (cached_has_bits & 0x00200000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 54, this->_internal_device_off_hours(), output); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersProto native_device_printers = 55; |
| if (cached_has_bits & 0x00400000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 55, this->_internal_native_device_printers(), output); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersAccessModeProto native_device_printers_access_mode = 56; |
| if (cached_has_bits & 0x00800000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 56, this->_internal_native_device_printers_access_mode(), output); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersBlacklistProto native_device_printers_blacklist = 57; |
| if (cached_has_bits & 0x01000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 57, this->_internal_native_device_printers_blacklist(), output); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersWhitelistProto native_device_printers_whitelist = 58; |
| if (cached_has_bits & 0x02000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 58, this->_internal_native_device_printers_whitelist(), output); |
| } |
| |
| // optional .enterprise_management.TPMFirmwareUpdateSettingsProto tpm_firmware_update_settings = 59; |
| if (cached_has_bits & 0x04000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 59, this->_internal_tpm_firmware_update_settings(), output); |
| } |
| |
| // optional .enterprise_management.MinimumRequiredVersionProto minimum_required_version = 60; |
| if (cached_has_bits & 0x08000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 60, this->_internal_minimum_required_version(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls device_login_screen_auto_select_certificate_for_urls = 62; |
| if (cached_has_bits & 0x10000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 62, this->_internal_device_login_screen_auto_select_certificate_for_urls(), output); |
| } |
| |
| // optional .enterprise_management.UnaffiliatedArcAllowedProto unaffiliated_arc_allowed = 63; |
| if (cached_has_bits & 0x20000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 63, this->_internal_unaffiliated_arc_allowed(), output); |
| } |
| |
| // optional .enterprise_management.NetworkHostnameProto network_hostname = 64; |
| if (cached_has_bits & 0x40000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 64, this->_internal_network_hostname(), output); |
| } |
| |
| // optional .enterprise_management.DeviceKerberosEncryptionTypesProto device_kerberos_encryption_types = 65; |
| if (cached_has_bits & 0x80000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 65, this->_internal_device_kerberos_encryption_types(), output); |
| } |
| |
| cached_has_bits = _has_bits_[2]; |
| // optional .enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto device_user_policy_loopback_processing_mode = 66; |
| if (cached_has_bits & 0x00000001u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 66, this->_internal_device_user_policy_loopback_processing_mode(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenIsolateOriginsProto device_login_screen_isolate_origins = 67; |
| if (cached_has_bits & 0x00000002u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 67, this->_internal_device_login_screen_isolate_origins(), output); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenSitePerProcessProto device_login_screen_site_per_process = 68; |
| if (cached_has_bits & 0x00000004u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 68, this->_internal_device_login_screen_site_per_process(), output); |
| } |
| |
| // optional .enterprise_management.VirtualMachinesAllowedProto virtual_machines_allowed = 69; |
| if (cached_has_bits & 0x00000008u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 69, this->_internal_virtual_machines_allowed(), output); |
| } |
| |
| // optional .enterprise_management.DeviceMachinePasswordChangeRateProto device_machine_password_change_rate = 70; |
| if (cached_has_bits & 0x00000010u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 70, this->_internal_device_machine_password_change_rate(), output); |
| } |
| |
| // optional .enterprise_management.SamlLoginAuthenticationTypeProto saml_login_authentication_type = 71; |
| if (cached_has_bits & 0x00000020u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 71, this->_internal_saml_login_authentication_type(), output); |
| } |
| |
| // optional .enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto device_unaffiliated_crostini_allowed = 72; |
| if (cached_has_bits & 0x00000040u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 72, this->_internal_device_unaffiliated_crostini_allowed(), output); |
| } |
| |
| // optional .enterprise_management.DeviceWiFiFastTransitionEnabledProto device_wifi_fast_transition_enabled = 73; |
| if (cached_has_bits & 0x00000080u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 73, this->_internal_device_wifi_fast_transition_enabled(), output); |
| } |
| |
| // optional .enterprise_management.DeviceDisplayResolutionProto device_display_resolution = 74; |
| if (cached_has_bits & 0x00000100u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 74, this->_internal_device_display_resolution(), output); |
| } |
| |
| // optional .enterprise_management.PluginVmAllowedProto plugin_vm_allowed = 75; |
| if (cached_has_bits & 0x00000200u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 75, this->_internal_plugin_vm_allowed(), output); |
| } |
| |
| // optional .enterprise_management.DeviceGpoCacheLifetimeProto device_gpo_cache_lifetime = 76; |
| if (cached_has_bits & 0x00000400u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 76, this->_internal_device_gpo_cache_lifetime(), output); |
| } |
| |
| // optional .enterprise_management.DeviceAuthDataCacheLifetimeProto device_auth_data_cache_lifetime = 77; |
| if (cached_has_bits & 0x00000800u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 77, this->_internal_device_auth_data_cache_lifetime(), output); |
| } |
| |
| // optional .enterprise_management.PluginVmLicenseKeyProto plugin_vm_license_key = 78; |
| if (cached_has_bits & 0x00001000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 78, this->_internal_plugin_vm_license_key(), output); |
| } |
| |
| // optional .enterprise_management.DeviceRebootOnUserSignoutProto device_reboot_on_user_signout = 79; |
| if (cached_has_bits & 0x00002000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 79, this->_internal_device_reboot_on_user_signout(), output); |
| } |
| |
| // optional .enterprise_management.DeviceWilcoDtcAllowedProto device_wilco_dtc_allowed = 80; |
| if (cached_has_bits & 0x00004000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 80, this->_internal_device_wilco_dtc_allowed(), output); |
| } |
| |
| // optional .enterprise_management.DeviceWilcoDtcConfigurationProto device_wilco_dtc_configuration = 81; |
| if (cached_has_bits & 0x00008000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 81, this->_internal_device_wilco_dtc_configuration(), output); |
| } |
| |
| // optional .enterprise_management.DeviceWiFiAllowedProto device_wifi_allowed = 82; |
| if (cached_has_bits & 0x00010000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 82, this->_internal_device_wifi_allowed(), output); |
| } |
| |
| // optional .enterprise_management.DevicePowerPeakShiftProto device_power_peak_shift = 83; |
| if (cached_has_bits & 0x00020000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 83, this->_internal_device_power_peak_shift(), output); |
| } |
| |
| // optional .enterprise_management.DeviceBootOnAcProto device_boot_on_ac = 84; |
| if (cached_has_bits & 0x00040000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 84, this->_internal_device_boot_on_ac(), output); |
| } |
| |
| // optional .enterprise_management.DeviceDockMacAddressSourceProto device_dock_mac_address_source = 85; |
| if (cached_has_bits & 0x00080000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 85, this->_internal_device_dock_mac_address_source(), output); |
| } |
| |
| // optional .enterprise_management.DeviceAdvancedBatteryChargeModeProto device_advanced_battery_charge_mode = 86; |
| if (cached_has_bits & 0x00100000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 86, this->_internal_device_advanced_battery_charge_mode(), output); |
| } |
| |
| // optional .enterprise_management.DeviceBatteryChargeModeProto device_battery_charge_mode = 87; |
| if (cached_has_bits & 0x00200000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 87, this->_internal_device_battery_charge_mode(), output); |
| } |
| |
| // optional .enterprise_management.DeviceUsbPowerShareProto device_usb_power_share = 88; |
| if (cached_has_bits & 0x00400000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 88, this->_internal_device_usb_power_share(), output); |
| } |
| |
| // optional .enterprise_management.DeviceScheduledUpdateCheckProto device_scheduled_update_check = 89; |
| if (cached_has_bits & 0x00800000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 89, this->_internal_device_scheduled_update_check(), output); |
| } |
| |
| // optional .enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto device_webusb_allow_devices_for_urls = 90; |
| if (cached_has_bits & 0x01000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 90, this->_internal_device_webusb_allow_devices_for_urls(), output); |
| } |
| |
| // optional .enterprise_management.DevicePowerwashAllowedProto device_powerwash_allowed = 91; |
| if (cached_has_bits & 0x02000000u) { |
| ::google::protobuf::internal::WireFormatLite::WriteMessage( |
| 91, this->_internal_device_powerwash_allowed(), output); |
| } |
| |
| output->WriteRaw(_internal_metadata_.unknown_fields().data(), |
| static_cast<int>(_internal_metadata_.unknown_fields().size())); |
| // @@protoc_insertion_point(serialize_end:enterprise_management.ChromeDeviceSettingsProto) |
| } |
| |
| size_t ChromeDeviceSettingsProto::ByteSizeLong() const { |
| // @@protoc_insertion_point(message_byte_size_start:enterprise_management.ChromeDeviceSettingsProto) |
| size_t total_size = 0; |
| |
| total_size += _internal_metadata_.unknown_fields().size(); |
| |
| if (_has_bits_[0 / 32] & 255u) { |
| // optional .enterprise_management.DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; |
| if (has_device_policy_refresh_rate()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_policy_refresh_rate_); |
| } |
| |
| // optional .enterprise_management.UserWhitelistProto user_whitelist = 2; |
| if (has_user_whitelist()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *user_whitelist_); |
| } |
| |
| // optional .enterprise_management.GuestModeEnabledProto guest_mode_enabled = 3; |
| if (has_guest_mode_enabled()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *guest_mode_enabled_); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_DeviceProxySettingsProto device_proxy_settings = 4 [deprecated = true]; |
| if (has_device_proxy_settings()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_proxy_settings_); |
| } |
| |
| // optional .enterprise_management.CameraEnabledProto camera_enabled = 5; |
| if (has_camera_enabled()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *camera_enabled_); |
| } |
| |
| // optional .enterprise_management.ShowUserNamesOnSigninProto show_user_names = 6; |
| if (has_show_user_names()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *show_user_names_); |
| } |
| |
| // optional .enterprise_management.DataRoamingEnabledProto data_roaming_enabled = 7; |
| if (has_data_roaming_enabled()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *data_roaming_enabled_); |
| } |
| |
| // optional .enterprise_management.AllowNewUsersProto allow_new_users = 8; |
| if (has_allow_new_users()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *allow_new_users_); |
| } |
| |
| } |
| if (_has_bits_[8 / 32] & 65280u) { |
| // optional .enterprise_management.MetricsEnabledProto metrics_enabled = 9; |
| if (has_metrics_enabled()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *metrics_enabled_); |
| } |
| |
| // optional .enterprise_management.ReleaseChannelProto release_channel = 10; |
| if (has_release_channel()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *release_channel_); |
| } |
| |
| // optional .enterprise_management.DeviceOpenNetworkConfigurationProto open_network_configuration = 11; |
| if (has_open_network_configuration()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *open_network_configuration_); |
| } |
| |
| // optional .enterprise_management.DeviceReportingProto device_reporting = 12; |
| if (has_device_reporting()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_reporting_); |
| } |
| |
| // optional .enterprise_management.EphemeralUsersEnabledProto ephemeral_users_enabled = 13; |
| if (has_ephemeral_users_enabled()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *ephemeral_users_enabled_); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_AppPackProto app_pack = 14 [deprecated = true]; |
| if (has_app_pack()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *app_pack_); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_ForcedLogoutTimeoutsProto forced_logout_timeouts = 15 [deprecated = true]; |
| if (has_forced_logout_timeouts()) { |
| total_size += 1 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *forced_logout_timeouts_); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_ScreenSaverProto login_screen_saver = 16 [deprecated = true]; |
| if (has_login_screen_saver()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_screen_saver_); |
| } |
| |
| } |
| if (_has_bits_[16 / 32] & 16711680u) { |
| // optional .enterprise_management.AutoUpdateSettingsProto auto_update_settings = 17; |
| if (has_auto_update_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *auto_update_settings_); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_StartUpUrlsProto start_up_urls = 18 [deprecated = true]; |
| if (has_start_up_urls()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *start_up_urls_); |
| } |
| |
| // optional .enterprise_management.OBSOLETE_PinnedAppsProto pinned_apps = 19 [deprecated = true]; |
| if (has_pinned_apps()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *pinned_apps_); |
| } |
| |
| // optional .enterprise_management.SystemTimezoneProto system_timezone = 20; |
| if (has_system_timezone()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *system_timezone_); |
| } |
| |
| // optional .enterprise_management.DeviceLocalAccountsProto device_local_accounts = 21; |
| if (has_device_local_accounts()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_local_accounts_); |
| } |
| |
| // optional .enterprise_management.AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; |
| if (has_allow_redeem_offers()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *allow_redeem_offers_); |
| } |
| |
| // optional .enterprise_management.StartUpFlagsProto start_up_flags = 23; |
| if (has_start_up_flags()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *start_up_flags_); |
| } |
| |
| // optional .enterprise_management.UptimeLimitProto uptime_limit = 24; |
| if (has_uptime_limit()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *uptime_limit_); |
| } |
| |
| } |
| if (_has_bits_[24 / 32] & 4278190080u) { |
| // optional .enterprise_management.VariationsParameterProto variations_parameter = 25; |
| if (has_variations_parameter()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *variations_parameter_); |
| } |
| |
| // optional .enterprise_management.AttestationSettingsProto attestation_settings = 26; |
| if (has_attestation_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *attestation_settings_); |
| } |
| |
| // optional .enterprise_management.AccessibilitySettingsProto accessibility_settings = 27; |
| if (has_accessibility_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *accessibility_settings_); |
| } |
| |
| // optional .enterprise_management.SupervisedUsersSettingsProto supervised_users_settings = 28; |
| if (has_supervised_users_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *supervised_users_settings_); |
| } |
| |
| // optional .enterprise_management.LoginScreenPowerManagementProto login_screen_power_management = 29; |
| if (has_login_screen_power_management()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_screen_power_management_); |
| } |
| |
| // optional .enterprise_management.SystemUse24HourClockProto use_24hour_clock = 30; |
| if (has_use_24hour_clock()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *use_24hour_clock_); |
| } |
| |
| // optional .enterprise_management.AutoCleanupSettigsProto auto_clean_up_settings = 31; |
| if (has_auto_clean_up_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *auto_clean_up_settings_); |
| } |
| |
| // optional .enterprise_management.SystemSettingsProto system_settings = 32; |
| if (has_system_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *system_settings_); |
| } |
| |
| } |
| if (_has_bits_[32 / 32] & 255u) { |
| // optional .enterprise_management.SAMLSettingsProto saml_settings = 33; |
| if (has_saml_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *saml_settings_); |
| } |
| |
| // optional .enterprise_management.RebootOnShutdownProto reboot_on_shutdown = 34; |
| if (has_reboot_on_shutdown()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *reboot_on_shutdown_); |
| } |
| |
| // optional .enterprise_management.DeviceHeartbeatSettingsProto device_heartbeat_settings = 35; |
| if (has_device_heartbeat_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_heartbeat_settings_); |
| } |
| |
| // optional .enterprise_management.ExtensionCacheSizeProto extension_cache_size = 36; |
| if (has_extension_cache_size()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *extension_cache_size_); |
| } |
| |
| // optional .enterprise_management.LoginScreenDomainAutoCompleteProto login_screen_domain_auto_complete = 37; |
| if (has_login_screen_domain_auto_complete()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_screen_domain_auto_complete_); |
| } |
| |
| // optional .enterprise_management.DeviceLogUploadSettingsProto device_log_upload_settings = 38; |
| if (has_device_log_upload_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_log_upload_settings_); |
| } |
| |
| // optional .enterprise_management.DisplayRotationDefaultProto display_rotation_default = 39; |
| if (has_display_rotation_default()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *display_rotation_default_); |
| } |
| |
| // optional .enterprise_management.AllowKioskAppControlChromeVersionProto allow_kiosk_app_control_chrome_version = 40; |
| if (has_allow_kiosk_app_control_chrome_version()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *allow_kiosk_app_control_chrome_version_); |
| } |
| |
| } |
| if (_has_bits_[40 / 32] & 65280u) { |
| // optional .enterprise_management.LoginAuthenticationBehaviorProto login_authentication_behavior = 41; |
| if (has_login_authentication_behavior()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_authentication_behavior_); |
| } |
| |
| // optional .enterprise_management.UsbDetachableWhitelistProto usb_detachable_whitelist = 42; |
| if (has_usb_detachable_whitelist()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *usb_detachable_whitelist_); |
| } |
| |
| // optional .enterprise_management.AllowBluetoothProto allow_bluetooth = 43; |
| if (has_allow_bluetooth()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *allow_bluetooth_); |
| } |
| |
| // optional .enterprise_management.DeviceQuirksDownloadEnabledProto quirks_download_enabled = 44; |
| if (has_quirks_download_enabled()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *quirks_download_enabled_); |
| } |
| |
| // optional .enterprise_management.LoginVideoCaptureAllowedUrlsProto login_video_capture_allowed_urls = 45; |
| if (has_login_video_capture_allowed_urls()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_video_capture_allowed_urls_); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenExtensionsProto device_login_screen_extensions = 46; |
| if (has_device_login_screen_extensions()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_login_screen_extensions_); |
| } |
| |
| // optional .enterprise_management.NetworkThrottlingEnabledProto network_throttling = 47; |
| if (has_network_throttling()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *network_throttling_); |
| } |
| |
| // optional .enterprise_management.DeviceWallpaperImageProto device_wallpaper_image = 48; |
| if (has_device_wallpaper_image()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_wallpaper_image_); |
| } |
| |
| } |
| if (_has_bits_[48 / 32] & 16711680u) { |
| // optional .enterprise_management.LoginScreenLocalesProto login_screen_locales = 49; |
| if (has_login_screen_locales()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_screen_locales_); |
| } |
| |
| // optional .enterprise_management.LoginScreenInputMethodsProto login_screen_input_methods = 50; |
| if (has_login_screen_input_methods()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *login_screen_input_methods_); |
| } |
| |
| // optional .enterprise_management.DeviceEcryptfsMigrationStrategyProto device_ecryptfs_migration_strategy = 51; |
| if (has_device_ecryptfs_migration_strategy()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_ecryptfs_migration_strategy_); |
| } |
| |
| // optional .enterprise_management.DeviceSecondFactorAuthenticationProto device_second_factor_authentication = 52; |
| if (has_device_second_factor_authentication()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_second_factor_authentication_); |
| } |
| |
| // optional .enterprise_management.CastReceiverNameProto cast_receiver_name = 53; |
| if (has_cast_receiver_name()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *cast_receiver_name_); |
| } |
| |
| // optional .enterprise_management.DeviceOffHoursProto device_off_hours = 54; |
| if (has_device_off_hours()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_off_hours_); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersProto native_device_printers = 55; |
| if (has_native_device_printers()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *native_device_printers_); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersAccessModeProto native_device_printers_access_mode = 56; |
| if (has_native_device_printers_access_mode()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *native_device_printers_access_mode_); |
| } |
| |
| } |
| if (_has_bits_[56 / 32] & 4278190080u) { |
| // optional .enterprise_management.DeviceNativePrintersBlacklistProto native_device_printers_blacklist = 57; |
| if (has_native_device_printers_blacklist()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *native_device_printers_blacklist_); |
| } |
| |
| // optional .enterprise_management.DeviceNativePrintersWhitelistProto native_device_printers_whitelist = 58; |
| if (has_native_device_printers_whitelist()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *native_device_printers_whitelist_); |
| } |
| |
| // optional .enterprise_management.TPMFirmwareUpdateSettingsProto tpm_firmware_update_settings = 59; |
| if (has_tpm_firmware_update_settings()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *tpm_firmware_update_settings_); |
| } |
| |
| // optional .enterprise_management.MinimumRequiredVersionProto minimum_required_version = 60; |
| if (has_minimum_required_version()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *minimum_required_version_); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenAutoSelectCertificateForUrls device_login_screen_auto_select_certificate_for_urls = 62; |
| if (has_device_login_screen_auto_select_certificate_for_urls()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_login_screen_auto_select_certificate_for_urls_); |
| } |
| |
| // optional .enterprise_management.UnaffiliatedArcAllowedProto unaffiliated_arc_allowed = 63; |
| if (has_unaffiliated_arc_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *unaffiliated_arc_allowed_); |
| } |
| |
| // optional .enterprise_management.NetworkHostnameProto network_hostname = 64; |
| if (has_network_hostname()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *network_hostname_); |
| } |
| |
| // optional .enterprise_management.DeviceKerberosEncryptionTypesProto device_kerberos_encryption_types = 65; |
| if (has_device_kerberos_encryption_types()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_kerberos_encryption_types_); |
| } |
| |
| } |
| if (_has_bits_[64 / 32] & 255u) { |
| // optional .enterprise_management.DeviceUserPolicyLoopbackProcessingModeProto device_user_policy_loopback_processing_mode = 66; |
| if (has_device_user_policy_loopback_processing_mode()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_user_policy_loopback_processing_mode_); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenIsolateOriginsProto device_login_screen_isolate_origins = 67; |
| if (has_device_login_screen_isolate_origins()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_login_screen_isolate_origins_); |
| } |
| |
| // optional .enterprise_management.DeviceLoginScreenSitePerProcessProto device_login_screen_site_per_process = 68; |
| if (has_device_login_screen_site_per_process()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_login_screen_site_per_process_); |
| } |
| |
| // optional .enterprise_management.VirtualMachinesAllowedProto virtual_machines_allowed = 69; |
| if (has_virtual_machines_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *virtual_machines_allowed_); |
| } |
| |
| // optional .enterprise_management.DeviceMachinePasswordChangeRateProto device_machine_password_change_rate = 70; |
| if (has_device_machine_password_change_rate()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_machine_password_change_rate_); |
| } |
| |
| // optional .enterprise_management.SamlLoginAuthenticationTypeProto saml_login_authentication_type = 71; |
| if (has_saml_login_authentication_type()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *saml_login_authentication_type_); |
| } |
| |
| // optional .enterprise_management.DeviceUnaffiliatedCrostiniAllowedProto device_unaffiliated_crostini_allowed = 72; |
| if (has_device_unaffiliated_crostini_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_unaffiliated_crostini_allowed_); |
| } |
| |
| // optional .enterprise_management.DeviceWiFiFastTransitionEnabledProto device_wifi_fast_transition_enabled = 73; |
| if (has_device_wifi_fast_transition_enabled()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_wifi_fast_transition_enabled_); |
| } |
| |
| } |
| if (_has_bits_[72 / 32] & 65280u) { |
| // optional .enterprise_management.DeviceDisplayResolutionProto device_display_resolution = 74; |
| if (has_device_display_resolution()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_display_resolution_); |
| } |
| |
| // optional .enterprise_management.PluginVmAllowedProto plugin_vm_allowed = 75; |
| if (has_plugin_vm_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *plugin_vm_allowed_); |
| } |
| |
| // optional .enterprise_management.DeviceGpoCacheLifetimeProto device_gpo_cache_lifetime = 76; |
| if (has_device_gpo_cache_lifetime()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_gpo_cache_lifetime_); |
| } |
| |
| // optional .enterprise_management.DeviceAuthDataCacheLifetimeProto device_auth_data_cache_lifetime = 77; |
| if (has_device_auth_data_cache_lifetime()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_auth_data_cache_lifetime_); |
| } |
| |
| // optional .enterprise_management.PluginVmLicenseKeyProto plugin_vm_license_key = 78; |
| if (has_plugin_vm_license_key()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *plugin_vm_license_key_); |
| } |
| |
| // optional .enterprise_management.DeviceRebootOnUserSignoutProto device_reboot_on_user_signout = 79; |
| if (has_device_reboot_on_user_signout()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_reboot_on_user_signout_); |
| } |
| |
| // optional .enterprise_management.DeviceWilcoDtcAllowedProto device_wilco_dtc_allowed = 80; |
| if (has_device_wilco_dtc_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_wilco_dtc_allowed_); |
| } |
| |
| // optional .enterprise_management.DeviceWilcoDtcConfigurationProto device_wilco_dtc_configuration = 81; |
| if (has_device_wilco_dtc_configuration()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_wilco_dtc_configuration_); |
| } |
| |
| } |
| if (_has_bits_[80 / 32] & 16711680u) { |
| // optional .enterprise_management.DeviceWiFiAllowedProto device_wifi_allowed = 82; |
| if (has_device_wifi_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_wifi_allowed_); |
| } |
| |
| // optional .enterprise_management.DevicePowerPeakShiftProto device_power_peak_shift = 83; |
| if (has_device_power_peak_shift()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_power_peak_shift_); |
| } |
| |
| // optional .enterprise_management.DeviceBootOnAcProto device_boot_on_ac = 84; |
| if (has_device_boot_on_ac()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_boot_on_ac_); |
| } |
| |
| // optional .enterprise_management.DeviceDockMacAddressSourceProto device_dock_mac_address_source = 85; |
| if (has_device_dock_mac_address_source()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_dock_mac_address_source_); |
| } |
| |
| // optional .enterprise_management.DeviceAdvancedBatteryChargeModeProto device_advanced_battery_charge_mode = 86; |
| if (has_device_advanced_battery_charge_mode()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_advanced_battery_charge_mode_); |
| } |
| |
| // optional .enterprise_management.DeviceBatteryChargeModeProto device_battery_charge_mode = 87; |
| if (has_device_battery_charge_mode()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_battery_charge_mode_); |
| } |
| |
| // optional .enterprise_management.DeviceUsbPowerShareProto device_usb_power_share = 88; |
| if (has_device_usb_power_share()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_usb_power_share_); |
| } |
| |
| // optional .enterprise_management.DeviceScheduledUpdateCheckProto device_scheduled_update_check = 89; |
| if (has_device_scheduled_update_check()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_scheduled_update_check_); |
| } |
| |
| } |
| if (_has_bits_[88 / 32] & 50331648u) { |
| // optional .enterprise_management.DeviceWebUsbAllowDevicesForUrlsProto device_webusb_allow_devices_for_urls = 90; |
| if (has_device_webusb_allow_devices_for_urls()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_webusb_allow_devices_for_urls_); |
| } |
| |
| // optional .enterprise_management.DevicePowerwashAllowedProto device_powerwash_allowed = 91; |
| if (has_device_powerwash_allowed()) { |
| total_size += 2 + |
| ::google::protobuf::internal::WireFormatLite::MessageSize( |
| *device_powerwash_allowed_); |
| } |
| |
| } |
| int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
| SetCachedSize(cached_size); |
| return total_size; |
| } |
| |
| void ChromeDeviceSettingsProto::CheckTypeAndMergeFrom( |
| const ::google::protobuf::MessageLite& from) { |
| MergeFrom(*::google::protobuf::down_cast<const ChromeDeviceSettingsProto*>(&from)); |
| } |
| |
| void ChromeDeviceSettingsProto::MergeFrom(const ChromeDeviceSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_merge_from_start:enterprise_management.ChromeDeviceSettingsProto) |
| GOOGLE_DCHECK_NE(&from, this); |
| _internal_metadata_.MergeFrom(from._internal_metadata_); |
| ::google::protobuf::uint32 cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._has_bits_[0]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| mutable_device_policy_refresh_rate()->::enterprise_management::DevicePolicyRefreshRateProto::MergeFrom(from.device_policy_refresh_rate()); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| mutable_user_whitelist()->::enterprise_management::UserWhitelistProto::MergeFrom(from.user_whitelist()); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| mutable_guest_mode_enabled()->::enterprise_management::GuestModeEnabledProto::MergeFrom(from.guest_mode_enabled()); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| mutable_device_proxy_settings()->::enterprise_management::OBSOLETE_DeviceProxySettingsProto::MergeFrom(from.device_proxy_settings()); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| mutable_camera_enabled()->::enterprise_management::CameraEnabledProto::MergeFrom(from.camera_enabled()); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| mutable_show_user_names()->::enterprise_management::ShowUserNamesOnSigninProto::MergeFrom(from.show_user_names()); |
| } |
| if (cached_has_bits & 0x00000040u) { |
| mutable_data_roaming_enabled()->::enterprise_management::DataRoamingEnabledProto::MergeFrom(from.data_roaming_enabled()); |
| } |
| if (cached_has_bits & 0x00000080u) { |
| mutable_allow_new_users()->::enterprise_management::AllowNewUsersProto::MergeFrom(from.allow_new_users()); |
| } |
| } |
| if (cached_has_bits & 65280u) { |
| if (cached_has_bits & 0x00000100u) { |
| mutable_metrics_enabled()->::enterprise_management::MetricsEnabledProto::MergeFrom(from.metrics_enabled()); |
| } |
| if (cached_has_bits & 0x00000200u) { |
| mutable_release_channel()->::enterprise_management::ReleaseChannelProto::MergeFrom(from.release_channel()); |
| } |
| if (cached_has_bits & 0x00000400u) { |
| mutable_open_network_configuration()->::enterprise_management::DeviceOpenNetworkConfigurationProto::MergeFrom(from.open_network_configuration()); |
| } |
| if (cached_has_bits & 0x00000800u) { |
| mutable_device_reporting()->::enterprise_management::DeviceReportingProto::MergeFrom(from.device_reporting()); |
| } |
| if (cached_has_bits & 0x00001000u) { |
| mutable_ephemeral_users_enabled()->::enterprise_management::EphemeralUsersEnabledProto::MergeFrom(from.ephemeral_users_enabled()); |
| } |
| if (cached_has_bits & 0x00002000u) { |
| mutable_app_pack()->::enterprise_management::OBSOLETE_AppPackProto::MergeFrom(from.app_pack()); |
| } |
| if (cached_has_bits & 0x00004000u) { |
| mutable_forced_logout_timeouts()->::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto::MergeFrom(from.forced_logout_timeouts()); |
| } |
| if (cached_has_bits & 0x00008000u) { |
| mutable_login_screen_saver()->::enterprise_management::OBSOLETE_ScreenSaverProto::MergeFrom(from.login_screen_saver()); |
| } |
| } |
| if (cached_has_bits & 16711680u) { |
| if (cached_has_bits & 0x00010000u) { |
| mutable_auto_update_settings()->::enterprise_management::AutoUpdateSettingsProto::MergeFrom(from.auto_update_settings()); |
| } |
| if (cached_has_bits & 0x00020000u) { |
| mutable_start_up_urls()->::enterprise_management::OBSOLETE_StartUpUrlsProto::MergeFrom(from.start_up_urls()); |
| } |
| if (cached_has_bits & 0x00040000u) { |
| mutable_pinned_apps()->::enterprise_management::OBSOLETE_PinnedAppsProto::MergeFrom(from.pinned_apps()); |
| } |
| if (cached_has_bits & 0x00080000u) { |
| mutable_system_timezone()->::enterprise_management::SystemTimezoneProto::MergeFrom(from.system_timezone()); |
| } |
| if (cached_has_bits & 0x00100000u) { |
| mutable_device_local_accounts()->::enterprise_management::DeviceLocalAccountsProto::MergeFrom(from.device_local_accounts()); |
| } |
| if (cached_has_bits & 0x00200000u) { |
| mutable_allow_redeem_offers()->::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto::MergeFrom(from.allow_redeem_offers()); |
| } |
| if (cached_has_bits & 0x00400000u) { |
| mutable_start_up_flags()->::enterprise_management::StartUpFlagsProto::MergeFrom(from.start_up_flags()); |
| } |
| if (cached_has_bits & 0x00800000u) { |
| mutable_uptime_limit()->::enterprise_management::UptimeLimitProto::MergeFrom(from.uptime_limit()); |
| } |
| } |
| if (cached_has_bits & 4278190080u) { |
| if (cached_has_bits & 0x01000000u) { |
| mutable_variations_parameter()->::enterprise_management::VariationsParameterProto::MergeFrom(from.variations_parameter()); |
| } |
| if (cached_has_bits & 0x02000000u) { |
| mutable_attestation_settings()->::enterprise_management::AttestationSettingsProto::MergeFrom(from.attestation_settings()); |
| } |
| if (cached_has_bits & 0x04000000u) { |
| mutable_accessibility_settings()->::enterprise_management::AccessibilitySettingsProto::MergeFrom(from.accessibility_settings()); |
| } |
| if (cached_has_bits & 0x08000000u) { |
| mutable_supervised_users_settings()->::enterprise_management::SupervisedUsersSettingsProto::MergeFrom(from.supervised_users_settings()); |
| } |
| if (cached_has_bits & 0x10000000u) { |
| mutable_login_screen_power_management()->::enterprise_management::LoginScreenPowerManagementProto::MergeFrom(from.login_screen_power_management()); |
| } |
| if (cached_has_bits & 0x20000000u) { |
| mutable_use_24hour_clock()->::enterprise_management::SystemUse24HourClockProto::MergeFrom(from.use_24hour_clock()); |
| } |
| if (cached_has_bits & 0x40000000u) { |
| mutable_auto_clean_up_settings()->::enterprise_management::AutoCleanupSettigsProto::MergeFrom(from.auto_clean_up_settings()); |
| } |
| if (cached_has_bits & 0x80000000u) { |
| mutable_system_settings()->::enterprise_management::SystemSettingsProto::MergeFrom(from.system_settings()); |
| } |
| } |
| cached_has_bits = from._has_bits_[1]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| mutable_saml_settings()->::enterprise_management::SAMLSettingsProto::MergeFrom(from.saml_settings()); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| mutable_reboot_on_shutdown()->::enterprise_management::RebootOnShutdownProto::MergeFrom(from.reboot_on_shutdown()); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| mutable_device_heartbeat_settings()->::enterprise_management::DeviceHeartbeatSettingsProto::MergeFrom(from.device_heartbeat_settings()); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| mutable_extension_cache_size()->::enterprise_management::ExtensionCacheSizeProto::MergeFrom(from.extension_cache_size()); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| mutable_login_screen_domain_auto_complete()->::enterprise_management::LoginScreenDomainAutoCompleteProto::MergeFrom(from.login_screen_domain_auto_complete()); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| mutable_device_log_upload_settings()->::enterprise_management::DeviceLogUploadSettingsProto::MergeFrom(from.device_log_upload_settings()); |
| } |
| if (cached_has_bits & 0x00000040u) { |
| mutable_display_rotation_default()->::enterprise_management::DisplayRotationDefaultProto::MergeFrom(from.display_rotation_default()); |
| } |
| if (cached_has_bits & 0x00000080u) { |
| mutable_allow_kiosk_app_control_chrome_version()->::enterprise_management::AllowKioskAppControlChromeVersionProto::MergeFrom(from.allow_kiosk_app_control_chrome_version()); |
| } |
| } |
| if (cached_has_bits & 65280u) { |
| if (cached_has_bits & 0x00000100u) { |
| mutable_login_authentication_behavior()->::enterprise_management::LoginAuthenticationBehaviorProto::MergeFrom(from.login_authentication_behavior()); |
| } |
| if (cached_has_bits & 0x00000200u) { |
| mutable_usb_detachable_whitelist()->::enterprise_management::UsbDetachableWhitelistProto::MergeFrom(from.usb_detachable_whitelist()); |
| } |
| if (cached_has_bits & 0x00000400u) { |
| mutable_allow_bluetooth()->::enterprise_management::AllowBluetoothProto::MergeFrom(from.allow_bluetooth()); |
| } |
| if (cached_has_bits & 0x00000800u) { |
| mutable_quirks_download_enabled()->::enterprise_management::DeviceQuirksDownloadEnabledProto::MergeFrom(from.quirks_download_enabled()); |
| } |
| if (cached_has_bits & 0x00001000u) { |
| mutable_login_video_capture_allowed_urls()->::enterprise_management::LoginVideoCaptureAllowedUrlsProto::MergeFrom(from.login_video_capture_allowed_urls()); |
| } |
| if (cached_has_bits & 0x00002000u) { |
| mutable_device_login_screen_extensions()->::enterprise_management::DeviceLoginScreenExtensionsProto::MergeFrom(from.device_login_screen_extensions()); |
| } |
| if (cached_has_bits & 0x00004000u) { |
| mutable_network_throttling()->::enterprise_management::NetworkThrottlingEnabledProto::MergeFrom(from.network_throttling()); |
| } |
| if (cached_has_bits & 0x00008000u) { |
| mutable_device_wallpaper_image()->::enterprise_management::DeviceWallpaperImageProto::MergeFrom(from.device_wallpaper_image()); |
| } |
| } |
| if (cached_has_bits & 16711680u) { |
| if (cached_has_bits & 0x00010000u) { |
| mutable_login_screen_locales()->::enterprise_management::LoginScreenLocalesProto::MergeFrom(from.login_screen_locales()); |
| } |
| if (cached_has_bits & 0x00020000u) { |
| mutable_login_screen_input_methods()->::enterprise_management::LoginScreenInputMethodsProto::MergeFrom(from.login_screen_input_methods()); |
| } |
| if (cached_has_bits & 0x00040000u) { |
| mutable_device_ecryptfs_migration_strategy()->::enterprise_management::DeviceEcryptfsMigrationStrategyProto::MergeFrom(from.device_ecryptfs_migration_strategy()); |
| } |
| if (cached_has_bits & 0x00080000u) { |
| mutable_device_second_factor_authentication()->::enterprise_management::DeviceSecondFactorAuthenticationProto::MergeFrom(from.device_second_factor_authentication()); |
| } |
| if (cached_has_bits & 0x00100000u) { |
| mutable_cast_receiver_name()->::enterprise_management::CastReceiverNameProto::MergeFrom(from.cast_receiver_name()); |
| } |
| if (cached_has_bits & 0x00200000u) { |
| mutable_device_off_hours()->::enterprise_management::DeviceOffHoursProto::MergeFrom(from.device_off_hours()); |
| } |
| if (cached_has_bits & 0x00400000u) { |
| mutable_native_device_printers()->::enterprise_management::DeviceNativePrintersProto::MergeFrom(from.native_device_printers()); |
| } |
| if (cached_has_bits & 0x00800000u) { |
| mutable_native_device_printers_access_mode()->::enterprise_management::DeviceNativePrintersAccessModeProto::MergeFrom(from.native_device_printers_access_mode()); |
| } |
| } |
| if (cached_has_bits & 4278190080u) { |
| if (cached_has_bits & 0x01000000u) { |
| mutable_native_device_printers_blacklist()->::enterprise_management::DeviceNativePrintersBlacklistProto::MergeFrom(from.native_device_printers_blacklist()); |
| } |
| if (cached_has_bits & 0x02000000u) { |
| mutable_native_device_printers_whitelist()->::enterprise_management::DeviceNativePrintersWhitelistProto::MergeFrom(from.native_device_printers_whitelist()); |
| } |
| if (cached_has_bits & 0x04000000u) { |
| mutable_tpm_firmware_update_settings()->::enterprise_management::TPMFirmwareUpdateSettingsProto::MergeFrom(from.tpm_firmware_update_settings()); |
| } |
| if (cached_has_bits & 0x08000000u) { |
| mutable_minimum_required_version()->::enterprise_management::MinimumRequiredVersionProto::MergeFrom(from.minimum_required_version()); |
| } |
| if (cached_has_bits & 0x10000000u) { |
| mutable_device_login_screen_auto_select_certificate_for_urls()->::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls::MergeFrom(from.device_login_screen_auto_select_certificate_for_urls()); |
| } |
| if (cached_has_bits & 0x20000000u) { |
| mutable_unaffiliated_arc_allowed()->::enterprise_management::UnaffiliatedArcAllowedProto::MergeFrom(from.unaffiliated_arc_allowed()); |
| } |
| if (cached_has_bits & 0x40000000u) { |
| mutable_network_hostname()->::enterprise_management::NetworkHostnameProto::MergeFrom(from.network_hostname()); |
| } |
| if (cached_has_bits & 0x80000000u) { |
| mutable_device_kerberos_encryption_types()->::enterprise_management::DeviceKerberosEncryptionTypesProto::MergeFrom(from.device_kerberos_encryption_types()); |
| } |
| } |
| cached_has_bits = from._has_bits_[2]; |
| if (cached_has_bits & 255u) { |
| if (cached_has_bits & 0x00000001u) { |
| mutable_device_user_policy_loopback_processing_mode()->::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto::MergeFrom(from.device_user_policy_loopback_processing_mode()); |
| } |
| if (cached_has_bits & 0x00000002u) { |
| mutable_device_login_screen_isolate_origins()->::enterprise_management::DeviceLoginScreenIsolateOriginsProto::MergeFrom(from.device_login_screen_isolate_origins()); |
| } |
| if (cached_has_bits & 0x00000004u) { |
| mutable_device_login_screen_site_per_process()->::enterprise_management::DeviceLoginScreenSitePerProcessProto::MergeFrom(from.device_login_screen_site_per_process()); |
| } |
| if (cached_has_bits & 0x00000008u) { |
| mutable_virtual_machines_allowed()->::enterprise_management::VirtualMachinesAllowedProto::MergeFrom(from.virtual_machines_allowed()); |
| } |
| if (cached_has_bits & 0x00000010u) { |
| mutable_device_machine_password_change_rate()->::enterprise_management::DeviceMachinePasswordChangeRateProto::MergeFrom(from.device_machine_password_change_rate()); |
| } |
| if (cached_has_bits & 0x00000020u) { |
| mutable_saml_login_authentication_type()->::enterprise_management::SamlLoginAuthenticationTypeProto::MergeFrom(from.saml_login_authentication_type()); |
| } |
| if (cached_has_bits & 0x00000040u) { |
| mutable_device_unaffiliated_crostini_allowed()->::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto::MergeFrom(from.device_unaffiliated_crostini_allowed()); |
| } |
| if (cached_has_bits & 0x00000080u) { |
| mutable_device_wifi_fast_transition_enabled()->::enterprise_management::DeviceWiFiFastTransitionEnabledProto::MergeFrom(from.device_wifi_fast_transition_enabled()); |
| } |
| } |
| if (cached_has_bits & 65280u) { |
| if (cached_has_bits & 0x00000100u) { |
| mutable_device_display_resolution()->::enterprise_management::DeviceDisplayResolutionProto::MergeFrom(from.device_display_resolution()); |
| } |
| if (cached_has_bits & 0x00000200u) { |
| mutable_plugin_vm_allowed()->::enterprise_management::PluginVmAllowedProto::MergeFrom(from.plugin_vm_allowed()); |
| } |
| if (cached_has_bits & 0x00000400u) { |
| mutable_device_gpo_cache_lifetime()->::enterprise_management::DeviceGpoCacheLifetimeProto::MergeFrom(from.device_gpo_cache_lifetime()); |
| } |
| if (cached_has_bits & 0x00000800u) { |
| mutable_device_auth_data_cache_lifetime()->::enterprise_management::DeviceAuthDataCacheLifetimeProto::MergeFrom(from.device_auth_data_cache_lifetime()); |
| } |
| if (cached_has_bits & 0x00001000u) { |
| mutable_plugin_vm_license_key()->::enterprise_management::PluginVmLicenseKeyProto::MergeFrom(from.plugin_vm_license_key()); |
| } |
| if (cached_has_bits & 0x00002000u) { |
| mutable_device_reboot_on_user_signout()->::enterprise_management::DeviceRebootOnUserSignoutProto::MergeFrom(from.device_reboot_on_user_signout()); |
| } |
| if (cached_has_bits & 0x00004000u) { |
| mutable_device_wilco_dtc_allowed()->::enterprise_management::DeviceWilcoDtcAllowedProto::MergeFrom(from.device_wilco_dtc_allowed()); |
| } |
| if (cached_has_bits & 0x00008000u) { |
| mutable_device_wilco_dtc_configuration()->::enterprise_management::DeviceWilcoDtcConfigurationProto::MergeFrom(from.device_wilco_dtc_configuration()); |
| } |
| } |
| if (cached_has_bits & 16711680u) { |
| if (cached_has_bits & 0x00010000u) { |
| mutable_device_wifi_allowed()->::enterprise_management::DeviceWiFiAllowedProto::MergeFrom(from.device_wifi_allowed()); |
| } |
| if (cached_has_bits & 0x00020000u) { |
| mutable_device_power_peak_shift()->::enterprise_management::DevicePowerPeakShiftProto::MergeFrom(from.device_power_peak_shift()); |
| } |
| if (cached_has_bits & 0x00040000u) { |
| mutable_device_boot_on_ac()->::enterprise_management::DeviceBootOnAcProto::MergeFrom(from.device_boot_on_ac()); |
| } |
| if (cached_has_bits & 0x00080000u) { |
| mutable_device_dock_mac_address_source()->::enterprise_management::DeviceDockMacAddressSourceProto::MergeFrom(from.device_dock_mac_address_source()); |
| } |
| if (cached_has_bits & 0x00100000u) { |
| mutable_device_advanced_battery_charge_mode()->::enterprise_management::DeviceAdvancedBatteryChargeModeProto::MergeFrom(from.device_advanced_battery_charge_mode()); |
| } |
| if (cached_has_bits & 0x00200000u) { |
| mutable_device_battery_charge_mode()->::enterprise_management::DeviceBatteryChargeModeProto::MergeFrom(from.device_battery_charge_mode()); |
| } |
| if (cached_has_bits & 0x00400000u) { |
| mutable_device_usb_power_share()->::enterprise_management::DeviceUsbPowerShareProto::MergeFrom(from.device_usb_power_share()); |
| } |
| if (cached_has_bits & 0x00800000u) { |
| mutable_device_scheduled_update_check()->::enterprise_management::DeviceScheduledUpdateCheckProto::MergeFrom(from.device_scheduled_update_check()); |
| } |
| } |
| if (cached_has_bits & 50331648u) { |
| if (cached_has_bits & 0x01000000u) { |
| mutable_device_webusb_allow_devices_for_urls()->::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto::MergeFrom(from.device_webusb_allow_devices_for_urls()); |
| } |
| if (cached_has_bits & 0x02000000u) { |
| mutable_device_powerwash_allowed()->::enterprise_management::DevicePowerwashAllowedProto::MergeFrom(from.device_powerwash_allowed()); |
| } |
| } |
| } |
| |
| void ChromeDeviceSettingsProto::CopyFrom(const ChromeDeviceSettingsProto& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:enterprise_management.ChromeDeviceSettingsProto) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| bool ChromeDeviceSettingsProto::IsInitialized() const { |
| return true; |
| } |
| |
| void ChromeDeviceSettingsProto::Swap(ChromeDeviceSettingsProto* other) { |
| if (other == this) return; |
| InternalSwap(other); |
| } |
| void ChromeDeviceSettingsProto::InternalSwap(ChromeDeviceSettingsProto* other) { |
| using std::swap; |
| swap(device_policy_refresh_rate_, other->device_policy_refresh_rate_); |
| swap(user_whitelist_, other->user_whitelist_); |
| swap(guest_mode_enabled_, other->guest_mode_enabled_); |
| swap(device_proxy_settings_, other->device_proxy_settings_); |
| swap(camera_enabled_, other->camera_enabled_); |
| swap(show_user_names_, other->show_user_names_); |
| swap(data_roaming_enabled_, other->data_roaming_enabled_); |
| swap(allow_new_users_, other->allow_new_users_); |
| swap(metrics_enabled_, other->metrics_enabled_); |
| swap(release_channel_, other->release_channel_); |
| swap(open_network_configuration_, other->open_network_configuration_); |
| swap(device_reporting_, other->device_reporting_); |
| swap(ephemeral_users_enabled_, other->ephemeral_users_enabled_); |
| swap(app_pack_, other->app_pack_); |
| swap(forced_logout_timeouts_, other->forced_logout_timeouts_); |
| swap(login_screen_saver_, other->login_screen_saver_); |
| swap(auto_update_settings_, other->auto_update_settings_); |
| swap(start_up_urls_, other->start_up_urls_); |
| swap(pinned_apps_, other->pinned_apps_); |
| swap(system_timezone_, other->system_timezone_); |
| swap(device_local_accounts_, other->device_local_accounts_); |
| swap(allow_redeem_offers_, other->allow_redeem_offers_); |
| swap(start_up_flags_, other->start_up_flags_); |
| swap(uptime_limit_, other->uptime_limit_); |
| swap(variations_parameter_, other->variations_parameter_); |
| swap(attestation_settings_, other->attestation_settings_); |
| swap(accessibility_settings_, other->accessibility_settings_); |
| swap(supervised_users_settings_, other->supervised_users_settings_); |
| swap(login_screen_power_management_, other->login_screen_power_management_); |
| swap(use_24hour_clock_, other->use_24hour_clock_); |
| swap(auto_clean_up_settings_, other->auto_clean_up_settings_); |
| swap(system_settings_, other->system_settings_); |
| swap(saml_settings_, other->saml_settings_); |
| swap(reboot_on_shutdown_, other->reboot_on_shutdown_); |
| swap(device_heartbeat_settings_, other->device_heartbeat_settings_); |
| swap(extension_cache_size_, other->extension_cache_size_); |
| swap(login_screen_domain_auto_complete_, other->login_screen_domain_auto_complete_); |
| swap(device_log_upload_settings_, other->device_log_upload_settings_); |
| swap(display_rotation_default_, other->display_rotation_default_); |
| swap(allow_kiosk_app_control_chrome_version_, other->allow_kiosk_app_control_chrome_version_); |
| swap(login_authentication_behavior_, other->login_authentication_behavior_); |
| swap(usb_detachable_whitelist_, other->usb_detachable_whitelist_); |
| swap(allow_bluetooth_, other->allow_bluetooth_); |
| swap(quirks_download_enabled_, other->quirks_download_enabled_); |
| swap(login_video_capture_allowed_urls_, other->login_video_capture_allowed_urls_); |
| swap(device_login_screen_extensions_, other->device_login_screen_extensions_); |
| swap(network_throttling_, other->network_throttling_); |
| swap(device_wallpaper_image_, other->device_wallpaper_image_); |
| swap(login_screen_locales_, other->login_screen_locales_); |
| swap(login_screen_input_methods_, other->login_screen_input_methods_); |
| swap(device_ecryptfs_migration_strategy_, other->device_ecryptfs_migration_strategy_); |
| swap(device_second_factor_authentication_, other->device_second_factor_authentication_); |
| swap(cast_receiver_name_, other->cast_receiver_name_); |
| swap(device_off_hours_, other->device_off_hours_); |
| swap(native_device_printers_, other->native_device_printers_); |
| swap(native_device_printers_access_mode_, other->native_device_printers_access_mode_); |
| swap(native_device_printers_blacklist_, other->native_device_printers_blacklist_); |
| swap(native_device_printers_whitelist_, other->native_device_printers_whitelist_); |
| swap(tpm_firmware_update_settings_, other->tpm_firmware_update_settings_); |
| swap(minimum_required_version_, other->minimum_required_version_); |
| swap(device_login_screen_auto_select_certificate_for_urls_, other->device_login_screen_auto_select_certificate_for_urls_); |
| swap(unaffiliated_arc_allowed_, other->unaffiliated_arc_allowed_); |
| swap(network_hostname_, other->network_hostname_); |
| swap(device_kerberos_encryption_types_, other->device_kerberos_encryption_types_); |
| swap(device_user_policy_loopback_processing_mode_, other->device_user_policy_loopback_processing_mode_); |
| swap(device_login_screen_isolate_origins_, other->device_login_screen_isolate_origins_); |
| swap(device_login_screen_site_per_process_, other->device_login_screen_site_per_process_); |
| swap(virtual_machines_allowed_, other->virtual_machines_allowed_); |
| swap(device_machine_password_change_rate_, other->device_machine_password_change_rate_); |
| swap(saml_login_authentication_type_, other->saml_login_authentication_type_); |
| swap(device_unaffiliated_crostini_allowed_, other->device_unaffiliated_crostini_allowed_); |
| swap(device_wifi_fast_transition_enabled_, other->device_wifi_fast_transition_enabled_); |
| swap(device_display_resolution_, other->device_display_resolution_); |
| swap(plugin_vm_allowed_, other->plugin_vm_allowed_); |
| swap(device_gpo_cache_lifetime_, other->device_gpo_cache_lifetime_); |
| swap(device_auth_data_cache_lifetime_, other->device_auth_data_cache_lifetime_); |
| swap(plugin_vm_license_key_, other->plugin_vm_license_key_); |
| swap(device_reboot_on_user_signout_, other->device_reboot_on_user_signout_); |
| swap(device_wilco_dtc_allowed_, other->device_wilco_dtc_allowed_); |
| swap(device_wilco_dtc_configuration_, other->device_wilco_dtc_configuration_); |
| swap(device_wifi_allowed_, other->device_wifi_allowed_); |
| swap(device_power_peak_shift_, other->device_power_peak_shift_); |
| swap(device_boot_on_ac_, other->device_boot_on_ac_); |
| swap(device_dock_mac_address_source_, other->device_dock_mac_address_source_); |
| swap(device_advanced_battery_charge_mode_, other->device_advanced_battery_charge_mode_); |
| swap(device_battery_charge_mode_, other->device_battery_charge_mode_); |
| swap(device_usb_power_share_, other->device_usb_power_share_); |
| swap(device_scheduled_update_check_, other->device_scheduled_update_check_); |
| swap(device_webusb_allow_devices_for_urls_, other->device_webusb_allow_devices_for_urls_); |
| swap(device_powerwash_allowed_, other->device_powerwash_allowed_); |
| swap(_has_bits_[0], other->_has_bits_[0]); |
| swap(_has_bits_[1], other->_has_bits_[1]); |
| swap(_has_bits_[2], other->_has_bits_[2]); |
| _internal_metadata_.Swap(&other->_internal_metadata_); |
| } |
| |
| ::std::string ChromeDeviceSettingsProto::GetTypeName() const { |
| return "enterprise_management.ChromeDeviceSettingsProto"; |
| } |
| |
| |
| // @@protoc_insertion_point(namespace_scope) |
| } // namespace enterprise_management |
| namespace google { |
| namespace protobuf { |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DevicePolicyRefreshRateProto* Arena::CreateMaybeMessage< ::enterprise_management::DevicePolicyRefreshRateProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DevicePolicyRefreshRateProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::UserWhitelistProto* Arena::CreateMaybeMessage< ::enterprise_management::UserWhitelistProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::UserWhitelistProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AllowNewUsersProto* Arena::CreateMaybeMessage< ::enterprise_management::AllowNewUsersProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AllowNewUsersProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::GuestModeEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::GuestModeEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::GuestModeEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::ShowUserNamesOnSigninProto* Arena::CreateMaybeMessage< ::enterprise_management::ShowUserNamesOnSigninProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::ShowUserNamesOnSigninProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DataRoamingEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::DataRoamingEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DataRoamingEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_DeviceProxySettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_DeviceProxySettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_DeviceProxySettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::CameraEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::CameraEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::CameraEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::MetricsEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::MetricsEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::MetricsEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::ReleaseChannelProto* Arena::CreateMaybeMessage< ::enterprise_management::ReleaseChannelProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::ReleaseChannelProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceOpenNetworkConfigurationProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceOpenNetworkConfigurationProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceOpenNetworkConfigurationProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::NetworkHostnameProto* Arena::CreateMaybeMessage< ::enterprise_management::NetworkHostnameProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::NetworkHostnameProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceReportingProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceReportingProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceReportingProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::EphemeralUsersEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::EphemeralUsersEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::EphemeralUsersEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_AppPackEntryProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_AppPackEntryProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_AppPackEntryProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_AppPackProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_AppPackProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_AppPackProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_PinnedAppsProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_PinnedAppsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_PinnedAppsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_ForcedLogoutTimeoutsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_ScreenSaverProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_ScreenSaverProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_ScreenSaverProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AutoUpdateSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::AutoUpdateSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AutoUpdateSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::OBSOLETE_StartUpUrlsProto* Arena::CreateMaybeMessage< ::enterprise_management::OBSOLETE_StartUpUrlsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::OBSOLETE_StartUpUrlsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::SystemTimezoneProto* Arena::CreateMaybeMessage< ::enterprise_management::SystemTimezoneProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::SystemTimezoneProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::SystemUse24HourClockProto* Arena::CreateMaybeMessage< ::enterprise_management::SystemUse24HourClockProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::SystemUse24HourClockProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::KioskAppInfoProto* Arena::CreateMaybeMessage< ::enterprise_management::KioskAppInfoProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::KioskAppInfoProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AndroidKioskAppInfoProto* Arena::CreateMaybeMessage< ::enterprise_management::AndroidKioskAppInfoProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AndroidKioskAppInfoProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLocalAccountInfoProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLocalAccountInfoProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLocalAccountInfoProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLocalAccountsProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLocalAccountsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLocalAccountsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto* Arena::CreateMaybeMessage< ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AllowRedeemChromeOsRegistrationOffersProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::StartUpFlagsProto* Arena::CreateMaybeMessage< ::enterprise_management::StartUpFlagsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::StartUpFlagsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::UptimeLimitProto* Arena::CreateMaybeMessage< ::enterprise_management::UptimeLimitProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::UptimeLimitProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::VariationsParameterProto* Arena::CreateMaybeMessage< ::enterprise_management::VariationsParameterProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::VariationsParameterProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AttestationSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::AttestationSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AttestationSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AccessibilitySettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::AccessibilitySettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AccessibilitySettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::SupervisedUsersSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::SupervisedUsersSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::SupervisedUsersSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::LoginScreenPowerManagementProto* Arena::CreateMaybeMessage< ::enterprise_management::LoginScreenPowerManagementProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::LoginScreenPowerManagementProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AutoCleanupSettigsProto* Arena::CreateMaybeMessage< ::enterprise_management::AutoCleanupSettigsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AutoCleanupSettigsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::SystemSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::SystemSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::SystemSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::SAMLSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::SAMLSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::SAMLSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::RebootOnShutdownProto* Arena::CreateMaybeMessage< ::enterprise_management::RebootOnShutdownProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::RebootOnShutdownProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceHeartbeatSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceHeartbeatSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceHeartbeatSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::ExtensionCacheSizeProto* Arena::CreateMaybeMessage< ::enterprise_management::ExtensionCacheSizeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::ExtensionCacheSizeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::LoginScreenDomainAutoCompleteProto* Arena::CreateMaybeMessage< ::enterprise_management::LoginScreenDomainAutoCompleteProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::LoginScreenDomainAutoCompleteProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLogUploadSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLogUploadSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLogUploadSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DisplayRotationDefaultProto* Arena::CreateMaybeMessage< ::enterprise_management::DisplayRotationDefaultProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DisplayRotationDefaultProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceDisplayResolutionProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceDisplayResolutionProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceDisplayResolutionProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AllowKioskAppControlChromeVersionProto* Arena::CreateMaybeMessage< ::enterprise_management::AllowKioskAppControlChromeVersionProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AllowKioskAppControlChromeVersionProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::LoginAuthenticationBehaviorProto* Arena::CreateMaybeMessage< ::enterprise_management::LoginAuthenticationBehaviorProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::LoginAuthenticationBehaviorProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::UsbDeviceIdProto* Arena::CreateMaybeMessage< ::enterprise_management::UsbDeviceIdProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::UsbDeviceIdProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::UsbDetachableWhitelistProto* Arena::CreateMaybeMessage< ::enterprise_management::UsbDetachableWhitelistProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::UsbDetachableWhitelistProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::AllowBluetoothProto* Arena::CreateMaybeMessage< ::enterprise_management::AllowBluetoothProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::AllowBluetoothProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceWiFiAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceWiFiAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceWiFiAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceQuirksDownloadEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceQuirksDownloadEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceQuirksDownloadEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::LoginVideoCaptureAllowedUrlsProto* Arena::CreateMaybeMessage< ::enterprise_management::LoginVideoCaptureAllowedUrlsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::LoginVideoCaptureAllowedUrlsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceWiFiFastTransitionEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceWiFiFastTransitionEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceWiFiFastTransitionEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::NetworkThrottlingEnabledProto* Arena::CreateMaybeMessage< ::enterprise_management::NetworkThrottlingEnabledProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::NetworkThrottlingEnabledProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLoginScreenExtensionsProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLoginScreenExtensionsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLoginScreenExtensionsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::LoginScreenLocalesProto* Arena::CreateMaybeMessage< ::enterprise_management::LoginScreenLocalesProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::LoginScreenLocalesProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::LoginScreenInputMethodsProto* Arena::CreateMaybeMessage< ::enterprise_management::LoginScreenInputMethodsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::LoginScreenInputMethodsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceWallpaperImageProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceWallpaperImageProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceWallpaperImageProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceEcryptfsMigrationStrategyProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceEcryptfsMigrationStrategyProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceEcryptfsMigrationStrategyProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceSecondFactorAuthenticationProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceSecondFactorAuthenticationProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceSecondFactorAuthenticationProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::CastReceiverNameProto* Arena::CreateMaybeMessage< ::enterprise_management::CastReceiverNameProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::CastReceiverNameProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::WeeklyTimeProto* Arena::CreateMaybeMessage< ::enterprise_management::WeeklyTimeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::WeeklyTimeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::WeeklyTimeIntervalProto* Arena::CreateMaybeMessage< ::enterprise_management::WeeklyTimeIntervalProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::WeeklyTimeIntervalProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceOffHoursProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceOffHoursProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceOffHoursProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceNativePrintersProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceNativePrintersProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceNativePrintersProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceNativePrintersAccessModeProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceNativePrintersAccessModeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceNativePrintersAccessModeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceNativePrintersBlacklistProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceNativePrintersBlacklistProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceNativePrintersBlacklistProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceNativePrintersWhitelistProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceNativePrintersWhitelistProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceNativePrintersWhitelistProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::TPMFirmwareUpdateSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::TPMFirmwareUpdateSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::TPMFirmwareUpdateSettingsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::MinimumRequiredVersionProto* Arena::CreateMaybeMessage< ::enterprise_management::MinimumRequiredVersionProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::MinimumRequiredVersionProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLoginScreenAutoSelectCertificateForUrls >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::UnaffiliatedArcAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::UnaffiliatedArcAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::UnaffiliatedArcAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceKerberosEncryptionTypesProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceKerberosEncryptionTypesProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceKerberosEncryptionTypesProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceUserPolicyLoopbackProcessingModeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLoginScreenIsolateOriginsProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLoginScreenIsolateOriginsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLoginScreenIsolateOriginsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceLoginScreenSitePerProcessProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceLoginScreenSitePerProcessProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceLoginScreenSitePerProcessProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::VirtualMachinesAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::VirtualMachinesAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::VirtualMachinesAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceMachinePasswordChangeRateProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceMachinePasswordChangeRateProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceMachinePasswordChangeRateProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceGpoCacheLifetimeProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceGpoCacheLifetimeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceGpoCacheLifetimeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceAuthDataCacheLifetimeProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceAuthDataCacheLifetimeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceAuthDataCacheLifetimeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::SamlLoginAuthenticationTypeProto* Arena::CreateMaybeMessage< ::enterprise_management::SamlLoginAuthenticationTypeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::SamlLoginAuthenticationTypeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceUnaffiliatedCrostiniAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::PluginVmAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::PluginVmAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::PluginVmAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::PluginVmLicenseKeyProto* Arena::CreateMaybeMessage< ::enterprise_management::PluginVmLicenseKeyProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::PluginVmLicenseKeyProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceRebootOnUserSignoutProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceRebootOnUserSignoutProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceRebootOnUserSignoutProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceWilcoDtcAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceWilcoDtcAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceWilcoDtcAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceWilcoDtcConfigurationProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceWilcoDtcConfigurationProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceWilcoDtcConfigurationProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DevicePowerPeakShiftProto* Arena::CreateMaybeMessage< ::enterprise_management::DevicePowerPeakShiftProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DevicePowerPeakShiftProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceBootOnAcProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceBootOnAcProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceBootOnAcProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceDockMacAddressSourceProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceDockMacAddressSourceProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceDockMacAddressSourceProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceAdvancedBatteryChargeModeProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceAdvancedBatteryChargeModeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceAdvancedBatteryChargeModeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceBatteryChargeModeProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceBatteryChargeModeProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceBatteryChargeModeProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceUsbPowerShareProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceUsbPowerShareProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceUsbPowerShareProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceScheduledUpdateCheckProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceScheduledUpdateCheckProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceScheduledUpdateCheckProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto* Arena::CreateMaybeMessage< ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DeviceWebUsbAllowDevicesForUrlsProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::DevicePowerwashAllowedProto* Arena::CreateMaybeMessage< ::enterprise_management::DevicePowerwashAllowedProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::DevicePowerwashAllowedProto >(arena); |
| } |
| template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::enterprise_management::ChromeDeviceSettingsProto* Arena::CreateMaybeMessage< ::enterprise_management::ChromeDeviceSettingsProto >(Arena* arena) { |
| return Arena::CreateInternal< ::enterprise_management::ChromeDeviceSettingsProto >(arena); |
| } |
| } // namespace protobuf |
| } // namespace google |
| |
| // @@protoc_insertion_point(global_scope) |