Files
nearby/compiled_proto/sharing/proto/analytics/nearby_sharing_log.pb.h
T

40965 lines
2.0 MiB
Plaintext

// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: sharing/proto/analytics/nearby_sharing_log.proto
// Protobuf C++ Version: 6.33.3
#ifndef sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto_2epb_2eh
#define sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 6033003
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h" // IWYU pragma: export
#include "google/protobuf/extension_set.h" // IWYU pragma: export
#include "google/protobuf/generated_enum_util.h"
#include "google/protobuf/duration.pb.h"
#include "proto/sharing_enums.pb.h"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
#define PROTOBUF_INTERNAL_EXPORT_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto
namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
} // namespace internal
} // namespace protobuf
} // namespace google
// Internal implementation detail -- do not use these members.
struct TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto {
static const ::uint32_t offsets[];
};
namespace nearby {
namespace sharing {
namespace analytics {
namespace proto {
enum SharingLog_FileAttachment_Type : int;
extern const uint32_t SharingLog_FileAttachment_Type_internal_data_[];
enum SharingLog_QrCodeOpenedInWebClient_ClientPlatform : int;
extern const uint32_t SharingLog_QrCodeOpenedInWebClient_ClientPlatform_internal_data_[];
enum SharingLog_RpcCallStatus_RpcDirection : int;
extern const uint32_t SharingLog_RpcCallStatus_RpcDirection_internal_data_[];
enum SharingLog_TextAttachment_Type : int;
extern const uint32_t SharingLog_TextAttachment_Type_internal_data_[];
class SharingLog;
struct SharingLogDefaultTypeInternal;
extern SharingLogDefaultTypeInternal _SharingLog_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<42> SharingLog_class_data_;
class SharingLog_AcceptAgreements;
struct SharingLog_AcceptAgreementsDefaultTypeInternal;
extern SharingLog_AcceptAgreementsDefaultTypeInternal _SharingLog_AcceptAgreements_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_AcceptAgreements_class_data_;
class SharingLog_AcceptFastInitialization;
struct SharingLog_AcceptFastInitializationDefaultTypeInternal;
extern SharingLog_AcceptFastInitializationDefaultTypeInternal _SharingLog_AcceptFastInitialization_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_AcceptFastInitialization_class_data_;
class SharingLog_AddContact;
struct SharingLog_AddContactDefaultTypeInternal;
extern SharingLog_AddContactDefaultTypeInternal _SharingLog_AddContact_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<53> SharingLog_AddContact_class_data_;
class SharingLog_AddQuickSettingsTile;
struct SharingLog_AddQuickSettingsTileDefaultTypeInternal;
extern SharingLog_AddQuickSettingsTileDefaultTypeInternal _SharingLog_AddQuickSettingsTile_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_AddQuickSettingsTile_class_data_;
class SharingLog_AdvertiseDevicePresenceEnd;
struct SharingLog_AdvertiseDevicePresenceEndDefaultTypeInternal;
extern SharingLog_AdvertiseDevicePresenceEndDefaultTypeInternal _SharingLog_AdvertiseDevicePresenceEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_AdvertiseDevicePresenceEnd_class_data_;
class SharingLog_AdvertiseDevicePresenceStart;
struct SharingLog_AdvertiseDevicePresenceStartDefaultTypeInternal;
extern SharingLog_AdvertiseDevicePresenceStartDefaultTypeInternal _SharingLog_AdvertiseDevicePresenceStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<71> SharingLog_AdvertiseDevicePresenceStart_class_data_;
class SharingLog_AppAttachment;
struct SharingLog_AppAttachmentDefaultTypeInternal;
extern SharingLog_AppAttachmentDefaultTypeInternal _SharingLog_AppAttachment_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_AppAttachment_class_data_;
class SharingLog_AppCrash;
struct SharingLog_AppCrashDefaultTypeInternal;
extern SharingLog_AppCrashDefaultTypeInternal _SharingLog_AppCrash_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<51> SharingLog_AppCrash_class_data_;
class SharingLog_AppInfo;
struct SharingLog_AppInfoDefaultTypeInternal;
extern SharingLog_AppInfoDefaultTypeInternal _SharingLog_AppInfo_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<50> SharingLog_AppInfo_class_data_;
class SharingLog_AttachmentsInfo;
struct SharingLog_AttachmentsInfoDefaultTypeInternal;
extern SharingLog_AttachmentsInfoDefaultTypeInternal _SharingLog_AttachmentsInfo_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_AttachmentsInfo_class_data_;
class SharingLog_AutoDismissFastInitialization;
struct SharingLog_AutoDismissFastInitializationDefaultTypeInternal;
extern SharingLog_AutoDismissFastInitializationDefaultTypeInternal _SharingLog_AutoDismissFastInitialization_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<72> SharingLog_AutoDismissFastInitialization_class_data_;
class SharingLog_CancelConnection;
struct SharingLog_CancelConnectionDefaultTypeInternal;
extern SharingLog_CancelConnectionDefaultTypeInternal _SharingLog_CancelConnection_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_CancelConnection_class_data_;
class SharingLog_CancelReceivingAttachments;
struct SharingLog_CancelReceivingAttachmentsDefaultTypeInternal;
extern SharingLog_CancelReceivingAttachmentsDefaultTypeInternal _SharingLog_CancelReceivingAttachments_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_CancelReceivingAttachments_class_data_;
class SharingLog_CancelSendingAttachments;
struct SharingLog_CancelSendingAttachmentsDefaultTypeInternal;
extern SharingLog_CancelSendingAttachmentsDefaultTypeInternal _SharingLog_CancelSendingAttachments_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_CancelSendingAttachments_class_data_;
class SharingLog_CloudAttachmentInfo;
struct SharingLog_CloudAttachmentInfoDefaultTypeInternal;
extern SharingLog_CloudAttachmentInfoDefaultTypeInternal _SharingLog_CloudAttachmentInfo_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_CloudAttachmentInfo_class_data_;
class SharingLog_CloudCreateSharingRequest;
struct SharingLog_CloudCreateSharingRequestDefaultTypeInternal;
extern SharingLog_CloudCreateSharingRequestDefaultTypeInternal _SharingLog_CloudCreateSharingRequest_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_CloudCreateSharingRequest_class_data_;
class SharingLog_CloudDownloadEnd;
struct SharingLog_CloudDownloadEndDefaultTypeInternal;
extern SharingLog_CloudDownloadEndDefaultTypeInternal _SharingLog_CloudDownloadEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_CloudDownloadEnd_class_data_;
class SharingLog_CloudDownloadStart;
struct SharingLog_CloudDownloadStartDefaultTypeInternal;
extern SharingLog_CloudDownloadStartDefaultTypeInternal _SharingLog_CloudDownloadStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_CloudDownloadStart_class_data_;
class SharingLog_CloudRegisterReceiver;
struct SharingLog_CloudRegisterReceiverDefaultTypeInternal;
extern SharingLog_CloudRegisterReceiverDefaultTypeInternal _SharingLog_CloudRegisterReceiver_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_CloudRegisterReceiver_class_data_;
class SharingLog_CloudSharingRpcResult;
struct SharingLog_CloudSharingRpcResultDefaultTypeInternal;
extern SharingLog_CloudSharingRpcResultDefaultTypeInternal _SharingLog_CloudSharingRpcResult_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_CloudSharingRpcResult_class_data_;
class SharingLog_CloudUploadEnd;
struct SharingLog_CloudUploadEndDefaultTypeInternal;
extern SharingLog_CloudUploadEndDefaultTypeInternal _SharingLog_CloudUploadEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_CloudUploadEnd_class_data_;
class SharingLog_CloudUploadStart;
struct SharingLog_CloudUploadStartDefaultTypeInternal;
extern SharingLog_CloudUploadStartDefaultTypeInternal _SharingLog_CloudUploadStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_CloudUploadStart_class_data_;
class SharingLog_DeclineAgreements;
struct SharingLog_DeclineAgreementsDefaultTypeInternal;
extern SharingLog_DeclineAgreementsDefaultTypeInternal _SharingLog_DeclineAgreements_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<60> SharingLog_DeclineAgreements_class_data_;
class SharingLog_DecryptCertificateFailure;
struct SharingLog_DecryptCertificateFailureDefaultTypeInternal;
extern SharingLog_DecryptCertificateFailureDefaultTypeInternal _SharingLog_DecryptCertificateFailure_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_DecryptCertificateFailure_class_data_;
class SharingLog_DefaultOptIn;
struct SharingLog_DefaultOptInDefaultTypeInternal;
extern SharingLog_DefaultOptInDefaultTypeInternal _SharingLog_DefaultOptIn_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<55> SharingLog_DefaultOptIn_class_data_;
class SharingLog_DescribeAttachments;
struct SharingLog_DescribeAttachmentsDefaultTypeInternal;
extern SharingLog_DescribeAttachmentsDefaultTypeInternal _SharingLog_DescribeAttachments_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_DescribeAttachments_class_data_;
class SharingLog_DeviceSettings;
struct SharingLog_DeviceSettingsDefaultTypeInternal;
extern SharingLog_DeviceSettingsDefaultTypeInternal _SharingLog_DeviceSettings_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_DeviceSettings_class_data_;
class SharingLog_DiscoverShareTarget;
struct SharingLog_DiscoverShareTargetDefaultTypeInternal;
extern SharingLog_DiscoverShareTargetDefaultTypeInternal _SharingLog_DiscoverShareTarget_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_DiscoverShareTarget_class_data_;
class SharingLog_DismissFastInitialization;
struct SharingLog_DismissFastInitializationDefaultTypeInternal;
extern SharingLog_DismissFastInitializationDefaultTypeInternal _SharingLog_DismissFastInitialization_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_DismissFastInitialization_class_data_;
class SharingLog_DismissPrivacyNotification;
struct SharingLog_DismissPrivacyNotificationDefaultTypeInternal;
extern SharingLog_DismissPrivacyNotificationDefaultTypeInternal _SharingLog_DismissPrivacyNotification_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_DismissPrivacyNotification_class_data_;
class SharingLog_DisplayPhoneConsent;
struct SharingLog_DisplayPhoneConsentDefaultTypeInternal;
extern SharingLog_DisplayPhoneConsentDefaultTypeInternal _SharingLog_DisplayPhoneConsent_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_DisplayPhoneConsent_class_data_;
class SharingLog_DisplayPrivacyNotification;
struct SharingLog_DisplayPrivacyNotificationDefaultTypeInternal;
extern SharingLog_DisplayPrivacyNotificationDefaultTypeInternal _SharingLog_DisplayPrivacyNotification_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_DisplayPrivacyNotification_class_data_;
class SharingLog_EnableNearbySharing;
struct SharingLog_EnableNearbySharingDefaultTypeInternal;
extern SharingLog_EnableNearbySharingDefaultTypeInternal _SharingLog_EnableNearbySharing_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_EnableNearbySharing_class_data_;
class SharingLog_EstablishConnection;
struct SharingLog_EstablishConnectionDefaultTypeInternal;
extern SharingLog_EstablishConnectionDefaultTypeInternal _SharingLog_EstablishConnection_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_EstablishConnection_class_data_;
class SharingLog_EventMetadata;
struct SharingLog_EventMetadataDefaultTypeInternal;
extern SharingLog_EventMetadataDefaultTypeInternal _SharingLog_EventMetadata_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_EventMetadata_class_data_;
class SharingLog_FastInitDiscoverDevice;
struct SharingLog_FastInitDiscoverDeviceDefaultTypeInternal;
extern SharingLog_FastInitDiscoverDeviceDefaultTypeInternal _SharingLog_FastInitDiscoverDevice_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_FastInitDiscoverDevice_class_data_;
class SharingLog_FastShareServerResponse;
struct SharingLog_FastShareServerResponseDefaultTypeInternal;
extern SharingLog_FastShareServerResponseDefaultTypeInternal _SharingLog_FastShareServerResponse_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_FastShareServerResponse_class_data_;
class SharingLog_FileAttachment;
struct SharingLog_FileAttachmentDefaultTypeInternal;
extern SharingLog_FileAttachmentDefaultTypeInternal _SharingLog_FileAttachment_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_FileAttachment_class_data_;
class SharingLog_HatsJointEvent;
struct SharingLog_HatsJointEventDefaultTypeInternal;
extern SharingLog_HatsJointEventDefaultTypeInternal _SharingLog_HatsJointEvent_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_HatsJointEvent_class_data_;
class SharingLog_HighQualityMediumSetup;
struct SharingLog_HighQualityMediumSetupDefaultTypeInternal;
extern SharingLog_HighQualityMediumSetupDefaultTypeInternal _SharingLog_HighQualityMediumSetup_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_HighQualityMediumSetup_class_data_;
class SharingLog_InstallAPKStatus;
struct SharingLog_InstallAPKStatusDefaultTypeInternal;
extern SharingLog_InstallAPKStatusDefaultTypeInternal _SharingLog_InstallAPKStatus_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_InstallAPKStatus_class_data_;
class SharingLog_LaunchActivity;
struct SharingLog_LaunchActivityDefaultTypeInternal;
extern SharingLog_LaunchActivityDefaultTypeInternal _SharingLog_LaunchActivity_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_LaunchActivity_class_data_;
class SharingLog_LaunchConsent;
struct SharingLog_LaunchConsentDefaultTypeInternal;
extern SharingLog_LaunchConsentDefaultTypeInternal _SharingLog_LaunchConsent_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_LaunchConsent_class_data_;
class SharingLog_LaunchPhoneConsent;
struct SharingLog_LaunchPhoneConsentDefaultTypeInternal;
extern SharingLog_LaunchPhoneConsentDefaultTypeInternal _SharingLog_LaunchPhoneConsent_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_LaunchPhoneConsent_class_data_;
class SharingLog_LaunchSetupActivity;
struct SharingLog_LaunchSetupActivityDefaultTypeInternal;
extern SharingLog_LaunchSetupActivityDefaultTypeInternal _SharingLog_LaunchSetupActivity_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_LaunchSetupActivity_class_data_;
class SharingLog_OpenReceivedAttachments;
struct SharingLog_OpenReceivedAttachmentsDefaultTypeInternal;
extern SharingLog_OpenReceivedAttachmentsDefaultTypeInternal _SharingLog_OpenReceivedAttachments_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_OpenReceivedAttachments_class_data_;
class SharingLog_ParsingFailedEndpointId;
struct SharingLog_ParsingFailedEndpointIdDefaultTypeInternal;
extern SharingLog_ParsingFailedEndpointIdDefaultTypeInternal _SharingLog_ParsingFailedEndpointId_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_ParsingFailedEndpointId_class_data_;
class SharingLog_PreferencesUsage;
struct SharingLog_PreferencesUsageDefaultTypeInternal;
extern SharingLog_PreferencesUsageDefaultTypeInternal _SharingLog_PreferencesUsage_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_PreferencesUsage_class_data_;
class SharingLog_ProcessReceivedAttachmentsEnd;
struct SharingLog_ProcessReceivedAttachmentsEndDefaultTypeInternal;
extern SharingLog_ProcessReceivedAttachmentsEndDefaultTypeInternal _SharingLog_ProcessReceivedAttachmentsEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<72> SharingLog_ProcessReceivedAttachmentsEnd_class_data_;
class SharingLog_QrCodeLinkShown;
struct SharingLog_QrCodeLinkShownDefaultTypeInternal;
extern SharingLog_QrCodeLinkShownDefaultTypeInternal _SharingLog_QrCodeLinkShown_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_QrCodeLinkShown_class_data_;
class SharingLog_QrCodeOpenedInWebClient;
struct SharingLog_QrCodeOpenedInWebClientDefaultTypeInternal;
extern SharingLog_QrCodeOpenedInWebClientDefaultTypeInternal _SharingLog_QrCodeOpenedInWebClient_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_QrCodeOpenedInWebClient_class_data_;
class SharingLog_ReceiveAttachmentsEnd;
struct SharingLog_ReceiveAttachmentsEndDefaultTypeInternal;
extern SharingLog_ReceiveAttachmentsEndDefaultTypeInternal _SharingLog_ReceiveAttachmentsEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_ReceiveAttachmentsEnd_class_data_;
class SharingLog_ReceiveAttachmentsStart;
struct SharingLog_ReceiveAttachmentsStartDefaultTypeInternal;
extern SharingLog_ReceiveAttachmentsStartDefaultTypeInternal _SharingLog_ReceiveAttachmentsStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_ReceiveAttachmentsStart_class_data_;
class SharingLog_ReceiveFastInitialization;
struct SharingLog_ReceiveFastInitializationDefaultTypeInternal;
extern SharingLog_ReceiveFastInitializationDefaultTypeInternal _SharingLog_ReceiveFastInitialization_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_ReceiveFastInitialization_class_data_;
class SharingLog_ReceiveIntroduction;
struct SharingLog_ReceiveIntroductionDefaultTypeInternal;
extern SharingLog_ReceiveIntroductionDefaultTypeInternal _SharingLog_ReceiveIntroduction_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_ReceiveIntroduction_class_data_;
class SharingLog_ReceivePreviews;
struct SharingLog_ReceivePreviewsDefaultTypeInternal;
extern SharingLog_ReceivePreviewsDefaultTypeInternal _SharingLog_ReceivePreviews_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_ReceivePreviews_class_data_;
class SharingLog_RemoveContact;
struct SharingLog_RemoveContactDefaultTypeInternal;
extern SharingLog_RemoveContactDefaultTypeInternal _SharingLog_RemoveContact_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_RemoveContact_class_data_;
class SharingLog_RemoveQuickSettingsTile;
struct SharingLog_RemoveQuickSettingsTileDefaultTypeInternal;
extern SharingLog_RemoveQuickSettingsTileDefaultTypeInternal _SharingLog_RemoveQuickSettingsTile_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_RemoveQuickSettingsTile_class_data_;
class SharingLog_RequestSettingPermissions;
struct SharingLog_RequestSettingPermissionsDefaultTypeInternal;
extern SharingLog_RequestSettingPermissionsDefaultTypeInternal _SharingLog_RequestSettingPermissions_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_RequestSettingPermissions_class_data_;
class SharingLog_RespondToIntroduction;
struct SharingLog_RespondToIntroductionDefaultTypeInternal;
extern SharingLog_RespondToIntroductionDefaultTypeInternal _SharingLog_RespondToIntroduction_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_RespondToIntroduction_class_data_;
class SharingLog_RpcCallStatus;
struct SharingLog_RpcCallStatusDefaultTypeInternal;
extern SharingLog_RpcCallStatusDefaultTypeInternal _SharingLog_RpcCallStatus_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_RpcCallStatus_class_data_;
class SharingLog_ScanForShareTargetsEnd;
struct SharingLog_ScanForShareTargetsEndDefaultTypeInternal;
extern SharingLog_ScanForShareTargetsEndDefaultTypeInternal _SharingLog_ScanForShareTargetsEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_ScanForShareTargetsEnd_class_data_;
class SharingLog_ScanForShareTargetsStart;
struct SharingLog_ScanForShareTargetsStartDefaultTypeInternal;
extern SharingLog_ScanForShareTargetsStartDefaultTypeInternal _SharingLog_ScanForShareTargetsStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_ScanForShareTargetsStart_class_data_;
class SharingLog_SendAttachmentsEnd;
struct SharingLog_SendAttachmentsEndDefaultTypeInternal;
extern SharingLog_SendAttachmentsEndDefaultTypeInternal _SharingLog_SendAttachmentsEnd_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_SendAttachmentsEnd_class_data_;
class SharingLog_SendAttachmentsStart;
struct SharingLog_SendAttachmentsStartDefaultTypeInternal;
extern SharingLog_SendAttachmentsStartDefaultTypeInternal _SharingLog_SendAttachmentsStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_SendAttachmentsStart_class_data_;
class SharingLog_SendDesktopNotification;
struct SharingLog_SendDesktopNotificationDefaultTypeInternal;
extern SharingLog_SendDesktopNotificationDefaultTypeInternal _SharingLog_SendDesktopNotification_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_SendDesktopNotification_class_data_;
class SharingLog_SendDesktopTransferEvent;
struct SharingLog_SendDesktopTransferEventDefaultTypeInternal;
extern SharingLog_SendDesktopTransferEventDefaultTypeInternal _SharingLog_SendDesktopTransferEvent_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_SendDesktopTransferEvent_class_data_;
class SharingLog_SendFastInitialization;
struct SharingLog_SendFastInitializationDefaultTypeInternal;
extern SharingLog_SendFastInitializationDefaultTypeInternal _SharingLog_SendFastInitialization_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_SendFastInitialization_class_data_;
class SharingLog_SendIntroduction;
struct SharingLog_SendIntroductionDefaultTypeInternal;
extern SharingLog_SendIntroductionDefaultTypeInternal _SharingLog_SendIntroduction_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_SendIntroduction_class_data_;
class SharingLog_SendStart;
struct SharingLog_SendStartDefaultTypeInternal;
extern SharingLog_SendStartDefaultTypeInternal _SharingLog_SendStart_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<52> SharingLog_SendStart_class_data_;
class SharingLog_SetAccount;
struct SharingLog_SetAccountDefaultTypeInternal;
extern SharingLog_SetAccountDefaultTypeInternal _SharingLog_SetAccount_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<53> SharingLog_SetAccount_class_data_;
class SharingLog_SetDataUsage;
struct SharingLog_SetDataUsageDefaultTypeInternal;
extern SharingLog_SetDataUsageDefaultTypeInternal _SharingLog_SetDataUsage_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<55> SharingLog_SetDataUsage_class_data_;
class SharingLog_SetDeviceName;
struct SharingLog_SetDeviceNameDefaultTypeInternal;
extern SharingLog_SetDeviceNameDefaultTypeInternal _SharingLog_SetDeviceName_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_SetDeviceName_class_data_;
class SharingLog_SetVisibility;
struct SharingLog_SetVisibilityDefaultTypeInternal;
extern SharingLog_SetVisibilityDefaultTypeInternal _SharingLog_SetVisibility_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_SetVisibility_class_data_;
class SharingLog_SetupWizard;
struct SharingLog_SetupWizardDefaultTypeInternal;
extern SharingLog_SetupWizardDefaultTypeInternal _SharingLog_SetupWizard_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<54> SharingLog_SetupWizard_class_data_;
class SharingLog_ShareTargetInfo;
struct SharingLog_ShareTargetInfoDefaultTypeInternal;
extern SharingLog_ShareTargetInfoDefaultTypeInternal _SharingLog_ShareTargetInfo_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_ShareTargetInfo_class_data_;
class SharingLog_ShowAllowPermissionAutoAccess;
struct SharingLog_ShowAllowPermissionAutoAccessDefaultTypeInternal;
extern SharingLog_ShowAllowPermissionAutoAccessDefaultTypeInternal _SharingLog_ShowAllowPermissionAutoAccess_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<72> SharingLog_ShowAllowPermissionAutoAccess_class_data_;
class SharingLog_ShowWaitingForAccept;
struct SharingLog_ShowWaitingForAcceptDefaultTypeInternal;
extern SharingLog_ShowWaitingForAcceptDefaultTypeInternal _SharingLog_ShowWaitingForAccept_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_ShowWaitingForAccept_class_data_;
class SharingLog_StartQrCodeSession;
struct SharingLog_StartQrCodeSessionDefaultTypeInternal;
extern SharingLog_StartQrCodeSessionDefaultTypeInternal _SharingLog_StartQrCodeSession_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_StartQrCodeSession_class_data_;
class SharingLog_StreamAttachment;
struct SharingLog_StreamAttachmentDefaultTypeInternal;
extern SharingLog_StreamAttachmentDefaultTypeInternal _SharingLog_StreamAttachment_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_StreamAttachment_class_data_;
class SharingLog_TapFeedback;
struct SharingLog_TapFeedbackDefaultTypeInternal;
extern SharingLog_TapFeedbackDefaultTypeInternal _SharingLog_TapFeedback_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<54> SharingLog_TapFeedback_class_data_;
class SharingLog_TapHelp;
struct SharingLog_TapHelpDefaultTypeInternal;
extern SharingLog_TapHelpDefaultTypeInternal _SharingLog_TapHelp_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<50> SharingLog_TapHelp_class_data_;
class SharingLog_TapPrivacyNotification;
struct SharingLog_TapPrivacyNotificationDefaultTypeInternal;
extern SharingLog_TapPrivacyNotificationDefaultTypeInternal _SharingLog_TapPrivacyNotification_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_TapPrivacyNotification_class_data_;
class SharingLog_TapQrCode;
struct SharingLog_TapQrCodeDefaultTypeInternal;
extern SharingLog_TapQrCodeDefaultTypeInternal _SharingLog_TapQrCode_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<52> SharingLog_TapQrCode_class_data_;
class SharingLog_TapQuickSettingsFileShare;
struct SharingLog_TapQuickSettingsFileShareDefaultTypeInternal;
extern SharingLog_TapQuickSettingsFileShareDefaultTypeInternal _SharingLog_TapQuickSettingsFileShare_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_TapQuickSettingsFileShare_class_data_;
class SharingLog_TapQuickSettingsTile;
struct SharingLog_TapQuickSettingsTileDefaultTypeInternal;
extern SharingLog_TapQuickSettingsTileDefaultTypeInternal _SharingLog_TapQuickSettingsTile_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_TapQuickSettingsTile_class_data_;
class SharingLog_TextAttachment;
struct SharingLog_TextAttachmentDefaultTypeInternal;
extern SharingLog_TextAttachmentDefaultTypeInternal _SharingLog_TextAttachment_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_TextAttachment_class_data_;
class SharingLog_ToggleShowNotification;
struct SharingLog_ToggleShowNotificationDefaultTypeInternal;
extern SharingLog_ToggleShowNotificationDefaultTypeInternal _SharingLog_ToggleShowNotification_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_ToggleShowNotification_class_data_;
class SharingLog_UnknownEvent;
struct SharingLog_UnknownEventDefaultTypeInternal;
extern SharingLog_UnknownEventDefaultTypeInternal _SharingLog_UnknownEvent_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<55> SharingLog_UnknownEvent_class_data_;
class SharingLog_VerifyAPKStatus;
struct SharingLog_VerifyAPKStatusDefaultTypeInternal;
extern SharingLog_VerifyAPKStatusDefaultTypeInternal _SharingLog_VerifyAPKStatus_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_VerifyAPKStatus_class_data_;
class SharingLog_WifiCredentialsAttachment;
struct SharingLog_WifiCredentialsAttachmentDefaultTypeInternal;
extern SharingLog_WifiCredentialsAttachmentDefaultTypeInternal _SharingLog_WifiCredentialsAttachment_default_instance_;
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_WifiCredentialsAttachment_class_data_;
} // namespace proto
} // namespace analytics
} // namespace sharing
} // namespace nearby
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type_internal_data_>
internal::EnumTraitsImpl::value<::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type>;
template <>
internal::EnumTraitsT<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform_internal_data_>
internal::EnumTraitsImpl::value<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform>;
template <>
internal::EnumTraitsT<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection_internal_data_>
internal::EnumTraitsImpl::value<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection>;
template <>
internal::EnumTraitsT<::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type_internal_data_>
internal::EnumTraitsImpl::value<::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type>;
} // namespace protobuf
} // namespace google
namespace nearby {
namespace sharing {
namespace analytics {
namespace proto {
enum SharingLog_TextAttachment_Type : int {
SharingLog_TextAttachment_Type_UNKNOWN_TEXT_TYPE = 0,
SharingLog_TextAttachment_Type_URL = 1,
SharingLog_TextAttachment_Type_ADDRESS = 2,
SharingLog_TextAttachment_Type_PHONE_NUMBER = 3,
};
extern const uint32_t SharingLog_TextAttachment_Type_internal_data_[];
inline constexpr SharingLog_TextAttachment_Type SharingLog_TextAttachment_Type_Type_MIN =
static_cast<SharingLog_TextAttachment_Type>(0);
inline constexpr SharingLog_TextAttachment_Type SharingLog_TextAttachment_Type_Type_MAX =
static_cast<SharingLog_TextAttachment_Type>(3);
inline bool SharingLog_TextAttachment_Type_IsValid(int value) {
return 0 <= value && value <= 3;
}
inline constexpr int SharingLog_TextAttachment_Type_Type_ARRAYSIZE = 3 + 1;
const ::std::string& SharingLog_TextAttachment_Type_Name(SharingLog_TextAttachment_Type value);
template <typename T>
const ::std::string& SharingLog_TextAttachment_Type_Name(T value) {
static_assert(::std::is_same<T, SharingLog_TextAttachment_Type>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to Type_Name().");
return SharingLog_TextAttachment_Type_Name(static_cast<SharingLog_TextAttachment_Type>(value));
}
bool SharingLog_TextAttachment_Type_Parse(
::absl::string_view name, SharingLog_TextAttachment_Type* PROTOBUF_NONNULL value);
enum SharingLog_FileAttachment_Type : int {
SharingLog_FileAttachment_Type_UNKNOWN_FILE_TYPE = 0,
SharingLog_FileAttachment_Type_IMAGE = 1,
SharingLog_FileAttachment_Type_VIDEO = 2,
SharingLog_FileAttachment_Type_ANDROID_APP = 3,
SharingLog_FileAttachment_Type_AUDIO = 4,
SharingLog_FileAttachment_Type_DOCUMENT = 5,
SharingLog_FileAttachment_Type_CONTACT_CARD = 6,
};
extern const uint32_t SharingLog_FileAttachment_Type_internal_data_[];
inline constexpr SharingLog_FileAttachment_Type SharingLog_FileAttachment_Type_Type_MIN =
static_cast<SharingLog_FileAttachment_Type>(0);
inline constexpr SharingLog_FileAttachment_Type SharingLog_FileAttachment_Type_Type_MAX =
static_cast<SharingLog_FileAttachment_Type>(6);
inline bool SharingLog_FileAttachment_Type_IsValid(int value) {
return 0 <= value && value <= 6;
}
inline constexpr int SharingLog_FileAttachment_Type_Type_ARRAYSIZE = 6 + 1;
const ::std::string& SharingLog_FileAttachment_Type_Name(SharingLog_FileAttachment_Type value);
template <typename T>
const ::std::string& SharingLog_FileAttachment_Type_Name(T value) {
static_assert(::std::is_same<T, SharingLog_FileAttachment_Type>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to Type_Name().");
return SharingLog_FileAttachment_Type_Name(static_cast<SharingLog_FileAttachment_Type>(value));
}
bool SharingLog_FileAttachment_Type_Parse(
::absl::string_view name, SharingLog_FileAttachment_Type* PROTOBUF_NONNULL value);
enum SharingLog_RpcCallStatus_RpcDirection : int {
SharingLog_RpcCallStatus_RpcDirection_UNKNOWN_RPC_DIRECTION = 0,
SharingLog_RpcCallStatus_RpcDirection_INCOMING = 1,
SharingLog_RpcCallStatus_RpcDirection_OUTGOING = 2,
};
extern const uint32_t SharingLog_RpcCallStatus_RpcDirection_internal_data_[];
inline constexpr SharingLog_RpcCallStatus_RpcDirection SharingLog_RpcCallStatus_RpcDirection_RpcDirection_MIN =
static_cast<SharingLog_RpcCallStatus_RpcDirection>(0);
inline constexpr SharingLog_RpcCallStatus_RpcDirection SharingLog_RpcCallStatus_RpcDirection_RpcDirection_MAX =
static_cast<SharingLog_RpcCallStatus_RpcDirection>(2);
inline bool SharingLog_RpcCallStatus_RpcDirection_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int SharingLog_RpcCallStatus_RpcDirection_RpcDirection_ARRAYSIZE = 2 + 1;
const ::std::string& SharingLog_RpcCallStatus_RpcDirection_Name(SharingLog_RpcCallStatus_RpcDirection value);
template <typename T>
const ::std::string& SharingLog_RpcCallStatus_RpcDirection_Name(T value) {
static_assert(::std::is_same<T, SharingLog_RpcCallStatus_RpcDirection>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to RpcDirection_Name().");
return SharingLog_RpcCallStatus_RpcDirection_Name(static_cast<SharingLog_RpcCallStatus_RpcDirection>(value));
}
bool SharingLog_RpcCallStatus_RpcDirection_Parse(
::absl::string_view name, SharingLog_RpcCallStatus_RpcDirection* PROTOBUF_NONNULL value);
enum SharingLog_QrCodeOpenedInWebClient_ClientPlatform : int {
SharingLog_QrCodeOpenedInWebClient_ClientPlatform_UNKNOWN_CLIENT_PLATFORM = 0,
SharingLog_QrCodeOpenedInWebClient_ClientPlatform_GENERIC = 1,
SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ANDROID = 2,
SharingLog_QrCodeOpenedInWebClient_ClientPlatform_IOS = 3,
SharingLog_QrCodeOpenedInWebClient_ClientPlatform_CHROME_OS = 4,
SharingLog_QrCodeOpenedInWebClient_ClientPlatform_WINDOWS = 5,
};
extern const uint32_t SharingLog_QrCodeOpenedInWebClient_ClientPlatform_internal_data_[];
inline constexpr SharingLog_QrCodeOpenedInWebClient_ClientPlatform SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ClientPlatform_MIN =
static_cast<SharingLog_QrCodeOpenedInWebClient_ClientPlatform>(0);
inline constexpr SharingLog_QrCodeOpenedInWebClient_ClientPlatform SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ClientPlatform_MAX =
static_cast<SharingLog_QrCodeOpenedInWebClient_ClientPlatform>(5);
inline bool SharingLog_QrCodeOpenedInWebClient_ClientPlatform_IsValid(int value) {
return 0 <= value && value <= 5;
}
inline constexpr int SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ClientPlatform_ARRAYSIZE = 5 + 1;
const ::std::string& SharingLog_QrCodeOpenedInWebClient_ClientPlatform_Name(SharingLog_QrCodeOpenedInWebClient_ClientPlatform value);
template <typename T>
const ::std::string& SharingLog_QrCodeOpenedInWebClient_ClientPlatform_Name(T value) {
static_assert(::std::is_same<T, SharingLog_QrCodeOpenedInWebClient_ClientPlatform>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to ClientPlatform_Name().");
return SharingLog_QrCodeOpenedInWebClient_ClientPlatform_Name(static_cast<SharingLog_QrCodeOpenedInWebClient_ClientPlatform>(value));
}
bool SharingLog_QrCodeOpenedInWebClient_ClientPlatform_Parse(
::absl::string_view name, SharingLog_QrCodeOpenedInWebClient_ClientPlatform* PROTOBUF_NONNULL value);
// ===================================================================
// -------------------------------------------------------------------
class SharingLog_WifiCredentialsAttachment final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment) */ {
public:
inline SharingLog_WifiCredentialsAttachment() : SharingLog_WifiCredentialsAttachment(nullptr) {}
~SharingLog_WifiCredentialsAttachment() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_WifiCredentialsAttachment));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_WifiCredentialsAttachment(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_WifiCredentialsAttachment(const SharingLog_WifiCredentialsAttachment& from) : SharingLog_WifiCredentialsAttachment(nullptr, from) {}
inline SharingLog_WifiCredentialsAttachment(SharingLog_WifiCredentialsAttachment&& from) noexcept
: SharingLog_WifiCredentialsAttachment(nullptr, ::std::move(from)) {}
inline SharingLog_WifiCredentialsAttachment& operator=(const SharingLog_WifiCredentialsAttachment& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_WifiCredentialsAttachment& operator=(SharingLog_WifiCredentialsAttachment&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_WifiCredentialsAttachment& default_instance() {
return *reinterpret_cast<const SharingLog_WifiCredentialsAttachment*>(
&_SharingLog_WifiCredentialsAttachment_default_instance_);
}
static constexpr int kIndexInFileMessages = 69;
friend void swap(SharingLog_WifiCredentialsAttachment& a, SharingLog_WifiCredentialsAttachment& b) { a.Swap(&b); }
inline void Swap(SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_WifiCredentialsAttachment>(arena);
}
void CopyFrom(const SharingLog_WifiCredentialsAttachment& from);
void MergeFrom(const SharingLog_WifiCredentialsAttachment& from) { SharingLog_WifiCredentialsAttachment::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment"; }
explicit SharingLog_WifiCredentialsAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_WifiCredentialsAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_WifiCredentialsAttachment& from);
SharingLog_WifiCredentialsAttachment(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_WifiCredentialsAttachment&& from) noexcept
: SharingLog_WifiCredentialsAttachment(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kBatchIdFieldNumber = 2,
kSecurityTypeFieldNumber = 1,
kSourceTypeFieldNumber = 3,
};
// optional int64 batch_id = 2;
bool has_batch_id() const;
void clear_batch_id() ;
::int64_t batch_id() const;
void set_batch_id(::int64_t value);
private:
::int64_t _internal_batch_id() const;
void _internal_set_batch_id(::int64_t value);
public:
// optional int32 security_type = 1;
bool has_security_type() const;
void clear_security_type() ;
::int32_t security_type() const;
void set_security_type(::int32_t value);
private:
::int32_t _internal_security_type() const;
void _internal_set_security_type(::int32_t value);
public:
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 3;
bool has_source_type() const;
void clear_source_type() ;
::location::nearby::proto::sharing::AttachmentSourceType source_type() const;
void set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
private:
::location::nearby::proto::sharing::AttachmentSourceType _internal_source_type() const;
void _internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_WifiCredentialsAttachment& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t batch_id_;
::int32_t security_type_;
int source_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_WifiCredentialsAttachment_class_data_;
// -------------------------------------------------------------------
class SharingLog_VerifyAPKStatus final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus) */ {
public:
inline SharingLog_VerifyAPKStatus() : SharingLog_VerifyAPKStatus(nullptr) {}
~SharingLog_VerifyAPKStatus() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_VerifyAPKStatus));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_VerifyAPKStatus(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_VerifyAPKStatus(const SharingLog_VerifyAPKStatus& from) : SharingLog_VerifyAPKStatus(nullptr, from) {}
inline SharingLog_VerifyAPKStatus(SharingLog_VerifyAPKStatus&& from) noexcept
: SharingLog_VerifyAPKStatus(nullptr, ::std::move(from)) {}
inline SharingLog_VerifyAPKStatus& operator=(const SharingLog_VerifyAPKStatus& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_VerifyAPKStatus& operator=(SharingLog_VerifyAPKStatus&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_VerifyAPKStatus& default_instance() {
return *reinterpret_cast<const SharingLog_VerifyAPKStatus*>(
&_SharingLog_VerifyAPKStatus_default_instance_);
}
static constexpr int kIndexInFileMessages = 58;
friend void swap(SharingLog_VerifyAPKStatus& a, SharingLog_VerifyAPKStatus& b) { a.Swap(&b); }
inline void Swap(SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_VerifyAPKStatus>(arena);
}
void CopyFrom(const SharingLog_VerifyAPKStatus& from);
void MergeFrom(const SharingLog_VerifyAPKStatus& from) { SharingLog_VerifyAPKStatus::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus"; }
explicit SharingLog_VerifyAPKStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_VerifyAPKStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_VerifyAPKStatus& from);
SharingLog_VerifyAPKStatus(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_VerifyAPKStatus&& from) noexcept
: SharingLog_VerifyAPKStatus(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStatusFieldNumber = 1,
kSourceFieldNumber = 2,
};
// repeated .location.nearby.proto.sharing.VerifyAPKStatus status = 1 [packed = true];
int status_size() const;
private:
int _internal_status_size() const;
public:
void clear_status() ;
public:
::location::nearby::proto::sharing::VerifyAPKStatus status(int index) const;
void set_status(int index, ::location::nearby::proto::sharing::VerifyAPKStatus value);
void add_status(::location::nearby::proto::sharing::VerifyAPKStatus value);
const ::google::protobuf::RepeatedField<int>& status() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_status();
private:
const ::google::protobuf::RepeatedField<int>& _internal_status() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_status();
public:
// repeated .location.nearby.proto.sharing.ApkSource source = 2 [packed = true];
int source_size() const;
private:
int _internal_source_size() const;
public:
void clear_source() ;
public:
::location::nearby::proto::sharing::ApkSource source(int index) const;
void set_source(int index, ::location::nearby::proto::sharing::ApkSource value);
void add_source(::location::nearby::proto::sharing::ApkSource value);
const ::google::protobuf::RepeatedField<int>& source() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_source();
private:
const ::google::protobuf::RepeatedField<int>& _internal_source() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_source();
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_VerifyAPKStatus& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedField<int> status_;
::google::protobuf::internal::CachedSize _status_cached_byte_size_;
::google::protobuf::RepeatedField<int> source_;
::google::protobuf::internal::CachedSize _source_cached_byte_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_VerifyAPKStatus_class_data_;
// -------------------------------------------------------------------
class SharingLog_UnknownEvent final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.UnknownEvent) */ {
public:
inline SharingLog_UnknownEvent() : SharingLog_UnknownEvent(nullptr) {}
~SharingLog_UnknownEvent() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_UnknownEvent* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_UnknownEvent));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_UnknownEvent(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_UnknownEvent(const SharingLog_UnknownEvent& from) : SharingLog_UnknownEvent(nullptr, from) {}
inline SharingLog_UnknownEvent(SharingLog_UnknownEvent&& from) noexcept
: SharingLog_UnknownEvent(nullptr, ::std::move(from)) {}
inline SharingLog_UnknownEvent& operator=(const SharingLog_UnknownEvent& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_UnknownEvent& operator=(SharingLog_UnknownEvent&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_UnknownEvent& default_instance() {
return *reinterpret_cast<const SharingLog_UnknownEvent*>(
&_SharingLog_UnknownEvent_default_instance_);
}
static constexpr int kIndexInFileMessages = 3;
friend void swap(SharingLog_UnknownEvent& a, SharingLog_UnknownEvent& b) { a.Swap(&b); }
inline void Swap(SharingLog_UnknownEvent* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_UnknownEvent* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_UnknownEvent* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_UnknownEvent>(arena);
}
void CopyFrom(const SharingLog_UnknownEvent& from);
void MergeFrom(const SharingLog_UnknownEvent& from) { SharingLog_UnknownEvent::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_UnknownEvent* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.UnknownEvent"; }
explicit SharingLog_UnknownEvent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_UnknownEvent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_UnknownEvent& from);
SharingLog_UnknownEvent(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_UnknownEvent&& from) noexcept
: SharingLog_UnknownEvent(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.UnknownEvent)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_UnknownEvent& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<55> SharingLog_UnknownEvent_class_data_;
// -------------------------------------------------------------------
class SharingLog_ToggleShowNotification final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification) */ {
public:
inline SharingLog_ToggleShowNotification() : SharingLog_ToggleShowNotification(nullptr) {}
~SharingLog_ToggleShowNotification() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ToggleShowNotification* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ToggleShowNotification));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ToggleShowNotification(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ToggleShowNotification(const SharingLog_ToggleShowNotification& from) : SharingLog_ToggleShowNotification(nullptr, from) {}
inline SharingLog_ToggleShowNotification(SharingLog_ToggleShowNotification&& from) noexcept
: SharingLog_ToggleShowNotification(nullptr, ::std::move(from)) {}
inline SharingLog_ToggleShowNotification& operator=(const SharingLog_ToggleShowNotification& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ToggleShowNotification& operator=(SharingLog_ToggleShowNotification&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ToggleShowNotification& default_instance() {
return *reinterpret_cast<const SharingLog_ToggleShowNotification*>(
&_SharingLog_ToggleShowNotification_default_instance_);
}
static constexpr int kIndexInFileMessages = 59;
friend void swap(SharingLog_ToggleShowNotification& a, SharingLog_ToggleShowNotification& b) { a.Swap(&b); }
inline void Swap(SharingLog_ToggleShowNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ToggleShowNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ToggleShowNotification* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ToggleShowNotification>(arena);
}
void CopyFrom(const SharingLog_ToggleShowNotification& from);
void MergeFrom(const SharingLog_ToggleShowNotification& from) { SharingLog_ToggleShowNotification::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ToggleShowNotification* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification"; }
explicit SharingLog_ToggleShowNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ToggleShowNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ToggleShowNotification& from);
SharingLog_ToggleShowNotification(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ToggleShowNotification&& from) noexcept
: SharingLog_ToggleShowNotification(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPreviousStatusFieldNumber = 1,
kCurrentStatusFieldNumber = 2,
};
// optional .location.nearby.proto.sharing.ShowNotificationStatus previous_status = 1;
bool has_previous_status() const;
void clear_previous_status() ;
::location::nearby::proto::sharing::ShowNotificationStatus previous_status() const;
void set_previous_status(::location::nearby::proto::sharing::ShowNotificationStatus value);
private:
::location::nearby::proto::sharing::ShowNotificationStatus _internal_previous_status() const;
void _internal_set_previous_status(::location::nearby::proto::sharing::ShowNotificationStatus value);
public:
// optional .location.nearby.proto.sharing.ShowNotificationStatus current_status = 2;
bool has_current_status() const;
void clear_current_status() ;
::location::nearby::proto::sharing::ShowNotificationStatus current_status() const;
void set_current_status(::location::nearby::proto::sharing::ShowNotificationStatus value);
private:
::location::nearby::proto::sharing::ShowNotificationStatus _internal_current_status() const;
void _internal_set_current_status(::location::nearby::proto::sharing::ShowNotificationStatus value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ToggleShowNotification& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int previous_status_;
int current_status_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_ToggleShowNotification_class_data_;
// -------------------------------------------------------------------
class SharingLog_TextAttachment final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TextAttachment) */ {
public:
inline SharingLog_TextAttachment() : SharingLog_TextAttachment(nullptr) {}
~SharingLog_TextAttachment() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TextAttachment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TextAttachment));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TextAttachment(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TextAttachment(const SharingLog_TextAttachment& from) : SharingLog_TextAttachment(nullptr, from) {}
inline SharingLog_TextAttachment(SharingLog_TextAttachment&& from) noexcept
: SharingLog_TextAttachment(nullptr, ::std::move(from)) {}
inline SharingLog_TextAttachment& operator=(const SharingLog_TextAttachment& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TextAttachment& operator=(SharingLog_TextAttachment&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TextAttachment& default_instance() {
return *reinterpret_cast<const SharingLog_TextAttachment*>(
&_SharingLog_TextAttachment_default_instance_);
}
static constexpr int kIndexInFileMessages = 67;
friend void swap(SharingLog_TextAttachment& a, SharingLog_TextAttachment& b) { a.Swap(&b); }
inline void Swap(SharingLog_TextAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TextAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TextAttachment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TextAttachment>(arena);
}
void CopyFrom(const SharingLog_TextAttachment& from);
void MergeFrom(const SharingLog_TextAttachment& from) { SharingLog_TextAttachment::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TextAttachment* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TextAttachment"; }
explicit SharingLog_TextAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TextAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TextAttachment& from);
SharingLog_TextAttachment(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TextAttachment&& from) noexcept
: SharingLog_TextAttachment(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
using Type = SharingLog_TextAttachment_Type;
static constexpr Type UNKNOWN_TEXT_TYPE = SharingLog_TextAttachment_Type_UNKNOWN_TEXT_TYPE;
static constexpr Type URL = SharingLog_TextAttachment_Type_URL;
static constexpr Type ADDRESS = SharingLog_TextAttachment_Type_ADDRESS;
static constexpr Type PHONE_NUMBER = SharingLog_TextAttachment_Type_PHONE_NUMBER;
static inline bool Type_IsValid(int value) {
return SharingLog_TextAttachment_Type_IsValid(value);
}
static constexpr Type Type_MIN = SharingLog_TextAttachment_Type_Type_MIN;
static constexpr Type Type_MAX = SharingLog_TextAttachment_Type_Type_MAX;
static constexpr int Type_ARRAYSIZE = SharingLog_TextAttachment_Type_Type_ARRAYSIZE;
template <typename T>
static inline const ::std::string& Type_Name(T value) {
return SharingLog_TextAttachment_Type_Name(value);
}
static inline bool Type_Parse(
::absl::string_view name, Type* PROTOBUF_NONNULL value) {
return SharingLog_TextAttachment_Type_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kSizeBytesFieldNumber = 2,
kTypeFieldNumber = 1,
kSourceTypeFieldNumber = 4,
kBatchIdFieldNumber = 3,
};
// optional int64 size_bytes = 2;
bool has_size_bytes() const;
void clear_size_bytes() ;
::int64_t size_bytes() const;
void set_size_bytes(::int64_t value);
private:
::int64_t _internal_size_bytes() const;
void _internal_set_size_bytes(::int64_t value);
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TextAttachment.Type type = 1;
bool has_type() const;
void clear_type() ;
::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type type() const;
void set_type(::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type value);
private:
::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type _internal_type() const;
void _internal_set_type(::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type value);
public:
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 4;
bool has_source_type() const;
void clear_source_type() ;
::location::nearby::proto::sharing::AttachmentSourceType source_type() const;
void set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
private:
::location::nearby::proto::sharing::AttachmentSourceType _internal_source_type() const;
void _internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
public:
// optional int64 batch_id = 3;
bool has_batch_id() const;
void clear_batch_id() ;
::int64_t batch_id() const;
void set_batch_id(::int64_t value);
private:
::int64_t _internal_batch_id() const;
void _internal_set_batch_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TextAttachment)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TextAttachment& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t size_bytes_;
int type_;
int source_type_;
::int64_t batch_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_TextAttachment_class_data_;
// -------------------------------------------------------------------
class SharingLog_TapQuickSettingsTile final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsTile) */ {
public:
inline SharingLog_TapQuickSettingsTile() : SharingLog_TapQuickSettingsTile(nullptr) {}
~SharingLog_TapQuickSettingsTile() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TapQuickSettingsTile));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TapQuickSettingsTile(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TapQuickSettingsTile(const SharingLog_TapQuickSettingsTile& from) : SharingLog_TapQuickSettingsTile(nullptr, from) {}
inline SharingLog_TapQuickSettingsTile(SharingLog_TapQuickSettingsTile&& from) noexcept
: SharingLog_TapQuickSettingsTile(nullptr, ::std::move(from)) {}
inline SharingLog_TapQuickSettingsTile& operator=(const SharingLog_TapQuickSettingsTile& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TapQuickSettingsTile& operator=(SharingLog_TapQuickSettingsTile&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TapQuickSettingsTile& default_instance() {
return *reinterpret_cast<const SharingLog_TapQuickSettingsTile*>(
&_SharingLog_TapQuickSettingsTile_default_instance_);
}
static constexpr int kIndexInFileMessages = 50;
friend void swap(SharingLog_TapQuickSettingsTile& a, SharingLog_TapQuickSettingsTile& b) { a.Swap(&b); }
inline void Swap(SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TapQuickSettingsTile>(arena);
}
void CopyFrom(const SharingLog_TapQuickSettingsTile& from);
void MergeFrom(const SharingLog_TapQuickSettingsTile& from) { SharingLog_TapQuickSettingsTile::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsTile"; }
explicit SharingLog_TapQuickSettingsTile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TapQuickSettingsTile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TapQuickSettingsTile& from);
SharingLog_TapQuickSettingsTile(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TapQuickSettingsTile&& from) noexcept
: SharingLog_TapQuickSettingsTile(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsTile)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TapQuickSettingsTile& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_TapQuickSettingsTile_class_data_;
// -------------------------------------------------------------------
class SharingLog_TapQuickSettingsFileShare final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsFileShare) */ {
public:
inline SharingLog_TapQuickSettingsFileShare() : SharingLog_TapQuickSettingsFileShare(nullptr) {}
~SharingLog_TapQuickSettingsFileShare() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TapQuickSettingsFileShare));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TapQuickSettingsFileShare(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TapQuickSettingsFileShare(const SharingLog_TapQuickSettingsFileShare& from) : SharingLog_TapQuickSettingsFileShare(nullptr, from) {}
inline SharingLog_TapQuickSettingsFileShare(SharingLog_TapQuickSettingsFileShare&& from) noexcept
: SharingLog_TapQuickSettingsFileShare(nullptr, ::std::move(from)) {}
inline SharingLog_TapQuickSettingsFileShare& operator=(const SharingLog_TapQuickSettingsFileShare& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TapQuickSettingsFileShare& operator=(SharingLog_TapQuickSettingsFileShare&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TapQuickSettingsFileShare& default_instance() {
return *reinterpret_cast<const SharingLog_TapQuickSettingsFileShare*>(
&_SharingLog_TapQuickSettingsFileShare_default_instance_);
}
static constexpr int kIndexInFileMessages = 51;
friend void swap(SharingLog_TapQuickSettingsFileShare& a, SharingLog_TapQuickSettingsFileShare& b) { a.Swap(&b); }
inline void Swap(SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TapQuickSettingsFileShare>(arena);
}
void CopyFrom(const SharingLog_TapQuickSettingsFileShare& from);
void MergeFrom(const SharingLog_TapQuickSettingsFileShare& from) { SharingLog_TapQuickSettingsFileShare::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsFileShare"; }
explicit SharingLog_TapQuickSettingsFileShare(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TapQuickSettingsFileShare(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TapQuickSettingsFileShare& from);
SharingLog_TapQuickSettingsFileShare(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TapQuickSettingsFileShare&& from) noexcept
: SharingLog_TapQuickSettingsFileShare(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsFileShare)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TapQuickSettingsFileShare& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_TapQuickSettingsFileShare_class_data_;
// -------------------------------------------------------------------
class SharingLog_TapQrCode final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TapQrCode) */ {
public:
inline SharingLog_TapQrCode() : SharingLog_TapQrCode(nullptr) {}
~SharingLog_TapQrCode() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TapQrCode* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TapQrCode));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TapQrCode(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TapQrCode(const SharingLog_TapQrCode& from) : SharingLog_TapQrCode(nullptr, from) {}
inline SharingLog_TapQrCode(SharingLog_TapQrCode&& from) noexcept
: SharingLog_TapQrCode(nullptr, ::std::move(from)) {}
inline SharingLog_TapQrCode& operator=(const SharingLog_TapQrCode& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TapQrCode& operator=(SharingLog_TapQrCode&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TapQrCode& default_instance() {
return *reinterpret_cast<const SharingLog_TapQrCode*>(
&_SharingLog_TapQrCode_default_instance_);
}
static constexpr int kIndexInFileMessages = 62;
friend void swap(SharingLog_TapQrCode& a, SharingLog_TapQrCode& b) { a.Swap(&b); }
inline void Swap(SharingLog_TapQrCode* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TapQrCode* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TapQrCode* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TapQrCode>(arena);
}
void CopyFrom(const SharingLog_TapQrCode& from);
void MergeFrom(const SharingLog_TapQrCode& from) { SharingLog_TapQrCode::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TapQrCode* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TapQrCode"; }
explicit SharingLog_TapQrCode(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TapQrCode(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TapQrCode& from);
SharingLog_TapQrCode(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TapQrCode&& from) noexcept
: SharingLog_TapQrCode(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TapQrCode)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TapQrCode& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<52> SharingLog_TapQrCode_class_data_;
// -------------------------------------------------------------------
class SharingLog_TapPrivacyNotification final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TapPrivacyNotification) */ {
public:
inline SharingLog_TapPrivacyNotification() : SharingLog_TapPrivacyNotification(nullptr) {}
~SharingLog_TapPrivacyNotification() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TapPrivacyNotification));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TapPrivacyNotification(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TapPrivacyNotification(const SharingLog_TapPrivacyNotification& from) : SharingLog_TapPrivacyNotification(nullptr, from) {}
inline SharingLog_TapPrivacyNotification(SharingLog_TapPrivacyNotification&& from) noexcept
: SharingLog_TapPrivacyNotification(nullptr, ::std::move(from)) {}
inline SharingLog_TapPrivacyNotification& operator=(const SharingLog_TapPrivacyNotification& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TapPrivacyNotification& operator=(SharingLog_TapPrivacyNotification&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TapPrivacyNotification& default_instance() {
return *reinterpret_cast<const SharingLog_TapPrivacyNotification*>(
&_SharingLog_TapPrivacyNotification_default_instance_);
}
static constexpr int kIndexInFileMessages = 43;
friend void swap(SharingLog_TapPrivacyNotification& a, SharingLog_TapPrivacyNotification& b) { a.Swap(&b); }
inline void Swap(SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TapPrivacyNotification>(arena);
}
void CopyFrom(const SharingLog_TapPrivacyNotification& from);
void MergeFrom(const SharingLog_TapPrivacyNotification& from) { SharingLog_TapPrivacyNotification::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TapPrivacyNotification"; }
explicit SharingLog_TapPrivacyNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TapPrivacyNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TapPrivacyNotification& from);
SharingLog_TapPrivacyNotification(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TapPrivacyNotification&& from) noexcept
: SharingLog_TapPrivacyNotification(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TapPrivacyNotification)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TapPrivacyNotification& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_TapPrivacyNotification_class_data_;
// -------------------------------------------------------------------
class SharingLog_TapHelp final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TapHelp) */ {
public:
inline SharingLog_TapHelp() : SharingLog_TapHelp(nullptr) {}
~SharingLog_TapHelp() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TapHelp* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TapHelp));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TapHelp(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TapHelp(const SharingLog_TapHelp& from) : SharingLog_TapHelp(nullptr, from) {}
inline SharingLog_TapHelp(SharingLog_TapHelp&& from) noexcept
: SharingLog_TapHelp(nullptr, ::std::move(from)) {}
inline SharingLog_TapHelp& operator=(const SharingLog_TapHelp& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TapHelp& operator=(SharingLog_TapHelp&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TapHelp& default_instance() {
return *reinterpret_cast<const SharingLog_TapHelp*>(
&_SharingLog_TapHelp_default_instance_);
}
static constexpr int kIndexInFileMessages = 44;
friend void swap(SharingLog_TapHelp& a, SharingLog_TapHelp& b) { a.Swap(&b); }
inline void Swap(SharingLog_TapHelp* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TapHelp* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TapHelp* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TapHelp>(arena);
}
void CopyFrom(const SharingLog_TapHelp& from);
void MergeFrom(const SharingLog_TapHelp& from) { SharingLog_TapHelp::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TapHelp* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TapHelp"; }
explicit SharingLog_TapHelp(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TapHelp(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TapHelp& from);
SharingLog_TapHelp(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TapHelp&& from) noexcept
: SharingLog_TapHelp(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TapHelp)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TapHelp& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<50> SharingLog_TapHelp_class_data_;
// -------------------------------------------------------------------
class SharingLog_TapFeedback final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.TapFeedback) */ {
public:
inline SharingLog_TapFeedback() : SharingLog_TapFeedback(nullptr) {}
~SharingLog_TapFeedback() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_TapFeedback* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_TapFeedback));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_TapFeedback(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_TapFeedback(const SharingLog_TapFeedback& from) : SharingLog_TapFeedback(nullptr, from) {}
inline SharingLog_TapFeedback(SharingLog_TapFeedback&& from) noexcept
: SharingLog_TapFeedback(nullptr, ::std::move(from)) {}
inline SharingLog_TapFeedback& operator=(const SharingLog_TapFeedback& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_TapFeedback& operator=(SharingLog_TapFeedback&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_TapFeedback& default_instance() {
return *reinterpret_cast<const SharingLog_TapFeedback*>(
&_SharingLog_TapFeedback_default_instance_);
}
static constexpr int kIndexInFileMessages = 45;
friend void swap(SharingLog_TapFeedback& a, SharingLog_TapFeedback& b) { a.Swap(&b); }
inline void Swap(SharingLog_TapFeedback* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_TapFeedback* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_TapFeedback* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_TapFeedback>(arena);
}
void CopyFrom(const SharingLog_TapFeedback& from);
void MergeFrom(const SharingLog_TapFeedback& from) { SharingLog_TapFeedback::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_TapFeedback* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.TapFeedback"; }
explicit SharingLog_TapFeedback(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_TapFeedback(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_TapFeedback& from);
SharingLog_TapFeedback(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_TapFeedback&& from) noexcept
: SharingLog_TapFeedback(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.TapFeedback)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_TapFeedback& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<54> SharingLog_TapFeedback_class_data_;
// -------------------------------------------------------------------
class SharingLog_StreamAttachment final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.StreamAttachment) */ {
public:
inline SharingLog_StreamAttachment() : SharingLog_StreamAttachment(nullptr) {}
~SharingLog_StreamAttachment() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_StreamAttachment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_StreamAttachment));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_StreamAttachment(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_StreamAttachment(const SharingLog_StreamAttachment& from) : SharingLog_StreamAttachment(nullptr, from) {}
inline SharingLog_StreamAttachment(SharingLog_StreamAttachment&& from) noexcept
: SharingLog_StreamAttachment(nullptr, ::std::move(from)) {}
inline SharingLog_StreamAttachment& operator=(const SharingLog_StreamAttachment& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_StreamAttachment& operator=(SharingLog_StreamAttachment&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_StreamAttachment& default_instance() {
return *reinterpret_cast<const SharingLog_StreamAttachment*>(
&_SharingLog_StreamAttachment_default_instance_);
}
static constexpr int kIndexInFileMessages = 71;
friend void swap(SharingLog_StreamAttachment& a, SharingLog_StreamAttachment& b) { a.Swap(&b); }
inline void Swap(SharingLog_StreamAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_StreamAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_StreamAttachment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_StreamAttachment>(arena);
}
void CopyFrom(const SharingLog_StreamAttachment& from);
void MergeFrom(const SharingLog_StreamAttachment& from) { SharingLog_StreamAttachment::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_StreamAttachment* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.StreamAttachment"; }
explicit SharingLog_StreamAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_StreamAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_StreamAttachment& from);
SharingLog_StreamAttachment(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_StreamAttachment&& from) noexcept
: SharingLog_StreamAttachment(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPackageNameFieldNumber = 1,
kBatchIdFieldNumber = 2,
kSourceTypeFieldNumber = 3,
};
// optional string package_name = 1;
bool has_package_name() const;
void clear_package_name() ;
const ::std::string& package_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_package_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_package_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_package_name();
void set_allocated_package_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_package_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_package_name();
public:
// optional int64 batch_id = 2;
bool has_batch_id() const;
void clear_batch_id() ;
::int64_t batch_id() const;
void set_batch_id(::int64_t value);
private:
::int64_t _internal_batch_id() const;
void _internal_set_batch_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 3;
bool has_source_type() const;
void clear_source_type() ;
::location::nearby::proto::sharing::AttachmentSourceType source_type() const;
void set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
private:
::location::nearby::proto::sharing::AttachmentSourceType _internal_source_type() const;
void _internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.StreamAttachment)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_StreamAttachment& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr package_name_;
::int64_t batch_id_;
int source_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_StreamAttachment_class_data_;
// -------------------------------------------------------------------
class SharingLog_StartQrCodeSession final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.StartQrCodeSession) */ {
public:
inline SharingLog_StartQrCodeSession() : SharingLog_StartQrCodeSession(nullptr) {}
~SharingLog_StartQrCodeSession() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_StartQrCodeSession* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_StartQrCodeSession));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_StartQrCodeSession(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_StartQrCodeSession(const SharingLog_StartQrCodeSession& from) : SharingLog_StartQrCodeSession(nullptr, from) {}
inline SharingLog_StartQrCodeSession(SharingLog_StartQrCodeSession&& from) noexcept
: SharingLog_StartQrCodeSession(nullptr, ::std::move(from)) {}
inline SharingLog_StartQrCodeSession& operator=(const SharingLog_StartQrCodeSession& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_StartQrCodeSession& operator=(SharingLog_StartQrCodeSession&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_StartQrCodeSession& default_instance() {
return *reinterpret_cast<const SharingLog_StartQrCodeSession*>(
&_SharingLog_StartQrCodeSession_default_instance_);
}
static constexpr int kIndexInFileMessages = 80;
friend void swap(SharingLog_StartQrCodeSession& a, SharingLog_StartQrCodeSession& b) { a.Swap(&b); }
inline void Swap(SharingLog_StartQrCodeSession* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_StartQrCodeSession* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_StartQrCodeSession* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_StartQrCodeSession>(arena);
}
void CopyFrom(const SharingLog_StartQrCodeSession& from);
void MergeFrom(const SharingLog_StartQrCodeSession& from) { SharingLog_StartQrCodeSession::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_StartQrCodeSession* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.StartQrCodeSession"; }
explicit SharingLog_StartQrCodeSession(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_StartQrCodeSession(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_StartQrCodeSession& from);
SharingLog_StartQrCodeSession(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_StartQrCodeSession&& from) noexcept
: SharingLog_StartQrCodeSession(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.StartQrCodeSession)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_StartQrCodeSession& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_StartQrCodeSession_class_data_;
// -------------------------------------------------------------------
class SharingLog_ShowWaitingForAccept final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept) */ {
public:
inline SharingLog_ShowWaitingForAccept() : SharingLog_ShowWaitingForAccept(nullptr) {}
~SharingLog_ShowWaitingForAccept() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ShowWaitingForAccept));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ShowWaitingForAccept(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ShowWaitingForAccept(const SharingLog_ShowWaitingForAccept& from) : SharingLog_ShowWaitingForAccept(nullptr, from) {}
inline SharingLog_ShowWaitingForAccept(SharingLog_ShowWaitingForAccept&& from) noexcept
: SharingLog_ShowWaitingForAccept(nullptr, ::std::move(from)) {}
inline SharingLog_ShowWaitingForAccept& operator=(const SharingLog_ShowWaitingForAccept& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ShowWaitingForAccept& operator=(SharingLog_ShowWaitingForAccept&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ShowWaitingForAccept& default_instance() {
return *reinterpret_cast<const SharingLog_ShowWaitingForAccept*>(
&_SharingLog_ShowWaitingForAccept_default_instance_);
}
static constexpr int kIndexInFileMessages = 77;
friend void swap(SharingLog_ShowWaitingForAccept& a, SharingLog_ShowWaitingForAccept& b) { a.Swap(&b); }
inline void Swap(SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ShowWaitingForAccept>(arena);
}
void CopyFrom(const SharingLog_ShowWaitingForAccept& from);
void MergeFrom(const SharingLog_ShowWaitingForAccept& from) { SharingLog_ShowWaitingForAccept::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept"; }
explicit SharingLog_ShowWaitingForAccept(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ShowWaitingForAccept(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ShowWaitingForAccept& from);
SharingLog_ShowWaitingForAccept(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ShowWaitingForAccept&& from) noexcept
: SharingLog_ShowWaitingForAccept(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kButtonStatusFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.ButtonStatus button_status = 1;
bool has_button_status() const;
void clear_button_status() ;
::location::nearby::proto::sharing::ButtonStatus button_status() const;
void set_button_status(::location::nearby::proto::sharing::ButtonStatus value);
private:
::location::nearby::proto::sharing::ButtonStatus _internal_button_status() const;
void _internal_set_button_status(::location::nearby::proto::sharing::ButtonStatus value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ShowWaitingForAccept& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int button_status_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_ShowWaitingForAccept_class_data_;
// -------------------------------------------------------------------
class SharingLog_ShowAllowPermissionAutoAccess final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess) */ {
public:
inline SharingLog_ShowAllowPermissionAutoAccess() : SharingLog_ShowAllowPermissionAutoAccess(nullptr) {}
~SharingLog_ShowAllowPermissionAutoAccess() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ShowAllowPermissionAutoAccess));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ShowAllowPermissionAutoAccess(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ShowAllowPermissionAutoAccess(const SharingLog_ShowAllowPermissionAutoAccess& from) : SharingLog_ShowAllowPermissionAutoAccess(nullptr, from) {}
inline SharingLog_ShowAllowPermissionAutoAccess(SharingLog_ShowAllowPermissionAutoAccess&& from) noexcept
: SharingLog_ShowAllowPermissionAutoAccess(nullptr, ::std::move(from)) {}
inline SharingLog_ShowAllowPermissionAutoAccess& operator=(const SharingLog_ShowAllowPermissionAutoAccess& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ShowAllowPermissionAutoAccess& operator=(SharingLog_ShowAllowPermissionAutoAccess&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ShowAllowPermissionAutoAccess& default_instance() {
return *reinterpret_cast<const SharingLog_ShowAllowPermissionAutoAccess*>(
&_SharingLog_ShowAllowPermissionAutoAccess_default_instance_);
}
static constexpr int kIndexInFileMessages = 61;
friend void swap(SharingLog_ShowAllowPermissionAutoAccess& a, SharingLog_ShowAllowPermissionAutoAccess& b) { a.Swap(&b); }
inline void Swap(SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ShowAllowPermissionAutoAccess>(arena);
}
void CopyFrom(const SharingLog_ShowAllowPermissionAutoAccess& from);
void MergeFrom(const SharingLog_ShowAllowPermissionAutoAccess& from) { SharingLog_ShowAllowPermissionAutoAccess::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess"; }
explicit SharingLog_ShowAllowPermissionAutoAccess(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ShowAllowPermissionAutoAccess(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ShowAllowPermissionAutoAccess& from);
SharingLog_ShowAllowPermissionAutoAccess(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ShowAllowPermissionAutoAccess&& from) noexcept
: SharingLog_ShowAllowPermissionAutoAccess(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kActivityNameFieldNumber = 1,
kAllowedAutoAccessFieldNumber = 2,
kIsWifiMissingFieldNumber = 3,
kIsBtMissingFieldNumber = 4,
};
// optional .location.nearby.proto.sharing.ActivityName activity_name = 1;
bool has_activity_name() const;
void clear_activity_name() ;
::location::nearby::proto::sharing::ActivityName activity_name() const;
void set_activity_name(::location::nearby::proto::sharing::ActivityName value);
private:
::location::nearby::proto::sharing::ActivityName _internal_activity_name() const;
void _internal_set_activity_name(::location::nearby::proto::sharing::ActivityName value);
public:
// optional bool allowed_auto_access = 2;
bool has_allowed_auto_access() const;
void clear_allowed_auto_access() ;
bool allowed_auto_access() const;
void set_allowed_auto_access(bool value);
private:
bool _internal_allowed_auto_access() const;
void _internal_set_allowed_auto_access(bool value);
public:
// optional bool is_wifi_missing = 3;
bool has_is_wifi_missing() const;
void clear_is_wifi_missing() ;
bool is_wifi_missing() const;
void set_is_wifi_missing(bool value);
private:
bool _internal_is_wifi_missing() const;
void _internal_set_is_wifi_missing(bool value);
public:
// optional bool is_bt_missing = 4;
bool has_is_bt_missing() const;
void clear_is_bt_missing() ;
bool is_bt_missing() const;
void set_is_bt_missing(bool value);
private:
bool _internal_is_bt_missing() const;
void _internal_set_is_bt_missing(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ShowAllowPermissionAutoAccess& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int activity_name_;
bool allowed_auto_access_;
bool is_wifi_missing_;
bool is_bt_missing_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<72> SharingLog_ShowAllowPermissionAutoAccess_class_data_;
// -------------------------------------------------------------------
class SharingLog_ShareTargetInfo final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo) */ {
public:
inline SharingLog_ShareTargetInfo() : SharingLog_ShareTargetInfo(nullptr) {}
~SharingLog_ShareTargetInfo() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ShareTargetInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ShareTargetInfo));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ShareTargetInfo(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ShareTargetInfo(const SharingLog_ShareTargetInfo& from) : SharingLog_ShareTargetInfo(nullptr, from) {}
inline SharingLog_ShareTargetInfo(SharingLog_ShareTargetInfo&& from) noexcept
: SharingLog_ShareTargetInfo(nullptr, ::std::move(from)) {}
inline SharingLog_ShareTargetInfo& operator=(const SharingLog_ShareTargetInfo& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ShareTargetInfo& operator=(SharingLog_ShareTargetInfo&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ShareTargetInfo& default_instance() {
return *reinterpret_cast<const SharingLog_ShareTargetInfo*>(
&_SharingLog_ShareTargetInfo_default_instance_);
}
static constexpr int kIndexInFileMessages = 65;
friend void swap(SharingLog_ShareTargetInfo& a, SharingLog_ShareTargetInfo& b) { a.Swap(&b); }
inline void Swap(SharingLog_ShareTargetInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ShareTargetInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ShareTargetInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ShareTargetInfo>(arena);
}
void CopyFrom(const SharingLog_ShareTargetInfo& from);
void MergeFrom(const SharingLog_ShareTargetInfo& from) { SharingLog_ShareTargetInfo::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ShareTargetInfo* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo"; }
explicit SharingLog_ShareTargetInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ShareTargetInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ShareTargetInfo& from);
SharingLog_ShareTargetInfo(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ShareTargetInfo&& from) noexcept
: SharingLog_ShareTargetInfo(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDeviceTypeFieldNumber = 1,
kOsTypeFieldNumber = 2,
kDeviceRelationshipFieldNumber = 3,
kHasMatchingQrCodeFieldNumber = 4,
kIsExternalFieldNumber = 5,
};
// optional .location.nearby.proto.sharing.DeviceType device_type = 1;
bool has_device_type() const;
void clear_device_type() ;
::location::nearby::proto::sharing::DeviceType device_type() const;
void set_device_type(::location::nearby::proto::sharing::DeviceType value);
private:
::location::nearby::proto::sharing::DeviceType _internal_device_type() const;
void _internal_set_device_type(::location::nearby::proto::sharing::DeviceType value);
public:
// optional .location.nearby.proto.sharing.OSType os_type = 2;
bool has_os_type() const;
void clear_os_type() ;
::location::nearby::proto::sharing::OSType os_type() const;
void set_os_type(::location::nearby::proto::sharing::OSType value);
private:
::location::nearby::proto::sharing::OSType _internal_os_type() const;
void _internal_set_os_type(::location::nearby::proto::sharing::OSType value);
public:
// optional .location.nearby.proto.sharing.DeviceRelationship device_relationship = 3;
bool has_device_relationship() const;
void clear_device_relationship() ;
::location::nearby::proto::sharing::DeviceRelationship device_relationship() const;
void set_device_relationship(::location::nearby::proto::sharing::DeviceRelationship value);
private:
::location::nearby::proto::sharing::DeviceRelationship _internal_device_relationship() const;
void _internal_set_device_relationship(::location::nearby::proto::sharing::DeviceRelationship value);
public:
// optional bool has_matching_qr_code = 4;
bool has_has_matching_qr_code() const;
void clear_has_matching_qr_code() ;
bool has_matching_qr_code() const;
void set_has_matching_qr_code(bool value);
private:
bool _internal_has_matching_qr_code() const;
void _internal_set_has_matching_qr_code(bool value);
public:
// optional bool is_external = 5;
bool has_is_external() const;
void clear_is_external() ;
bool is_external() const;
void set_is_external(bool value);
private:
bool _internal_is_external() const;
void _internal_set_is_external(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5,
3, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ShareTargetInfo& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int device_type_;
int os_type_;
int device_relationship_;
bool has_matching_qr_code_;
bool is_external_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_ShareTargetInfo_class_data_;
// -------------------------------------------------------------------
class SharingLog_SetupWizard final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SetupWizard) */ {
public:
inline SharingLog_SetupWizard() : SharingLog_SetupWizard(nullptr) {}
~SharingLog_SetupWizard() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SetupWizard* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SetupWizard));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SetupWizard(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SetupWizard(const SharingLog_SetupWizard& from) : SharingLog_SetupWizard(nullptr, from) {}
inline SharingLog_SetupWizard(SharingLog_SetupWizard&& from) noexcept
: SharingLog_SetupWizard(nullptr, ::std::move(from)) {}
inline SharingLog_SetupWizard& operator=(const SharingLog_SetupWizard& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SetupWizard& operator=(SharingLog_SetupWizard&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SetupWizard& default_instance() {
return *reinterpret_cast<const SharingLog_SetupWizard*>(
&_SharingLog_SetupWizard_default_instance_);
}
static constexpr int kIndexInFileMessages = 74;
friend void swap(SharingLog_SetupWizard& a, SharingLog_SetupWizard& b) { a.Swap(&b); }
inline void Swap(SharingLog_SetupWizard* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SetupWizard* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SetupWizard* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SetupWizard>(arena);
}
void CopyFrom(const SharingLog_SetupWizard& from);
void MergeFrom(const SharingLog_SetupWizard& from) { SharingLog_SetupWizard::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SetupWizard* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SetupWizard"; }
explicit SharingLog_SetupWizard(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SetupWizard(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SetupWizard& from);
SharingLog_SetupWizard(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SetupWizard&& from) noexcept
: SharingLog_SetupWizard(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kVisibilityFieldNumber = 1,
kPreviousVisibilityFieldNumber = 2,
};
// optional .location.nearby.proto.sharing.Visibility visibility = 1;
bool has_visibility() const;
void clear_visibility() ;
::location::nearby::proto::sharing::Visibility visibility() const;
void set_visibility(::location::nearby::proto::sharing::Visibility value);
private:
::location::nearby::proto::sharing::Visibility _internal_visibility() const;
void _internal_set_visibility(::location::nearby::proto::sharing::Visibility value);
public:
// optional .location.nearby.proto.sharing.Visibility previous_visibility = 2;
bool has_previous_visibility() const;
void clear_previous_visibility() ;
::location::nearby::proto::sharing::Visibility previous_visibility() const;
void set_previous_visibility(::location::nearby::proto::sharing::Visibility value);
private:
::location::nearby::proto::sharing::Visibility _internal_previous_visibility() const;
void _internal_set_previous_visibility(::location::nearby::proto::sharing::Visibility value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SetupWizard)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SetupWizard& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int visibility_;
int previous_visibility_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<54> SharingLog_SetupWizard_class_data_;
// -------------------------------------------------------------------
class SharingLog_SetVisibility final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SetVisibility) */ {
public:
inline SharingLog_SetVisibility() : SharingLog_SetVisibility(nullptr) {}
~SharingLog_SetVisibility() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SetVisibility* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SetVisibility));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SetVisibility(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SetVisibility(const SharingLog_SetVisibility& from) : SharingLog_SetVisibility(nullptr, from) {}
inline SharingLog_SetVisibility(SharingLog_SetVisibility&& from) noexcept
: SharingLog_SetVisibility(nullptr, ::std::move(from)) {}
inline SharingLog_SetVisibility& operator=(const SharingLog_SetVisibility& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SetVisibility& operator=(SharingLog_SetVisibility&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SetVisibility& default_instance() {
return *reinterpret_cast<const SharingLog_SetVisibility*>(
&_SharingLog_SetVisibility_default_instance_);
}
static constexpr int kIndexInFileMessages = 9;
friend void swap(SharingLog_SetVisibility& a, SharingLog_SetVisibility& b) { a.Swap(&b); }
inline void Swap(SharingLog_SetVisibility* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SetVisibility* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SetVisibility* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SetVisibility>(arena);
}
void CopyFrom(const SharingLog_SetVisibility& from);
void MergeFrom(const SharingLog_SetVisibility& from) { SharingLog_SetVisibility::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SetVisibility* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SetVisibility"; }
explicit SharingLog_SetVisibility(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SetVisibility(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SetVisibility& from);
SharingLog_SetVisibility(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SetVisibility&& from) noexcept
: SharingLog_SetVisibility(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kVisibilityFieldNumber = 1,
kSourceVisibilityFieldNumber = 2,
kDurationMillisFieldNumber = 3,
kSourceActivityNameFieldNumber = 4,
};
// optional .location.nearby.proto.sharing.Visibility visibility = 1;
bool has_visibility() const;
void clear_visibility() ;
::location::nearby::proto::sharing::Visibility visibility() const;
void set_visibility(::location::nearby::proto::sharing::Visibility value);
private:
::location::nearby::proto::sharing::Visibility _internal_visibility() const;
void _internal_set_visibility(::location::nearby::proto::sharing::Visibility value);
public:
// optional .location.nearby.proto.sharing.Visibility source_visibility = 2;
bool has_source_visibility() const;
void clear_source_visibility() ;
::location::nearby::proto::sharing::Visibility source_visibility() const;
void set_source_visibility(::location::nearby::proto::sharing::Visibility value);
private:
::location::nearby::proto::sharing::Visibility _internal_source_visibility() const;
void _internal_set_source_visibility(::location::nearby::proto::sharing::Visibility value);
public:
// optional int64 duration_millis = 3;
bool has_duration_millis() const;
void clear_duration_millis() ;
::int64_t duration_millis() const;
void set_duration_millis(::int64_t value);
private:
::int64_t _internal_duration_millis() const;
void _internal_set_duration_millis(::int64_t value);
public:
// optional .location.nearby.proto.sharing.ActivityName source_activity_name = 4;
bool has_source_activity_name() const;
void clear_source_activity_name() ;
::location::nearby::proto::sharing::ActivityName source_activity_name() const;
void set_source_activity_name(::location::nearby::proto::sharing::ActivityName value);
private:
::location::nearby::proto::sharing::ActivityName _internal_source_activity_name() const;
void _internal_set_source_activity_name(::location::nearby::proto::sharing::ActivityName value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SetVisibility)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
3, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SetVisibility& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int visibility_;
int source_visibility_;
::int64_t duration_millis_;
int source_activity_name_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_SetVisibility_class_data_;
// -------------------------------------------------------------------
class SharingLog_SetDeviceName final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SetDeviceName) */ {
public:
inline SharingLog_SetDeviceName() : SharingLog_SetDeviceName(nullptr) {}
~SharingLog_SetDeviceName() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SetDeviceName* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SetDeviceName));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SetDeviceName(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SetDeviceName(const SharingLog_SetDeviceName& from) : SharingLog_SetDeviceName(nullptr, from) {}
inline SharingLog_SetDeviceName(SharingLog_SetDeviceName&& from) noexcept
: SharingLog_SetDeviceName(nullptr, ::std::move(from)) {}
inline SharingLog_SetDeviceName& operator=(const SharingLog_SetDeviceName& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SetDeviceName& operator=(SharingLog_SetDeviceName&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SetDeviceName& default_instance() {
return *reinterpret_cast<const SharingLog_SetDeviceName*>(
&_SharingLog_SetDeviceName_default_instance_);
}
static constexpr int kIndexInFileMessages = 54;
friend void swap(SharingLog_SetDeviceName& a, SharingLog_SetDeviceName& b) { a.Swap(&b); }
inline void Swap(SharingLog_SetDeviceName* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SetDeviceName* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SetDeviceName* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SetDeviceName>(arena);
}
void CopyFrom(const SharingLog_SetDeviceName& from);
void MergeFrom(const SharingLog_SetDeviceName& from) { SharingLog_SetDeviceName::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SetDeviceName* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SetDeviceName"; }
explicit SharingLog_SetDeviceName(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SetDeviceName(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SetDeviceName& from);
SharingLog_SetDeviceName(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SetDeviceName&& from) noexcept
: SharingLog_SetDeviceName(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDeviceNameSizeFieldNumber = 1,
};
// optional int32 device_name_size = 1;
bool has_device_name_size() const;
void clear_device_name_size() ;
::int32_t device_name_size() const;
void set_device_name_size(::int32_t value);
private:
::int32_t _internal_device_name_size() const;
void _internal_set_device_name_size(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SetDeviceName)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SetDeviceName& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int32_t device_name_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_SetDeviceName_class_data_;
// -------------------------------------------------------------------
class SharingLog_SetDataUsage final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SetDataUsage) */ {
public:
inline SharingLog_SetDataUsage() : SharingLog_SetDataUsage(nullptr) {}
~SharingLog_SetDataUsage() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SetDataUsage* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SetDataUsage));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SetDataUsage(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SetDataUsage(const SharingLog_SetDataUsage& from) : SharingLog_SetDataUsage(nullptr, from) {}
inline SharingLog_SetDataUsage(SharingLog_SetDataUsage&& from) noexcept
: SharingLog_SetDataUsage(nullptr, ::std::move(from)) {}
inline SharingLog_SetDataUsage& operator=(const SharingLog_SetDataUsage& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SetDataUsage& operator=(SharingLog_SetDataUsage&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SetDataUsage& default_instance() {
return *reinterpret_cast<const SharingLog_SetDataUsage*>(
&_SharingLog_SetDataUsage_default_instance_);
}
static constexpr int kIndexInFileMessages = 10;
friend void swap(SharingLog_SetDataUsage& a, SharingLog_SetDataUsage& b) { a.Swap(&b); }
inline void Swap(SharingLog_SetDataUsage* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SetDataUsage* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SetDataUsage* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SetDataUsage>(arena);
}
void CopyFrom(const SharingLog_SetDataUsage& from);
void MergeFrom(const SharingLog_SetDataUsage& from) { SharingLog_SetDataUsage::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SetDataUsage* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SetDataUsage"; }
explicit SharingLog_SetDataUsage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SetDataUsage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SetDataUsage& from);
SharingLog_SetDataUsage(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SetDataUsage&& from) noexcept
: SharingLog_SetDataUsage(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kOriginalPreferenceFieldNumber = 1,
kPreferenceFieldNumber = 2,
};
// optional .location.nearby.proto.sharing.DataUsage original_preference = 1;
bool has_original_preference() const;
void clear_original_preference() ;
::location::nearby::proto::sharing::DataUsage original_preference() const;
void set_original_preference(::location::nearby::proto::sharing::DataUsage value);
private:
::location::nearby::proto::sharing::DataUsage _internal_original_preference() const;
void _internal_set_original_preference(::location::nearby::proto::sharing::DataUsage value);
public:
// optional .location.nearby.proto.sharing.DataUsage preference = 2;
bool has_preference() const;
void clear_preference() ;
::location::nearby::proto::sharing::DataUsage preference() const;
void set_preference(::location::nearby::proto::sharing::DataUsage value);
private:
::location::nearby::proto::sharing::DataUsage _internal_preference() const;
void _internal_set_preference(::location::nearby::proto::sharing::DataUsage value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SetDataUsage)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SetDataUsage& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int original_preference_;
int preference_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<55> SharingLog_SetDataUsage_class_data_;
// -------------------------------------------------------------------
class SharingLog_SetAccount final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SetAccount) */ {
public:
inline SharingLog_SetAccount() : SharingLog_SetAccount(nullptr) {}
~SharingLog_SetAccount() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SetAccount* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SetAccount));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SetAccount(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SetAccount(const SharingLog_SetAccount& from) : SharingLog_SetAccount(nullptr, from) {}
inline SharingLog_SetAccount(SharingLog_SetAccount&& from) noexcept
: SharingLog_SetAccount(nullptr, ::std::move(from)) {}
inline SharingLog_SetAccount& operator=(const SharingLog_SetAccount& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SetAccount& operator=(SharingLog_SetAccount&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SetAccount& default_instance() {
return *reinterpret_cast<const SharingLog_SetAccount*>(
&_SharingLog_SetAccount_default_instance_);
}
static constexpr int kIndexInFileMessages = 8;
friend void swap(SharingLog_SetAccount& a, SharingLog_SetAccount& b) { a.Swap(&b); }
inline void Swap(SharingLog_SetAccount* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SetAccount* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SetAccount* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SetAccount>(arena);
}
void CopyFrom(const SharingLog_SetAccount& from);
void MergeFrom(const SharingLog_SetAccount& from) { SharingLog_SetAccount::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SetAccount* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SetAccount"; }
explicit SharingLog_SetAccount(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SetAccount(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SetAccount& from);
SharingLog_SetAccount(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SetAccount&& from) noexcept
: SharingLog_SetAccount(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kActivityNameFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.ActivityName activity_name = 1;
bool has_activity_name() const;
void clear_activity_name() ;
::location::nearby::proto::sharing::ActivityName activity_name() const;
void set_activity_name(::location::nearby::proto::sharing::ActivityName value);
private:
::location::nearby::proto::sharing::ActivityName _internal_activity_name() const;
void _internal_set_activity_name(::location::nearby::proto::sharing::ActivityName value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SetAccount)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SetAccount& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int activity_name_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<53> SharingLog_SetAccount_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendFastInitialization final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendFastInitialization) */ {
public:
inline SharingLog_SendFastInitialization() : SharingLog_SendFastInitialization(nullptr) {}
~SharingLog_SendFastInitialization() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendFastInitialization* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendFastInitialization));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendFastInitialization(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendFastInitialization(const SharingLog_SendFastInitialization& from) : SharingLog_SendFastInitialization(nullptr, from) {}
inline SharingLog_SendFastInitialization(SharingLog_SendFastInitialization&& from) noexcept
: SharingLog_SendFastInitialization(nullptr, ::std::move(from)) {}
inline SharingLog_SendFastInitialization& operator=(const SharingLog_SendFastInitialization& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendFastInitialization& operator=(SharingLog_SendFastInitialization&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendFastInitialization& default_instance() {
return *reinterpret_cast<const SharingLog_SendFastInitialization*>(
&_SharingLog_SendFastInitialization_default_instance_);
}
static constexpr int kIndexInFileMessages = 15;
friend void swap(SharingLog_SendFastInitialization& a, SharingLog_SendFastInitialization& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendFastInitialization* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendFastInitialization>(arena);
}
void CopyFrom(const SharingLog_SendFastInitialization& from);
void MergeFrom(const SharingLog_SendFastInitialization& from) { SharingLog_SendFastInitialization::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendFastInitialization* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendFastInitialization"; }
explicit SharingLog_SendFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendFastInitialization& from);
SharingLog_SendFastInitialization(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendFastInitialization&& from) noexcept
: SharingLog_SendFastInitialization(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendFastInitialization)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendFastInitialization& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_SendFastInitialization_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendDesktopTransferEvent final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent) */ {
public:
inline SharingLog_SendDesktopTransferEvent() : SharingLog_SendDesktopTransferEvent(nullptr) {}
~SharingLog_SendDesktopTransferEvent() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendDesktopTransferEvent));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendDesktopTransferEvent(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendDesktopTransferEvent(const SharingLog_SendDesktopTransferEvent& from) : SharingLog_SendDesktopTransferEvent(nullptr, from) {}
inline SharingLog_SendDesktopTransferEvent(SharingLog_SendDesktopTransferEvent&& from) noexcept
: SharingLog_SendDesktopTransferEvent(nullptr, ::std::move(from)) {}
inline SharingLog_SendDesktopTransferEvent& operator=(const SharingLog_SendDesktopTransferEvent& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendDesktopTransferEvent& operator=(SharingLog_SendDesktopTransferEvent&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendDesktopTransferEvent& default_instance() {
return *reinterpret_cast<const SharingLog_SendDesktopTransferEvent*>(
&_SharingLog_SendDesktopTransferEvent_default_instance_);
}
static constexpr int kIndexInFileMessages = 76;
friend void swap(SharingLog_SendDesktopTransferEvent& a, SharingLog_SendDesktopTransferEvent& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendDesktopTransferEvent>(arena);
}
void CopyFrom(const SharingLog_SendDesktopTransferEvent& from);
void MergeFrom(const SharingLog_SendDesktopTransferEvent& from) { SharingLog_SendDesktopTransferEvent::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent"; }
explicit SharingLog_SendDesktopTransferEvent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendDesktopTransferEvent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendDesktopTransferEvent& from);
SharingLog_SendDesktopTransferEvent(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendDesktopTransferEvent&& from) noexcept
: SharingLog_SendDesktopTransferEvent(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kEventFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.DesktopTransferEventType event = 1;
bool has_event() const;
void clear_event() ;
::location::nearby::proto::sharing::DesktopTransferEventType event() const;
void set_event(::location::nearby::proto::sharing::DesktopTransferEventType value);
private:
::location::nearby::proto::sharing::DesktopTransferEventType _internal_event() const;
void _internal_set_event(::location::nearby::proto::sharing::DesktopTransferEventType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendDesktopTransferEvent& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int event_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_SendDesktopTransferEvent_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendDesktopNotification final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification) */ {
public:
inline SharingLog_SendDesktopNotification() : SharingLog_SendDesktopNotification(nullptr) {}
~SharingLog_SendDesktopNotification() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendDesktopNotification* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendDesktopNotification));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendDesktopNotification(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendDesktopNotification(const SharingLog_SendDesktopNotification& from) : SharingLog_SendDesktopNotification(nullptr, from) {}
inline SharingLog_SendDesktopNotification(SharingLog_SendDesktopNotification&& from) noexcept
: SharingLog_SendDesktopNotification(nullptr, ::std::move(from)) {}
inline SharingLog_SendDesktopNotification& operator=(const SharingLog_SendDesktopNotification& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendDesktopNotification& operator=(SharingLog_SendDesktopNotification&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendDesktopNotification& default_instance() {
return *reinterpret_cast<const SharingLog_SendDesktopNotification*>(
&_SharingLog_SendDesktopNotification_default_instance_);
}
static constexpr int kIndexInFileMessages = 75;
friend void swap(SharingLog_SendDesktopNotification& a, SharingLog_SendDesktopNotification& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendDesktopNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendDesktopNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendDesktopNotification* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendDesktopNotification>(arena);
}
void CopyFrom(const SharingLog_SendDesktopNotification& from);
void MergeFrom(const SharingLog_SendDesktopNotification& from) { SharingLog_SendDesktopNotification::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendDesktopNotification* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification"; }
explicit SharingLog_SendDesktopNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendDesktopNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendDesktopNotification& from);
SharingLog_SendDesktopNotification(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendDesktopNotification&& from) noexcept
: SharingLog_SendDesktopNotification(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kEventFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.DesktopNotification event = 1;
bool has_event() const;
void clear_event() ;
::location::nearby::proto::sharing::DesktopNotification event() const;
void set_event(::location::nearby::proto::sharing::DesktopNotification value);
private:
::location::nearby::proto::sharing::DesktopNotification _internal_event() const;
void _internal_set_event(::location::nearby::proto::sharing::DesktopNotification value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendDesktopNotification& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int event_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_SendDesktopNotification_class_data_;
// -------------------------------------------------------------------
class SharingLog_ScanForShareTargetsStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart) */ {
public:
inline SharingLog_ScanForShareTargetsStart() : SharingLog_ScanForShareTargetsStart(nullptr) {}
~SharingLog_ScanForShareTargetsStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ScanForShareTargetsStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ScanForShareTargetsStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ScanForShareTargetsStart(const SharingLog_ScanForShareTargetsStart& from) : SharingLog_ScanForShareTargetsStart(nullptr, from) {}
inline SharingLog_ScanForShareTargetsStart(SharingLog_ScanForShareTargetsStart&& from) noexcept
: SharingLog_ScanForShareTargetsStart(nullptr, ::std::move(from)) {}
inline SharingLog_ScanForShareTargetsStart& operator=(const SharingLog_ScanForShareTargetsStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ScanForShareTargetsStart& operator=(SharingLog_ScanForShareTargetsStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ScanForShareTargetsStart& default_instance() {
return *reinterpret_cast<const SharingLog_ScanForShareTargetsStart*>(
&_SharingLog_ScanForShareTargetsStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 11;
friend void swap(SharingLog_ScanForShareTargetsStart& a, SharingLog_ScanForShareTargetsStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ScanForShareTargetsStart>(arena);
}
void CopyFrom(const SharingLog_ScanForShareTargetsStart& from);
void MergeFrom(const SharingLog_ScanForShareTargetsStart& from) { SharingLog_ScanForShareTargetsStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart"; }
explicit SharingLog_ScanForShareTargetsStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ScanForShareTargetsStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ScanForShareTargetsStart& from);
SharingLog_ScanForShareTargetsStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ScanForShareTargetsStart&& from) noexcept
: SharingLog_ScanForShareTargetsStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 5,
kSessionIdFieldNumber = 1,
kStatusFieldNumber = 2,
kScanTypeFieldNumber = 3,
kFlowIdFieldNumber = 4,
kUseQrCodeFieldNumber = 6,
};
// optional string referrer_name = 5;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.SessionStatus status = 2;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::SessionStatus status() const;
void set_status(::location::nearby::proto::sharing::SessionStatus value);
private:
::location::nearby::proto::sharing::SessionStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::SessionStatus value);
public:
// optional .location.nearby.proto.sharing.ScanType scan_type = 3;
bool has_scan_type() const;
void clear_scan_type() ;
::location::nearby::proto::sharing::ScanType scan_type() const;
void set_scan_type(::location::nearby::proto::sharing::ScanType value);
private:
::location::nearby::proto::sharing::ScanType _internal_scan_type() const;
void _internal_set_scan_type(::location::nearby::proto::sharing::ScanType value);
public:
// optional int64 flow_id = 4;
bool has_flow_id() const;
void clear_flow_id() ;
::int64_t flow_id() const;
void set_flow_id(::int64_t value);
private:
::int64_t _internal_flow_id() const;
void _internal_set_flow_id(::int64_t value);
public:
// optional bool use_qr_code = 6;
bool has_use_qr_code() const;
void clear_use_qr_code() ;
bool use_qr_code() const;
void set_use_qr_code(bool value);
private:
bool _internal_use_qr_code() const;
void _internal_set_use_qr_code(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 6,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ScanForShareTargetsStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::int64_t session_id_;
int status_;
int scan_type_;
::int64_t flow_id_;
bool use_qr_code_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_ScanForShareTargetsStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_ScanForShareTargetsEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd) */ {
public:
inline SharingLog_ScanForShareTargetsEnd() : SharingLog_ScanForShareTargetsEnd(nullptr) {}
~SharingLog_ScanForShareTargetsEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ScanForShareTargetsEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ScanForShareTargetsEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ScanForShareTargetsEnd(const SharingLog_ScanForShareTargetsEnd& from) : SharingLog_ScanForShareTargetsEnd(nullptr, from) {}
inline SharingLog_ScanForShareTargetsEnd(SharingLog_ScanForShareTargetsEnd&& from) noexcept
: SharingLog_ScanForShareTargetsEnd(nullptr, ::std::move(from)) {}
inline SharingLog_ScanForShareTargetsEnd& operator=(const SharingLog_ScanForShareTargetsEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ScanForShareTargetsEnd& operator=(SharingLog_ScanForShareTargetsEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ScanForShareTargetsEnd& default_instance() {
return *reinterpret_cast<const SharingLog_ScanForShareTargetsEnd*>(
&_SharingLog_ScanForShareTargetsEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 12;
friend void swap(SharingLog_ScanForShareTargetsEnd& a, SharingLog_ScanForShareTargetsEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ScanForShareTargetsEnd>(arena);
}
void CopyFrom(const SharingLog_ScanForShareTargetsEnd& from);
void MergeFrom(const SharingLog_ScanForShareTargetsEnd& from) { SharingLog_ScanForShareTargetsEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd"; }
explicit SharingLog_ScanForShareTargetsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ScanForShareTargetsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ScanForShareTargetsEnd& from);
SharingLog_ScanForShareTargetsEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ScanForShareTargetsEnd&& from) noexcept
: SharingLog_ScanForShareTargetsEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kSessionIdFieldNumber = 1,
};
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ScanForShareTargetsEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t session_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_ScanForShareTargetsEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_RpcCallStatus final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus) */ {
public:
inline SharingLog_RpcCallStatus() : SharingLog_RpcCallStatus(nullptr) {}
~SharingLog_RpcCallStatus() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_RpcCallStatus* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_RpcCallStatus));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_RpcCallStatus(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_RpcCallStatus(const SharingLog_RpcCallStatus& from) : SharingLog_RpcCallStatus(nullptr, from) {}
inline SharingLog_RpcCallStatus(SharingLog_RpcCallStatus&& from) noexcept
: SharingLog_RpcCallStatus(nullptr, ::std::move(from)) {}
inline SharingLog_RpcCallStatus& operator=(const SharingLog_RpcCallStatus& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_RpcCallStatus& operator=(SharingLog_RpcCallStatus&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_RpcCallStatus& default_instance() {
return *reinterpret_cast<const SharingLog_RpcCallStatus*>(
&_SharingLog_RpcCallStatus_default_instance_);
}
static constexpr int kIndexInFileMessages = 79;
friend void swap(SharingLog_RpcCallStatus& a, SharingLog_RpcCallStatus& b) { a.Swap(&b); }
inline void Swap(SharingLog_RpcCallStatus* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_RpcCallStatus* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_RpcCallStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_RpcCallStatus>(arena);
}
void CopyFrom(const SharingLog_RpcCallStatus& from);
void MergeFrom(const SharingLog_RpcCallStatus& from) { SharingLog_RpcCallStatus::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_RpcCallStatus* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.RpcCallStatus"; }
explicit SharingLog_RpcCallStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_RpcCallStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_RpcCallStatus& from);
SharingLog_RpcCallStatus(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_RpcCallStatus&& from) noexcept
: SharingLog_RpcCallStatus(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
using RpcDirection = SharingLog_RpcCallStatus_RpcDirection;
static constexpr RpcDirection UNKNOWN_RPC_DIRECTION = SharingLog_RpcCallStatus_RpcDirection_UNKNOWN_RPC_DIRECTION;
static constexpr RpcDirection INCOMING = SharingLog_RpcCallStatus_RpcDirection_INCOMING;
static constexpr RpcDirection OUTGOING = SharingLog_RpcCallStatus_RpcDirection_OUTGOING;
static inline bool RpcDirection_IsValid(int value) {
return SharingLog_RpcCallStatus_RpcDirection_IsValid(value);
}
static constexpr RpcDirection RpcDirection_MIN = SharingLog_RpcCallStatus_RpcDirection_RpcDirection_MIN;
static constexpr RpcDirection RpcDirection_MAX = SharingLog_RpcCallStatus_RpcDirection_RpcDirection_MAX;
static constexpr int RpcDirection_ARRAYSIZE = SharingLog_RpcCallStatus_RpcDirection_RpcDirection_ARRAYSIZE;
template <typename T>
static inline const ::std::string& RpcDirection_Name(T value) {
return SharingLog_RpcCallStatus_RpcDirection_Name(value);
}
static inline bool RpcDirection_Parse(
::absl::string_view name, RpcDirection* PROTOBUF_NONNULL value) {
return SharingLog_RpcCallStatus_RpcDirection_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kRpcNameFieldNumber = 2,
kDirectionFieldNumber = 1,
kErrorCodeFieldNumber = 3,
kLatencyMillisFieldNumber = 4,
};
// optional string rpc_name = 2;
bool has_rpc_name() const;
void clear_rpc_name() ;
const ::std::string& rpc_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_rpc_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_rpc_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_rpc_name();
void set_allocated_rpc_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_rpc_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_rpc_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_rpc_name();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.RpcDirection direction = 1;
bool has_direction() const;
void clear_direction() ;
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection direction() const;
void set_direction(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection value);
private:
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection _internal_direction() const;
void _internal_set_direction(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection value);
public:
// optional int32 error_code = 3;
bool has_error_code() const;
void clear_error_code() ;
::int32_t error_code() const;
void set_error_code(::int32_t value);
private:
::int32_t _internal_error_code() const;
void _internal_set_error_code(::int32_t value);
public:
// optional int64 latency_millis = 4;
bool has_latency_millis() const;
void clear_latency_millis() ;
::int64_t latency_millis() const;
void set_latency_millis(::int64_t value);
private:
::int64_t _internal_latency_millis() const;
void _internal_set_latency_millis(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_RpcCallStatus& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr rpc_name_;
int direction_;
::int32_t error_code_;
::int64_t latency_millis_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_RpcCallStatus_class_data_;
// -------------------------------------------------------------------
class SharingLog_RespondToIntroduction final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction) */ {
public:
inline SharingLog_RespondToIntroduction() : SharingLog_RespondToIntroduction(nullptr) {}
~SharingLog_RespondToIntroduction() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_RespondToIntroduction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_RespondToIntroduction));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_RespondToIntroduction(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_RespondToIntroduction(const SharingLog_RespondToIntroduction& from) : SharingLog_RespondToIntroduction(nullptr, from) {}
inline SharingLog_RespondToIntroduction(SharingLog_RespondToIntroduction&& from) noexcept
: SharingLog_RespondToIntroduction(nullptr, ::std::move(from)) {}
inline SharingLog_RespondToIntroduction& operator=(const SharingLog_RespondToIntroduction& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_RespondToIntroduction& operator=(SharingLog_RespondToIntroduction&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_RespondToIntroduction& default_instance() {
return *reinterpret_cast<const SharingLog_RespondToIntroduction*>(
&_SharingLog_RespondToIntroduction_default_instance_);
}
static constexpr int kIndexInFileMessages = 25;
friend void swap(SharingLog_RespondToIntroduction& a, SharingLog_RespondToIntroduction& b) { a.Swap(&b); }
inline void Swap(SharingLog_RespondToIntroduction* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_RespondToIntroduction* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_RespondToIntroduction* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_RespondToIntroduction>(arena);
}
void CopyFrom(const SharingLog_RespondToIntroduction& from);
void MergeFrom(const SharingLog_RespondToIntroduction& from) { SharingLog_RespondToIntroduction::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_RespondToIntroduction* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction"; }
explicit SharingLog_RespondToIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_RespondToIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_RespondToIntroduction& from);
SharingLog_RespondToIntroduction(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_RespondToIntroduction&& from) noexcept
: SharingLog_RespondToIntroduction(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kSessionIdFieldNumber = 2,
kActionFieldNumber = 1,
kQrCodeFlowFieldNumber = 3,
};
// optional int64 session_id = 2;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.ResponseToIntroduction action = 1;
bool has_action() const;
void clear_action() ;
::location::nearby::proto::sharing::ResponseToIntroduction action() const;
void set_action(::location::nearby::proto::sharing::ResponseToIntroduction value);
private:
::location::nearby::proto::sharing::ResponseToIntroduction _internal_action() const;
void _internal_set_action(::location::nearby::proto::sharing::ResponseToIntroduction value);
public:
// optional bool qr_code_flow = 3;
bool has_qr_code_flow() const;
void clear_qr_code_flow() ;
bool qr_code_flow() const;
void set_qr_code_flow(bool value);
private:
bool _internal_qr_code_flow() const;
void _internal_set_qr_code_flow(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_RespondToIntroduction& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t session_id_;
int action_;
bool qr_code_flow_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_RespondToIntroduction_class_data_;
// -------------------------------------------------------------------
class SharingLog_RequestSettingPermissions final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions) */ {
public:
inline SharingLog_RequestSettingPermissions() : SharingLog_RequestSettingPermissions(nullptr) {}
~SharingLog_RequestSettingPermissions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_RequestSettingPermissions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_RequestSettingPermissions(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_RequestSettingPermissions(const SharingLog_RequestSettingPermissions& from) : SharingLog_RequestSettingPermissions(nullptr, from) {}
inline SharingLog_RequestSettingPermissions(SharingLog_RequestSettingPermissions&& from) noexcept
: SharingLog_RequestSettingPermissions(nullptr, ::std::move(from)) {}
inline SharingLog_RequestSettingPermissions& operator=(const SharingLog_RequestSettingPermissions& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_RequestSettingPermissions& operator=(SharingLog_RequestSettingPermissions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_RequestSettingPermissions& default_instance() {
return *reinterpret_cast<const SharingLog_RequestSettingPermissions*>(
&_SharingLog_RequestSettingPermissions_default_instance_);
}
static constexpr int kIndexInFileMessages = 55;
friend void swap(SharingLog_RequestSettingPermissions& a, SharingLog_RequestSettingPermissions& b) { a.Swap(&b); }
inline void Swap(SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_RequestSettingPermissions>(arena);
}
void CopyFrom(const SharingLog_RequestSettingPermissions& from);
void MergeFrom(const SharingLog_RequestSettingPermissions& from) { SharingLog_RequestSettingPermissions::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions"; }
explicit SharingLog_RequestSettingPermissions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_RequestSettingPermissions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_RequestSettingPermissions& from);
SharingLog_RequestSettingPermissions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_RequestSettingPermissions&& from) noexcept
: SharingLog_RequestSettingPermissions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPermissionTypeFieldNumber = 1,
kPermissionRequestResultFieldNumber = 2,
};
// optional .location.nearby.proto.sharing.PermissionRequestType permission_type = 1;
bool has_permission_type() const;
void clear_permission_type() ;
::location::nearby::proto::sharing::PermissionRequestType permission_type() const;
void set_permission_type(::location::nearby::proto::sharing::PermissionRequestType value);
private:
::location::nearby::proto::sharing::PermissionRequestType _internal_permission_type() const;
void _internal_set_permission_type(::location::nearby::proto::sharing::PermissionRequestType value);
public:
// optional .location.nearby.proto.sharing.PermissionRequestResult permission_request_result = 2;
bool has_permission_request_result() const;
void clear_permission_request_result() ;
::location::nearby::proto::sharing::PermissionRequestResult permission_request_result() const;
void set_permission_request_result(::location::nearby::proto::sharing::PermissionRequestResult value);
private:
::location::nearby::proto::sharing::PermissionRequestResult _internal_permission_request_result() const;
void _internal_set_permission_request_result(::location::nearby::proto::sharing::PermissionRequestResult value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_RequestSettingPermissions& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int permission_type_;
int permission_request_result_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_RequestSettingPermissions_class_data_;
// -------------------------------------------------------------------
class SharingLog_RemoveQuickSettingsTile final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.RemoveQuickSettingsTile) */ {
public:
inline SharingLog_RemoveQuickSettingsTile() : SharingLog_RemoveQuickSettingsTile(nullptr) {}
~SharingLog_RemoveQuickSettingsTile() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_RemoveQuickSettingsTile));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_RemoveQuickSettingsTile(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_RemoveQuickSettingsTile(const SharingLog_RemoveQuickSettingsTile& from) : SharingLog_RemoveQuickSettingsTile(nullptr, from) {}
inline SharingLog_RemoveQuickSettingsTile(SharingLog_RemoveQuickSettingsTile&& from) noexcept
: SharingLog_RemoveQuickSettingsTile(nullptr, ::std::move(from)) {}
inline SharingLog_RemoveQuickSettingsTile& operator=(const SharingLog_RemoveQuickSettingsTile& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_RemoveQuickSettingsTile& operator=(SharingLog_RemoveQuickSettingsTile&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_RemoveQuickSettingsTile& default_instance() {
return *reinterpret_cast<const SharingLog_RemoveQuickSettingsTile*>(
&_SharingLog_RemoveQuickSettingsTile_default_instance_);
}
static constexpr int kIndexInFileMessages = 47;
friend void swap(SharingLog_RemoveQuickSettingsTile& a, SharingLog_RemoveQuickSettingsTile& b) { a.Swap(&b); }
inline void Swap(SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_RemoveQuickSettingsTile>(arena);
}
void CopyFrom(const SharingLog_RemoveQuickSettingsTile& from);
void MergeFrom(const SharingLog_RemoveQuickSettingsTile& from) { SharingLog_RemoveQuickSettingsTile::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.RemoveQuickSettingsTile"; }
explicit SharingLog_RemoveQuickSettingsTile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_RemoveQuickSettingsTile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_RemoveQuickSettingsTile& from);
SharingLog_RemoveQuickSettingsTile(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_RemoveQuickSettingsTile&& from) noexcept
: SharingLog_RemoveQuickSettingsTile(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.RemoveQuickSettingsTile)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_RemoveQuickSettingsTile& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_RemoveQuickSettingsTile_class_data_;
// -------------------------------------------------------------------
class SharingLog_RemoveContact final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.RemoveContact) */ {
public:
inline SharingLog_RemoveContact() : SharingLog_RemoveContact(nullptr) {}
~SharingLog_RemoveContact() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_RemoveContact* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_RemoveContact));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_RemoveContact(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_RemoveContact(const SharingLog_RemoveContact& from) : SharingLog_RemoveContact(nullptr, from) {}
inline SharingLog_RemoveContact(SharingLog_RemoveContact&& from) noexcept
: SharingLog_RemoveContact(nullptr, ::std::move(from)) {}
inline SharingLog_RemoveContact& operator=(const SharingLog_RemoveContact& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_RemoveContact& operator=(SharingLog_RemoveContact&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_RemoveContact& default_instance() {
return *reinterpret_cast<const SharingLog_RemoveContact*>(
&_SharingLog_RemoveContact_default_instance_);
}
static constexpr int kIndexInFileMessages = 37;
friend void swap(SharingLog_RemoveContact& a, SharingLog_RemoveContact& b) { a.Swap(&b); }
inline void Swap(SharingLog_RemoveContact* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_RemoveContact* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_RemoveContact* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_RemoveContact>(arena);
}
void CopyFrom(const SharingLog_RemoveContact& from);
void MergeFrom(const SharingLog_RemoveContact& from) { SharingLog_RemoveContact::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_RemoveContact* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.RemoveContact"; }
explicit SharingLog_RemoveContact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_RemoveContact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_RemoveContact& from);
SharingLog_RemoveContact(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_RemoveContact&& from) noexcept
: SharingLog_RemoveContact(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kWasPhoneRemovedFieldNumber = 1,
kWasEmailRemovedFieldNumber = 2,
};
// optional bool was_phone_removed = 1;
bool has_was_phone_removed() const;
void clear_was_phone_removed() ;
bool was_phone_removed() const;
void set_was_phone_removed(bool value);
private:
bool _internal_was_phone_removed() const;
void _internal_set_was_phone_removed(bool value);
public:
// optional bool was_email_removed = 2;
bool has_was_email_removed() const;
void clear_was_email_removed() ;
bool was_email_removed() const;
void set_was_email_removed(bool value);
private:
bool _internal_was_email_removed() const;
void _internal_set_was_email_removed(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.RemoveContact)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_RemoveContact& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
bool was_phone_removed_;
bool was_email_removed_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_RemoveContact_class_data_;
// -------------------------------------------------------------------
class SharingLog_ReceivePreviews final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ReceivePreviews) */ {
public:
inline SharingLog_ReceivePreviews() : SharingLog_ReceivePreviews(nullptr) {}
~SharingLog_ReceivePreviews() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ReceivePreviews* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ReceivePreviews));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ReceivePreviews(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ReceivePreviews(const SharingLog_ReceivePreviews& from) : SharingLog_ReceivePreviews(nullptr, from) {}
inline SharingLog_ReceivePreviews(SharingLog_ReceivePreviews&& from) noexcept
: SharingLog_ReceivePreviews(nullptr, ::std::move(from)) {}
inline SharingLog_ReceivePreviews& operator=(const SharingLog_ReceivePreviews& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ReceivePreviews& operator=(SharingLog_ReceivePreviews&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ReceivePreviews& default_instance() {
return *reinterpret_cast<const SharingLog_ReceivePreviews*>(
&_SharingLog_ReceivePreviews_default_instance_);
}
static constexpr int kIndexInFileMessages = 83;
friend void swap(SharingLog_ReceivePreviews& a, SharingLog_ReceivePreviews& b) { a.Swap(&b); }
inline void Swap(SharingLog_ReceivePreviews* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ReceivePreviews* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ReceivePreviews* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ReceivePreviews>(arena);
}
void CopyFrom(const SharingLog_ReceivePreviews& from);
void MergeFrom(const SharingLog_ReceivePreviews& from) { SharingLog_ReceivePreviews::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ReceivePreviews* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ReceivePreviews"; }
explicit SharingLog_ReceivePreviews(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ReceivePreviews(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ReceivePreviews& from);
SharingLog_ReceivePreviews(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ReceivePreviews&& from) noexcept
: SharingLog_ReceivePreviews(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kNumPreviewsFieldNumber = 1,
};
// optional int32 num_previews = 1;
bool has_num_previews() const;
void clear_num_previews() ;
::int32_t num_previews() const;
void set_num_previews(::int32_t value);
private:
::int32_t _internal_num_previews() const;
void _internal_set_num_previews(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ReceivePreviews)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ReceivePreviews& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int32_t num_previews_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_ReceivePreviews_class_data_;
// -------------------------------------------------------------------
class SharingLog_ReceiveFastInitialization final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization) */ {
public:
inline SharingLog_ReceiveFastInitialization() : SharingLog_ReceiveFastInitialization(nullptr) {}
~SharingLog_ReceiveFastInitialization() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ReceiveFastInitialization));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ReceiveFastInitialization(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ReceiveFastInitialization(const SharingLog_ReceiveFastInitialization& from) : SharingLog_ReceiveFastInitialization(nullptr, from) {}
inline SharingLog_ReceiveFastInitialization(SharingLog_ReceiveFastInitialization&& from) noexcept
: SharingLog_ReceiveFastInitialization(nullptr, ::std::move(from)) {}
inline SharingLog_ReceiveFastInitialization& operator=(const SharingLog_ReceiveFastInitialization& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ReceiveFastInitialization& operator=(SharingLog_ReceiveFastInitialization&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ReceiveFastInitialization& default_instance() {
return *reinterpret_cast<const SharingLog_ReceiveFastInitialization*>(
&_SharingLog_ReceiveFastInitialization_default_instance_);
}
static constexpr int kIndexInFileMessages = 16;
friend void swap(SharingLog_ReceiveFastInitialization& a, SharingLog_ReceiveFastInitialization& b) { a.Swap(&b); }
inline void Swap(SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ReceiveFastInitialization>(arena);
}
void CopyFrom(const SharingLog_ReceiveFastInitialization& from);
void MergeFrom(const SharingLog_ReceiveFastInitialization& from) { SharingLog_ReceiveFastInitialization::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization"; }
explicit SharingLog_ReceiveFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ReceiveFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ReceiveFastInitialization& from);
SharingLog_ReceiveFastInitialization(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ReceiveFastInitialization&& from) noexcept
: SharingLog_ReceiveFastInitialization(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kTimeElapseSinceScreenUnlockMillisFieldNumber = 1,
kNotificationsEnabledFieldNumber = 2,
kNotificationsFilteredFieldNumber = 3,
};
// optional int64 time_elapse_since_screen_unlock_millis = 1;
bool has_time_elapse_since_screen_unlock_millis() const;
void clear_time_elapse_since_screen_unlock_millis() ;
::int64_t time_elapse_since_screen_unlock_millis() const;
void set_time_elapse_since_screen_unlock_millis(::int64_t value);
private:
::int64_t _internal_time_elapse_since_screen_unlock_millis() const;
void _internal_set_time_elapse_since_screen_unlock_millis(::int64_t value);
public:
// optional bool notifications_enabled = 2;
bool has_notifications_enabled() const;
void clear_notifications_enabled() ;
bool notifications_enabled() const;
void set_notifications_enabled(bool value);
private:
bool _internal_notifications_enabled() const;
void _internal_set_notifications_enabled(bool value);
public:
// optional bool notifications_filtered = 3;
bool has_notifications_filtered() const;
void clear_notifications_filtered() ;
bool notifications_filtered() const;
void set_notifications_filtered(bool value);
private:
bool _internal_notifications_filtered() const;
void _internal_set_notifications_filtered(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ReceiveFastInitialization& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t time_elapse_since_screen_unlock_millis_;
bool notifications_enabled_;
bool notifications_filtered_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_ReceiveFastInitialization_class_data_;
// -------------------------------------------------------------------
class SharingLog_QrCodeOpenedInWebClient final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient) */ {
public:
inline SharingLog_QrCodeOpenedInWebClient() : SharingLog_QrCodeOpenedInWebClient(nullptr) {}
~SharingLog_QrCodeOpenedInWebClient() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_QrCodeOpenedInWebClient));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_QrCodeOpenedInWebClient(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_QrCodeOpenedInWebClient(const SharingLog_QrCodeOpenedInWebClient& from) : SharingLog_QrCodeOpenedInWebClient(nullptr, from) {}
inline SharingLog_QrCodeOpenedInWebClient(SharingLog_QrCodeOpenedInWebClient&& from) noexcept
: SharingLog_QrCodeOpenedInWebClient(nullptr, ::std::move(from)) {}
inline SharingLog_QrCodeOpenedInWebClient& operator=(const SharingLog_QrCodeOpenedInWebClient& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_QrCodeOpenedInWebClient& operator=(SharingLog_QrCodeOpenedInWebClient&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_QrCodeOpenedInWebClient& default_instance() {
return *reinterpret_cast<const SharingLog_QrCodeOpenedInWebClient*>(
&_SharingLog_QrCodeOpenedInWebClient_default_instance_);
}
static constexpr int kIndexInFileMessages = 81;
friend void swap(SharingLog_QrCodeOpenedInWebClient& a, SharingLog_QrCodeOpenedInWebClient& b) { a.Swap(&b); }
inline void Swap(SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_QrCodeOpenedInWebClient>(arena);
}
void CopyFrom(const SharingLog_QrCodeOpenedInWebClient& from);
void MergeFrom(const SharingLog_QrCodeOpenedInWebClient& from) { SharingLog_QrCodeOpenedInWebClient::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient"; }
explicit SharingLog_QrCodeOpenedInWebClient(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_QrCodeOpenedInWebClient(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_QrCodeOpenedInWebClient& from);
SharingLog_QrCodeOpenedInWebClient(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_QrCodeOpenedInWebClient&& from) noexcept
: SharingLog_QrCodeOpenedInWebClient(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
using ClientPlatform = SharingLog_QrCodeOpenedInWebClient_ClientPlatform;
static constexpr ClientPlatform UNKNOWN_CLIENT_PLATFORM = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_UNKNOWN_CLIENT_PLATFORM;
static constexpr ClientPlatform GENERIC = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_GENERIC;
static constexpr ClientPlatform ANDROID = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ANDROID;
static constexpr ClientPlatform IOS = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_IOS;
static constexpr ClientPlatform CHROME_OS = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_CHROME_OS;
static constexpr ClientPlatform WINDOWS = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_WINDOWS;
static inline bool ClientPlatform_IsValid(int value) {
return SharingLog_QrCodeOpenedInWebClient_ClientPlatform_IsValid(value);
}
static constexpr ClientPlatform ClientPlatform_MIN = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ClientPlatform_MIN;
static constexpr ClientPlatform ClientPlatform_MAX = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ClientPlatform_MAX;
static constexpr int ClientPlatform_ARRAYSIZE = SharingLog_QrCodeOpenedInWebClient_ClientPlatform_ClientPlatform_ARRAYSIZE;
template <typename T>
static inline const ::std::string& ClientPlatform_Name(T value) {
return SharingLog_QrCodeOpenedInWebClient_ClientPlatform_Name(value);
}
static inline bool ClientPlatform_Parse(
::absl::string_view name, ClientPlatform* PROTOBUF_NONNULL value) {
return SharingLog_QrCodeOpenedInWebClient_ClientPlatform_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kClientPlatformFieldNumber = 1,
kIsRetryFieldNumber = 2,
};
// optional .nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient.ClientPlatform client_platform = 1;
bool has_client_platform() const;
void clear_client_platform() ;
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform client_platform() const;
void set_client_platform(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform value);
private:
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform _internal_client_platform() const;
void _internal_set_client_platform(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform value);
public:
// optional bool is_retry = 2;
bool has_is_retry() const;
void clear_is_retry() ;
bool is_retry() const;
void set_is_retry(bool value);
private:
bool _internal_is_retry() const;
void _internal_set_is_retry(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_QrCodeOpenedInWebClient& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int client_platform_;
bool is_retry_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_QrCodeOpenedInWebClient_class_data_;
// -------------------------------------------------------------------
class SharingLog_QrCodeLinkShown final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.QrCodeLinkShown) */ {
public:
inline SharingLog_QrCodeLinkShown() : SharingLog_QrCodeLinkShown(nullptr) {}
~SharingLog_QrCodeLinkShown() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_QrCodeLinkShown));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_QrCodeLinkShown(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_QrCodeLinkShown(const SharingLog_QrCodeLinkShown& from) : SharingLog_QrCodeLinkShown(nullptr, from) {}
inline SharingLog_QrCodeLinkShown(SharingLog_QrCodeLinkShown&& from) noexcept
: SharingLog_QrCodeLinkShown(nullptr, ::std::move(from)) {}
inline SharingLog_QrCodeLinkShown& operator=(const SharingLog_QrCodeLinkShown& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_QrCodeLinkShown& operator=(SharingLog_QrCodeLinkShown&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_QrCodeLinkShown& default_instance() {
return *reinterpret_cast<const SharingLog_QrCodeLinkShown*>(
&_SharingLog_QrCodeLinkShown_default_instance_);
}
static constexpr int kIndexInFileMessages = 63;
friend void swap(SharingLog_QrCodeLinkShown& a, SharingLog_QrCodeLinkShown& b) { a.Swap(&b); }
inline void Swap(SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_QrCodeLinkShown>(arena);
}
void CopyFrom(const SharingLog_QrCodeLinkShown& from);
void MergeFrom(const SharingLog_QrCodeLinkShown& from) { SharingLog_QrCodeLinkShown::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.QrCodeLinkShown"; }
explicit SharingLog_QrCodeLinkShown(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_QrCodeLinkShown(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_QrCodeLinkShown& from);
SharingLog_QrCodeLinkShown(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_QrCodeLinkShown&& from) noexcept
: SharingLog_QrCodeLinkShown(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.QrCodeLinkShown)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_QrCodeLinkShown& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_QrCodeLinkShown_class_data_;
// -------------------------------------------------------------------
class SharingLog_ProcessReceivedAttachmentsEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd) */ {
public:
inline SharingLog_ProcessReceivedAttachmentsEnd() : SharingLog_ProcessReceivedAttachmentsEnd(nullptr) {}
~SharingLog_ProcessReceivedAttachmentsEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ProcessReceivedAttachmentsEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ProcessReceivedAttachmentsEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ProcessReceivedAttachmentsEnd(const SharingLog_ProcessReceivedAttachmentsEnd& from) : SharingLog_ProcessReceivedAttachmentsEnd(nullptr, from) {}
inline SharingLog_ProcessReceivedAttachmentsEnd(SharingLog_ProcessReceivedAttachmentsEnd&& from) noexcept
: SharingLog_ProcessReceivedAttachmentsEnd(nullptr, ::std::move(from)) {}
inline SharingLog_ProcessReceivedAttachmentsEnd& operator=(const SharingLog_ProcessReceivedAttachmentsEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ProcessReceivedAttachmentsEnd& operator=(SharingLog_ProcessReceivedAttachmentsEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ProcessReceivedAttachmentsEnd& default_instance() {
return *reinterpret_cast<const SharingLog_ProcessReceivedAttachmentsEnd*>(
&_SharingLog_ProcessReceivedAttachmentsEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 33;
friend void swap(SharingLog_ProcessReceivedAttachmentsEnd& a, SharingLog_ProcessReceivedAttachmentsEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ProcessReceivedAttachmentsEnd>(arena);
}
void CopyFrom(const SharingLog_ProcessReceivedAttachmentsEnd& from);
void MergeFrom(const SharingLog_ProcessReceivedAttachmentsEnd& from) { SharingLog_ProcessReceivedAttachmentsEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd"; }
explicit SharingLog_ProcessReceivedAttachmentsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ProcessReceivedAttachmentsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ProcessReceivedAttachmentsEnd& from);
SharingLog_ProcessReceivedAttachmentsEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ProcessReceivedAttachmentsEnd&& from) noexcept
: SharingLog_ProcessReceivedAttachmentsEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kSessionIdFieldNumber = 1,
kStatusFieldNumber = 2,
};
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.ProcessReceivedAttachmentsStatus status = 2;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus status() const;
void set_status(::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus value);
private:
::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ProcessReceivedAttachmentsEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t session_id_;
int status_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<72> SharingLog_ProcessReceivedAttachmentsEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_PreferencesUsage final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage) */ {
public:
inline SharingLog_PreferencesUsage() : SharingLog_PreferencesUsage(nullptr) {}
~SharingLog_PreferencesUsage() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_PreferencesUsage* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_PreferencesUsage));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_PreferencesUsage(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_PreferencesUsage(const SharingLog_PreferencesUsage& from) : SharingLog_PreferencesUsage(nullptr, from) {}
inline SharingLog_PreferencesUsage(SharingLog_PreferencesUsage&& from) noexcept
: SharingLog_PreferencesUsage(nullptr, ::std::move(from)) {}
inline SharingLog_PreferencesUsage& operator=(const SharingLog_PreferencesUsage& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_PreferencesUsage& operator=(SharingLog_PreferencesUsage&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_PreferencesUsage& default_instance() {
return *reinterpret_cast<const SharingLog_PreferencesUsage*>(
&_SharingLog_PreferencesUsage_default_instance_);
}
static constexpr int kIndexInFileMessages = 2;
friend void swap(SharingLog_PreferencesUsage& a, SharingLog_PreferencesUsage& b) { a.Swap(&b); }
inline void Swap(SharingLog_PreferencesUsage* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_PreferencesUsage* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_PreferencesUsage* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_PreferencesUsage>(arena);
}
void CopyFrom(const SharingLog_PreferencesUsage& from);
void MergeFrom(const SharingLog_PreferencesUsage& from) { SharingLog_PreferencesUsage::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_PreferencesUsage* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.PreferencesUsage"; }
explicit SharingLog_PreferencesUsage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_PreferencesUsage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_PreferencesUsage& from);
SharingLog_PreferencesUsage(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_PreferencesUsage&& from) noexcept
: SharingLog_PreferencesUsage(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kActionFieldNumber = 1,
kActionStatusFieldNumber = 2,
kPrevSubActionFieldNumber = 3,
kNextSubActionFieldNumber = 4,
};
// optional .location.nearby.proto.sharing.PreferencesAction action = 1;
bool has_action() const;
void clear_action() ;
::location::nearby::proto::sharing::PreferencesAction action() const;
void set_action(::location::nearby::proto::sharing::PreferencesAction value);
private:
::location::nearby::proto::sharing::PreferencesAction _internal_action() const;
void _internal_set_action(::location::nearby::proto::sharing::PreferencesAction value);
public:
// optional .location.nearby.proto.sharing.PreferencesActionStatus action_status = 2;
bool has_action_status() const;
void clear_action_status() ;
::location::nearby::proto::sharing::PreferencesActionStatus action_status() const;
void set_action_status(::location::nearby::proto::sharing::PreferencesActionStatus value);
private:
::location::nearby::proto::sharing::PreferencesActionStatus _internal_action_status() const;
void _internal_set_action_status(::location::nearby::proto::sharing::PreferencesActionStatus value);
public:
// optional .location.nearby.proto.sharing.PreferencesAction prev_sub_action = 3;
bool has_prev_sub_action() const;
void clear_prev_sub_action() ;
::location::nearby::proto::sharing::PreferencesAction prev_sub_action() const;
void set_prev_sub_action(::location::nearby::proto::sharing::PreferencesAction value);
private:
::location::nearby::proto::sharing::PreferencesAction _internal_prev_sub_action() const;
void _internal_set_prev_sub_action(::location::nearby::proto::sharing::PreferencesAction value);
public:
// optional .location.nearby.proto.sharing.PreferencesAction next_sub_action = 4;
bool has_next_sub_action() const;
void clear_next_sub_action() ;
::location::nearby::proto::sharing::PreferencesAction next_sub_action() const;
void set_next_sub_action(::location::nearby::proto::sharing::PreferencesAction value);
private:
::location::nearby::proto::sharing::PreferencesAction _internal_next_sub_action() const;
void _internal_set_next_sub_action(::location::nearby::proto::sharing::PreferencesAction value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
4, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_PreferencesUsage& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int action_;
int action_status_;
int prev_sub_action_;
int next_sub_action_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_PreferencesUsage_class_data_;
// -------------------------------------------------------------------
class SharingLog_LaunchSetupActivity final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.LaunchSetupActivity) */ {
public:
inline SharingLog_LaunchSetupActivity() : SharingLog_LaunchSetupActivity(nullptr) {}
~SharingLog_LaunchSetupActivity() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_LaunchSetupActivity* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_LaunchSetupActivity));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_LaunchSetupActivity(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_LaunchSetupActivity(const SharingLog_LaunchSetupActivity& from) : SharingLog_LaunchSetupActivity(nullptr, from) {}
inline SharingLog_LaunchSetupActivity(SharingLog_LaunchSetupActivity&& from) noexcept
: SharingLog_LaunchSetupActivity(nullptr, ::std::move(from)) {}
inline SharingLog_LaunchSetupActivity& operator=(const SharingLog_LaunchSetupActivity& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_LaunchSetupActivity& operator=(SharingLog_LaunchSetupActivity&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_LaunchSetupActivity& default_instance() {
return *reinterpret_cast<const SharingLog_LaunchSetupActivity*>(
&_SharingLog_LaunchSetupActivity_default_instance_);
}
static constexpr int kIndexInFileMessages = 35;
friend void swap(SharingLog_LaunchSetupActivity& a, SharingLog_LaunchSetupActivity& b) { a.Swap(&b); }
inline void Swap(SharingLog_LaunchSetupActivity* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_LaunchSetupActivity* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_LaunchSetupActivity* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_LaunchSetupActivity>(arena);
}
void CopyFrom(const SharingLog_LaunchSetupActivity& from);
void MergeFrom(const SharingLog_LaunchSetupActivity& from) { SharingLog_LaunchSetupActivity::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_LaunchSetupActivity* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.LaunchSetupActivity"; }
explicit SharingLog_LaunchSetupActivity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_LaunchSetupActivity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_LaunchSetupActivity& from);
SharingLog_LaunchSetupActivity(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_LaunchSetupActivity&& from) noexcept
: SharingLog_LaunchSetupActivity(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.LaunchSetupActivity)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_LaunchSetupActivity& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_LaunchSetupActivity_class_data_;
// -------------------------------------------------------------------
class SharingLog_LaunchPhoneConsent final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.LaunchPhoneConsent) */ {
public:
inline SharingLog_LaunchPhoneConsent() : SharingLog_LaunchPhoneConsent(nullptr) {}
~SharingLog_LaunchPhoneConsent() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_LaunchPhoneConsent));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_LaunchPhoneConsent(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_LaunchPhoneConsent(const SharingLog_LaunchPhoneConsent& from) : SharingLog_LaunchPhoneConsent(nullptr, from) {}
inline SharingLog_LaunchPhoneConsent(SharingLog_LaunchPhoneConsent&& from) noexcept
: SharingLog_LaunchPhoneConsent(nullptr, ::std::move(from)) {}
inline SharingLog_LaunchPhoneConsent& operator=(const SharingLog_LaunchPhoneConsent& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_LaunchPhoneConsent& operator=(SharingLog_LaunchPhoneConsent&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_LaunchPhoneConsent& default_instance() {
return *reinterpret_cast<const SharingLog_LaunchPhoneConsent*>(
&_SharingLog_LaunchPhoneConsent_default_instance_);
}
static constexpr int kIndexInFileMessages = 48;
friend void swap(SharingLog_LaunchPhoneConsent& a, SharingLog_LaunchPhoneConsent& b) { a.Swap(&b); }
inline void Swap(SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_LaunchPhoneConsent>(arena);
}
void CopyFrom(const SharingLog_LaunchPhoneConsent& from);
void MergeFrom(const SharingLog_LaunchPhoneConsent& from) { SharingLog_LaunchPhoneConsent::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.LaunchPhoneConsent"; }
explicit SharingLog_LaunchPhoneConsent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_LaunchPhoneConsent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_LaunchPhoneConsent& from);
SharingLog_LaunchPhoneConsent(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_LaunchPhoneConsent&& from) noexcept
: SharingLog_LaunchPhoneConsent(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.LaunchPhoneConsent)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_LaunchPhoneConsent& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_LaunchPhoneConsent_class_data_;
// -------------------------------------------------------------------
class SharingLog_LaunchConsent final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.LaunchConsent) */ {
public:
inline SharingLog_LaunchConsent() : SharingLog_LaunchConsent(nullptr) {}
~SharingLog_LaunchConsent() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_LaunchConsent* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_LaunchConsent));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_LaunchConsent(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_LaunchConsent(const SharingLog_LaunchConsent& from) : SharingLog_LaunchConsent(nullptr, from) {}
inline SharingLog_LaunchConsent(SharingLog_LaunchConsent&& from) noexcept
: SharingLog_LaunchConsent(nullptr, ::std::move(from)) {}
inline SharingLog_LaunchConsent& operator=(const SharingLog_LaunchConsent& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_LaunchConsent& operator=(SharingLog_LaunchConsent&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_LaunchConsent& default_instance() {
return *reinterpret_cast<const SharingLog_LaunchConsent*>(
&_SharingLog_LaunchConsent_default_instance_);
}
static constexpr int kIndexInFileMessages = 56;
friend void swap(SharingLog_LaunchConsent& a, SharingLog_LaunchConsent& b) { a.Swap(&b); }
inline void Swap(SharingLog_LaunchConsent* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_LaunchConsent* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_LaunchConsent* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_LaunchConsent>(arena);
}
void CopyFrom(const SharingLog_LaunchConsent& from);
void MergeFrom(const SharingLog_LaunchConsent& from) { SharingLog_LaunchConsent::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_LaunchConsent* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.LaunchConsent"; }
explicit SharingLog_LaunchConsent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_LaunchConsent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_LaunchConsent& from);
SharingLog_LaunchConsent(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_LaunchConsent&& from) noexcept
: SharingLog_LaunchConsent(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kConsentTypeFieldNumber = 1,
kStatusFieldNumber = 2,
};
// optional .location.nearby.proto.sharing.ConsentType consent_type = 1;
bool has_consent_type() const;
void clear_consent_type() ;
::location::nearby::proto::sharing::ConsentType consent_type() const;
void set_consent_type(::location::nearby::proto::sharing::ConsentType value);
private:
::location::nearby::proto::sharing::ConsentType _internal_consent_type() const;
void _internal_set_consent_type(::location::nearby::proto::sharing::ConsentType value);
public:
// optional .location.nearby.proto.sharing.ConsentAcceptanceStatus status = 2;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::ConsentAcceptanceStatus status() const;
void set_status(::location::nearby::proto::sharing::ConsentAcceptanceStatus value);
private:
::location::nearby::proto::sharing::ConsentAcceptanceStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::ConsentAcceptanceStatus value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.LaunchConsent)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_LaunchConsent& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int consent_type_;
int status_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_LaunchConsent_class_data_;
// -------------------------------------------------------------------
class SharingLog_LaunchActivity final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.LaunchActivity) */ {
public:
inline SharingLog_LaunchActivity() : SharingLog_LaunchActivity(nullptr) {}
~SharingLog_LaunchActivity() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_LaunchActivity* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_LaunchActivity));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_LaunchActivity(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_LaunchActivity(const SharingLog_LaunchActivity& from) : SharingLog_LaunchActivity(nullptr, from) {}
inline SharingLog_LaunchActivity(SharingLog_LaunchActivity&& from) noexcept
: SharingLog_LaunchActivity(nullptr, ::std::move(from)) {}
inline SharingLog_LaunchActivity& operator=(const SharingLog_LaunchActivity& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_LaunchActivity& operator=(SharingLog_LaunchActivity&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_LaunchActivity& default_instance() {
return *reinterpret_cast<const SharingLog_LaunchActivity*>(
&_SharingLog_LaunchActivity_default_instance_);
}
static constexpr int kIndexInFileMessages = 41;
friend void swap(SharingLog_LaunchActivity& a, SharingLog_LaunchActivity& b) { a.Swap(&b); }
inline void Swap(SharingLog_LaunchActivity* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_LaunchActivity* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_LaunchActivity* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_LaunchActivity>(arena);
}
void CopyFrom(const SharingLog_LaunchActivity& from);
void MergeFrom(const SharingLog_LaunchActivity& from) { SharingLog_LaunchActivity::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_LaunchActivity* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.LaunchActivity"; }
explicit SharingLog_LaunchActivity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_LaunchActivity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_LaunchActivity& from);
SharingLog_LaunchActivity(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_LaunchActivity&& from) noexcept
: SharingLog_LaunchActivity(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 3,
kDurationMillisFieldNumber = 2,
kActivityNameFieldNumber = 1,
kPreviousTransferInProgressFieldNumber = 4,
kHasOptedInFieldNumber = 5,
kIsFinishingFieldNumber = 7,
kSourceActivityNameFieldNumber = 6,
};
// optional string referrer_name = 3;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional int64 duration_millis = 2;
bool has_duration_millis() const;
void clear_duration_millis() ;
::int64_t duration_millis() const;
void set_duration_millis(::int64_t value);
private:
::int64_t _internal_duration_millis() const;
void _internal_set_duration_millis(::int64_t value);
public:
// optional .location.nearby.proto.sharing.ActivityName activity_name = 1;
bool has_activity_name() const;
void clear_activity_name() ;
::location::nearby::proto::sharing::ActivityName activity_name() const;
void set_activity_name(::location::nearby::proto::sharing::ActivityName value);
private:
::location::nearby::proto::sharing::ActivityName _internal_activity_name() const;
void _internal_set_activity_name(::location::nearby::proto::sharing::ActivityName value);
public:
// optional bool previous_transfer_in_progress = 4;
bool has_previous_transfer_in_progress() const;
void clear_previous_transfer_in_progress() ;
bool previous_transfer_in_progress() const;
void set_previous_transfer_in_progress(bool value);
private:
bool _internal_previous_transfer_in_progress() const;
void _internal_set_previous_transfer_in_progress(bool value);
public:
// optional bool has_opted_in = 5;
bool has_has_opted_in() const;
void clear_has_opted_in() ;
bool has_opted_in() const;
void set_has_opted_in(bool value);
private:
bool _internal_has_opted_in() const;
void _internal_set_has_opted_in(bool value);
public:
// optional bool is_finishing = 7;
bool has_is_finishing() const;
void clear_is_finishing() ;
bool is_finishing() const;
void set_is_finishing(bool value);
private:
bool _internal_is_finishing() const;
void _internal_set_is_finishing(bool value);
public:
// optional .location.nearby.proto.sharing.ActivityName source_activity_name = 6;
bool has_source_activity_name() const;
void clear_source_activity_name() ;
::location::nearby::proto::sharing::ActivityName source_activity_name() const;
void set_source_activity_name(::location::nearby::proto::sharing::ActivityName value);
private:
::location::nearby::proto::sharing::ActivityName _internal_source_activity_name() const;
void _internal_set_source_activity_name(::location::nearby::proto::sharing::ActivityName value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.LaunchActivity)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 7,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_LaunchActivity& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::int64_t duration_millis_;
int activity_name_;
bool previous_transfer_in_progress_;
bool has_opted_in_;
bool is_finishing_;
int source_activity_name_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_LaunchActivity_class_data_;
// -------------------------------------------------------------------
class SharingLog_InstallAPKStatus final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus) */ {
public:
inline SharingLog_InstallAPKStatus() : SharingLog_InstallAPKStatus(nullptr) {}
~SharingLog_InstallAPKStatus() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_InstallAPKStatus* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_InstallAPKStatus));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_InstallAPKStatus(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_InstallAPKStatus(const SharingLog_InstallAPKStatus& from) : SharingLog_InstallAPKStatus(nullptr, from) {}
inline SharingLog_InstallAPKStatus(SharingLog_InstallAPKStatus&& from) noexcept
: SharingLog_InstallAPKStatus(nullptr, ::std::move(from)) {}
inline SharingLog_InstallAPKStatus& operator=(const SharingLog_InstallAPKStatus& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_InstallAPKStatus& operator=(SharingLog_InstallAPKStatus&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_InstallAPKStatus& default_instance() {
return *reinterpret_cast<const SharingLog_InstallAPKStatus*>(
&_SharingLog_InstallAPKStatus_default_instance_);
}
static constexpr int kIndexInFileMessages = 57;
friend void swap(SharingLog_InstallAPKStatus& a, SharingLog_InstallAPKStatus& b) { a.Swap(&b); }
inline void Swap(SharingLog_InstallAPKStatus* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_InstallAPKStatus* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_InstallAPKStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_InstallAPKStatus>(arena);
}
void CopyFrom(const SharingLog_InstallAPKStatus& from);
void MergeFrom(const SharingLog_InstallAPKStatus& from) { SharingLog_InstallAPKStatus::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_InstallAPKStatus* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus"; }
explicit SharingLog_InstallAPKStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_InstallAPKStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_InstallAPKStatus& from);
SharingLog_InstallAPKStatus(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_InstallAPKStatus&& from) noexcept
: SharingLog_InstallAPKStatus(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStatusFieldNumber = 1,
kSourceFieldNumber = 2,
};
// repeated .location.nearby.proto.sharing.InstallAPKStatus status = 1 [packed = true];
int status_size() const;
private:
int _internal_status_size() const;
public:
void clear_status() ;
public:
::location::nearby::proto::sharing::InstallAPKStatus status(int index) const;
void set_status(int index, ::location::nearby::proto::sharing::InstallAPKStatus value);
void add_status(::location::nearby::proto::sharing::InstallAPKStatus value);
const ::google::protobuf::RepeatedField<int>& status() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_status();
private:
const ::google::protobuf::RepeatedField<int>& _internal_status() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_status();
public:
// repeated .location.nearby.proto.sharing.ApkSource source = 2 [packed = true];
int source_size() const;
private:
int _internal_source_size() const;
public:
void clear_source() ;
public:
::location::nearby::proto::sharing::ApkSource source(int index) const;
void set_source(int index, ::location::nearby::proto::sharing::ApkSource value);
void add_source(::location::nearby::proto::sharing::ApkSource value);
const ::google::protobuf::RepeatedField<int>& source() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_source();
private:
const ::google::protobuf::RepeatedField<int>& _internal_source() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_source();
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_InstallAPKStatus& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedField<int> status_;
::google::protobuf::internal::CachedSize _status_cached_byte_size_;
::google::protobuf::RepeatedField<int> source_;
::google::protobuf::internal::CachedSize _source_cached_byte_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_InstallAPKStatus_class_data_;
// -------------------------------------------------------------------
class SharingLog_HatsJointEvent final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent) */ {
public:
inline SharingLog_HatsJointEvent() : SharingLog_HatsJointEvent(nullptr) {}
~SharingLog_HatsJointEvent() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_HatsJointEvent* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_HatsJointEvent));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_HatsJointEvent(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_HatsJointEvent(const SharingLog_HatsJointEvent& from) : SharingLog_HatsJointEvent(nullptr, from) {}
inline SharingLog_HatsJointEvent(SharingLog_HatsJointEvent&& from) noexcept
: SharingLog_HatsJointEvent(nullptr, ::std::move(from)) {}
inline SharingLog_HatsJointEvent& operator=(const SharingLog_HatsJointEvent& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_HatsJointEvent& operator=(SharingLog_HatsJointEvent&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_HatsJointEvent& default_instance() {
return *reinterpret_cast<const SharingLog_HatsJointEvent*>(
&_SharingLog_HatsJointEvent_default_instance_);
}
static constexpr int kIndexInFileMessages = 82;
friend void swap(SharingLog_HatsJointEvent& a, SharingLog_HatsJointEvent& b) { a.Swap(&b); }
inline void Swap(SharingLog_HatsJointEvent* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_HatsJointEvent* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_HatsJointEvent* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_HatsJointEvent>(arena);
}
void CopyFrom(const SharingLog_HatsJointEvent& from);
void MergeFrom(const SharingLog_HatsJointEvent& from) { SharingLog_HatsJointEvent::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_HatsJointEvent* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.HatsJointEvent"; }
explicit SharingLog_HatsJointEvent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_HatsJointEvent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_HatsJointEvent& from);
SharingLog_HatsJointEvent(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_HatsJointEvent&& from) noexcept
: SharingLog_HatsJointEvent(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kHatsSessionIdFieldNumber = 2,
kFlowIdFieldNumber = 1,
};
// optional string hats_session_id = 2;
bool has_hats_session_id() const;
void clear_hats_session_id() ;
const ::std::string& hats_session_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_hats_session_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_hats_session_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_hats_session_id();
void set_allocated_hats_session_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_hats_session_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_hats_session_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_hats_session_id();
public:
// optional int64 flow_id = 1;
bool has_flow_id() const;
void clear_flow_id() ;
::int64_t flow_id() const;
void set_flow_id(::int64_t value);
private:
::int64_t _internal_flow_id() const;
void _internal_set_flow_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_HatsJointEvent& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr hats_session_id_;
::int64_t flow_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_HatsJointEvent_class_data_;
// -------------------------------------------------------------------
class SharingLog_FileAttachment final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.FileAttachment) */ {
public:
inline SharingLog_FileAttachment() : SharingLog_FileAttachment(nullptr) {}
~SharingLog_FileAttachment() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_FileAttachment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_FileAttachment));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_FileAttachment(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_FileAttachment(const SharingLog_FileAttachment& from) : SharingLog_FileAttachment(nullptr, from) {}
inline SharingLog_FileAttachment(SharingLog_FileAttachment&& from) noexcept
: SharingLog_FileAttachment(nullptr, ::std::move(from)) {}
inline SharingLog_FileAttachment& operator=(const SharingLog_FileAttachment& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_FileAttachment& operator=(SharingLog_FileAttachment&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_FileAttachment& default_instance() {
return *reinterpret_cast<const SharingLog_FileAttachment*>(
&_SharingLog_FileAttachment_default_instance_);
}
static constexpr int kIndexInFileMessages = 68;
friend void swap(SharingLog_FileAttachment& a, SharingLog_FileAttachment& b) { a.Swap(&b); }
inline void Swap(SharingLog_FileAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_FileAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_FileAttachment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_FileAttachment>(arena);
}
void CopyFrom(const SharingLog_FileAttachment& from);
void MergeFrom(const SharingLog_FileAttachment& from) { SharingLog_FileAttachment::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_FileAttachment* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.FileAttachment"; }
explicit SharingLog_FileAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_FileAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_FileAttachment& from);
SharingLog_FileAttachment(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_FileAttachment&& from) noexcept
: SharingLog_FileAttachment(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
using Type = SharingLog_FileAttachment_Type;
static constexpr Type UNKNOWN_FILE_TYPE = SharingLog_FileAttachment_Type_UNKNOWN_FILE_TYPE;
static constexpr Type IMAGE = SharingLog_FileAttachment_Type_IMAGE;
static constexpr Type VIDEO = SharingLog_FileAttachment_Type_VIDEO;
static constexpr Type ANDROID_APP = SharingLog_FileAttachment_Type_ANDROID_APP;
static constexpr Type AUDIO = SharingLog_FileAttachment_Type_AUDIO;
static constexpr Type DOCUMENT = SharingLog_FileAttachment_Type_DOCUMENT;
static constexpr Type CONTACT_CARD = SharingLog_FileAttachment_Type_CONTACT_CARD;
static inline bool Type_IsValid(int value) {
return SharingLog_FileAttachment_Type_IsValid(value);
}
static constexpr Type Type_MIN = SharingLog_FileAttachment_Type_Type_MIN;
static constexpr Type Type_MAX = SharingLog_FileAttachment_Type_Type_MAX;
static constexpr int Type_ARRAYSIZE = SharingLog_FileAttachment_Type_Type_ARRAYSIZE;
template <typename T>
static inline const ::std::string& Type_Name(T value) {
return SharingLog_FileAttachment_Type_Name(value);
}
static inline bool Type_Parse(
::absl::string_view name, Type* PROTOBUF_NONNULL value) {
return SharingLog_FileAttachment_Type_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kSizeBytesFieldNumber = 2,
kTypeFieldNumber = 1,
kSourceTypeFieldNumber = 6,
kOffsetBytesFieldNumber = 4,
kBatchIdFieldNumber = 5,
};
// optional int64 size_bytes = 2;
bool has_size_bytes() const;
void clear_size_bytes() ;
::int64_t size_bytes() const;
void set_size_bytes(::int64_t value);
private:
::int64_t _internal_size_bytes() const;
void _internal_set_size_bytes(::int64_t value);
public:
// optional .nearby.sharing.analytics.proto.SharingLog.FileAttachment.Type type = 1;
bool has_type() const;
void clear_type() ;
::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type type() const;
void set_type(::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type value);
private:
::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type _internal_type() const;
void _internal_set_type(::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type value);
public:
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 6;
bool has_source_type() const;
void clear_source_type() ;
::location::nearby::proto::sharing::AttachmentSourceType source_type() const;
void set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
private:
::location::nearby::proto::sharing::AttachmentSourceType _internal_source_type() const;
void _internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
public:
// optional int64 offset_bytes = 4;
bool has_offset_bytes() const;
void clear_offset_bytes() ;
::int64_t offset_bytes() const;
void set_offset_bytes(::int64_t value);
private:
::int64_t _internal_offset_bytes() const;
void _internal_set_offset_bytes(::int64_t value);
public:
// optional int64 batch_id = 5;
bool has_batch_id() const;
void clear_batch_id() ;
::int64_t batch_id() const;
void set_batch_id(::int64_t value);
private:
::int64_t _internal_batch_id() const;
void _internal_set_batch_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.FileAttachment)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_FileAttachment& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t size_bytes_;
int type_;
int source_type_;
::int64_t offset_bytes_;
::int64_t batch_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_FileAttachment_class_data_;
// -------------------------------------------------------------------
class SharingLog_FastShareServerResponse final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse) */ {
public:
inline SharingLog_FastShareServerResponse() : SharingLog_FastShareServerResponse(nullptr) {}
~SharingLog_FastShareServerResponse() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_FastShareServerResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_FastShareServerResponse));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_FastShareServerResponse(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_FastShareServerResponse(const SharingLog_FastShareServerResponse& from) : SharingLog_FastShareServerResponse(nullptr, from) {}
inline SharingLog_FastShareServerResponse(SharingLog_FastShareServerResponse&& from) noexcept
: SharingLog_FastShareServerResponse(nullptr, ::std::move(from)) {}
inline SharingLog_FastShareServerResponse& operator=(const SharingLog_FastShareServerResponse& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_FastShareServerResponse& operator=(SharingLog_FastShareServerResponse&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_FastShareServerResponse& default_instance() {
return *reinterpret_cast<const SharingLog_FastShareServerResponse*>(
&_SharingLog_FastShareServerResponse_default_instance_);
}
static constexpr int kIndexInFileMessages = 38;
friend void swap(SharingLog_FastShareServerResponse& a, SharingLog_FastShareServerResponse& b) { a.Swap(&b); }
inline void Swap(SharingLog_FastShareServerResponse* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_FastShareServerResponse* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_FastShareServerResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_FastShareServerResponse>(arena);
}
void CopyFrom(const SharingLog_FastShareServerResponse& from);
void MergeFrom(const SharingLog_FastShareServerResponse& from) { SharingLog_FastShareServerResponse::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_FastShareServerResponse* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse"; }
explicit SharingLog_FastShareServerResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_FastShareServerResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_FastShareServerResponse& from);
SharingLog_FastShareServerResponse(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_FastShareServerResponse&& from) noexcept
: SharingLog_FastShareServerResponse(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStatusFieldNumber = 1,
kNameFieldNumber = 2,
kLatencyMillisFieldNumber = 3,
kPurposeFieldNumber = 4,
kRequesterFieldNumber = 5,
kDeviceTypeFieldNumber = 6,
};
// optional .location.nearby.proto.sharing.ServerResponseState status = 1;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::ServerResponseState status() const;
void set_status(::location::nearby::proto::sharing::ServerResponseState value);
private:
::location::nearby::proto::sharing::ServerResponseState _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::ServerResponseState value);
public:
// optional .location.nearby.proto.sharing.ServerActionName name = 2;
bool has_name() const;
void clear_name() ;
::location::nearby::proto::sharing::ServerActionName name() const;
void set_name(::location::nearby::proto::sharing::ServerActionName value);
private:
::location::nearby::proto::sharing::ServerActionName _internal_name() const;
void _internal_set_name(::location::nearby::proto::sharing::ServerActionName value);
public:
// optional int64 latency_millis = 3;
bool has_latency_millis() const;
void clear_latency_millis() ;
::int64_t latency_millis() const;
void set_latency_millis(::int64_t value);
private:
::int64_t _internal_latency_millis() const;
void _internal_set_latency_millis(::int64_t value);
public:
// optional .location.nearby.proto.sharing.SyncPurpose purpose = 4;
bool has_purpose() const;
void clear_purpose() ;
::location::nearby::proto::sharing::SyncPurpose purpose() const;
void set_purpose(::location::nearby::proto::sharing::SyncPurpose value);
private:
::location::nearby::proto::sharing::SyncPurpose _internal_purpose() const;
void _internal_set_purpose(::location::nearby::proto::sharing::SyncPurpose value);
public:
// optional .location.nearby.proto.sharing.ClientRole requester = 5;
bool has_requester() const;
void clear_requester() ;
::location::nearby::proto::sharing::ClientRole requester() const;
void set_requester(::location::nearby::proto::sharing::ClientRole value);
private:
::location::nearby::proto::sharing::ClientRole _internal_requester() const;
void _internal_set_requester(::location::nearby::proto::sharing::ClientRole value);
public:
// optional .location.nearby.proto.sharing.DeviceType device_type = 6;
bool has_device_type() const;
void clear_device_type() ;
::location::nearby::proto::sharing::DeviceType device_type() const;
void set_device_type(::location::nearby::proto::sharing::DeviceType value);
private:
::location::nearby::proto::sharing::DeviceType _internal_device_type() const;
void _internal_set_device_type(::location::nearby::proto::sharing::DeviceType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 6,
5, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_FastShareServerResponse& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int status_;
int name_;
::int64_t latency_millis_;
int purpose_;
int requester_;
int device_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_FastShareServerResponse_class_data_;
// -------------------------------------------------------------------
class SharingLog_FastInitDiscoverDevice final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice) */ {
public:
inline SharingLog_FastInitDiscoverDevice() : SharingLog_FastInitDiscoverDevice(nullptr) {}
~SharingLog_FastInitDiscoverDevice() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_FastInitDiscoverDevice));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_FastInitDiscoverDevice(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_FastInitDiscoverDevice(const SharingLog_FastInitDiscoverDevice& from) : SharingLog_FastInitDiscoverDevice(nullptr, from) {}
inline SharingLog_FastInitDiscoverDevice(SharingLog_FastInitDiscoverDevice&& from) noexcept
: SharingLog_FastInitDiscoverDevice(nullptr, ::std::move(from)) {}
inline SharingLog_FastInitDiscoverDevice& operator=(const SharingLog_FastInitDiscoverDevice& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_FastInitDiscoverDevice& operator=(SharingLog_FastInitDiscoverDevice&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_FastInitDiscoverDevice& default_instance() {
return *reinterpret_cast<const SharingLog_FastInitDiscoverDevice*>(
&_SharingLog_FastInitDiscoverDevice_default_instance_);
}
static constexpr int kIndexInFileMessages = 64;
friend void swap(SharingLog_FastInitDiscoverDevice& a, SharingLog_FastInitDiscoverDevice& b) { a.Swap(&b); }
inline void Swap(SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_FastInitDiscoverDevice>(arena);
}
void CopyFrom(const SharingLog_FastInitDiscoverDevice& from);
void MergeFrom(const SharingLog_FastInitDiscoverDevice& from) { SharingLog_FastInitDiscoverDevice::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice"; }
explicit SharingLog_FastInitDiscoverDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_FastInitDiscoverDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_FastInitDiscoverDevice& from);
SharingLog_FastInitDiscoverDevice(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_FastInitDiscoverDevice&& from) noexcept
: SharingLog_FastInitDiscoverDevice(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kFastInitTypeFieldNumber = 2,
kFastInitStateFieldNumber = 3,
};
// optional .location.nearby.proto.sharing.FastInitType fast_init_type = 2;
bool has_fast_init_type() const;
void clear_fast_init_type() ;
::location::nearby::proto::sharing::FastInitType fast_init_type() const;
void set_fast_init_type(::location::nearby::proto::sharing::FastInitType value);
private:
::location::nearby::proto::sharing::FastInitType _internal_fast_init_type() const;
void _internal_set_fast_init_type(::location::nearby::proto::sharing::FastInitType value);
public:
// optional .location.nearby.proto.sharing.FastInitState fast_init_state = 3;
bool has_fast_init_state() const;
void clear_fast_init_state() ;
::location::nearby::proto::sharing::FastInitState fast_init_state() const;
void set_fast_init_state(::location::nearby::proto::sharing::FastInitState value);
private:
::location::nearby::proto::sharing::FastInitState _internal_fast_init_state() const;
void _internal_set_fast_init_state(::location::nearby::proto::sharing::FastInitState value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_FastInitDiscoverDevice& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int fast_init_type_;
int fast_init_state_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_FastInitDiscoverDevice_class_data_;
// -------------------------------------------------------------------
class SharingLog_EventMetadata final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.EventMetadata) */ {
public:
inline SharingLog_EventMetadata() : SharingLog_EventMetadata(nullptr) {}
~SharingLog_EventMetadata() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_EventMetadata* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_EventMetadata));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_EventMetadata(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_EventMetadata(const SharingLog_EventMetadata& from) : SharingLog_EventMetadata(nullptr, from) {}
inline SharingLog_EventMetadata(SharingLog_EventMetadata&& from) noexcept
: SharingLog_EventMetadata(nullptr, ::std::move(from)) {}
inline SharingLog_EventMetadata& operator=(const SharingLog_EventMetadata& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_EventMetadata& operator=(SharingLog_EventMetadata&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_EventMetadata& default_instance() {
return *reinterpret_cast<const SharingLog_EventMetadata*>(
&_SharingLog_EventMetadata_default_instance_);
}
static constexpr int kIndexInFileMessages = 19;
friend void swap(SharingLog_EventMetadata& a, SharingLog_EventMetadata& b) { a.Swap(&b); }
inline void Swap(SharingLog_EventMetadata* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_EventMetadata* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_EventMetadata* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_EventMetadata>(arena);
}
void CopyFrom(const SharingLog_EventMetadata& from);
void MergeFrom(const SharingLog_EventMetadata& from) { SharingLog_EventMetadata::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_EventMetadata* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.EventMetadata"; }
explicit SharingLog_EventMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_EventMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_EventMetadata& from);
SharingLog_EventMetadata(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_EventMetadata&& from) noexcept
: SharingLog_EventMetadata(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kCloudSharingIdFieldNumber = 8,
kCloudReceiverSessionIdFieldNumber = 9,
kExternalProviderNameFieldNumber = 10,
kExternalProviderIdFieldNumber = 11,
kUseCaseFieldNumber = 1,
kInitialOptInFieldNumber = 2,
kOptInFieldNumber = 3,
kInitialEnableStatusFieldNumber = 4,
kIsDirectShareFieldNumber = 12,
kFlowIdFieldNumber = 5,
kSessionIdFieldNumber = 6,
kVendorIdFieldNumber = 7,
};
// optional string cloud_sharing_id = 8;
bool has_cloud_sharing_id() const;
void clear_cloud_sharing_id() ;
const ::std::string& cloud_sharing_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_cloud_sharing_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_cloud_sharing_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_cloud_sharing_id();
void set_allocated_cloud_sharing_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_cloud_sharing_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_cloud_sharing_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_cloud_sharing_id();
public:
// optional string cloud_receiver_session_id = 9;
bool has_cloud_receiver_session_id() const;
void clear_cloud_receiver_session_id() ;
const ::std::string& cloud_receiver_session_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_cloud_receiver_session_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_cloud_receiver_session_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_cloud_receiver_session_id();
void set_allocated_cloud_receiver_session_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_cloud_receiver_session_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_cloud_receiver_session_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_cloud_receiver_session_id();
public:
// optional string external_provider_name = 10;
bool has_external_provider_name() const;
void clear_external_provider_name() ;
const ::std::string& external_provider_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_external_provider_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_external_provider_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_external_provider_name();
void set_allocated_external_provider_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_external_provider_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_external_provider_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_external_provider_name();
public:
// optional string external_provider_id = 11;
bool has_external_provider_id() const;
void clear_external_provider_id() ;
const ::std::string& external_provider_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_external_provider_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_external_provider_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_external_provider_id();
void set_allocated_external_provider_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_external_provider_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_external_provider_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_external_provider_id();
public:
// optional .location.nearby.proto.sharing.SharingUseCase use_case = 1;
bool has_use_case() const;
void clear_use_case() ;
::location::nearby::proto::sharing::SharingUseCase use_case() const;
void set_use_case(::location::nearby::proto::sharing::SharingUseCase value);
private:
::location::nearby::proto::sharing::SharingUseCase _internal_use_case() const;
void _internal_set_use_case(::location::nearby::proto::sharing::SharingUseCase value);
public:
// optional bool initial_opt_in = 2 [deprecated = true];
[[deprecated]] bool has_initial_opt_in() const;
[[deprecated]] void clear_initial_opt_in() ;
[[deprecated]] bool initial_opt_in() const;
[[deprecated]] void set_initial_opt_in(bool value);
private:
bool _internal_initial_opt_in() const;
void _internal_set_initial_opt_in(bool value);
public:
// optional bool opt_in = 3 [deprecated = true];
[[deprecated]] bool has_opt_in() const;
[[deprecated]] void clear_opt_in() ;
[[deprecated]] bool opt_in() const;
[[deprecated]] void set_opt_in(bool value);
private:
bool _internal_opt_in() const;
void _internal_set_opt_in(bool value);
public:
// optional bool initial_enable_status = 4 [deprecated = true];
[[deprecated]] bool has_initial_enable_status() const;
[[deprecated]] void clear_initial_enable_status() ;
[[deprecated]] bool initial_enable_status() const;
[[deprecated]] void set_initial_enable_status(bool value);
private:
bool _internal_initial_enable_status() const;
void _internal_set_initial_enable_status(bool value);
public:
// optional bool is_direct_share = 12;
bool has_is_direct_share() const;
void clear_is_direct_share() ;
bool is_direct_share() const;
void set_is_direct_share(bool value);
private:
bool _internal_is_direct_share() const;
void _internal_set_is_direct_share(bool value);
public:
// optional int64 flow_id = 5;
bool has_flow_id() const;
void clear_flow_id() ;
::int64_t flow_id() const;
void set_flow_id(::int64_t value);
private:
::int64_t _internal_flow_id() const;
void _internal_set_flow_id(::int64_t value);
public:
// optional int64 session_id = 6;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int32 vendor_id = 7;
bool has_vendor_id() const;
void clear_vendor_id() ;
::int32_t vendor_id() const;
void set_vendor_id(::int32_t value);
private:
::int32_t _internal_vendor_id() const;
void _internal_set_vendor_id(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.EventMetadata)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 12,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_EventMetadata& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr cloud_sharing_id_;
::google::protobuf::internal::ArenaStringPtr cloud_receiver_session_id_;
::google::protobuf::internal::ArenaStringPtr external_provider_name_;
::google::protobuf::internal::ArenaStringPtr external_provider_id_;
int use_case_;
bool initial_opt_in_;
bool opt_in_;
bool initial_enable_status_;
bool is_direct_share_;
::int64_t flow_id_;
::int64_t session_id_;
::int32_t vendor_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_EventMetadata_class_data_;
// -------------------------------------------------------------------
class SharingLog_EnableNearbySharing final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing) */ {
public:
inline SharingLog_EnableNearbySharing() : SharingLog_EnableNearbySharing(nullptr) {}
~SharingLog_EnableNearbySharing() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_EnableNearbySharing* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_EnableNearbySharing));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_EnableNearbySharing(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_EnableNearbySharing(const SharingLog_EnableNearbySharing& from) : SharingLog_EnableNearbySharing(nullptr, from) {}
inline SharingLog_EnableNearbySharing(SharingLog_EnableNearbySharing&& from) noexcept
: SharingLog_EnableNearbySharing(nullptr, ::std::move(from)) {}
inline SharingLog_EnableNearbySharing& operator=(const SharingLog_EnableNearbySharing& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_EnableNearbySharing& operator=(SharingLog_EnableNearbySharing&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_EnableNearbySharing& default_instance() {
return *reinterpret_cast<const SharingLog_EnableNearbySharing*>(
&_SharingLog_EnableNearbySharing_default_instance_);
}
static constexpr int kIndexInFileMessages = 7;
friend void swap(SharingLog_EnableNearbySharing& a, SharingLog_EnableNearbySharing& b) { a.Swap(&b); }
inline void Swap(SharingLog_EnableNearbySharing* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_EnableNearbySharing* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_EnableNearbySharing* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_EnableNearbySharing>(arena);
}
void CopyFrom(const SharingLog_EnableNearbySharing& from);
void MergeFrom(const SharingLog_EnableNearbySharing& from) { SharingLog_EnableNearbySharing::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_EnableNearbySharing* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing"; }
explicit SharingLog_EnableNearbySharing(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_EnableNearbySharing(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_EnableNearbySharing& from);
SharingLog_EnableNearbySharing(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_EnableNearbySharing&& from) noexcept
: SharingLog_EnableNearbySharing(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStatusFieldNumber = 1,
kHasOptedInFieldNumber = 2,
};
// optional .location.nearby.proto.sharing.NearbySharingStatus status = 1;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::NearbySharingStatus status() const;
void set_status(::location::nearby::proto::sharing::NearbySharingStatus value);
private:
::location::nearby::proto::sharing::NearbySharingStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::NearbySharingStatus value);
public:
// optional bool has_opted_in = 2;
bool has_has_opted_in() const;
void clear_has_opted_in() ;
bool has_opted_in() const;
void set_has_opted_in(bool value);
private:
bool _internal_has_opted_in() const;
void _internal_set_has_opted_in(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_EnableNearbySharing& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int status_;
bool has_opted_in_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_EnableNearbySharing_class_data_;
// -------------------------------------------------------------------
class SharingLog_DisplayPrivacyNotification final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DisplayPrivacyNotification) */ {
public:
inline SharingLog_DisplayPrivacyNotification() : SharingLog_DisplayPrivacyNotification(nullptr) {}
~SharingLog_DisplayPrivacyNotification() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DisplayPrivacyNotification));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DisplayPrivacyNotification(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DisplayPrivacyNotification(const SharingLog_DisplayPrivacyNotification& from) : SharingLog_DisplayPrivacyNotification(nullptr, from) {}
inline SharingLog_DisplayPrivacyNotification(SharingLog_DisplayPrivacyNotification&& from) noexcept
: SharingLog_DisplayPrivacyNotification(nullptr, ::std::move(from)) {}
inline SharingLog_DisplayPrivacyNotification& operator=(const SharingLog_DisplayPrivacyNotification& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DisplayPrivacyNotification& operator=(SharingLog_DisplayPrivacyNotification&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DisplayPrivacyNotification& default_instance() {
return *reinterpret_cast<const SharingLog_DisplayPrivacyNotification*>(
&_SharingLog_DisplayPrivacyNotification_default_instance_);
}
static constexpr int kIndexInFileMessages = 52;
friend void swap(SharingLog_DisplayPrivacyNotification& a, SharingLog_DisplayPrivacyNotification& b) { a.Swap(&b); }
inline void Swap(SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DisplayPrivacyNotification>(arena);
}
void CopyFrom(const SharingLog_DisplayPrivacyNotification& from);
void MergeFrom(const SharingLog_DisplayPrivacyNotification& from) { SharingLog_DisplayPrivacyNotification::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DisplayPrivacyNotification"; }
explicit SharingLog_DisplayPrivacyNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DisplayPrivacyNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DisplayPrivacyNotification& from);
SharingLog_DisplayPrivacyNotification(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DisplayPrivacyNotification&& from) noexcept
: SharingLog_DisplayPrivacyNotification(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DisplayPrivacyNotification)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DisplayPrivacyNotification& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_DisplayPrivacyNotification_class_data_;
// -------------------------------------------------------------------
class SharingLog_DisplayPhoneConsent final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DisplayPhoneConsent) */ {
public:
inline SharingLog_DisplayPhoneConsent() : SharingLog_DisplayPhoneConsent(nullptr) {}
~SharingLog_DisplayPhoneConsent() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DisplayPhoneConsent));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DisplayPhoneConsent(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DisplayPhoneConsent(const SharingLog_DisplayPhoneConsent& from) : SharingLog_DisplayPhoneConsent(nullptr, from) {}
inline SharingLog_DisplayPhoneConsent(SharingLog_DisplayPhoneConsent&& from) noexcept
: SharingLog_DisplayPhoneConsent(nullptr, ::std::move(from)) {}
inline SharingLog_DisplayPhoneConsent& operator=(const SharingLog_DisplayPhoneConsent& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DisplayPhoneConsent& operator=(SharingLog_DisplayPhoneConsent&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DisplayPhoneConsent& default_instance() {
return *reinterpret_cast<const SharingLog_DisplayPhoneConsent*>(
&_SharingLog_DisplayPhoneConsent_default_instance_);
}
static constexpr int kIndexInFileMessages = 49;
friend void swap(SharingLog_DisplayPhoneConsent& a, SharingLog_DisplayPhoneConsent& b) { a.Swap(&b); }
inline void Swap(SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DisplayPhoneConsent>(arena);
}
void CopyFrom(const SharingLog_DisplayPhoneConsent& from);
void MergeFrom(const SharingLog_DisplayPhoneConsent& from) { SharingLog_DisplayPhoneConsent::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DisplayPhoneConsent"; }
explicit SharingLog_DisplayPhoneConsent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DisplayPhoneConsent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DisplayPhoneConsent& from);
SharingLog_DisplayPhoneConsent(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DisplayPhoneConsent&& from) noexcept
: SharingLog_DisplayPhoneConsent(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DisplayPhoneConsent)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DisplayPhoneConsent& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_DisplayPhoneConsent_class_data_;
// -------------------------------------------------------------------
class SharingLog_DismissPrivacyNotification final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DismissPrivacyNotification) */ {
public:
inline SharingLog_DismissPrivacyNotification() : SharingLog_DismissPrivacyNotification(nullptr) {}
~SharingLog_DismissPrivacyNotification() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DismissPrivacyNotification));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DismissPrivacyNotification(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DismissPrivacyNotification(const SharingLog_DismissPrivacyNotification& from) : SharingLog_DismissPrivacyNotification(nullptr, from) {}
inline SharingLog_DismissPrivacyNotification(SharingLog_DismissPrivacyNotification&& from) noexcept
: SharingLog_DismissPrivacyNotification(nullptr, ::std::move(from)) {}
inline SharingLog_DismissPrivacyNotification& operator=(const SharingLog_DismissPrivacyNotification& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DismissPrivacyNotification& operator=(SharingLog_DismissPrivacyNotification&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DismissPrivacyNotification& default_instance() {
return *reinterpret_cast<const SharingLog_DismissPrivacyNotification*>(
&_SharingLog_DismissPrivacyNotification_default_instance_);
}
static constexpr int kIndexInFileMessages = 42;
friend void swap(SharingLog_DismissPrivacyNotification& a, SharingLog_DismissPrivacyNotification& b) { a.Swap(&b); }
inline void Swap(SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DismissPrivacyNotification>(arena);
}
void CopyFrom(const SharingLog_DismissPrivacyNotification& from);
void MergeFrom(const SharingLog_DismissPrivacyNotification& from) { SharingLog_DismissPrivacyNotification::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DismissPrivacyNotification"; }
explicit SharingLog_DismissPrivacyNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DismissPrivacyNotification(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DismissPrivacyNotification& from);
SharingLog_DismissPrivacyNotification(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DismissPrivacyNotification&& from) noexcept
: SharingLog_DismissPrivacyNotification(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DismissPrivacyNotification)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DismissPrivacyNotification& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_DismissPrivacyNotification_class_data_;
// -------------------------------------------------------------------
class SharingLog_DismissFastInitialization final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DismissFastInitialization) */ {
public:
inline SharingLog_DismissFastInitialization() : SharingLog_DismissFastInitialization(nullptr) {}
~SharingLog_DismissFastInitialization() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DismissFastInitialization* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DismissFastInitialization));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DismissFastInitialization(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DismissFastInitialization(const SharingLog_DismissFastInitialization& from) : SharingLog_DismissFastInitialization(nullptr, from) {}
inline SharingLog_DismissFastInitialization(SharingLog_DismissFastInitialization&& from) noexcept
: SharingLog_DismissFastInitialization(nullptr, ::std::move(from)) {}
inline SharingLog_DismissFastInitialization& operator=(const SharingLog_DismissFastInitialization& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DismissFastInitialization& operator=(SharingLog_DismissFastInitialization&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DismissFastInitialization& default_instance() {
return *reinterpret_cast<const SharingLog_DismissFastInitialization*>(
&_SharingLog_DismissFastInitialization_default_instance_);
}
static constexpr int kIndexInFileMessages = 17;
friend void swap(SharingLog_DismissFastInitialization& a, SharingLog_DismissFastInitialization& b) { a.Swap(&b); }
inline void Swap(SharingLog_DismissFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DismissFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DismissFastInitialization* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DismissFastInitialization>(arena);
}
void CopyFrom(const SharingLog_DismissFastInitialization& from);
void MergeFrom(const SharingLog_DismissFastInitialization& from) { SharingLog_DismissFastInitialization::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DismissFastInitialization* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DismissFastInitialization"; }
explicit SharingLog_DismissFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DismissFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DismissFastInitialization& from);
SharingLog_DismissFastInitialization(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DismissFastInitialization&& from) noexcept
: SharingLog_DismissFastInitialization(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DismissFastInitialization)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DismissFastInitialization& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_DismissFastInitialization_class_data_;
// -------------------------------------------------------------------
class SharingLog_DeviceSettings final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DeviceSettings) */ {
public:
inline SharingLog_DeviceSettings() : SharingLog_DeviceSettings(nullptr) {}
~SharingLog_DeviceSettings() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DeviceSettings* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DeviceSettings));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DeviceSettings(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DeviceSettings(const SharingLog_DeviceSettings& from) : SharingLog_DeviceSettings(nullptr, from) {}
inline SharingLog_DeviceSettings(SharingLog_DeviceSettings&& from) noexcept
: SharingLog_DeviceSettings(nullptr, ::std::move(from)) {}
inline SharingLog_DeviceSettings& operator=(const SharingLog_DeviceSettings& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DeviceSettings& operator=(SharingLog_DeviceSettings&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DeviceSettings& default_instance() {
return *reinterpret_cast<const SharingLog_DeviceSettings*>(
&_SharingLog_DeviceSettings_default_instance_);
}
static constexpr int kIndexInFileMessages = 1;
friend void swap(SharingLog_DeviceSettings& a, SharingLog_DeviceSettings& b) { a.Swap(&b); }
inline void Swap(SharingLog_DeviceSettings* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DeviceSettings* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DeviceSettings* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DeviceSettings>(arena);
}
void CopyFrom(const SharingLog_DeviceSettings& from);
void MergeFrom(const SharingLog_DeviceSettings& from) { SharingLog_DeviceSettings::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DeviceSettings* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DeviceSettings"; }
explicit SharingLog_DeviceSettings(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DeviceSettings(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DeviceSettings& from);
SharingLog_DeviceSettings(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DeviceSettings&& from) noexcept
: SharingLog_DeviceSettings(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kVisibilityFieldNumber = 1,
kDataUsageFieldNumber = 2,
kDeviceNameSizeFieldNumber = 3,
kIsShowNotificationEnabledFieldNumber = 4,
kIsBtEnabledFieldNumber = 5,
kIsLocationEnabledFieldNumber = 6,
kIsWifiEnabledFieldNumber = 7,
kFirstSuccessfulTransferDateFieldNumber = 8,
kPreviousSuccessfulTransferDateFieldNumber = 9,
kLifetimeTransferCountFieldNumber = 10,
kContactAccessFieldNumber = 11,
kIdentityVerificationFieldNumber = 12,
};
// optional .location.nearby.proto.sharing.Visibility visibility = 1;
bool has_visibility() const;
void clear_visibility() ;
::location::nearby::proto::sharing::Visibility visibility() const;
void set_visibility(::location::nearby::proto::sharing::Visibility value);
private:
::location::nearby::proto::sharing::Visibility _internal_visibility() const;
void _internal_set_visibility(::location::nearby::proto::sharing::Visibility value);
public:
// optional .location.nearby.proto.sharing.DataUsage data_usage = 2;
bool has_data_usage() const;
void clear_data_usage() ;
::location::nearby::proto::sharing::DataUsage data_usage() const;
void set_data_usage(::location::nearby::proto::sharing::DataUsage value);
private:
::location::nearby::proto::sharing::DataUsage _internal_data_usage() const;
void _internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value);
public:
// optional int32 device_name_size = 3;
bool has_device_name_size() const;
void clear_device_name_size() ;
::int32_t device_name_size() const;
void set_device_name_size(::int32_t value);
private:
::int32_t _internal_device_name_size() const;
void _internal_set_device_name_size(::int32_t value);
public:
// optional bool is_show_notification_enabled = 4;
bool has_is_show_notification_enabled() const;
void clear_is_show_notification_enabled() ;
bool is_show_notification_enabled() const;
void set_is_show_notification_enabled(bool value);
private:
bool _internal_is_show_notification_enabled() const;
void _internal_set_is_show_notification_enabled(bool value);
public:
// optional bool is_bt_enabled = 5;
bool has_is_bt_enabled() const;
void clear_is_bt_enabled() ;
bool is_bt_enabled() const;
void set_is_bt_enabled(bool value);
private:
bool _internal_is_bt_enabled() const;
void _internal_set_is_bt_enabled(bool value);
public:
// optional bool is_location_enabled = 6;
bool has_is_location_enabled() const;
void clear_is_location_enabled() ;
bool is_location_enabled() const;
void set_is_location_enabled(bool value);
private:
bool _internal_is_location_enabled() const;
void _internal_set_is_location_enabled(bool value);
public:
// optional bool is_wifi_enabled = 7;
bool has_is_wifi_enabled() const;
void clear_is_wifi_enabled() ;
bool is_wifi_enabled() const;
void set_is_wifi_enabled(bool value);
private:
bool _internal_is_wifi_enabled() const;
void _internal_set_is_wifi_enabled(bool value);
public:
// optional int32 first_successful_transfer_date = 8;
bool has_first_successful_transfer_date() const;
void clear_first_successful_transfer_date() ;
::int32_t first_successful_transfer_date() const;
void set_first_successful_transfer_date(::int32_t value);
private:
::int32_t _internal_first_successful_transfer_date() const;
void _internal_set_first_successful_transfer_date(::int32_t value);
public:
// optional int32 previous_successful_transfer_date = 9;
bool has_previous_successful_transfer_date() const;
void clear_previous_successful_transfer_date() ;
::int32_t previous_successful_transfer_date() const;
void set_previous_successful_transfer_date(::int32_t value);
private:
::int32_t _internal_previous_successful_transfer_date() const;
void _internal_set_previous_successful_transfer_date(::int32_t value);
public:
// optional int32 lifetime_transfer_count = 10;
bool has_lifetime_transfer_count() const;
void clear_lifetime_transfer_count() ;
::int32_t lifetime_transfer_count() const;
void set_lifetime_transfer_count(::int32_t value);
private:
::int32_t _internal_lifetime_transfer_count() const;
void _internal_set_lifetime_transfer_count(::int32_t value);
public:
// optional .location.nearby.proto.sharing.ContactAccess contact_access = 11;
bool has_contact_access() const;
void clear_contact_access() ;
::location::nearby::proto::sharing::ContactAccess contact_access() const;
void set_contact_access(::location::nearby::proto::sharing::ContactAccess value);
private:
::location::nearby::proto::sharing::ContactAccess _internal_contact_access() const;
void _internal_set_contact_access(::location::nearby::proto::sharing::ContactAccess value);
public:
// optional .location.nearby.proto.sharing.IdentityVerification identity_verification = 12;
bool has_identity_verification() const;
void clear_identity_verification() ;
::location::nearby::proto::sharing::IdentityVerification identity_verification() const;
void set_identity_verification(::location::nearby::proto::sharing::IdentityVerification value);
private:
::location::nearby::proto::sharing::IdentityVerification _internal_identity_verification() const;
void _internal_set_identity_verification(::location::nearby::proto::sharing::IdentityVerification value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DeviceSettings)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 12,
4, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DeviceSettings& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int visibility_;
int data_usage_;
::int32_t device_name_size_;
bool is_show_notification_enabled_;
bool is_bt_enabled_;
bool is_location_enabled_;
bool is_wifi_enabled_;
::int32_t first_successful_transfer_date_;
::int32_t previous_successful_transfer_date_;
::int32_t lifetime_transfer_count_;
int contact_access_;
int identity_verification_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_DeviceSettings_class_data_;
// -------------------------------------------------------------------
class SharingLog_DefaultOptIn final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DefaultOptIn) */ {
public:
inline SharingLog_DefaultOptIn() : SharingLog_DefaultOptIn(nullptr) {}
~SharingLog_DefaultOptIn() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DefaultOptIn* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DefaultOptIn));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DefaultOptIn(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DefaultOptIn(const SharingLog_DefaultOptIn& from) : SharingLog_DefaultOptIn(nullptr, from) {}
inline SharingLog_DefaultOptIn(SharingLog_DefaultOptIn&& from) noexcept
: SharingLog_DefaultOptIn(nullptr, ::std::move(from)) {}
inline SharingLog_DefaultOptIn& operator=(const SharingLog_DefaultOptIn& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DefaultOptIn& operator=(SharingLog_DefaultOptIn&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DefaultOptIn& default_instance() {
return *reinterpret_cast<const SharingLog_DefaultOptIn*>(
&_SharingLog_DefaultOptIn_default_instance_);
}
static constexpr int kIndexInFileMessages = 53;
friend void swap(SharingLog_DefaultOptIn& a, SharingLog_DefaultOptIn& b) { a.Swap(&b); }
inline void Swap(SharingLog_DefaultOptIn* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DefaultOptIn* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DefaultOptIn* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DefaultOptIn>(arena);
}
void CopyFrom(const SharingLog_DefaultOptIn& from);
void MergeFrom(const SharingLog_DefaultOptIn& from) { SharingLog_DefaultOptIn::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DefaultOptIn* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DefaultOptIn"; }
explicit SharingLog_DefaultOptIn(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DefaultOptIn(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DefaultOptIn& from);
SharingLog_DefaultOptIn(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DefaultOptIn&& from) noexcept
: SharingLog_DefaultOptIn(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DefaultOptIn)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DefaultOptIn& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<55> SharingLog_DefaultOptIn_class_data_;
// -------------------------------------------------------------------
class SharingLog_DecryptCertificateFailure final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure) */ {
public:
inline SharingLog_DecryptCertificateFailure() : SharingLog_DecryptCertificateFailure(nullptr) {}
~SharingLog_DecryptCertificateFailure() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DecryptCertificateFailure));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DecryptCertificateFailure(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DecryptCertificateFailure(const SharingLog_DecryptCertificateFailure& from) : SharingLog_DecryptCertificateFailure(nullptr, from) {}
inline SharingLog_DecryptCertificateFailure(SharingLog_DecryptCertificateFailure&& from) noexcept
: SharingLog_DecryptCertificateFailure(nullptr, ::std::move(from)) {}
inline SharingLog_DecryptCertificateFailure& operator=(const SharingLog_DecryptCertificateFailure& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DecryptCertificateFailure& operator=(SharingLog_DecryptCertificateFailure&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DecryptCertificateFailure& default_instance() {
return *reinterpret_cast<const SharingLog_DecryptCertificateFailure*>(
&_SharingLog_DecryptCertificateFailure_default_instance_);
}
static constexpr int kIndexInFileMessages = 60;
friend void swap(SharingLog_DecryptCertificateFailure& a, SharingLog_DecryptCertificateFailure& b) { a.Swap(&b); }
inline void Swap(SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DecryptCertificateFailure>(arena);
}
void CopyFrom(const SharingLog_DecryptCertificateFailure& from);
void MergeFrom(const SharingLog_DecryptCertificateFailure& from) { SharingLog_DecryptCertificateFailure::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure"; }
explicit SharingLog_DecryptCertificateFailure(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DecryptCertificateFailure(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DecryptCertificateFailure& from);
SharingLog_DecryptCertificateFailure(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DecryptCertificateFailure&& from) noexcept
: SharingLog_DecryptCertificateFailure(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStatusFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.DecryptCertificateFailureStatus status = 1;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::DecryptCertificateFailureStatus status() const;
void set_status(::location::nearby::proto::sharing::DecryptCertificateFailureStatus value);
private:
::location::nearby::proto::sharing::DecryptCertificateFailureStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::DecryptCertificateFailureStatus value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DecryptCertificateFailure& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int status_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_DecryptCertificateFailure_class_data_;
// -------------------------------------------------------------------
class SharingLog_DeclineAgreements final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DeclineAgreements) */ {
public:
inline SharingLog_DeclineAgreements() : SharingLog_DeclineAgreements(nullptr) {}
~SharingLog_DeclineAgreements() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DeclineAgreements* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DeclineAgreements));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DeclineAgreements(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DeclineAgreements(const SharingLog_DeclineAgreements& from) : SharingLog_DeclineAgreements(nullptr, from) {}
inline SharingLog_DeclineAgreements(SharingLog_DeclineAgreements&& from) noexcept
: SharingLog_DeclineAgreements(nullptr, ::std::move(from)) {}
inline SharingLog_DeclineAgreements& operator=(const SharingLog_DeclineAgreements& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DeclineAgreements& operator=(SharingLog_DeclineAgreements&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DeclineAgreements& default_instance() {
return *reinterpret_cast<const SharingLog_DeclineAgreements*>(
&_SharingLog_DeclineAgreements_default_instance_);
}
static constexpr int kIndexInFileMessages = 6;
friend void swap(SharingLog_DeclineAgreements& a, SharingLog_DeclineAgreements& b) { a.Swap(&b); }
inline void Swap(SharingLog_DeclineAgreements* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DeclineAgreements* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DeclineAgreements* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DeclineAgreements>(arena);
}
void CopyFrom(const SharingLog_DeclineAgreements& from);
void MergeFrom(const SharingLog_DeclineAgreements& from) { SharingLog_DeclineAgreements::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DeclineAgreements* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DeclineAgreements"; }
explicit SharingLog_DeclineAgreements(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DeclineAgreements(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DeclineAgreements& from);
SharingLog_DeclineAgreements(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DeclineAgreements&& from) noexcept
: SharingLog_DeclineAgreements(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DeclineAgreements)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DeclineAgreements& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<60> SharingLog_DeclineAgreements_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudSharingRpcResult final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult) */ {
public:
inline SharingLog_CloudSharingRpcResult() : SharingLog_CloudSharingRpcResult(nullptr) {}
~SharingLog_CloudSharingRpcResult() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudSharingRpcResult));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudSharingRpcResult(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudSharingRpcResult(const SharingLog_CloudSharingRpcResult& from) : SharingLog_CloudSharingRpcResult(nullptr, from) {}
inline SharingLog_CloudSharingRpcResult(SharingLog_CloudSharingRpcResult&& from) noexcept
: SharingLog_CloudSharingRpcResult(nullptr, ::std::move(from)) {}
inline SharingLog_CloudSharingRpcResult& operator=(const SharingLog_CloudSharingRpcResult& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudSharingRpcResult& operator=(SharingLog_CloudSharingRpcResult&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudSharingRpcResult& default_instance() {
return *reinterpret_cast<const SharingLog_CloudSharingRpcResult*>(
&_SharingLog_CloudSharingRpcResult_default_instance_);
}
static constexpr int kIndexInFileMessages = 90;
friend void swap(SharingLog_CloudSharingRpcResult& a, SharingLog_CloudSharingRpcResult& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudSharingRpcResult>(arena);
}
void CopyFrom(const SharingLog_CloudSharingRpcResult& from);
void MergeFrom(const SharingLog_CloudSharingRpcResult& from) { SharingLog_CloudSharingRpcResult::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult"; }
explicit SharingLog_CloudSharingRpcResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudSharingRpcResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudSharingRpcResult& from);
SharingLog_CloudSharingRpcResult(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudSharingRpcResult&& from) noexcept
: SharingLog_CloudSharingRpcResult(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kRpcNameFieldNumber = 1,
kCloudSharingIdFieldNumber = 4,
kLatencyMillisFieldNumber = 3,
kStatusCodeFieldNumber = 2,
};
// optional string rpc_name = 1;
bool has_rpc_name() const;
void clear_rpc_name() ;
const ::std::string& rpc_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_rpc_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_rpc_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_rpc_name();
void set_allocated_rpc_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_rpc_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_rpc_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_rpc_name();
public:
// optional string cloud_sharing_id = 4;
bool has_cloud_sharing_id() const;
void clear_cloud_sharing_id() ;
const ::std::string& cloud_sharing_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_cloud_sharing_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_cloud_sharing_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_cloud_sharing_id();
void set_allocated_cloud_sharing_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_cloud_sharing_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_cloud_sharing_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_cloud_sharing_id();
public:
// optional int64 latency_millis = 3;
bool has_latency_millis() const;
void clear_latency_millis() ;
::int64_t latency_millis() const;
void set_latency_millis(::int64_t value);
private:
::int64_t _internal_latency_millis() const;
void _internal_set_latency_millis(::int64_t value);
public:
// optional int32 status_code = 2;
bool has_status_code() const;
void clear_status_code() ;
::int32_t status_code() const;
void set_status_code(::int32_t value);
private:
::int32_t _internal_status_code() const;
void _internal_set_status_code(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudSharingRpcResult& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr rpc_name_;
::google::protobuf::internal::ArenaStringPtr cloud_sharing_id_;
::int64_t latency_millis_;
::int32_t status_code_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_CloudSharingRpcResult_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudRegisterReceiver final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver) */ {
public:
inline SharingLog_CloudRegisterReceiver() : SharingLog_CloudRegisterReceiver(nullptr) {}
~SharingLog_CloudRegisterReceiver() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudRegisterReceiver));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudRegisterReceiver(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudRegisterReceiver(const SharingLog_CloudRegisterReceiver& from) : SharingLog_CloudRegisterReceiver(nullptr, from) {}
inline SharingLog_CloudRegisterReceiver(SharingLog_CloudRegisterReceiver&& from) noexcept
: SharingLog_CloudRegisterReceiver(nullptr, ::std::move(from)) {}
inline SharingLog_CloudRegisterReceiver& operator=(const SharingLog_CloudRegisterReceiver& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudRegisterReceiver& operator=(SharingLog_CloudRegisterReceiver&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudRegisterReceiver& default_instance() {
return *reinterpret_cast<const SharingLog_CloudRegisterReceiver*>(
&_SharingLog_CloudRegisterReceiver_default_instance_);
}
static constexpr int kIndexInFileMessages = 85;
friend void swap(SharingLog_CloudRegisterReceiver& a, SharingLog_CloudRegisterReceiver& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudRegisterReceiver>(arena);
}
void CopyFrom(const SharingLog_CloudRegisterReceiver& from);
void MergeFrom(const SharingLog_CloudRegisterReceiver& from) { SharingLog_CloudRegisterReceiver::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver"; }
explicit SharingLog_CloudRegisterReceiver(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudRegisterReceiver(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudRegisterReceiver& from);
SharingLog_CloudRegisterReceiver(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudRegisterReceiver&& from) noexcept
: SharingLog_CloudRegisterReceiver(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kResultFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.CloudRegisterReceiverResult result = 1;
bool has_result() const;
void clear_result() ;
::location::nearby::proto::sharing::CloudRegisterReceiverResult result() const;
void set_result(::location::nearby::proto::sharing::CloudRegisterReceiverResult value);
private:
::location::nearby::proto::sharing::CloudRegisterReceiverResult _internal_result() const;
void _internal_set_result(::location::nearby::proto::sharing::CloudRegisterReceiverResult value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudRegisterReceiver& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int result_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_CloudRegisterReceiver_class_data_;
// -------------------------------------------------------------------
class SharingLog_CancelSendingAttachments final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CancelSendingAttachments) */ {
public:
inline SharingLog_CancelSendingAttachments() : SharingLog_CancelSendingAttachments(nullptr) {}
~SharingLog_CancelSendingAttachments() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CancelSendingAttachments));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CancelSendingAttachments(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CancelSendingAttachments(const SharingLog_CancelSendingAttachments& from) : SharingLog_CancelSendingAttachments(nullptr, from) {}
inline SharingLog_CancelSendingAttachments(SharingLog_CancelSendingAttachments&& from) noexcept
: SharingLog_CancelSendingAttachments(nullptr, ::std::move(from)) {}
inline SharingLog_CancelSendingAttachments& operator=(const SharingLog_CancelSendingAttachments& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CancelSendingAttachments& operator=(SharingLog_CancelSendingAttachments&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CancelSendingAttachments& default_instance() {
return *reinterpret_cast<const SharingLog_CancelSendingAttachments*>(
&_SharingLog_CancelSendingAttachments_default_instance_);
}
static constexpr int kIndexInFileMessages = 31;
friend void swap(SharingLog_CancelSendingAttachments& a, SharingLog_CancelSendingAttachments& b) { a.Swap(&b); }
inline void Swap(SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CancelSendingAttachments>(arena);
}
void CopyFrom(const SharingLog_CancelSendingAttachments& from);
void MergeFrom(const SharingLog_CancelSendingAttachments& from) { SharingLog_CancelSendingAttachments::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CancelSendingAttachments"; }
explicit SharingLog_CancelSendingAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CancelSendingAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CancelSendingAttachments& from);
SharingLog_CancelSendingAttachments(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CancelSendingAttachments&& from) noexcept
: SharingLog_CancelSendingAttachments(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CancelSendingAttachments)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CancelSendingAttachments& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_CancelSendingAttachments_class_data_;
// -------------------------------------------------------------------
class SharingLog_CancelReceivingAttachments final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CancelReceivingAttachments) */ {
public:
inline SharingLog_CancelReceivingAttachments() : SharingLog_CancelReceivingAttachments(nullptr) {}
~SharingLog_CancelReceivingAttachments() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CancelReceivingAttachments));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CancelReceivingAttachments(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CancelReceivingAttachments(const SharingLog_CancelReceivingAttachments& from) : SharingLog_CancelReceivingAttachments(nullptr, from) {}
inline SharingLog_CancelReceivingAttachments(SharingLog_CancelReceivingAttachments&& from) noexcept
: SharingLog_CancelReceivingAttachments(nullptr, ::std::move(from)) {}
inline SharingLog_CancelReceivingAttachments& operator=(const SharingLog_CancelReceivingAttachments& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CancelReceivingAttachments& operator=(SharingLog_CancelReceivingAttachments&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CancelReceivingAttachments& default_instance() {
return *reinterpret_cast<const SharingLog_CancelReceivingAttachments*>(
&_SharingLog_CancelReceivingAttachments_default_instance_);
}
static constexpr int kIndexInFileMessages = 32;
friend void swap(SharingLog_CancelReceivingAttachments& a, SharingLog_CancelReceivingAttachments& b) { a.Swap(&b); }
inline void Swap(SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CancelReceivingAttachments>(arena);
}
void CopyFrom(const SharingLog_CancelReceivingAttachments& from);
void MergeFrom(const SharingLog_CancelReceivingAttachments& from) { SharingLog_CancelReceivingAttachments::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CancelReceivingAttachments"; }
explicit SharingLog_CancelReceivingAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CancelReceivingAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CancelReceivingAttachments& from);
SharingLog_CancelReceivingAttachments(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CancelReceivingAttachments&& from) noexcept
: SharingLog_CancelReceivingAttachments(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CancelReceivingAttachments)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CancelReceivingAttachments& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_CancelReceivingAttachments_class_data_;
// -------------------------------------------------------------------
class SharingLog_CancelConnection final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CancelConnection) */ {
public:
inline SharingLog_CancelConnection() : SharingLog_CancelConnection(nullptr) {}
~SharingLog_CancelConnection() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CancelConnection* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CancelConnection));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CancelConnection(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CancelConnection(const SharingLog_CancelConnection& from) : SharingLog_CancelConnection(nullptr, from) {}
inline SharingLog_CancelConnection(SharingLog_CancelConnection&& from) noexcept
: SharingLog_CancelConnection(nullptr, ::std::move(from)) {}
inline SharingLog_CancelConnection& operator=(const SharingLog_CancelConnection& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CancelConnection& operator=(SharingLog_CancelConnection&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CancelConnection& default_instance() {
return *reinterpret_cast<const SharingLog_CancelConnection*>(
&_SharingLog_CancelConnection_default_instance_);
}
static constexpr int kIndexInFileMessages = 30;
friend void swap(SharingLog_CancelConnection& a, SharingLog_CancelConnection& b) { a.Swap(&b); }
inline void Swap(SharingLog_CancelConnection* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CancelConnection* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CancelConnection* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CancelConnection>(arena);
}
void CopyFrom(const SharingLog_CancelConnection& from);
void MergeFrom(const SharingLog_CancelConnection& from) { SharingLog_CancelConnection::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CancelConnection* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CancelConnection"; }
explicit SharingLog_CancelConnection(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CancelConnection(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CancelConnection& from);
SharingLog_CancelConnection(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CancelConnection&& from) noexcept
: SharingLog_CancelConnection(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kSessionIdFieldNumber = 1,
kTransferPositionFieldNumber = 2,
kConcurrentConnectionsFieldNumber = 3,
};
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int32 transfer_position = 2;
bool has_transfer_position() const;
void clear_transfer_position() ;
::int32_t transfer_position() const;
void set_transfer_position(::int32_t value);
private:
::int32_t _internal_transfer_position() const;
void _internal_set_transfer_position(::int32_t value);
public:
// optional int32 concurrent_connections = 3;
bool has_concurrent_connections() const;
void clear_concurrent_connections() ;
::int32_t concurrent_connections() const;
void set_concurrent_connections(::int32_t value);
private:
::int32_t _internal_concurrent_connections() const;
void _internal_set_concurrent_connections(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CancelConnection)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CancelConnection& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t session_id_;
::int32_t transfer_position_;
::int32_t concurrent_connections_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_CancelConnection_class_data_;
// -------------------------------------------------------------------
class SharingLog_AutoDismissFastInitialization final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AutoDismissFastInitialization) */ {
public:
inline SharingLog_AutoDismissFastInitialization() : SharingLog_AutoDismissFastInitialization(nullptr) {}
~SharingLog_AutoDismissFastInitialization() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AutoDismissFastInitialization));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AutoDismissFastInitialization(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AutoDismissFastInitialization(const SharingLog_AutoDismissFastInitialization& from) : SharingLog_AutoDismissFastInitialization(nullptr, from) {}
inline SharingLog_AutoDismissFastInitialization(SharingLog_AutoDismissFastInitialization&& from) noexcept
: SharingLog_AutoDismissFastInitialization(nullptr, ::std::move(from)) {}
inline SharingLog_AutoDismissFastInitialization& operator=(const SharingLog_AutoDismissFastInitialization& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AutoDismissFastInitialization& operator=(SharingLog_AutoDismissFastInitialization&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AutoDismissFastInitialization& default_instance() {
return *reinterpret_cast<const SharingLog_AutoDismissFastInitialization*>(
&_SharingLog_AutoDismissFastInitialization_default_instance_);
}
static constexpr int kIndexInFileMessages = 18;
friend void swap(SharingLog_AutoDismissFastInitialization& a, SharingLog_AutoDismissFastInitialization& b) { a.Swap(&b); }
inline void Swap(SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AutoDismissFastInitialization>(arena);
}
void CopyFrom(const SharingLog_AutoDismissFastInitialization& from);
void MergeFrom(const SharingLog_AutoDismissFastInitialization& from) { SharingLog_AutoDismissFastInitialization::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AutoDismissFastInitialization"; }
explicit SharingLog_AutoDismissFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AutoDismissFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AutoDismissFastInitialization& from);
SharingLog_AutoDismissFastInitialization(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AutoDismissFastInitialization&& from) noexcept
: SharingLog_AutoDismissFastInitialization(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AutoDismissFastInitialization)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AutoDismissFastInitialization& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<72> SharingLog_AutoDismissFastInitialization_class_data_;
// -------------------------------------------------------------------
class SharingLog_AppInfo final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AppInfo) */ {
public:
inline SharingLog_AppInfo() : SharingLog_AppInfo(nullptr) {}
~SharingLog_AppInfo() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AppInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AppInfo));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AppInfo(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AppInfo(const SharingLog_AppInfo& from) : SharingLog_AppInfo(nullptr, from) {}
inline SharingLog_AppInfo(SharingLog_AppInfo&& from) noexcept
: SharingLog_AppInfo(nullptr, ::std::move(from)) {}
inline SharingLog_AppInfo& operator=(const SharingLog_AppInfo& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AppInfo& operator=(SharingLog_AppInfo&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AppInfo& default_instance() {
return *reinterpret_cast<const SharingLog_AppInfo*>(
&_SharingLog_AppInfo_default_instance_);
}
static constexpr int kIndexInFileMessages = 0;
friend void swap(SharingLog_AppInfo& a, SharingLog_AppInfo& b) { a.Swap(&b); }
inline void Swap(SharingLog_AppInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AppInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AppInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AppInfo>(arena);
}
void CopyFrom(const SharingLog_AppInfo& from);
void MergeFrom(const SharingLog_AppInfo& from) { SharingLog_AppInfo::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AppInfo* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AppInfo"; }
explicit SharingLog_AppInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AppInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AppInfo& from);
SharingLog_AppInfo(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AppInfo&& from) noexcept
: SharingLog_AppInfo(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAppVersionFieldNumber = 1,
kAppLanguageFieldNumber = 2,
kUpdateTrackFieldNumber = 3,
};
// optional string app_version = 1;
bool has_app_version() const;
void clear_app_version() ;
const ::std::string& app_version() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_app_version(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_app_version();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_app_version();
void set_allocated_app_version(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_app_version() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_app_version(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_app_version();
public:
// optional string app_language = 2;
bool has_app_language() const;
void clear_app_language() ;
const ::std::string& app_language() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_app_language(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_app_language();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_app_language();
void set_allocated_app_language(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_app_language() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_app_language(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_app_language();
public:
// optional string update_track = 3;
bool has_update_track() const;
void clear_update_track() ;
const ::std::string& update_track() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_update_track(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_update_track();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_update_track();
void set_allocated_update_track(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_update_track() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_update_track(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_update_track();
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AppInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AppInfo& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr app_version_;
::google::protobuf::internal::ArenaStringPtr app_language_;
::google::protobuf::internal::ArenaStringPtr update_track_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<50> SharingLog_AppInfo_class_data_;
// -------------------------------------------------------------------
class SharingLog_AppCrash final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AppCrash) */ {
public:
inline SharingLog_AppCrash() : SharingLog_AppCrash(nullptr) {}
~SharingLog_AppCrash() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AppCrash* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AppCrash));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AppCrash(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AppCrash(const SharingLog_AppCrash& from) : SharingLog_AppCrash(nullptr, from) {}
inline SharingLog_AppCrash(SharingLog_AppCrash&& from) noexcept
: SharingLog_AppCrash(nullptr, ::std::move(from)) {}
inline SharingLog_AppCrash& operator=(const SharingLog_AppCrash& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AppCrash& operator=(SharingLog_AppCrash&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AppCrash& default_instance() {
return *reinterpret_cast<const SharingLog_AppCrash*>(
&_SharingLog_AppCrash_default_instance_);
}
static constexpr int kIndexInFileMessages = 73;
friend void swap(SharingLog_AppCrash& a, SharingLog_AppCrash& b) { a.Swap(&b); }
inline void Swap(SharingLog_AppCrash* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AppCrash* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AppCrash* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AppCrash>(arena);
}
void CopyFrom(const SharingLog_AppCrash& from);
void MergeFrom(const SharingLog_AppCrash& from) { SharingLog_AppCrash::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AppCrash* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AppCrash"; }
explicit SharingLog_AppCrash(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AppCrash(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AppCrash& from);
SharingLog_AppCrash(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AppCrash&& from) noexcept
: SharingLog_AppCrash(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kCrashReasonFieldNumber = 1,
};
// optional .location.nearby.proto.sharing.AppCrashReason crash_reason = 1;
bool has_crash_reason() const;
void clear_crash_reason() ;
::location::nearby::proto::sharing::AppCrashReason crash_reason() const;
void set_crash_reason(::location::nearby::proto::sharing::AppCrashReason value);
private:
::location::nearby::proto::sharing::AppCrashReason _internal_crash_reason() const;
void _internal_set_crash_reason(::location::nearby::proto::sharing::AppCrashReason value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AppCrash)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AppCrash& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
int crash_reason_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<51> SharingLog_AppCrash_class_data_;
// -------------------------------------------------------------------
class SharingLog_AppAttachment final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AppAttachment) */ {
public:
inline SharingLog_AppAttachment() : SharingLog_AppAttachment(nullptr) {}
~SharingLog_AppAttachment() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AppAttachment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AppAttachment));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AppAttachment(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AppAttachment(const SharingLog_AppAttachment& from) : SharingLog_AppAttachment(nullptr, from) {}
inline SharingLog_AppAttachment(SharingLog_AppAttachment&& from) noexcept
: SharingLog_AppAttachment(nullptr, ::std::move(from)) {}
inline SharingLog_AppAttachment& operator=(const SharingLog_AppAttachment& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AppAttachment& operator=(SharingLog_AppAttachment&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AppAttachment& default_instance() {
return *reinterpret_cast<const SharingLog_AppAttachment*>(
&_SharingLog_AppAttachment_default_instance_);
}
static constexpr int kIndexInFileMessages = 70;
friend void swap(SharingLog_AppAttachment& a, SharingLog_AppAttachment& b) { a.Swap(&b); }
inline void Swap(SharingLog_AppAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AppAttachment* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AppAttachment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AppAttachment>(arena);
}
void CopyFrom(const SharingLog_AppAttachment& from);
void MergeFrom(const SharingLog_AppAttachment& from) { SharingLog_AppAttachment::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AppAttachment* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AppAttachment"; }
explicit SharingLog_AppAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AppAttachment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AppAttachment& from);
SharingLog_AppAttachment(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AppAttachment&& from) noexcept
: SharingLog_AppAttachment(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPackageNameFieldNumber = 1,
kSizeFieldNumber = 2,
kBatchIdFieldNumber = 3,
kSourceTypeFieldNumber = 4,
};
// optional string package_name = 1;
bool has_package_name() const;
void clear_package_name() ;
const ::std::string& package_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_package_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_package_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_package_name();
void set_allocated_package_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_package_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_package_name();
public:
// optional int64 size = 2;
bool has_size() const;
void clear_size() ;
::int64_t size() const;
void set_size(::int64_t value);
private:
::int64_t _internal_size() const;
void _internal_set_size(::int64_t value);
public:
// optional int64 batch_id = 3;
bool has_batch_id() const;
void clear_batch_id() ;
::int64_t batch_id() const;
void set_batch_id(::int64_t value);
private:
::int64_t _internal_batch_id() const;
void _internal_set_batch_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 4;
bool has_source_type() const;
void clear_source_type() ;
::location::nearby::proto::sharing::AttachmentSourceType source_type() const;
void set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
private:
::location::nearby::proto::sharing::AttachmentSourceType _internal_source_type() const;
void _internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AppAttachment)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AppAttachment& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr package_name_;
::int64_t size_;
::int64_t batch_id_;
int source_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<56> SharingLog_AppAttachment_class_data_;
// -------------------------------------------------------------------
class SharingLog_AdvertiseDevicePresenceStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart) */ {
public:
inline SharingLog_AdvertiseDevicePresenceStart() : SharingLog_AdvertiseDevicePresenceStart(nullptr) {}
~SharingLog_AdvertiseDevicePresenceStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AdvertiseDevicePresenceStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AdvertiseDevicePresenceStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AdvertiseDevicePresenceStart(const SharingLog_AdvertiseDevicePresenceStart& from) : SharingLog_AdvertiseDevicePresenceStart(nullptr, from) {}
inline SharingLog_AdvertiseDevicePresenceStart(SharingLog_AdvertiseDevicePresenceStart&& from) noexcept
: SharingLog_AdvertiseDevicePresenceStart(nullptr, ::std::move(from)) {}
inline SharingLog_AdvertiseDevicePresenceStart& operator=(const SharingLog_AdvertiseDevicePresenceStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AdvertiseDevicePresenceStart& operator=(SharingLog_AdvertiseDevicePresenceStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AdvertiseDevicePresenceStart& default_instance() {
return *reinterpret_cast<const SharingLog_AdvertiseDevicePresenceStart*>(
&_SharingLog_AdvertiseDevicePresenceStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 13;
friend void swap(SharingLog_AdvertiseDevicePresenceStart& a, SharingLog_AdvertiseDevicePresenceStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AdvertiseDevicePresenceStart>(arena);
}
void CopyFrom(const SharingLog_AdvertiseDevicePresenceStart& from);
void MergeFrom(const SharingLog_AdvertiseDevicePresenceStart& from) { SharingLog_AdvertiseDevicePresenceStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart"; }
explicit SharingLog_AdvertiseDevicePresenceStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AdvertiseDevicePresenceStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AdvertiseDevicePresenceStart& from);
SharingLog_AdvertiseDevicePresenceStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AdvertiseDevicePresenceStart&& from) noexcept
: SharingLog_AdvertiseDevicePresenceStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 6,
kSessionIdFieldNumber = 1,
kVisibilityFieldNumber = 2,
kStatusFieldNumber = 3,
kDataUsageFieldNumber = 4,
kDeviceNameSizeFieldNumber = 5,
kAdvertisingModeFieldNumber = 7,
kQrCodeFlowFieldNumber = 8,
};
// optional string referrer_name = 6;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional int64 session_id = 1 [deprecated = true];
[[deprecated]] bool has_session_id() const;
[[deprecated]] void clear_session_id() ;
[[deprecated]] ::int64_t session_id() const;
[[deprecated]] void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.Visibility visibility = 2;
bool has_visibility() const;
void clear_visibility() ;
::location::nearby::proto::sharing::Visibility visibility() const;
void set_visibility(::location::nearby::proto::sharing::Visibility value);
private:
::location::nearby::proto::sharing::Visibility _internal_visibility() const;
void _internal_set_visibility(::location::nearby::proto::sharing::Visibility value);
public:
// optional .location.nearby.proto.sharing.SessionStatus status = 3;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::SessionStatus status() const;
void set_status(::location::nearby::proto::sharing::SessionStatus value);
private:
::location::nearby::proto::sharing::SessionStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::SessionStatus value);
public:
// optional .location.nearby.proto.sharing.DataUsage data_usage = 4;
bool has_data_usage() const;
void clear_data_usage() ;
::location::nearby::proto::sharing::DataUsage data_usage() const;
void set_data_usage(::location::nearby::proto::sharing::DataUsage value);
private:
::location::nearby::proto::sharing::DataUsage _internal_data_usage() const;
void _internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value);
public:
// optional int32 device_name_size = 5 [deprecated = true];
[[deprecated]] bool has_device_name_size() const;
[[deprecated]] void clear_device_name_size() ;
[[deprecated]] ::int32_t device_name_size() const;
[[deprecated]] void set_device_name_size(::int32_t value);
private:
::int32_t _internal_device_name_size() const;
void _internal_set_device_name_size(::int32_t value);
public:
// optional .location.nearby.proto.sharing.AdvertisingMode advertising_mode = 7;
bool has_advertising_mode() const;
void clear_advertising_mode() ;
::location::nearby::proto::sharing::AdvertisingMode advertising_mode() const;
void set_advertising_mode(::location::nearby::proto::sharing::AdvertisingMode value);
private:
::location::nearby::proto::sharing::AdvertisingMode _internal_advertising_mode() const;
void _internal_set_advertising_mode(::location::nearby::proto::sharing::AdvertisingMode value);
public:
// optional bool qr_code_flow = 8;
bool has_qr_code_flow() const;
void clear_qr_code_flow() ;
bool qr_code_flow() const;
void set_qr_code_flow(bool value);
private:
bool _internal_qr_code_flow() const;
void _internal_set_qr_code_flow(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 8,
4, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AdvertiseDevicePresenceStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::int64_t session_id_;
int visibility_;
int status_;
int data_usage_;
::int32_t device_name_size_;
int advertising_mode_;
bool qr_code_flow_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<71> SharingLog_AdvertiseDevicePresenceStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_AdvertiseDevicePresenceEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd) */ {
public:
inline SharingLog_AdvertiseDevicePresenceEnd() : SharingLog_AdvertiseDevicePresenceEnd(nullptr) {}
~SharingLog_AdvertiseDevicePresenceEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AdvertiseDevicePresenceEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AdvertiseDevicePresenceEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AdvertiseDevicePresenceEnd(const SharingLog_AdvertiseDevicePresenceEnd& from) : SharingLog_AdvertiseDevicePresenceEnd(nullptr, from) {}
inline SharingLog_AdvertiseDevicePresenceEnd(SharingLog_AdvertiseDevicePresenceEnd&& from) noexcept
: SharingLog_AdvertiseDevicePresenceEnd(nullptr, ::std::move(from)) {}
inline SharingLog_AdvertiseDevicePresenceEnd& operator=(const SharingLog_AdvertiseDevicePresenceEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AdvertiseDevicePresenceEnd& operator=(SharingLog_AdvertiseDevicePresenceEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AdvertiseDevicePresenceEnd& default_instance() {
return *reinterpret_cast<const SharingLog_AdvertiseDevicePresenceEnd*>(
&_SharingLog_AdvertiseDevicePresenceEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 14;
friend void swap(SharingLog_AdvertiseDevicePresenceEnd& a, SharingLog_AdvertiseDevicePresenceEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AdvertiseDevicePresenceEnd>(arena);
}
void CopyFrom(const SharingLog_AdvertiseDevicePresenceEnd& from);
void MergeFrom(const SharingLog_AdvertiseDevicePresenceEnd& from) { SharingLog_AdvertiseDevicePresenceEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd"; }
explicit SharingLog_AdvertiseDevicePresenceEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AdvertiseDevicePresenceEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AdvertiseDevicePresenceEnd& from);
SharingLog_AdvertiseDevicePresenceEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AdvertiseDevicePresenceEnd&& from) noexcept
: SharingLog_AdvertiseDevicePresenceEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kSessionIdFieldNumber = 1,
};
// optional int64 session_id = 1 [deprecated = true];
[[deprecated]] bool has_session_id() const;
[[deprecated]] void clear_session_id() ;
[[deprecated]] ::int64_t session_id() const;
[[deprecated]] void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AdvertiseDevicePresenceEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t session_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<69> SharingLog_AdvertiseDevicePresenceEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_AddQuickSettingsTile final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AddQuickSettingsTile) */ {
public:
inline SharingLog_AddQuickSettingsTile() : SharingLog_AddQuickSettingsTile(nullptr) {}
~SharingLog_AddQuickSettingsTile() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AddQuickSettingsTile));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AddQuickSettingsTile(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AddQuickSettingsTile(const SharingLog_AddQuickSettingsTile& from) : SharingLog_AddQuickSettingsTile(nullptr, from) {}
inline SharingLog_AddQuickSettingsTile(SharingLog_AddQuickSettingsTile&& from) noexcept
: SharingLog_AddQuickSettingsTile(nullptr, ::std::move(from)) {}
inline SharingLog_AddQuickSettingsTile& operator=(const SharingLog_AddQuickSettingsTile& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AddQuickSettingsTile& operator=(SharingLog_AddQuickSettingsTile&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AddQuickSettingsTile& default_instance() {
return *reinterpret_cast<const SharingLog_AddQuickSettingsTile*>(
&_SharingLog_AddQuickSettingsTile_default_instance_);
}
static constexpr int kIndexInFileMessages = 46;
friend void swap(SharingLog_AddQuickSettingsTile& a, SharingLog_AddQuickSettingsTile& b) { a.Swap(&b); }
inline void Swap(SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AddQuickSettingsTile>(arena);
}
void CopyFrom(const SharingLog_AddQuickSettingsTile& from);
void MergeFrom(const SharingLog_AddQuickSettingsTile& from) { SharingLog_AddQuickSettingsTile::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AddQuickSettingsTile"; }
explicit SharingLog_AddQuickSettingsTile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AddQuickSettingsTile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AddQuickSettingsTile& from);
SharingLog_AddQuickSettingsTile(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AddQuickSettingsTile&& from) noexcept
: SharingLog_AddQuickSettingsTile(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AddQuickSettingsTile)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AddQuickSettingsTile& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_AddQuickSettingsTile_class_data_;
// -------------------------------------------------------------------
class SharingLog_AddContact final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AddContact) */ {
public:
inline SharingLog_AddContact() : SharingLog_AddContact(nullptr) {}
~SharingLog_AddContact() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AddContact* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AddContact));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AddContact(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AddContact(const SharingLog_AddContact& from) : SharingLog_AddContact(nullptr, from) {}
inline SharingLog_AddContact(SharingLog_AddContact&& from) noexcept
: SharingLog_AddContact(nullptr, ::std::move(from)) {}
inline SharingLog_AddContact& operator=(const SharingLog_AddContact& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AddContact& operator=(SharingLog_AddContact&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AddContact& default_instance() {
return *reinterpret_cast<const SharingLog_AddContact*>(
&_SharingLog_AddContact_default_instance_);
}
static constexpr int kIndexInFileMessages = 36;
friend void swap(SharingLog_AddContact& a, SharingLog_AddContact& b) { a.Swap(&b); }
inline void Swap(SharingLog_AddContact* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AddContact* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AddContact* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AddContact>(arena);
}
void CopyFrom(const SharingLog_AddContact& from);
void MergeFrom(const SharingLog_AddContact& from) { SharingLog_AddContact::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AddContact* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AddContact"; }
explicit SharingLog_AddContact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AddContact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AddContact& from);
SharingLog_AddContact(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AddContact&& from) noexcept
: SharingLog_AddContact(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kWasPhoneAddedFieldNumber = 1,
kWasEmailAddedFieldNumber = 2,
};
// optional bool was_phone_added = 1;
bool has_was_phone_added() const;
void clear_was_phone_added() ;
bool was_phone_added() const;
void set_was_phone_added(bool value);
private:
bool _internal_was_phone_added() const;
void _internal_set_was_phone_added(bool value);
public:
// optional bool was_email_added = 2;
bool has_was_email_added() const;
void clear_was_email_added() ;
bool was_email_added() const;
void set_was_email_added(bool value);
private:
bool _internal_was_email_added() const;
void _internal_set_was_email_added(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AddContact)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AddContact& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
bool was_phone_added_;
bool was_email_added_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<53> SharingLog_AddContact_class_data_;
// -------------------------------------------------------------------
class SharingLog_AcceptFastInitialization final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AcceptFastInitialization) */ {
public:
inline SharingLog_AcceptFastInitialization() : SharingLog_AcceptFastInitialization(nullptr) {}
~SharingLog_AcceptFastInitialization() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AcceptFastInitialization));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AcceptFastInitialization(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AcceptFastInitialization(const SharingLog_AcceptFastInitialization& from) : SharingLog_AcceptFastInitialization(nullptr, from) {}
inline SharingLog_AcceptFastInitialization(SharingLog_AcceptFastInitialization&& from) noexcept
: SharingLog_AcceptFastInitialization(nullptr, ::std::move(from)) {}
inline SharingLog_AcceptFastInitialization& operator=(const SharingLog_AcceptFastInitialization& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AcceptFastInitialization& operator=(SharingLog_AcceptFastInitialization&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AcceptFastInitialization& default_instance() {
return *reinterpret_cast<const SharingLog_AcceptFastInitialization*>(
&_SharingLog_AcceptFastInitialization_default_instance_);
}
static constexpr int kIndexInFileMessages = 40;
friend void swap(SharingLog_AcceptFastInitialization& a, SharingLog_AcceptFastInitialization& b) { a.Swap(&b); }
inline void Swap(SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AcceptFastInitialization>(arena);
}
void CopyFrom(const SharingLog_AcceptFastInitialization& from);
void MergeFrom(const SharingLog_AcceptFastInitialization& from) { SharingLog_AcceptFastInitialization::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AcceptFastInitialization"; }
explicit SharingLog_AcceptFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AcceptFastInitialization(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AcceptFastInitialization& from);
SharingLog_AcceptFastInitialization(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AcceptFastInitialization&& from) noexcept
: SharingLog_AcceptFastInitialization(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AcceptFastInitialization)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AcceptFastInitialization& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<67> SharingLog_AcceptFastInitialization_class_data_;
// -------------------------------------------------------------------
class SharingLog_AcceptAgreements final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AcceptAgreements) */ {
public:
inline SharingLog_AcceptAgreements() : SharingLog_AcceptAgreements(nullptr) {}
~SharingLog_AcceptAgreements() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AcceptAgreements* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AcceptAgreements));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AcceptAgreements(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AcceptAgreements(const SharingLog_AcceptAgreements& from) : SharingLog_AcceptAgreements(nullptr, from) {}
inline SharingLog_AcceptAgreements(SharingLog_AcceptAgreements&& from) noexcept
: SharingLog_AcceptAgreements(nullptr, ::std::move(from)) {}
inline SharingLog_AcceptAgreements& operator=(const SharingLog_AcceptAgreements& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AcceptAgreements& operator=(SharingLog_AcceptAgreements&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AcceptAgreements& default_instance() {
return *reinterpret_cast<const SharingLog_AcceptAgreements*>(
&_SharingLog_AcceptAgreements_default_instance_);
}
static constexpr int kIndexInFileMessages = 5;
friend void swap(SharingLog_AcceptAgreements& a, SharingLog_AcceptAgreements& b) { a.Swap(&b); }
inline void Swap(SharingLog_AcceptAgreements* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AcceptAgreements* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AcceptAgreements* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AcceptAgreements>(arena);
}
void CopyFrom(const SharingLog_AcceptAgreements& from);
void MergeFrom(const SharingLog_AcceptAgreements& from) { SharingLog_AcceptAgreements::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AcceptAgreements* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AcceptAgreements"; }
explicit SharingLog_AcceptAgreements(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AcceptAgreements(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AcceptAgreements& from);
SharingLog_AcceptAgreements(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AcceptAgreements&& from) noexcept
: SharingLog_AcceptAgreements(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AcceptAgreements)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AcceptAgreements& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_AcceptAgreements_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendStart) */ {
public:
inline SharingLog_SendStart() : SharingLog_SendStart(nullptr) {}
~SharingLog_SendStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendStart(const SharingLog_SendStart& from) : SharingLog_SendStart(nullptr, from) {}
inline SharingLog_SendStart(SharingLog_SendStart&& from) noexcept
: SharingLog_SendStart(nullptr, ::std::move(from)) {}
inline SharingLog_SendStart& operator=(const SharingLog_SendStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendStart& operator=(SharingLog_SendStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendStart& default_instance() {
return *reinterpret_cast<const SharingLog_SendStart*>(
&_SharingLog_SendStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 39;
friend void swap(SharingLog_SendStart& a, SharingLog_SendStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendStart>(arena);
}
void CopyFrom(const SharingLog_SendStart& from);
void MergeFrom(const SharingLog_SendStart& from) { SharingLog_SendStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendStart"; }
explicit SharingLog_SendStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendStart& from);
SharingLog_SendStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendStart&& from) noexcept
: SharingLog_SendStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kShareTargetInfoFieldNumber = 4,
kSessionIdFieldNumber = 1,
kTransferPositionFieldNumber = 2,
kConcurrentConnectionsFieldNumber = 3,
};
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 4;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int32 transfer_position = 2;
bool has_transfer_position() const;
void clear_transfer_position() ;
::int32_t transfer_position() const;
void set_transfer_position(::int32_t value);
private:
::int32_t _internal_transfer_position() const;
void _internal_set_transfer_position(::int32_t value);
public:
// optional int32 concurrent_connections = 3;
bool has_concurrent_connections() const;
void clear_concurrent_connections() ;
::int32_t concurrent_connections() const;
void set_concurrent_connections(::int32_t value);
private:
::int32_t _internal_concurrent_connections() const;
void _internal_set_concurrent_connections(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
::int32_t transfer_position_;
::int32_t concurrent_connections_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<52> SharingLog_SendStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendIntroduction final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendIntroduction) */ {
public:
inline SharingLog_SendIntroduction() : SharingLog_SendIntroduction(nullptr) {}
~SharingLog_SendIntroduction() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendIntroduction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendIntroduction));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendIntroduction(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendIntroduction(const SharingLog_SendIntroduction& from) : SharingLog_SendIntroduction(nullptr, from) {}
inline SharingLog_SendIntroduction(SharingLog_SendIntroduction&& from) noexcept
: SharingLog_SendIntroduction(nullptr, ::std::move(from)) {}
inline SharingLog_SendIntroduction& operator=(const SharingLog_SendIntroduction& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendIntroduction& operator=(SharingLog_SendIntroduction&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendIntroduction& default_instance() {
return *reinterpret_cast<const SharingLog_SendIntroduction*>(
&_SharingLog_SendIntroduction_default_instance_);
}
static constexpr int kIndexInFileMessages = 23;
friend void swap(SharingLog_SendIntroduction& a, SharingLog_SendIntroduction& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendIntroduction* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendIntroduction* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendIntroduction* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendIntroduction>(arena);
}
void CopyFrom(const SharingLog_SendIntroduction& from);
void MergeFrom(const SharingLog_SendIntroduction& from) { SharingLog_SendIntroduction::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendIntroduction* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendIntroduction"; }
explicit SharingLog_SendIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendIntroduction& from);
SharingLog_SendIntroduction(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendIntroduction&& from) noexcept
: SharingLog_SendIntroduction(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kShareTargetInfoFieldNumber = 1,
kSessionIdFieldNumber = 2,
kTransferPositionFieldNumber = 3,
kConcurrentConnectionsFieldNumber = 4,
};
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 1;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 2;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int32 transfer_position = 3;
bool has_transfer_position() const;
void clear_transfer_position() ;
::int32_t transfer_position() const;
void set_transfer_position(::int32_t value);
private:
::int32_t _internal_transfer_position() const;
void _internal_set_transfer_position(::int32_t value);
public:
// optional int32 concurrent_connections = 4;
bool has_concurrent_connections() const;
void clear_concurrent_connections() ;
::int32_t concurrent_connections() const;
void set_concurrent_connections(::int32_t value);
private:
::int32_t _internal_concurrent_connections() const;
void _internal_set_concurrent_connections(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendIntroduction)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendIntroduction& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
::int32_t transfer_position_;
::int32_t concurrent_connections_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_SendIntroduction_class_data_;
// -------------------------------------------------------------------
class SharingLog_ReceiveIntroduction final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction) */ {
public:
inline SharingLog_ReceiveIntroduction() : SharingLog_ReceiveIntroduction(nullptr) {}
~SharingLog_ReceiveIntroduction() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ReceiveIntroduction));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ReceiveIntroduction(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ReceiveIntroduction(const SharingLog_ReceiveIntroduction& from) : SharingLog_ReceiveIntroduction(nullptr, from) {}
inline SharingLog_ReceiveIntroduction(SharingLog_ReceiveIntroduction&& from) noexcept
: SharingLog_ReceiveIntroduction(nullptr, ::std::move(from)) {}
inline SharingLog_ReceiveIntroduction& operator=(const SharingLog_ReceiveIntroduction& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ReceiveIntroduction& operator=(SharingLog_ReceiveIntroduction&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ReceiveIntroduction& default_instance() {
return *reinterpret_cast<const SharingLog_ReceiveIntroduction*>(
&_SharingLog_ReceiveIntroduction_default_instance_);
}
static constexpr int kIndexInFileMessages = 24;
friend void swap(SharingLog_ReceiveIntroduction& a, SharingLog_ReceiveIntroduction& b) { a.Swap(&b); }
inline void Swap(SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ReceiveIntroduction>(arena);
}
void CopyFrom(const SharingLog_ReceiveIntroduction& from);
void MergeFrom(const SharingLog_ReceiveIntroduction& from) { SharingLog_ReceiveIntroduction::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction"; }
explicit SharingLog_ReceiveIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ReceiveIntroduction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ReceiveIntroduction& from);
SharingLog_ReceiveIntroduction(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ReceiveIntroduction&& from) noexcept
: SharingLog_ReceiveIntroduction(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 3,
kShareTargetInfoFieldNumber = 2,
kSessionIdFieldNumber = 1,
};
// optional string referrer_name = 3;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 2;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ReceiveIntroduction& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_ReceiveIntroduction_class_data_;
// -------------------------------------------------------------------
class SharingLog_ReceiveAttachmentsEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd) */ {
public:
inline SharingLog_ReceiveAttachmentsEnd() : SharingLog_ReceiveAttachmentsEnd(nullptr) {}
~SharingLog_ReceiveAttachmentsEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ReceiveAttachmentsEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ReceiveAttachmentsEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ReceiveAttachmentsEnd(const SharingLog_ReceiveAttachmentsEnd& from) : SharingLog_ReceiveAttachmentsEnd(nullptr, from) {}
inline SharingLog_ReceiveAttachmentsEnd(SharingLog_ReceiveAttachmentsEnd&& from) noexcept
: SharingLog_ReceiveAttachmentsEnd(nullptr, ::std::move(from)) {}
inline SharingLog_ReceiveAttachmentsEnd& operator=(const SharingLog_ReceiveAttachmentsEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ReceiveAttachmentsEnd& operator=(SharingLog_ReceiveAttachmentsEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ReceiveAttachmentsEnd& default_instance() {
return *reinterpret_cast<const SharingLog_ReceiveAttachmentsEnd*>(
&_SharingLog_ReceiveAttachmentsEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 29;
friend void swap(SharingLog_ReceiveAttachmentsEnd& a, SharingLog_ReceiveAttachmentsEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ReceiveAttachmentsEnd>(arena);
}
void CopyFrom(const SharingLog_ReceiveAttachmentsEnd& from);
void MergeFrom(const SharingLog_ReceiveAttachmentsEnd& from) { SharingLog_ReceiveAttachmentsEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd"; }
explicit SharingLog_ReceiveAttachmentsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ReceiveAttachmentsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ReceiveAttachmentsEnd& from);
SharingLog_ReceiveAttachmentsEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ReceiveAttachmentsEnd&& from) noexcept
: SharingLog_ReceiveAttachmentsEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 4,
kShareTargetInfoFieldNumber = 5,
kSessionIdFieldNumber = 1,
kReceivedBytesFieldNumber = 2,
kStatusFieldNumber = 3,
kFirstSuccessfulTransferDateFieldNumber = 6,
kPreviousSuccessfulTransferDateFieldNumber = 7,
kLifetimeTransferCountFieldNumber = 8,
kConnectionMediumFieldNumber = 14,
kDataUsageFieldNumber = 15,
};
// optional string referrer_name = 4;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 5;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int64 received_bytes = 2;
bool has_received_bytes() const;
void clear_received_bytes() ;
::int64_t received_bytes() const;
void set_received_bytes(::int64_t value);
private:
::int64_t _internal_received_bytes() const;
void _internal_set_received_bytes(::int64_t value);
public:
// optional .location.nearby.proto.sharing.AttachmentTransmissionStatus status = 3;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::AttachmentTransmissionStatus status() const;
void set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value);
private:
::location::nearby::proto::sharing::AttachmentTransmissionStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value);
public:
// optional int32 first_successful_transfer_date = 6;
bool has_first_successful_transfer_date() const;
void clear_first_successful_transfer_date() ;
::int32_t first_successful_transfer_date() const;
void set_first_successful_transfer_date(::int32_t value);
private:
::int32_t _internal_first_successful_transfer_date() const;
void _internal_set_first_successful_transfer_date(::int32_t value);
public:
// optional int32 previous_successful_transfer_date = 7;
bool has_previous_successful_transfer_date() const;
void clear_previous_successful_transfer_date() ;
::int32_t previous_successful_transfer_date() const;
void set_previous_successful_transfer_date(::int32_t value);
private:
::int32_t _internal_previous_successful_transfer_date() const;
void _internal_set_previous_successful_transfer_date(::int32_t value);
public:
// optional int32 lifetime_transfer_count = 8;
bool has_lifetime_transfer_count() const;
void clear_lifetime_transfer_count() ;
::int32_t lifetime_transfer_count() const;
void set_lifetime_transfer_count(::int32_t value);
private:
::int32_t _internal_lifetime_transfer_count() const;
void _internal_set_lifetime_transfer_count(::int32_t value);
public:
// optional int32 connection_medium = 14;
bool has_connection_medium() const;
void clear_connection_medium() ;
::int32_t connection_medium() const;
void set_connection_medium(::int32_t value);
private:
::int32_t _internal_connection_medium() const;
void _internal_set_connection_medium(::int32_t value);
public:
// optional .location.nearby.proto.sharing.DataUsage data_usage = 15;
bool has_data_usage() const;
void clear_data_usage() ;
::location::nearby::proto::sharing::DataUsage data_usage() const;
void set_data_usage(::location::nearby::proto::sharing::DataUsage value);
private:
::location::nearby::proto::sharing::DataUsage _internal_data_usage() const;
void _internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 10,
3, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ReceiveAttachmentsEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
::int64_t received_bytes_;
int status_;
::int32_t first_successful_transfer_date_;
::int32_t previous_successful_transfer_date_;
::int32_t lifetime_transfer_count_;
::int32_t connection_medium_;
int data_usage_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<64> SharingLog_ReceiveAttachmentsEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_ParsingFailedEndpointId final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId) */ {
public:
inline SharingLog_ParsingFailedEndpointId() : SharingLog_ParsingFailedEndpointId(nullptr) {}
~SharingLog_ParsingFailedEndpointId() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ParsingFailedEndpointId));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ParsingFailedEndpointId(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ParsingFailedEndpointId(const SharingLog_ParsingFailedEndpointId& from) : SharingLog_ParsingFailedEndpointId(nullptr, from) {}
inline SharingLog_ParsingFailedEndpointId(SharingLog_ParsingFailedEndpointId&& from) noexcept
: SharingLog_ParsingFailedEndpointId(nullptr, ::std::move(from)) {}
inline SharingLog_ParsingFailedEndpointId& operator=(const SharingLog_ParsingFailedEndpointId& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ParsingFailedEndpointId& operator=(SharingLog_ParsingFailedEndpointId&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ParsingFailedEndpointId& default_instance() {
return *reinterpret_cast<const SharingLog_ParsingFailedEndpointId*>(
&_SharingLog_ParsingFailedEndpointId_default_instance_);
}
static constexpr int kIndexInFileMessages = 21;
friend void swap(SharingLog_ParsingFailedEndpointId& a, SharingLog_ParsingFailedEndpointId& b) { a.Swap(&b); }
inline void Swap(SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ParsingFailedEndpointId>(arena);
}
void CopyFrom(const SharingLog_ParsingFailedEndpointId& from);
void MergeFrom(const SharingLog_ParsingFailedEndpointId& from) { SharingLog_ParsingFailedEndpointId::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId"; }
explicit SharingLog_ParsingFailedEndpointId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ParsingFailedEndpointId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ParsingFailedEndpointId& from);
SharingLog_ParsingFailedEndpointId(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ParsingFailedEndpointId&& from) noexcept
: SharingLog_ParsingFailedEndpointId(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kEndpointIdFieldNumber = 1,
kReferrerNameFieldNumber = 5,
kDurationSinceScanningFieldNumber = 2,
kDurationSinceLastSyncFieldNumber = 8,
kSessionIdFieldNumber = 3,
kFlowIdFieldNumber = 4,
kScanTypeFieldNumber = 7,
kParsingFailedTypeFieldNumber = 9,
kDiscoveryModeFieldNumber = 10,
kLatencySinceActivityStartMillisFieldNumber = 6,
};
// optional string endpoint_id = 1;
bool has_endpoint_id() const;
void clear_endpoint_id() ;
const ::std::string& endpoint_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_endpoint_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_endpoint_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id();
void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_endpoint_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id();
public:
// optional string referrer_name = 5;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional .google.protobuf.Duration duration_since_scanning = 2;
bool has_duration_since_scanning() const;
void clear_duration_since_scanning() ;
const ::google::protobuf::Duration& duration_since_scanning() const;
[[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_duration_since_scanning();
::google::protobuf::Duration* PROTOBUF_NONNULL mutable_duration_since_scanning();
void set_allocated_duration_since_scanning(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_duration_since_scanning(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_duration_since_scanning();
private:
const ::google::protobuf::Duration& _internal_duration_since_scanning() const;
::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_duration_since_scanning();
public:
// optional .google.protobuf.Duration duration_since_last_sync = 8;
bool has_duration_since_last_sync() const;
void clear_duration_since_last_sync() ;
const ::google::protobuf::Duration& duration_since_last_sync() const;
[[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_duration_since_last_sync();
::google::protobuf::Duration* PROTOBUF_NONNULL mutable_duration_since_last_sync();
void set_allocated_duration_since_last_sync(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_duration_since_last_sync(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_duration_since_last_sync();
private:
const ::google::protobuf::Duration& _internal_duration_since_last_sync() const;
::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_duration_since_last_sync();
public:
// optional int64 session_id = 3;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int64 flow_id = 4;
bool has_flow_id() const;
void clear_flow_id() ;
::int64_t flow_id() const;
void set_flow_id(::int64_t value);
private:
::int64_t _internal_flow_id() const;
void _internal_set_flow_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.ScanType scan_type = 7;
bool has_scan_type() const;
void clear_scan_type() ;
::location::nearby::proto::sharing::ScanType scan_type() const;
void set_scan_type(::location::nearby::proto::sharing::ScanType value);
private:
::location::nearby::proto::sharing::ScanType _internal_scan_type() const;
void _internal_set_scan_type(::location::nearby::proto::sharing::ScanType value);
public:
// optional .location.nearby.proto.sharing.ParsingFailedType parsing_failed_type = 9;
bool has_parsing_failed_type() const;
void clear_parsing_failed_type() ;
::location::nearby::proto::sharing::ParsingFailedType parsing_failed_type() const;
void set_parsing_failed_type(::location::nearby::proto::sharing::ParsingFailedType value);
private:
::location::nearby::proto::sharing::ParsingFailedType _internal_parsing_failed_type() const;
void _internal_set_parsing_failed_type(::location::nearby::proto::sharing::ParsingFailedType value);
public:
// optional .location.nearby.proto.sharing.DiscoveryMode discovery_mode = 10;
bool has_discovery_mode() const;
void clear_discovery_mode() ;
::location::nearby::proto::sharing::DiscoveryMode discovery_mode() const;
void set_discovery_mode(::location::nearby::proto::sharing::DiscoveryMode value);
private:
::location::nearby::proto::sharing::DiscoveryMode _internal_discovery_mode() const;
void _internal_set_discovery_mode(::location::nearby::proto::sharing::DiscoveryMode value);
public:
// optional int64 latency_since_activity_start_millis = 6 [default = -1];
bool has_latency_since_activity_start_millis() const;
void clear_latency_since_activity_start_millis() ;
::int64_t latency_since_activity_start_millis() const;
void set_latency_since_activity_start_millis(::int64_t value);
private:
::int64_t _internal_latency_since_activity_start_millis() const;
void _internal_set_latency_since_activity_start_millis(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 10,
5, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ParsingFailedEndpointId& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr endpoint_id_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::google::protobuf::Duration* PROTOBUF_NULLABLE duration_since_scanning_;
::google::protobuf::Duration* PROTOBUF_NULLABLE duration_since_last_sync_;
::int64_t session_id_;
::int64_t flow_id_;
int scan_type_;
int parsing_failed_type_;
int discovery_mode_;
::int64_t latency_since_activity_start_millis_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_ParsingFailedEndpointId_class_data_;
// -------------------------------------------------------------------
class SharingLog_HighQualityMediumSetup final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup) */ {
public:
inline SharingLog_HighQualityMediumSetup() : SharingLog_HighQualityMediumSetup(nullptr) {}
~SharingLog_HighQualityMediumSetup() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_HighQualityMediumSetup));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_HighQualityMediumSetup(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_HighQualityMediumSetup(const SharingLog_HighQualityMediumSetup& from) : SharingLog_HighQualityMediumSetup(nullptr, from) {}
inline SharingLog_HighQualityMediumSetup(SharingLog_HighQualityMediumSetup&& from) noexcept
: SharingLog_HighQualityMediumSetup(nullptr, ::std::move(from)) {}
inline SharingLog_HighQualityMediumSetup& operator=(const SharingLog_HighQualityMediumSetup& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_HighQualityMediumSetup& operator=(SharingLog_HighQualityMediumSetup&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_HighQualityMediumSetup& default_instance() {
return *reinterpret_cast<const SharingLog_HighQualityMediumSetup*>(
&_SharingLog_HighQualityMediumSetup_default_instance_);
}
static constexpr int kIndexInFileMessages = 78;
friend void swap(SharingLog_HighQualityMediumSetup& a, SharingLog_HighQualityMediumSetup& b) { a.Swap(&b); }
inline void Swap(SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_HighQualityMediumSetup>(arena);
}
void CopyFrom(const SharingLog_HighQualityMediumSetup& from);
void MergeFrom(const SharingLog_HighQualityMediumSetup& from) { SharingLog_HighQualityMediumSetup::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup"; }
explicit SharingLog_HighQualityMediumSetup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_HighQualityMediumSetup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_HighQualityMediumSetup& from);
SharingLog_HighQualityMediumSetup(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_HighQualityMediumSetup&& from) noexcept
: SharingLog_HighQualityMediumSetup(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kShareTargetInfoFieldNumber = 1,
kSessionIdFieldNumber = 2,
kDurationMillisFieldNumber = 3,
kIsTimeoutFieldNumber = 4,
kOriginalQualityFieldNumber = 5,
kConnectionMediumFieldNumber = 6,
kConnectionModeFieldNumber = 7,
kInstantConnectionResultFieldNumber = 8,
};
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 1;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 2;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int64 duration_millis = 3;
bool has_duration_millis() const;
void clear_duration_millis() ;
::int64_t duration_millis() const;
void set_duration_millis(::int64_t value);
private:
::int64_t _internal_duration_millis() const;
void _internal_set_duration_millis(::int64_t value);
public:
// optional bool is_timeout = 4;
bool has_is_timeout() const;
void clear_is_timeout() ;
bool is_timeout() const;
void set_is_timeout(bool value);
private:
bool _internal_is_timeout() const;
void _internal_set_is_timeout(bool value);
public:
// optional int32 original_quality = 5;
bool has_original_quality() const;
void clear_original_quality() ;
::int32_t original_quality() const;
void set_original_quality(::int32_t value);
private:
::int32_t _internal_original_quality() const;
void _internal_set_original_quality(::int32_t value);
public:
// optional int32 connection_medium = 6;
bool has_connection_medium() const;
void clear_connection_medium() ;
::int32_t connection_medium() const;
void set_connection_medium(::int32_t value);
private:
::int32_t _internal_connection_medium() const;
void _internal_set_connection_medium(::int32_t value);
public:
// optional int32 connection_mode = 7;
bool has_connection_mode() const;
void clear_connection_mode() ;
::int32_t connection_mode() const;
void set_connection_mode(::int32_t value);
private:
::int32_t _internal_connection_mode() const;
void _internal_set_connection_mode(::int32_t value);
public:
// optional int32 instant_connection_result = 8;
bool has_instant_connection_result() const;
void clear_instant_connection_result() ;
::int32_t instant_connection_result() const;
void set_instant_connection_result(::int32_t value);
private:
::int32_t _internal_instant_connection_result() const;
void _internal_set_instant_connection_result(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 8,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_HighQualityMediumSetup& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
::int64_t duration_millis_;
bool is_timeout_;
::int32_t original_quality_;
::int32_t connection_medium_;
::int32_t connection_mode_;
::int32_t instant_connection_result_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<65> SharingLog_HighQualityMediumSetup_class_data_;
// -------------------------------------------------------------------
class SharingLog_EstablishConnection final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.EstablishConnection) */ {
public:
inline SharingLog_EstablishConnection() : SharingLog_EstablishConnection(nullptr) {}
~SharingLog_EstablishConnection() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_EstablishConnection* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_EstablishConnection));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_EstablishConnection(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_EstablishConnection(const SharingLog_EstablishConnection& from) : SharingLog_EstablishConnection(nullptr, from) {}
inline SharingLog_EstablishConnection(SharingLog_EstablishConnection&& from) noexcept
: SharingLog_EstablishConnection(nullptr, ::std::move(from)) {}
inline SharingLog_EstablishConnection& operator=(const SharingLog_EstablishConnection& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_EstablishConnection& operator=(SharingLog_EstablishConnection&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_EstablishConnection& default_instance() {
return *reinterpret_cast<const SharingLog_EstablishConnection*>(
&_SharingLog_EstablishConnection_default_instance_);
}
static constexpr int kIndexInFileMessages = 4;
friend void swap(SharingLog_EstablishConnection& a, SharingLog_EstablishConnection& b) { a.Swap(&b); }
inline void Swap(SharingLog_EstablishConnection* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_EstablishConnection* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_EstablishConnection* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_EstablishConnection>(arena);
}
void CopyFrom(const SharingLog_EstablishConnection& from);
void MergeFrom(const SharingLog_EstablishConnection& from) { SharingLog_EstablishConnection::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_EstablishConnection* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.EstablishConnection"; }
explicit SharingLog_EstablishConnection(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_EstablishConnection(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_EstablishConnection& from);
SharingLog_EstablishConnection(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_EstablishConnection&& from) noexcept
: SharingLog_EstablishConnection(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 7,
kShareTargetInfoFieldNumber = 6,
kQrCodeReceiverConnectLatencyFieldNumber = 10,
kSessionIdFieldNumber = 2,
kStatusFieldNumber = 1,
kTransferPositionFieldNumber = 3,
kDurationMillisFieldNumber = 5,
kConcurrentConnectionsFieldNumber = 4,
kQrCodeFlowFieldNumber = 8,
kIsIncomingConnectionFieldNumber = 9,
};
// optional string referrer_name = 7;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 6;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional .google.protobuf.Duration qr_code_receiver_connect_latency = 10;
bool has_qr_code_receiver_connect_latency() const;
void clear_qr_code_receiver_connect_latency() ;
const ::google::protobuf::Duration& qr_code_receiver_connect_latency() const;
[[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_qr_code_receiver_connect_latency();
::google::protobuf::Duration* PROTOBUF_NONNULL mutable_qr_code_receiver_connect_latency();
void set_allocated_qr_code_receiver_connect_latency(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_qr_code_receiver_connect_latency(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_qr_code_receiver_connect_latency();
private:
const ::google::protobuf::Duration& _internal_qr_code_receiver_connect_latency() const;
::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_qr_code_receiver_connect_latency();
public:
// optional int64 session_id = 2;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.EstablishConnectionStatus status = 1;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::EstablishConnectionStatus status() const;
void set_status(::location::nearby::proto::sharing::EstablishConnectionStatus value);
private:
::location::nearby::proto::sharing::EstablishConnectionStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::EstablishConnectionStatus value);
public:
// optional int32 transfer_position = 3;
bool has_transfer_position() const;
void clear_transfer_position() ;
::int32_t transfer_position() const;
void set_transfer_position(::int32_t value);
private:
::int32_t _internal_transfer_position() const;
void _internal_set_transfer_position(::int32_t value);
public:
// optional int64 duration_millis = 5;
bool has_duration_millis() const;
void clear_duration_millis() ;
::int64_t duration_millis() const;
void set_duration_millis(::int64_t value);
private:
::int64_t _internal_duration_millis() const;
void _internal_set_duration_millis(::int64_t value);
public:
// optional int32 concurrent_connections = 4;
bool has_concurrent_connections() const;
void clear_concurrent_connections() ;
::int32_t concurrent_connections() const;
void set_concurrent_connections(::int32_t value);
private:
::int32_t _internal_concurrent_connections() const;
void _internal_set_concurrent_connections(::int32_t value);
public:
// optional bool qr_code_flow = 8 [deprecated = true];
[[deprecated]] bool has_qr_code_flow() const;
[[deprecated]] void clear_qr_code_flow() ;
[[deprecated]] bool qr_code_flow() const;
[[deprecated]] void set_qr_code_flow(bool value);
private:
bool _internal_qr_code_flow() const;
void _internal_set_qr_code_flow(bool value);
public:
// optional bool is_incoming_connection = 9;
bool has_is_incoming_connection() const;
void clear_is_incoming_connection() ;
bool is_incoming_connection() const;
void set_is_incoming_connection(bool value);
private:
bool _internal_is_incoming_connection() const;
void _internal_set_is_incoming_connection(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.EstablishConnection)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 10,
3, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_EstablishConnection& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::google::protobuf::Duration* PROTOBUF_NULLABLE qr_code_receiver_connect_latency_;
::int64_t session_id_;
int status_;
::int32_t transfer_position_;
::int64_t duration_millis_;
::int32_t concurrent_connections_;
bool qr_code_flow_;
bool is_incoming_connection_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_EstablishConnection_class_data_;
// -------------------------------------------------------------------
class SharingLog_DiscoverShareTarget final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget) */ {
public:
inline SharingLog_DiscoverShareTarget() : SharingLog_DiscoverShareTarget(nullptr) {}
~SharingLog_DiscoverShareTarget() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DiscoverShareTarget));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DiscoverShareTarget(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DiscoverShareTarget(const SharingLog_DiscoverShareTarget& from) : SharingLog_DiscoverShareTarget(nullptr, from) {}
inline SharingLog_DiscoverShareTarget(SharingLog_DiscoverShareTarget&& from) noexcept
: SharingLog_DiscoverShareTarget(nullptr, ::std::move(from)) {}
inline SharingLog_DiscoverShareTarget& operator=(const SharingLog_DiscoverShareTarget& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DiscoverShareTarget& operator=(SharingLog_DiscoverShareTarget&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DiscoverShareTarget& default_instance() {
return *reinterpret_cast<const SharingLog_DiscoverShareTarget*>(
&_SharingLog_DiscoverShareTarget_default_instance_);
}
static constexpr int kIndexInFileMessages = 20;
friend void swap(SharingLog_DiscoverShareTarget& a, SharingLog_DiscoverShareTarget& b) { a.Swap(&b); }
inline void Swap(SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DiscoverShareTarget>(arena);
}
void CopyFrom(const SharingLog_DiscoverShareTarget& from);
void MergeFrom(const SharingLog_DiscoverShareTarget& from) { SharingLog_DiscoverShareTarget::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget"; }
explicit SharingLog_DiscoverShareTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DiscoverShareTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DiscoverShareTarget& from);
SharingLog_DiscoverShareTarget(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DiscoverShareTarget&& from) noexcept
: SharingLog_DiscoverShareTarget(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 5,
kCloudReceiverSessionIdFieldNumber = 8,
kShareTargetInfoFieldNumber = 1,
kDurationSinceScanningFieldNumber = 2,
kSessionIdFieldNumber = 3,
kFlowIdFieldNumber = 4,
kScanTypeFieldNumber = 7,
kLatencySinceActivityStartMillisFieldNumber = 6,
};
// optional string referrer_name = 5;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional string cloud_receiver_session_id = 8;
bool has_cloud_receiver_session_id() const;
void clear_cloud_receiver_session_id() ;
const ::std::string& cloud_receiver_session_id() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_cloud_receiver_session_id(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_cloud_receiver_session_id();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_cloud_receiver_session_id();
void set_allocated_cloud_receiver_session_id(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_cloud_receiver_session_id() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_cloud_receiver_session_id(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_cloud_receiver_session_id();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 1;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional .google.protobuf.Duration duration_since_scanning = 2;
bool has_duration_since_scanning() const;
void clear_duration_since_scanning() ;
const ::google::protobuf::Duration& duration_since_scanning() const;
[[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_duration_since_scanning();
::google::protobuf::Duration* PROTOBUF_NONNULL mutable_duration_since_scanning();
void set_allocated_duration_since_scanning(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_duration_since_scanning(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_duration_since_scanning();
private:
const ::google::protobuf::Duration& _internal_duration_since_scanning() const;
::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_duration_since_scanning();
public:
// optional int64 session_id = 3;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int64 flow_id = 4;
bool has_flow_id() const;
void clear_flow_id() ;
::int64_t flow_id() const;
void set_flow_id(::int64_t value);
private:
::int64_t _internal_flow_id() const;
void _internal_set_flow_id(::int64_t value);
public:
// optional .location.nearby.proto.sharing.ScanType scan_type = 7;
bool has_scan_type() const;
void clear_scan_type() ;
::location::nearby::proto::sharing::ScanType scan_type() const;
void set_scan_type(::location::nearby::proto::sharing::ScanType value);
private:
::location::nearby::proto::sharing::ScanType _internal_scan_type() const;
void _internal_set_scan_type(::location::nearby::proto::sharing::ScanType value);
public:
// optional int64 latency_since_activity_start_millis = 6 [default = -1];
bool has_latency_since_activity_start_millis() const;
void clear_latency_since_activity_start_millis() ;
::int64_t latency_since_activity_start_millis() const;
void set_latency_since_activity_start_millis(::int64_t value);
private:
::int64_t _internal_latency_since_activity_start_millis() const;
void _internal_set_latency_since_activity_start_millis(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 8,
3, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DiscoverShareTarget& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::google::protobuf::internal::ArenaStringPtr cloud_receiver_session_id_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::google::protobuf::Duration* PROTOBUF_NULLABLE duration_since_scanning_;
::int64_t session_id_;
::int64_t flow_id_;
int scan_type_;
::int64_t latency_since_activity_start_millis_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_DiscoverShareTarget_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudAttachmentInfo final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo) */ {
public:
inline SharingLog_CloudAttachmentInfo() : SharingLog_CloudAttachmentInfo(nullptr) {}
~SharingLog_CloudAttachmentInfo() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudAttachmentInfo));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudAttachmentInfo(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudAttachmentInfo(const SharingLog_CloudAttachmentInfo& from) : SharingLog_CloudAttachmentInfo(nullptr, from) {}
inline SharingLog_CloudAttachmentInfo(SharingLog_CloudAttachmentInfo&& from) noexcept
: SharingLog_CloudAttachmentInfo(nullptr, ::std::move(from)) {}
inline SharingLog_CloudAttachmentInfo& operator=(const SharingLog_CloudAttachmentInfo& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudAttachmentInfo& operator=(SharingLog_CloudAttachmentInfo&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudAttachmentInfo& default_instance() {
return *reinterpret_cast<const SharingLog_CloudAttachmentInfo*>(
&_SharingLog_CloudAttachmentInfo_default_instance_);
}
enum CloudAttachmentCase {
kTextAttachment = 2,
kFileAttachment = 3,
kWifiCredentialsAttachment = 4,
kAppAttachment = 5,
kStreamAttachment = 6,
CLOUDATTACHMENT_NOT_SET = 0,
};
static constexpr int kIndexInFileMessages = 72;
friend void swap(SharingLog_CloudAttachmentInfo& a, SharingLog_CloudAttachmentInfo& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudAttachmentInfo>(arena);
}
void CopyFrom(const SharingLog_CloudAttachmentInfo& from);
void MergeFrom(const SharingLog_CloudAttachmentInfo& from) { SharingLog_CloudAttachmentInfo::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo"; }
explicit SharingLog_CloudAttachmentInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudAttachmentInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudAttachmentInfo& from);
SharingLog_CloudAttachmentInfo(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudAttachmentInfo&& from) noexcept
: SharingLog_CloudAttachmentInfo(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kTransferredBytesFieldNumber = 7,
kDurationMillisFieldNumber = 8,
kStatusFieldNumber = 1,
kTextAttachmentFieldNumber = 2,
kFileAttachmentFieldNumber = 3,
kWifiCredentialsAttachmentFieldNumber = 4,
kAppAttachmentFieldNumber = 5,
kStreamAttachmentFieldNumber = 6,
};
// optional int64 transferred_bytes = 7;
bool has_transferred_bytes() const;
void clear_transferred_bytes() ;
::int64_t transferred_bytes() const;
void set_transferred_bytes(::int64_t value);
private:
::int64_t _internal_transferred_bytes() const;
void _internal_set_transferred_bytes(::int64_t value);
public:
// optional int64 duration_millis = 8;
bool has_duration_millis() const;
void clear_duration_millis() ;
::int64_t duration_millis() const;
void set_duration_millis(::int64_t value);
private:
::int64_t _internal_duration_millis() const;
void _internal_set_duration_millis(::int64_t value);
public:
// optional .location.nearby.proto.sharing.AttachmentTransmissionStatus status = 1;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::AttachmentTransmissionStatus status() const;
void set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value);
private:
::location::nearby::proto::sharing::AttachmentTransmissionStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value);
public:
// .nearby.sharing.analytics.proto.SharingLog.TextAttachment text_attachment = 2;
bool has_text_attachment() const;
private:
bool _internal_has_text_attachment() const;
public:
void clear_text_attachment() ;
const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment& text_attachment() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE release_text_attachment();
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL mutable_text_attachment();
void set_allocated_text_attachment(::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_text_attachment(::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE unsafe_arena_release_text_attachment();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment& _internal_text_attachment() const;
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL _internal_mutable_text_attachment();
public:
// .nearby.sharing.analytics.proto.SharingLog.FileAttachment file_attachment = 3;
bool has_file_attachment() const;
private:
bool _internal_has_file_attachment() const;
public:
void clear_file_attachment() ;
const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment& file_attachment() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE release_file_attachment();
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL mutable_file_attachment();
void set_allocated_file_attachment(::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_file_attachment(::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE unsafe_arena_release_file_attachment();
private:
const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment& _internal_file_attachment() const;
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL _internal_mutable_file_attachment();
public:
// .nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment wifi_credentials_attachment = 4;
bool has_wifi_credentials_attachment() const;
private:
bool _internal_has_wifi_credentials_attachment() const;
public:
void clear_wifi_credentials_attachment() ;
const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment& wifi_credentials_attachment() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE release_wifi_credentials_attachment();
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL mutable_wifi_credentials_attachment();
void set_allocated_wifi_credentials_attachment(::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_wifi_credentials_attachment(::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE unsafe_arena_release_wifi_credentials_attachment();
private:
const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment& _internal_wifi_credentials_attachment() const;
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL _internal_mutable_wifi_credentials_attachment();
public:
// .nearby.sharing.analytics.proto.SharingLog.AppAttachment app_attachment = 5;
bool has_app_attachment() const;
private:
bool _internal_has_app_attachment() const;
public:
void clear_app_attachment() ;
const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment& app_attachment() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE release_app_attachment();
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL mutable_app_attachment();
void set_allocated_app_attachment(::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_app_attachment(::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE unsafe_arena_release_app_attachment();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment& _internal_app_attachment() const;
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL _internal_mutable_app_attachment();
public:
// .nearby.sharing.analytics.proto.SharingLog.StreamAttachment stream_attachment = 6;
bool has_stream_attachment() const;
private:
bool _internal_has_stream_attachment() const;
public:
void clear_stream_attachment() ;
const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment& stream_attachment() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE release_stream_attachment();
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL mutable_stream_attachment();
void set_allocated_stream_attachment(::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_stream_attachment(::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE unsafe_arena_release_stream_attachment();
private:
const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment& _internal_stream_attachment() const;
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL _internal_mutable_stream_attachment();
public:
void clear_CloudAttachment();
CloudAttachmentCase CloudAttachment_case() const;
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo)
private:
class _Internal;
void set_has_text_attachment();
void set_has_file_attachment();
void set_has_wifi_credentials_attachment();
void set_has_app_attachment();
void set_has_stream_attachment();
inline bool has_CloudAttachment() const;
inline void clear_has_CloudAttachment();
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 8,
6, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudAttachmentInfo& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int64_t transferred_bytes_;
::int64_t duration_millis_;
int status_;
union CloudAttachmentUnion {
constexpr CloudAttachmentUnion() : _constinit_{} {}
::google::protobuf::internal::ConstantInitialized _constinit_;
::google::protobuf::MessageLite* PROTOBUF_NULLABLE text_attachment_;
::google::protobuf::MessageLite* PROTOBUF_NULLABLE file_attachment_;
::google::protobuf::MessageLite* PROTOBUF_NULLABLE wifi_credentials_attachment_;
::google::protobuf::MessageLite* PROTOBUF_NULLABLE app_attachment_;
::google::protobuf::MessageLite* PROTOBUF_NULLABLE stream_attachment_;
} CloudAttachment_;
::uint32_t _oneof_case_[1];
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_CloudAttachmentInfo_class_data_;
// -------------------------------------------------------------------
class SharingLog_AttachmentsInfo final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo) */ {
public:
inline SharingLog_AttachmentsInfo() : SharingLog_AttachmentsInfo(nullptr) {}
~SharingLog_AttachmentsInfo() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_AttachmentsInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_AttachmentsInfo));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_AttachmentsInfo(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_AttachmentsInfo(const SharingLog_AttachmentsInfo& from) : SharingLog_AttachmentsInfo(nullptr, from) {}
inline SharingLog_AttachmentsInfo(SharingLog_AttachmentsInfo&& from) noexcept
: SharingLog_AttachmentsInfo(nullptr, ::std::move(from)) {}
inline SharingLog_AttachmentsInfo& operator=(const SharingLog_AttachmentsInfo& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_AttachmentsInfo& operator=(SharingLog_AttachmentsInfo&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_AttachmentsInfo& default_instance() {
return *reinterpret_cast<const SharingLog_AttachmentsInfo*>(
&_SharingLog_AttachmentsInfo_default_instance_);
}
static constexpr int kIndexInFileMessages = 66;
friend void swap(SharingLog_AttachmentsInfo& a, SharingLog_AttachmentsInfo& b) { a.Swap(&b); }
inline void Swap(SharingLog_AttachmentsInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_AttachmentsInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_AttachmentsInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_AttachmentsInfo>(arena);
}
void CopyFrom(const SharingLog_AttachmentsInfo& from);
void MergeFrom(const SharingLog_AttachmentsInfo& from) { SharingLog_AttachmentsInfo::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_AttachmentsInfo* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo"; }
explicit SharingLog_AttachmentsInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_AttachmentsInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_AttachmentsInfo& from);
SharingLog_AttachmentsInfo(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_AttachmentsInfo&& from) noexcept
: SharingLog_AttachmentsInfo(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kTextAttachmentFieldNumber = 1,
kFileAttachmentFieldNumber = 2,
kWifiCredentialsAttachmentFieldNumber = 4,
kAppAttachmentFieldNumber = 5,
kStreamAttachmentFieldNumber = 6,
kRequiredAppFieldNumber = 3,
};
// repeated .nearby.sharing.analytics.proto.SharingLog.TextAttachment text_attachment = 1;
int text_attachment_size() const;
private:
int _internal_text_attachment_size() const;
public:
void clear_text_attachment() ;
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL mutable_text_attachment(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>* PROTOBUF_NONNULL mutable_text_attachment();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>& _internal_text_attachment() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>* PROTOBUF_NONNULL _internal_mutable_text_attachment();
public:
const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment& text_attachment(int index) const;
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL add_text_attachment();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>& text_attachment() const;
// repeated .nearby.sharing.analytics.proto.SharingLog.FileAttachment file_attachment = 2;
int file_attachment_size() const;
private:
int _internal_file_attachment_size() const;
public:
void clear_file_attachment() ;
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL mutable_file_attachment(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>* PROTOBUF_NONNULL mutable_file_attachment();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>& _internal_file_attachment() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>* PROTOBUF_NONNULL _internal_mutable_file_attachment();
public:
const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment& file_attachment(int index) const;
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL add_file_attachment();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>& file_attachment() const;
// repeated .nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment wifi_credentials_attachment = 4;
int wifi_credentials_attachment_size() const;
private:
int _internal_wifi_credentials_attachment_size() const;
public:
void clear_wifi_credentials_attachment() ;
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL mutable_wifi_credentials_attachment(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>* PROTOBUF_NONNULL mutable_wifi_credentials_attachment();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>& _internal_wifi_credentials_attachment() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>* PROTOBUF_NONNULL _internal_mutable_wifi_credentials_attachment();
public:
const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment& wifi_credentials_attachment(int index) const;
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL add_wifi_credentials_attachment();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>& wifi_credentials_attachment() const;
// repeated .nearby.sharing.analytics.proto.SharingLog.AppAttachment app_attachment = 5;
int app_attachment_size() const;
private:
int _internal_app_attachment_size() const;
public:
void clear_app_attachment() ;
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL mutable_app_attachment(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>* PROTOBUF_NONNULL mutable_app_attachment();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>& _internal_app_attachment() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>* PROTOBUF_NONNULL _internal_mutable_app_attachment();
public:
const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment& app_attachment(int index) const;
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL add_app_attachment();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>& app_attachment() const;
// repeated .nearby.sharing.analytics.proto.SharingLog.StreamAttachment stream_attachment = 6;
int stream_attachment_size() const;
private:
int _internal_stream_attachment_size() const;
public:
void clear_stream_attachment() ;
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL mutable_stream_attachment(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>* PROTOBUF_NONNULL mutable_stream_attachment();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>& _internal_stream_attachment() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>* PROTOBUF_NONNULL _internal_mutable_stream_attachment();
public:
const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment& stream_attachment(int index) const;
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL add_stream_attachment();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>& stream_attachment() const;
// optional string required_app = 3;
bool has_required_app() const;
void clear_required_app() ;
const ::std::string& required_app() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_required_app(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_required_app();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_required_app();
void set_allocated_required_app(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_required_app() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_required_app(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_required_app();
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 6,
5, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_AttachmentsInfo& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_TextAttachment > text_attachment_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_FileAttachment > file_attachment_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment > wifi_credentials_attachment_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_AppAttachment > app_attachment_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment > stream_attachment_;
::google::protobuf::internal::ArenaStringPtr required_app_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<58> SharingLog_AttachmentsInfo_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendAttachmentsStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart) */ {
public:
inline SharingLog_SendAttachmentsStart() : SharingLog_SendAttachmentsStart(nullptr) {}
~SharingLog_SendAttachmentsStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendAttachmentsStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendAttachmentsStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendAttachmentsStart(const SharingLog_SendAttachmentsStart& from) : SharingLog_SendAttachmentsStart(nullptr, from) {}
inline SharingLog_SendAttachmentsStart(SharingLog_SendAttachmentsStart&& from) noexcept
: SharingLog_SendAttachmentsStart(nullptr, ::std::move(from)) {}
inline SharingLog_SendAttachmentsStart& operator=(const SharingLog_SendAttachmentsStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendAttachmentsStart& operator=(SharingLog_SendAttachmentsStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendAttachmentsStart& default_instance() {
return *reinterpret_cast<const SharingLog_SendAttachmentsStart*>(
&_SharingLog_SendAttachmentsStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 26;
friend void swap(SharingLog_SendAttachmentsStart& a, SharingLog_SendAttachmentsStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendAttachmentsStart>(arena);
}
void CopyFrom(const SharingLog_SendAttachmentsStart& from);
void MergeFrom(const SharingLog_SendAttachmentsStart& from) { SharingLog_SendAttachmentsStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart"; }
explicit SharingLog_SendAttachmentsStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendAttachmentsStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendAttachmentsStart& from);
SharingLog_SendAttachmentsStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendAttachmentsStart&& from) noexcept
: SharingLog_SendAttachmentsStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 2,
kShareTargetInfoFieldNumber = 6,
kSessionIdFieldNumber = 1,
kTransferPositionFieldNumber = 3,
kConcurrentConnectionsFieldNumber = 4,
kQrCodeFlowFieldNumber = 5,
kAdvancedProtectionEnabledFieldNumber = 7,
kAdvancedProtectionMismatchFieldNumber = 8,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 2;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 6;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int32 transfer_position = 3;
bool has_transfer_position() const;
void clear_transfer_position() ;
::int32_t transfer_position() const;
void set_transfer_position(::int32_t value);
private:
::int32_t _internal_transfer_position() const;
void _internal_set_transfer_position(::int32_t value);
public:
// optional int32 concurrent_connections = 4;
bool has_concurrent_connections() const;
void clear_concurrent_connections() ;
::int32_t concurrent_connections() const;
void set_concurrent_connections(::int32_t value);
private:
::int32_t _internal_concurrent_connections() const;
void _internal_set_concurrent_connections(::int32_t value);
public:
// optional bool qr_code_flow = 5 [deprecated = true];
[[deprecated]] bool has_qr_code_flow() const;
[[deprecated]] void clear_qr_code_flow() ;
[[deprecated]] bool qr_code_flow() const;
[[deprecated]] void set_qr_code_flow(bool value);
private:
bool _internal_qr_code_flow() const;
void _internal_set_qr_code_flow(bool value);
public:
// optional bool advanced_protection_enabled = 7;
bool has_advanced_protection_enabled() const;
void clear_advanced_protection_enabled() ;
bool advanced_protection_enabled() const;
void set_advanced_protection_enabled(bool value);
private:
bool _internal_advanced_protection_enabled() const;
void _internal_set_advanced_protection_enabled(bool value);
public:
// optional bool advanced_protection_mismatch = 8;
bool has_advanced_protection_mismatch() const;
void clear_advanced_protection_mismatch() ;
bool advanced_protection_mismatch() const;
void set_advanced_protection_mismatch(bool value);
private:
bool _internal_advanced_protection_mismatch() const;
void _internal_set_advanced_protection_mismatch(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 8,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendAttachmentsStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
::int32_t transfer_position_;
::int32_t concurrent_connections_;
bool qr_code_flow_;
bool advanced_protection_enabled_;
bool advanced_protection_mismatch_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<63> SharingLog_SendAttachmentsStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_SendAttachmentsEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd) */ {
public:
inline SharingLog_SendAttachmentsEnd() : SharingLog_SendAttachmentsEnd(nullptr) {}
~SharingLog_SendAttachmentsEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_SendAttachmentsEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_SendAttachmentsEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_SendAttachmentsEnd(const SharingLog_SendAttachmentsEnd& from) : SharingLog_SendAttachmentsEnd(nullptr, from) {}
inline SharingLog_SendAttachmentsEnd(SharingLog_SendAttachmentsEnd&& from) noexcept
: SharingLog_SendAttachmentsEnd(nullptr, ::std::move(from)) {}
inline SharingLog_SendAttachmentsEnd& operator=(const SharingLog_SendAttachmentsEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_SendAttachmentsEnd& operator=(SharingLog_SendAttachmentsEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_SendAttachmentsEnd& default_instance() {
return *reinterpret_cast<const SharingLog_SendAttachmentsEnd*>(
&_SharingLog_SendAttachmentsEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 27;
friend void swap(SharingLog_SendAttachmentsEnd& a, SharingLog_SendAttachmentsEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_SendAttachmentsEnd>(arena);
}
void CopyFrom(const SharingLog_SendAttachmentsEnd& from);
void MergeFrom(const SharingLog_SendAttachmentsEnd& from) { SharingLog_SendAttachmentsEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd"; }
explicit SharingLog_SendAttachmentsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_SendAttachmentsEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_SendAttachmentsEnd& from);
SharingLog_SendAttachmentsEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_SendAttachmentsEnd&& from) noexcept
: SharingLog_SendAttachmentsEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kReferrerNameFieldNumber = 9,
kAttachmentsInfoFieldNumber = 6,
kShareTargetInfoFieldNumber = 8,
kSessionIdFieldNumber = 1,
kSentBytesFieldNumber = 2,
kStatusFieldNumber = 3,
kTransferPositionFieldNumber = 4,
kDurationMillisFieldNumber = 7,
kConcurrentConnectionsFieldNumber = 5,
kConnectionLayerStatusFieldNumber = 10,
kFirstSuccessfulTransferDateFieldNumber = 11,
kPreviousSuccessfulTransferDateFieldNumber = 12,
kLifetimeTransferCountFieldNumber = 13,
kConnectionMediumFieldNumber = 14,
kDataUsageFieldNumber = 15,
kIsMutualContactFieldNumber = 16,
};
// optional string referrer_name = 9;
bool has_referrer_name() const;
void clear_referrer_name() ;
const ::std::string& referrer_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_referrer_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_referrer_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_referrer_name();
void set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_referrer_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_referrer_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_referrer_name();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 6;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 8;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// optional int64 sent_bytes = 2;
bool has_sent_bytes() const;
void clear_sent_bytes() ;
::int64_t sent_bytes() const;
void set_sent_bytes(::int64_t value);
private:
::int64_t _internal_sent_bytes() const;
void _internal_set_sent_bytes(::int64_t value);
public:
// optional .location.nearby.proto.sharing.AttachmentTransmissionStatus status = 3;
bool has_status() const;
void clear_status() ;
::location::nearby::proto::sharing::AttachmentTransmissionStatus status() const;
void set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value);
private:
::location::nearby::proto::sharing::AttachmentTransmissionStatus _internal_status() const;
void _internal_set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value);
public:
// optional int32 transfer_position = 4;
bool has_transfer_position() const;
void clear_transfer_position() ;
::int32_t transfer_position() const;
void set_transfer_position(::int32_t value);
private:
::int32_t _internal_transfer_position() const;
void _internal_set_transfer_position(::int32_t value);
public:
// optional int64 duration_millis = 7;
bool has_duration_millis() const;
void clear_duration_millis() ;
::int64_t duration_millis() const;
void set_duration_millis(::int64_t value);
private:
::int64_t _internal_duration_millis() const;
void _internal_set_duration_millis(::int64_t value);
public:
// optional int32 concurrent_connections = 5;
bool has_concurrent_connections() const;
void clear_concurrent_connections() ;
::int32_t concurrent_connections() const;
void set_concurrent_connections(::int32_t value);
private:
::int32_t _internal_concurrent_connections() const;
void _internal_set_concurrent_connections(::int32_t value);
public:
// optional .location.nearby.proto.sharing.ConnectionLayerStatus connection_layer_status = 10;
bool has_connection_layer_status() const;
void clear_connection_layer_status() ;
::location::nearby::proto::sharing::ConnectionLayerStatus connection_layer_status() const;
void set_connection_layer_status(::location::nearby::proto::sharing::ConnectionLayerStatus value);
private:
::location::nearby::proto::sharing::ConnectionLayerStatus _internal_connection_layer_status() const;
void _internal_set_connection_layer_status(::location::nearby::proto::sharing::ConnectionLayerStatus value);
public:
// optional int32 first_successful_transfer_date = 11;
bool has_first_successful_transfer_date() const;
void clear_first_successful_transfer_date() ;
::int32_t first_successful_transfer_date() const;
void set_first_successful_transfer_date(::int32_t value);
private:
::int32_t _internal_first_successful_transfer_date() const;
void _internal_set_first_successful_transfer_date(::int32_t value);
public:
// optional int32 previous_successful_transfer_date = 12;
bool has_previous_successful_transfer_date() const;
void clear_previous_successful_transfer_date() ;
::int32_t previous_successful_transfer_date() const;
void set_previous_successful_transfer_date(::int32_t value);
private:
::int32_t _internal_previous_successful_transfer_date() const;
void _internal_set_previous_successful_transfer_date(::int32_t value);
public:
// optional int32 lifetime_transfer_count = 13;
bool has_lifetime_transfer_count() const;
void clear_lifetime_transfer_count() ;
::int32_t lifetime_transfer_count() const;
void set_lifetime_transfer_count(::int32_t value);
private:
::int32_t _internal_lifetime_transfer_count() const;
void _internal_set_lifetime_transfer_count(::int32_t value);
public:
// optional int32 connection_medium = 14;
bool has_connection_medium() const;
void clear_connection_medium() ;
::int32_t connection_medium() const;
void set_connection_medium(::int32_t value);
private:
::int32_t _internal_connection_medium() const;
void _internal_set_connection_medium(::int32_t value);
public:
// optional .location.nearby.proto.sharing.DataUsage data_usage = 15;
bool has_data_usage() const;
void clear_data_usage() ;
::location::nearby::proto::sharing::DataUsage data_usage() const;
void set_data_usage(::location::nearby::proto::sharing::DataUsage value);
private:
::location::nearby::proto::sharing::DataUsage _internal_data_usage() const;
void _internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value);
public:
// optional bool is_mutual_contact = 16;
bool has_is_mutual_contact() const;
void clear_is_mutual_contact() ;
bool is_mutual_contact() const;
void set_is_mutual_contact(bool value);
private:
bool _internal_is_mutual_contact() const;
void _internal_set_is_mutual_contact(bool value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 16,
5, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_SendAttachmentsEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr referrer_name_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
::int64_t sent_bytes_;
int status_;
::int32_t transfer_position_;
::int64_t duration_millis_;
::int32_t concurrent_connections_;
int connection_layer_status_;
::int32_t first_successful_transfer_date_;
::int32_t previous_successful_transfer_date_;
::int32_t lifetime_transfer_count_;
::int32_t connection_medium_;
int data_usage_;
bool is_mutual_contact_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_SendAttachmentsEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_ReceiveAttachmentsStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart) */ {
public:
inline SharingLog_ReceiveAttachmentsStart() : SharingLog_ReceiveAttachmentsStart(nullptr) {}
~SharingLog_ReceiveAttachmentsStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_ReceiveAttachmentsStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_ReceiveAttachmentsStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_ReceiveAttachmentsStart(const SharingLog_ReceiveAttachmentsStart& from) : SharingLog_ReceiveAttachmentsStart(nullptr, from) {}
inline SharingLog_ReceiveAttachmentsStart(SharingLog_ReceiveAttachmentsStart&& from) noexcept
: SharingLog_ReceiveAttachmentsStart(nullptr, ::std::move(from)) {}
inline SharingLog_ReceiveAttachmentsStart& operator=(const SharingLog_ReceiveAttachmentsStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_ReceiveAttachmentsStart& operator=(SharingLog_ReceiveAttachmentsStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_ReceiveAttachmentsStart& default_instance() {
return *reinterpret_cast<const SharingLog_ReceiveAttachmentsStart*>(
&_SharingLog_ReceiveAttachmentsStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 28;
friend void swap(SharingLog_ReceiveAttachmentsStart& a, SharingLog_ReceiveAttachmentsStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_ReceiveAttachmentsStart>(arena);
}
void CopyFrom(const SharingLog_ReceiveAttachmentsStart& from);
void MergeFrom(const SharingLog_ReceiveAttachmentsStart& from) { SharingLog_ReceiveAttachmentsStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart"; }
explicit SharingLog_ReceiveAttachmentsStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_ReceiveAttachmentsStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_ReceiveAttachmentsStart& from);
SharingLog_ReceiveAttachmentsStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_ReceiveAttachmentsStart&& from) noexcept
: SharingLog_ReceiveAttachmentsStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 2,
kShareTargetInfoFieldNumber = 3,
kSessionIdFieldNumber = 1,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 2;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 3;
bool has_share_target_info() const;
void clear_share_target_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& share_target_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE release_share_target_info();
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL mutable_share_target_info();
void set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE unsafe_arena_release_share_target_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& _internal_share_target_info() const;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL _internal_mutable_share_target_info();
public:
// optional int64 session_id = 1;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_ReceiveAttachmentsStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE share_target_info_;
::int64_t session_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_ReceiveAttachmentsStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_OpenReceivedAttachments final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments) */ {
public:
inline SharingLog_OpenReceivedAttachments() : SharingLog_OpenReceivedAttachments(nullptr) {}
~SharingLog_OpenReceivedAttachments() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_OpenReceivedAttachments));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_OpenReceivedAttachments(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_OpenReceivedAttachments(const SharingLog_OpenReceivedAttachments& from) : SharingLog_OpenReceivedAttachments(nullptr, from) {}
inline SharingLog_OpenReceivedAttachments(SharingLog_OpenReceivedAttachments&& from) noexcept
: SharingLog_OpenReceivedAttachments(nullptr, ::std::move(from)) {}
inline SharingLog_OpenReceivedAttachments& operator=(const SharingLog_OpenReceivedAttachments& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_OpenReceivedAttachments& operator=(SharingLog_OpenReceivedAttachments&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_OpenReceivedAttachments& default_instance() {
return *reinterpret_cast<const SharingLog_OpenReceivedAttachments*>(
&_SharingLog_OpenReceivedAttachments_default_instance_);
}
static constexpr int kIndexInFileMessages = 34;
friend void swap(SharingLog_OpenReceivedAttachments& a, SharingLog_OpenReceivedAttachments& b) { a.Swap(&b); }
inline void Swap(SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_OpenReceivedAttachments>(arena);
}
void CopyFrom(const SharingLog_OpenReceivedAttachments& from);
void MergeFrom(const SharingLog_OpenReceivedAttachments& from) { SharingLog_OpenReceivedAttachments::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments"; }
explicit SharingLog_OpenReceivedAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_OpenReceivedAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_OpenReceivedAttachments& from);
SharingLog_OpenReceivedAttachments(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_OpenReceivedAttachments&& from) noexcept
: SharingLog_OpenReceivedAttachments(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 3,
kSessionIdFieldNumber = 4,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 3;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional int64 session_id = 4;
bool has_session_id() const;
void clear_session_id() ;
::int64_t session_id() const;
void set_session_id(::int64_t value);
private:
::int64_t _internal_session_id() const;
void _internal_set_session_id(::int64_t value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
1, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_OpenReceivedAttachments& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
::int64_t session_id_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<66> SharingLog_OpenReceivedAttachments_class_data_;
// -------------------------------------------------------------------
class SharingLog_DescribeAttachments final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments) */ {
public:
inline SharingLog_DescribeAttachments() : SharingLog_DescribeAttachments(nullptr) {}
~SharingLog_DescribeAttachments() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_DescribeAttachments* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_DescribeAttachments));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_DescribeAttachments(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_DescribeAttachments(const SharingLog_DescribeAttachments& from) : SharingLog_DescribeAttachments(nullptr, from) {}
inline SharingLog_DescribeAttachments(SharingLog_DescribeAttachments&& from) noexcept
: SharingLog_DescribeAttachments(nullptr, ::std::move(from)) {}
inline SharingLog_DescribeAttachments& operator=(const SharingLog_DescribeAttachments& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_DescribeAttachments& operator=(SharingLog_DescribeAttachments&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_DescribeAttachments& default_instance() {
return *reinterpret_cast<const SharingLog_DescribeAttachments*>(
&_SharingLog_DescribeAttachments_default_instance_);
}
static constexpr int kIndexInFileMessages = 22;
friend void swap(SharingLog_DescribeAttachments& a, SharingLog_DescribeAttachments& b) { a.Swap(&b); }
inline void Swap(SharingLog_DescribeAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_DescribeAttachments* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_DescribeAttachments* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_DescribeAttachments>(arena);
}
void CopyFrom(const SharingLog_DescribeAttachments& from);
void MergeFrom(const SharingLog_DescribeAttachments& from) { SharingLog_DescribeAttachments::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_DescribeAttachments* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.DescribeAttachments"; }
explicit SharingLog_DescribeAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_DescribeAttachments(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_DescribeAttachments& from);
SharingLog_DescribeAttachments(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_DescribeAttachments&& from) noexcept
: SharingLog_DescribeAttachments(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 1,
kDownloadDurationFieldNumber = 2,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional .google.protobuf.Duration download_duration = 2;
bool has_download_duration() const;
void clear_download_duration() ;
const ::google::protobuf::Duration& download_duration() const;
[[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_download_duration();
::google::protobuf::Duration* PROTOBUF_NONNULL mutable_download_duration();
void set_allocated_download_duration(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_download_duration(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_download_duration();
private:
const ::google::protobuf::Duration& _internal_download_duration() const;
::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_download_duration();
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_DescribeAttachments& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
::google::protobuf::Duration* PROTOBUF_NULLABLE download_duration_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<62> SharingLog_DescribeAttachments_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudUploadStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart) */ {
public:
inline SharingLog_CloudUploadStart() : SharingLog_CloudUploadStart(nullptr) {}
~SharingLog_CloudUploadStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudUploadStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudUploadStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudUploadStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudUploadStart(const SharingLog_CloudUploadStart& from) : SharingLog_CloudUploadStart(nullptr, from) {}
inline SharingLog_CloudUploadStart(SharingLog_CloudUploadStart&& from) noexcept
: SharingLog_CloudUploadStart(nullptr, ::std::move(from)) {}
inline SharingLog_CloudUploadStart& operator=(const SharingLog_CloudUploadStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudUploadStart& operator=(SharingLog_CloudUploadStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudUploadStart& default_instance() {
return *reinterpret_cast<const SharingLog_CloudUploadStart*>(
&_SharingLog_CloudUploadStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 86;
friend void swap(SharingLog_CloudUploadStart& a, SharingLog_CloudUploadStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudUploadStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudUploadStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudUploadStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudUploadStart>(arena);
}
void CopyFrom(const SharingLog_CloudUploadStart& from);
void MergeFrom(const SharingLog_CloudUploadStart& from) { SharingLog_CloudUploadStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudUploadStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudUploadStart"; }
explicit SharingLog_CloudUploadStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudUploadStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudUploadStart& from);
SharingLog_CloudUploadStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudUploadStart&& from) noexcept
: SharingLog_CloudUploadStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 1,
kActionTypeFieldNumber = 2,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
bool has_action_type() const;
void clear_action_type() ;
::location::nearby::proto::sharing::CloudActionType action_type() const;
void set_action_type(::location::nearby::proto::sharing::CloudActionType value);
private:
::location::nearby::proto::sharing::CloudActionType _internal_action_type() const;
void _internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudUploadStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
int action_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_CloudUploadStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudUploadEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd) */ {
public:
inline SharingLog_CloudUploadEnd() : SharingLog_CloudUploadEnd(nullptr) {}
~SharingLog_CloudUploadEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudUploadEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudUploadEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudUploadEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudUploadEnd(const SharingLog_CloudUploadEnd& from) : SharingLog_CloudUploadEnd(nullptr, from) {}
inline SharingLog_CloudUploadEnd(SharingLog_CloudUploadEnd&& from) noexcept
: SharingLog_CloudUploadEnd(nullptr, ::std::move(from)) {}
inline SharingLog_CloudUploadEnd& operator=(const SharingLog_CloudUploadEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudUploadEnd& operator=(SharingLog_CloudUploadEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudUploadEnd& default_instance() {
return *reinterpret_cast<const SharingLog_CloudUploadEnd*>(
&_SharingLog_CloudUploadEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 87;
friend void swap(SharingLog_CloudUploadEnd& a, SharingLog_CloudUploadEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudUploadEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudUploadEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudUploadEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudUploadEnd>(arena);
}
void CopyFrom(const SharingLog_CloudUploadEnd& from);
void MergeFrom(const SharingLog_CloudUploadEnd& from) { SharingLog_CloudUploadEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudUploadEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd"; }
explicit SharingLog_CloudUploadEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudUploadEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudUploadEnd& from);
SharingLog_CloudUploadEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudUploadEnd&& from) noexcept
: SharingLog_CloudUploadEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kUploadInfosFieldNumber = 1,
kActionTypeFieldNumber = 2,
};
// repeated .nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo upload_infos = 1;
int upload_infos_size() const;
private:
int _internal_upload_infos_size() const;
public:
void clear_upload_infos() ;
::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL mutable_upload_infos(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL mutable_upload_infos();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>& _internal_upload_infos() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL _internal_mutable_upload_infos();
public:
const ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo& upload_infos(int index) const;
::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL add_upload_infos();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>& upload_infos() const;
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
bool has_action_type() const;
void clear_action_type() ;
::location::nearby::proto::sharing::CloudActionType action_type() const;
void set_action_type(::location::nearby::proto::sharing::CloudActionType value);
private:
::location::nearby::proto::sharing::CloudActionType _internal_action_type() const;
void _internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudUploadEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo > upload_infos_;
int action_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<57> SharingLog_CloudUploadEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudDownloadStart final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart) */ {
public:
inline SharingLog_CloudDownloadStart() : SharingLog_CloudDownloadStart(nullptr) {}
~SharingLog_CloudDownloadStart() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudDownloadStart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudDownloadStart));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudDownloadStart(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudDownloadStart(const SharingLog_CloudDownloadStart& from) : SharingLog_CloudDownloadStart(nullptr, from) {}
inline SharingLog_CloudDownloadStart(SharingLog_CloudDownloadStart&& from) noexcept
: SharingLog_CloudDownloadStart(nullptr, ::std::move(from)) {}
inline SharingLog_CloudDownloadStart& operator=(const SharingLog_CloudDownloadStart& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudDownloadStart& operator=(SharingLog_CloudDownloadStart&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudDownloadStart& default_instance() {
return *reinterpret_cast<const SharingLog_CloudDownloadStart*>(
&_SharingLog_CloudDownloadStart_default_instance_);
}
static constexpr int kIndexInFileMessages = 88;
friend void swap(SharingLog_CloudDownloadStart& a, SharingLog_CloudDownloadStart& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudDownloadStart* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudDownloadStart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudDownloadStart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudDownloadStart>(arena);
}
void CopyFrom(const SharingLog_CloudDownloadStart& from);
void MergeFrom(const SharingLog_CloudDownloadStart& from) { SharingLog_CloudDownloadStart::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudDownloadStart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart"; }
explicit SharingLog_CloudDownloadStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudDownloadStart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudDownloadStart& from);
SharingLog_CloudDownloadStart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudDownloadStart&& from) noexcept
: SharingLog_CloudDownloadStart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 1,
kActionTypeFieldNumber = 2,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
bool has_action_type() const;
void clear_action_type() ;
::location::nearby::proto::sharing::CloudActionType action_type() const;
void set_action_type(::location::nearby::proto::sharing::CloudActionType value);
private:
::location::nearby::proto::sharing::CloudActionType _internal_action_type() const;
void _internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudDownloadStart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
int action_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<61> SharingLog_CloudDownloadStart_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudDownloadEnd final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd) */ {
public:
inline SharingLog_CloudDownloadEnd() : SharingLog_CloudDownloadEnd(nullptr) {}
~SharingLog_CloudDownloadEnd() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudDownloadEnd));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudDownloadEnd(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudDownloadEnd(const SharingLog_CloudDownloadEnd& from) : SharingLog_CloudDownloadEnd(nullptr, from) {}
inline SharingLog_CloudDownloadEnd(SharingLog_CloudDownloadEnd&& from) noexcept
: SharingLog_CloudDownloadEnd(nullptr, ::std::move(from)) {}
inline SharingLog_CloudDownloadEnd& operator=(const SharingLog_CloudDownloadEnd& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudDownloadEnd& operator=(SharingLog_CloudDownloadEnd&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudDownloadEnd& default_instance() {
return *reinterpret_cast<const SharingLog_CloudDownloadEnd*>(
&_SharingLog_CloudDownloadEnd_default_instance_);
}
static constexpr int kIndexInFileMessages = 89;
friend void swap(SharingLog_CloudDownloadEnd& a, SharingLog_CloudDownloadEnd& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudDownloadEnd>(arena);
}
void CopyFrom(const SharingLog_CloudDownloadEnd& from);
void MergeFrom(const SharingLog_CloudDownloadEnd& from) { SharingLog_CloudDownloadEnd::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd"; }
explicit SharingLog_CloudDownloadEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudDownloadEnd(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudDownloadEnd& from);
SharingLog_CloudDownloadEnd(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudDownloadEnd&& from) noexcept
: SharingLog_CloudDownloadEnd(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDownloadInfosFieldNumber = 1,
kActionTypeFieldNumber = 2,
};
// repeated .nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo download_infos = 1;
int download_infos_size() const;
private:
int _internal_download_infos_size() const;
public:
void clear_download_infos() ;
::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL mutable_download_infos(int index);
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL mutable_download_infos();
private:
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>& _internal_download_infos() const;
::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL _internal_mutable_download_infos();
public:
const ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo& download_infos(int index) const;
::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL add_download_infos();
const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>& download_infos() const;
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
bool has_action_type() const;
void clear_action_type() ;
::location::nearby::proto::sharing::CloudActionType action_type() const;
void set_action_type(::location::nearby::proto::sharing::CloudActionType value);
private:
::location::nearby::proto::sharing::CloudActionType _internal_action_type() const;
void _internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudDownloadEnd& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo > download_infos_;
int action_type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<59> SharingLog_CloudDownloadEnd_class_data_;
// -------------------------------------------------------------------
class SharingLog_CloudCreateSharingRequest final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest) */ {
public:
inline SharingLog_CloudCreateSharingRequest() : SharingLog_CloudCreateSharingRequest(nullptr) {}
~SharingLog_CloudCreateSharingRequest() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog_CloudCreateSharingRequest));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog_CloudCreateSharingRequest(::google::protobuf::internal::ConstantInitialized);
inline SharingLog_CloudCreateSharingRequest(const SharingLog_CloudCreateSharingRequest& from) : SharingLog_CloudCreateSharingRequest(nullptr, from) {}
inline SharingLog_CloudCreateSharingRequest(SharingLog_CloudCreateSharingRequest&& from) noexcept
: SharingLog_CloudCreateSharingRequest(nullptr, ::std::move(from)) {}
inline SharingLog_CloudCreateSharingRequest& operator=(const SharingLog_CloudCreateSharingRequest& from) {
CopyFrom(from);
return *this;
}
inline SharingLog_CloudCreateSharingRequest& operator=(SharingLog_CloudCreateSharingRequest&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog_CloudCreateSharingRequest& default_instance() {
return *reinterpret_cast<const SharingLog_CloudCreateSharingRequest*>(
&_SharingLog_CloudCreateSharingRequest_default_instance_);
}
static constexpr int kIndexInFileMessages = 84;
friend void swap(SharingLog_CloudCreateSharingRequest& a, SharingLog_CloudCreateSharingRequest& b) { a.Swap(&b); }
inline void Swap(SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog_CloudCreateSharingRequest>(arena);
}
void CopyFrom(const SharingLog_CloudCreateSharingRequest& from);
void MergeFrom(const SharingLog_CloudCreateSharingRequest& from) { SharingLog_CloudCreateSharingRequest::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest"; }
explicit SharingLog_CloudCreateSharingRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog_CloudCreateSharingRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog_CloudCreateSharingRequest& from);
SharingLog_CloudCreateSharingRequest(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog_CloudCreateSharingRequest&& from) noexcept
: SharingLog_CloudCreateSharingRequest(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kAttachmentsInfoFieldNumber = 1,
kAttachmentDownloadLatencyMillisFieldNumber = 3,
kPreviewThumbnailLatencyMillisFieldNumber = 4,
kRpcLatencyMillisFieldNumber = 5,
kResultFieldNumber = 2,
};
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
bool has_attachments_info() const;
void clear_attachments_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& attachments_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE release_attachments_info();
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL mutable_attachments_info();
void set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE unsafe_arena_release_attachments_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& _internal_attachments_info() const;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL _internal_mutable_attachments_info();
public:
// optional int64 attachment_download_latency_millis = 3;
bool has_attachment_download_latency_millis() const;
void clear_attachment_download_latency_millis() ;
::int64_t attachment_download_latency_millis() const;
void set_attachment_download_latency_millis(::int64_t value);
private:
::int64_t _internal_attachment_download_latency_millis() const;
void _internal_set_attachment_download_latency_millis(::int64_t value);
public:
// optional int64 preview_thumbnail_latency_millis = 4;
bool has_preview_thumbnail_latency_millis() const;
void clear_preview_thumbnail_latency_millis() ;
::int64_t preview_thumbnail_latency_millis() const;
void set_preview_thumbnail_latency_millis(::int64_t value);
private:
::int64_t _internal_preview_thumbnail_latency_millis() const;
void _internal_set_preview_thumbnail_latency_millis(::int64_t value);
public:
// optional int64 rpc_latency_millis = 5;
bool has_rpc_latency_millis() const;
void clear_rpc_latency_millis() ;
::int64_t rpc_latency_millis() const;
void set_rpc_latency_millis(::int64_t value);
private:
::int64_t _internal_rpc_latency_millis() const;
void _internal_set_rpc_latency_millis(::int64_t value);
public:
// optional .location.nearby.proto.sharing.CloudCreateSharingResult result = 2;
bool has_result() const;
void clear_result() ;
::location::nearby::proto::sharing::CloudCreateSharingResult result() const;
void set_result(::location::nearby::proto::sharing::CloudCreateSharingResult value);
private:
::location::nearby::proto::sharing::CloudCreateSharingResult _internal_result() const;
void _internal_set_result(::location::nearby::proto::sharing::CloudCreateSharingResult value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog_CloudCreateSharingRequest& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE attachments_info_;
::int64_t attachment_download_latency_millis_;
::int64_t preview_thumbnail_latency_millis_;
::int64_t rpc_latency_millis_;
int result_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<68> SharingLog_CloudCreateSharingRequest_class_data_;
// -------------------------------------------------------------------
class SharingLog final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:nearby.sharing.analytics.proto.SharingLog) */ {
public:
inline SharingLog() : SharingLog(nullptr) {}
~SharingLog() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SharingLog* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SharingLog));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SharingLog(::google::protobuf::internal::ConstantInitialized);
inline SharingLog(const SharingLog& from) : SharingLog(nullptr, from) {}
inline SharingLog(SharingLog&& from) noexcept
: SharingLog(nullptr, ::std::move(from)) {}
inline SharingLog& operator=(const SharingLog& from) {
CopyFrom(from);
return *this;
}
inline SharingLog& operator=(SharingLog&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
}
inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::std::string>();
}
static const SharingLog& default_instance() {
return *reinterpret_cast<const SharingLog*>(
&_SharingLog_default_instance_);
}
static constexpr int kIndexInFileMessages = 91;
friend void swap(SharingLog& a, SharingLog& b) { a.Swap(&b); }
inline void Swap(SharingLog* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SharingLog* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SharingLog* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<SharingLog>(arena);
}
void CopyFrom(const SharingLog& from);
void MergeFrom(const SharingLog& from) { SharingLog::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SharingLog* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nearby.sharing.analytics.proto.SharingLog"; }
explicit SharingLog(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SharingLog(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharingLog& from);
SharingLog(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharingLog&& from) noexcept
: SharingLog(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
// nested types ----------------------------------------------------
using AppInfo = SharingLog_AppInfo;
using DeviceSettings = SharingLog_DeviceSettings;
using PreferencesUsage = SharingLog_PreferencesUsage;
using UnknownEvent = SharingLog_UnknownEvent;
using EstablishConnection = SharingLog_EstablishConnection;
using AcceptAgreements = SharingLog_AcceptAgreements;
using DeclineAgreements = SharingLog_DeclineAgreements;
using EnableNearbySharing = SharingLog_EnableNearbySharing;
using SetAccount = SharingLog_SetAccount;
using SetVisibility = SharingLog_SetVisibility;
using SetDataUsage = SharingLog_SetDataUsage;
using ScanForShareTargetsStart = SharingLog_ScanForShareTargetsStart;
using ScanForShareTargetsEnd = SharingLog_ScanForShareTargetsEnd;
using AdvertiseDevicePresenceStart = SharingLog_AdvertiseDevicePresenceStart;
using AdvertiseDevicePresenceEnd = SharingLog_AdvertiseDevicePresenceEnd;
using SendFastInitialization = SharingLog_SendFastInitialization;
using ReceiveFastInitialization = SharingLog_ReceiveFastInitialization;
using DismissFastInitialization = SharingLog_DismissFastInitialization;
using AutoDismissFastInitialization = SharingLog_AutoDismissFastInitialization;
using EventMetadata = SharingLog_EventMetadata;
using DiscoverShareTarget = SharingLog_DiscoverShareTarget;
using ParsingFailedEndpointId = SharingLog_ParsingFailedEndpointId;
using DescribeAttachments = SharingLog_DescribeAttachments;
using SendIntroduction = SharingLog_SendIntroduction;
using ReceiveIntroduction = SharingLog_ReceiveIntroduction;
using RespondToIntroduction = SharingLog_RespondToIntroduction;
using SendAttachmentsStart = SharingLog_SendAttachmentsStart;
using SendAttachmentsEnd = SharingLog_SendAttachmentsEnd;
using ReceiveAttachmentsStart = SharingLog_ReceiveAttachmentsStart;
using ReceiveAttachmentsEnd = SharingLog_ReceiveAttachmentsEnd;
using CancelConnection = SharingLog_CancelConnection;
using CancelSendingAttachments = SharingLog_CancelSendingAttachments;
using CancelReceivingAttachments = SharingLog_CancelReceivingAttachments;
using ProcessReceivedAttachmentsEnd = SharingLog_ProcessReceivedAttachmentsEnd;
using OpenReceivedAttachments = SharingLog_OpenReceivedAttachments;
using LaunchSetupActivity = SharingLog_LaunchSetupActivity;
using AddContact = SharingLog_AddContact;
using RemoveContact = SharingLog_RemoveContact;
using FastShareServerResponse = SharingLog_FastShareServerResponse;
using SendStart = SharingLog_SendStart;
using AcceptFastInitialization = SharingLog_AcceptFastInitialization;
using LaunchActivity = SharingLog_LaunchActivity;
using DismissPrivacyNotification = SharingLog_DismissPrivacyNotification;
using TapPrivacyNotification = SharingLog_TapPrivacyNotification;
using TapHelp = SharingLog_TapHelp;
using TapFeedback = SharingLog_TapFeedback;
using AddQuickSettingsTile = SharingLog_AddQuickSettingsTile;
using RemoveQuickSettingsTile = SharingLog_RemoveQuickSettingsTile;
using LaunchPhoneConsent = SharingLog_LaunchPhoneConsent;
using DisplayPhoneConsent = SharingLog_DisplayPhoneConsent;
using TapQuickSettingsTile = SharingLog_TapQuickSettingsTile;
using TapQuickSettingsFileShare = SharingLog_TapQuickSettingsFileShare;
using DisplayPrivacyNotification = SharingLog_DisplayPrivacyNotification;
using DefaultOptIn = SharingLog_DefaultOptIn;
using SetDeviceName = SharingLog_SetDeviceName;
using RequestSettingPermissions = SharingLog_RequestSettingPermissions;
using LaunchConsent = SharingLog_LaunchConsent;
using InstallAPKStatus = SharingLog_InstallAPKStatus;
using VerifyAPKStatus = SharingLog_VerifyAPKStatus;
using ToggleShowNotification = SharingLog_ToggleShowNotification;
using DecryptCertificateFailure = SharingLog_DecryptCertificateFailure;
using ShowAllowPermissionAutoAccess = SharingLog_ShowAllowPermissionAutoAccess;
using TapQrCode = SharingLog_TapQrCode;
using QrCodeLinkShown = SharingLog_QrCodeLinkShown;
using FastInitDiscoverDevice = SharingLog_FastInitDiscoverDevice;
using ShareTargetInfo = SharingLog_ShareTargetInfo;
using AttachmentsInfo = SharingLog_AttachmentsInfo;
using TextAttachment = SharingLog_TextAttachment;
using FileAttachment = SharingLog_FileAttachment;
using WifiCredentialsAttachment = SharingLog_WifiCredentialsAttachment;
using AppAttachment = SharingLog_AppAttachment;
using StreamAttachment = SharingLog_StreamAttachment;
using CloudAttachmentInfo = SharingLog_CloudAttachmentInfo;
using AppCrash = SharingLog_AppCrash;
using SetupWizard = SharingLog_SetupWizard;
using SendDesktopNotification = SharingLog_SendDesktopNotification;
using SendDesktopTransferEvent = SharingLog_SendDesktopTransferEvent;
using ShowWaitingForAccept = SharingLog_ShowWaitingForAccept;
using HighQualityMediumSetup = SharingLog_HighQualityMediumSetup;
using RpcCallStatus = SharingLog_RpcCallStatus;
using StartQrCodeSession = SharingLog_StartQrCodeSession;
using QrCodeOpenedInWebClient = SharingLog_QrCodeOpenedInWebClient;
using HatsJointEvent = SharingLog_HatsJointEvent;
using ReceivePreviews = SharingLog_ReceivePreviews;
using CloudCreateSharingRequest = SharingLog_CloudCreateSharingRequest;
using CloudRegisterReceiver = SharingLog_CloudRegisterReceiver;
using CloudUploadStart = SharingLog_CloudUploadStart;
using CloudUploadEnd = SharingLog_CloudUploadEnd;
using CloudDownloadStart = SharingLog_CloudDownloadStart;
using CloudDownloadEnd = SharingLog_CloudDownloadEnd;
using CloudSharingRpcResult = SharingLog_CloudSharingRpcResult;
// accessors -------------------------------------------------------
enum : int {
kUnknownEventFieldNumber = 2,
kAcceptAgreementsFieldNumber = 3,
kEnableNearbySharingFieldNumber = 4,
kSetVisibilityFieldNumber = 5,
kDescribeAttachmentsFieldNumber = 6,
kScanForShareTargetsStartFieldNumber = 7,
kScanForShareTargetsEndFieldNumber = 8,
kAdvertiseDevicePresenceStartFieldNumber = 9,
kAdvertiseDevicePresenceEndFieldNumber = 10,
kSendInitializationFieldNumber = 11,
kReceiveInitializationFieldNumber = 12,
kDiscoverShareTargetFieldNumber = 13,
kSendIntroductionFieldNumber = 14,
kReceiveIntroductionFieldNumber = 15,
kRespondIntroductionFieldNumber = 16,
kSendAttachmentsStartFieldNumber = 17,
kSendAttachmentsEndFieldNumber = 18,
kReceiveAttachmentsStartFieldNumber = 19,
kReceiveAttachmentsEndFieldNumber = 20,
kCancelSendingAttachmentsFieldNumber = 21,
kCancelReceivingAttachmentsFieldNumber = 22,
kOpenReceivedAttachmentsFieldNumber = 23,
kLaunchActivityFieldNumber = 24,
kAddContactFieldNumber = 25,
kRemoveContactFieldNumber = 26,
kFastShareServerResponseFieldNumber = 28,
kSendStartFieldNumber = 29,
kAcceptFastInitializationFieldNumber = 30,
kSetDataUsageFieldNumber = 31,
kEventTypeFieldNumber = 1,
kLogSourceFieldNumber = 27,
kVersionFieldNumber = 32,
kFilesMigrationPhaseFieldNumber = 50,
kAppVersionFieldNumber = 57,
kDismissFastInitializationFieldNumber = 34,
kCancelConnectionFieldNumber = 35,
kDismissPrivacyNotificationFieldNumber = 36,
kTapPrivacyNotificationFieldNumber = 37,
kTapHelpFieldNumber = 38,
kTapFeedbackFieldNumber = 39,
kAddQuickSettingsTileFieldNumber = 40,
kRemoveQuickSettingsTileFieldNumber = 41,
kLaunchPhoneConsentFieldNumber = 42,
kTapQuickSettingsTileFieldNumber = 43,
kInstallApkStatusFieldNumber = 44,
kVerifyApkStatusFieldNumber = 45,
kLaunchConsentFieldNumber = 46,
kProcessReceivedAttachmentsEndFieldNumber = 47,
kToggleShowNotificationFieldNumber = 48,
kSetDeviceNameFieldNumber = 49,
kDeclineAgreementsFieldNumber = 51,
kRequestSettingPermissionsFieldNumber = 52,
kDeviceSettingsFieldNumber = 53,
kEstablishConnectionFieldNumber = 54,
kAutoDismissFastInitializationFieldNumber = 55,
kEventMetadataFieldNumber = 56,
kAppCrashFieldNumber = 58,
kTapQuickSettingsFileShareFieldNumber = 59,
kAppInfoFieldNumber = 60,
kDisplayPrivacyNotificationFieldNumber = 61,
kDisplayPhoneConsentFieldNumber = 62,
kPreferencesUsageFieldNumber = 63,
kDefaultOptInFieldNumber = 64,
kSetupWizardFieldNumber = 65,
kTapQrCodeFieldNumber = 66,
kQrCodeLinkShownFieldNumber = 67,
kParsingFailedEndpointIdFieldNumber = 68,
kFastInitDiscoverDeviceFieldNumber = 69,
kSendDesktopNotificationFieldNumber = 70,
kSendDesktopTransferEventFieldNumber = 72,
kSetAccountFieldNumber = 73,
kDecryptCertificateFailureFieldNumber = 74,
kShowAllowPermissionAutoAccessFieldNumber = 75,
kShowWaitingForAcceptFieldNumber = 76,
kHighQualityMediumSetupFieldNumber = 77,
kRpcCallStatusFieldNumber = 78,
kStartQrCodeSessionFieldNumber = 79,
kQrCodeOpenedInWebClientFieldNumber = 80,
kHatsJointEventFieldNumber = 81,
kReceivePreviewsFieldNumber = 82,
kCloudCreateSharingRequestFieldNumber = 83,
kCloudRegisterReceiverFieldNumber = 84,
kCloudUploadStartFieldNumber = 85,
kCloudUploadEndFieldNumber = 86,
kCloudDownloadStartFieldNumber = 87,
kCloudDownloadEndFieldNumber = 88,
kCloudSharingRpcResultFieldNumber = 89,
kEventCategoryFieldNumber = 33,
};
// optional .nearby.sharing.analytics.proto.SharingLog.UnknownEvent unknown_event = 2;
bool has_unknown_event() const;
void clear_unknown_event() ;
const ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent& unknown_event() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE release_unknown_event();
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NONNULL mutable_unknown_event();
void set_allocated_unknown_event(::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_unknown_event(::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE unsafe_arena_release_unknown_event();
private:
const ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent& _internal_unknown_event() const;
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NONNULL _internal_mutable_unknown_event();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AcceptAgreements accept_agreements = 3;
bool has_accept_agreements() const;
void clear_accept_agreements() ;
const ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements& accept_agreements() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE release_accept_agreements();
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NONNULL mutable_accept_agreements();
void set_allocated_accept_agreements(::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_accept_agreements(::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE unsafe_arena_release_accept_agreements();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements& _internal_accept_agreements() const;
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NONNULL _internal_mutable_accept_agreements();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing enable_nearby_sharing = 4;
bool has_enable_nearby_sharing() const;
void clear_enable_nearby_sharing() ;
const ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing& enable_nearby_sharing() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE release_enable_nearby_sharing();
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NONNULL mutable_enable_nearby_sharing();
void set_allocated_enable_nearby_sharing(::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_enable_nearby_sharing(::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE unsafe_arena_release_enable_nearby_sharing();
private:
const ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing& _internal_enable_nearby_sharing() const;
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NONNULL _internal_mutable_enable_nearby_sharing();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SetVisibility set_visibility = 5;
bool has_set_visibility() const;
void clear_set_visibility() ;
const ::nearby::sharing::analytics::proto::SharingLog_SetVisibility& set_visibility() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE release_set_visibility();
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NONNULL mutable_set_visibility();
void set_allocated_set_visibility(::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_set_visibility(::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE unsafe_arena_release_set_visibility();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SetVisibility& _internal_set_visibility() const;
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NONNULL _internal_mutable_set_visibility();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DescribeAttachments describe_attachments = 6;
bool has_describe_attachments() const;
void clear_describe_attachments() ;
const ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments& describe_attachments() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE release_describe_attachments();
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NONNULL mutable_describe_attachments();
void set_allocated_describe_attachments(::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_describe_attachments(::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE unsafe_arena_release_describe_attachments();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments& _internal_describe_attachments() const;
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NONNULL _internal_mutable_describe_attachments();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart scan_for_share_targets_start = 7;
bool has_scan_for_share_targets_start() const;
void clear_scan_for_share_targets_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart& scan_for_share_targets_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE release_scan_for_share_targets_start();
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL mutable_scan_for_share_targets_start();
void set_allocated_scan_for_share_targets_start(::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_scan_for_share_targets_start(::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE unsafe_arena_release_scan_for_share_targets_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart& _internal_scan_for_share_targets_start() const;
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL _internal_mutable_scan_for_share_targets_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd scan_for_share_targets_end = 8;
bool has_scan_for_share_targets_end() const;
void clear_scan_for_share_targets_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd& scan_for_share_targets_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE release_scan_for_share_targets_end();
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL mutable_scan_for_share_targets_end();
void set_allocated_scan_for_share_targets_end(::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_scan_for_share_targets_end(::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE unsafe_arena_release_scan_for_share_targets_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd& _internal_scan_for_share_targets_end() const;
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL _internal_mutable_scan_for_share_targets_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart advertise_device_presence_start = 9;
bool has_advertise_device_presence_start() const;
void clear_advertise_device_presence_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart& advertise_device_presence_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE release_advertise_device_presence_start();
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL mutable_advertise_device_presence_start();
void set_allocated_advertise_device_presence_start(::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_advertise_device_presence_start(::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE unsafe_arena_release_advertise_device_presence_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart& _internal_advertise_device_presence_start() const;
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL _internal_mutable_advertise_device_presence_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd advertise_device_presence_end = 10;
bool has_advertise_device_presence_end() const;
void clear_advertise_device_presence_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd& advertise_device_presence_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE release_advertise_device_presence_end();
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL mutable_advertise_device_presence_end();
void set_allocated_advertise_device_presence_end(::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_advertise_device_presence_end(::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE unsafe_arena_release_advertise_device_presence_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd& _internal_advertise_device_presence_end() const;
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL _internal_mutable_advertise_device_presence_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendFastInitialization send_initialization = 11;
bool has_send_initialization() const;
void clear_send_initialization() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization& send_initialization() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE release_send_initialization();
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NONNULL mutable_send_initialization();
void set_allocated_send_initialization(::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_initialization(::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE unsafe_arena_release_send_initialization();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization& _internal_send_initialization() const;
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NONNULL _internal_mutable_send_initialization();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization receive_initialization = 12;
bool has_receive_initialization() const;
void clear_receive_initialization() ;
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization& receive_initialization() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE release_receive_initialization();
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL mutable_receive_initialization();
void set_allocated_receive_initialization(::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_receive_initialization(::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE unsafe_arena_release_receive_initialization();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization& _internal_receive_initialization() const;
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL _internal_mutable_receive_initialization();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget discover_share_target = 13;
bool has_discover_share_target() const;
void clear_discover_share_target() ;
const ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget& discover_share_target() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE release_discover_share_target();
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL mutable_discover_share_target();
void set_allocated_discover_share_target(::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_discover_share_target(::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE unsafe_arena_release_discover_share_target();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget& _internal_discover_share_target() const;
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL _internal_mutable_discover_share_target();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendIntroduction send_introduction = 14;
bool has_send_introduction() const;
void clear_send_introduction() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction& send_introduction() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE release_send_introduction();
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NONNULL mutable_send_introduction();
void set_allocated_send_introduction(::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_introduction(::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE unsafe_arena_release_send_introduction();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction& _internal_send_introduction() const;
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NONNULL _internal_mutable_send_introduction();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction receive_introduction = 15;
bool has_receive_introduction() const;
void clear_receive_introduction() ;
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction& receive_introduction() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE release_receive_introduction();
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL mutable_receive_introduction();
void set_allocated_receive_introduction(::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_receive_introduction(::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE unsafe_arena_release_receive_introduction();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction& _internal_receive_introduction() const;
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL _internal_mutable_receive_introduction();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction respond_introduction = 16;
bool has_respond_introduction() const;
void clear_respond_introduction() ;
const ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction& respond_introduction() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE release_respond_introduction();
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NONNULL mutable_respond_introduction();
void set_allocated_respond_introduction(::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_respond_introduction(::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE unsafe_arena_release_respond_introduction();
private:
const ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction& _internal_respond_introduction() const;
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NONNULL _internal_mutable_respond_introduction();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart send_attachments_start = 17;
bool has_send_attachments_start() const;
void clear_send_attachments_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart& send_attachments_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE release_send_attachments_start();
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL mutable_send_attachments_start();
void set_allocated_send_attachments_start(::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_attachments_start(::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE unsafe_arena_release_send_attachments_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart& _internal_send_attachments_start() const;
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL _internal_mutable_send_attachments_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd send_attachments_end = 18;
bool has_send_attachments_end() const;
void clear_send_attachments_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd& send_attachments_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE release_send_attachments_end();
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL mutable_send_attachments_end();
void set_allocated_send_attachments_end(::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_attachments_end(::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE unsafe_arena_release_send_attachments_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd& _internal_send_attachments_end() const;
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL _internal_mutable_send_attachments_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart receive_attachments_start = 19;
bool has_receive_attachments_start() const;
void clear_receive_attachments_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart& receive_attachments_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE release_receive_attachments_start();
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL mutable_receive_attachments_start();
void set_allocated_receive_attachments_start(::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_receive_attachments_start(::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE unsafe_arena_release_receive_attachments_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart& _internal_receive_attachments_start() const;
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL _internal_mutable_receive_attachments_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd receive_attachments_end = 20;
bool has_receive_attachments_end() const;
void clear_receive_attachments_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd& receive_attachments_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE release_receive_attachments_end();
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL mutable_receive_attachments_end();
void set_allocated_receive_attachments_end(::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_receive_attachments_end(::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE unsafe_arena_release_receive_attachments_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd& _internal_receive_attachments_end() const;
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL _internal_mutable_receive_attachments_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CancelSendingAttachments cancel_sending_attachments = 21;
bool has_cancel_sending_attachments() const;
void clear_cancel_sending_attachments() ;
const ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments& cancel_sending_attachments() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE release_cancel_sending_attachments();
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL mutable_cancel_sending_attachments();
void set_allocated_cancel_sending_attachments(::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cancel_sending_attachments(::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE unsafe_arena_release_cancel_sending_attachments();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments& _internal_cancel_sending_attachments() const;
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL _internal_mutable_cancel_sending_attachments();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CancelReceivingAttachments cancel_receiving_attachments = 22;
bool has_cancel_receiving_attachments() const;
void clear_cancel_receiving_attachments() ;
const ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments& cancel_receiving_attachments() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE release_cancel_receiving_attachments();
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL mutable_cancel_receiving_attachments();
void set_allocated_cancel_receiving_attachments(::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cancel_receiving_attachments(::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE unsafe_arena_release_cancel_receiving_attachments();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments& _internal_cancel_receiving_attachments() const;
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL _internal_mutable_cancel_receiving_attachments();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments open_received_attachments = 23;
bool has_open_received_attachments() const;
void clear_open_received_attachments() ;
const ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments& open_received_attachments() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE release_open_received_attachments();
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL mutable_open_received_attachments();
void set_allocated_open_received_attachments(::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_open_received_attachments(::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE unsafe_arena_release_open_received_attachments();
private:
const ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments& _internal_open_received_attachments() const;
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL _internal_mutable_open_received_attachments();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.LaunchActivity launch_activity = 24;
bool has_launch_activity() const;
void clear_launch_activity() ;
const ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity& launch_activity() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE release_launch_activity();
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NONNULL mutable_launch_activity();
void set_allocated_launch_activity(::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_launch_activity(::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE unsafe_arena_release_launch_activity();
private:
const ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity& _internal_launch_activity() const;
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NONNULL _internal_mutable_launch_activity();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AddContact add_contact = 25;
bool has_add_contact() const;
void clear_add_contact() ;
const ::nearby::sharing::analytics::proto::SharingLog_AddContact& add_contact() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE release_add_contact();
::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NONNULL mutable_add_contact();
void set_allocated_add_contact(::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_add_contact(::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE unsafe_arena_release_add_contact();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AddContact& _internal_add_contact() const;
::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NONNULL _internal_mutable_add_contact();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.RemoveContact remove_contact = 26;
bool has_remove_contact() const;
void clear_remove_contact() ;
const ::nearby::sharing::analytics::proto::SharingLog_RemoveContact& remove_contact() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE release_remove_contact();
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NONNULL mutable_remove_contact();
void set_allocated_remove_contact(::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_remove_contact(::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE unsafe_arena_release_remove_contact();
private:
const ::nearby::sharing::analytics::proto::SharingLog_RemoveContact& _internal_remove_contact() const;
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NONNULL _internal_mutable_remove_contact();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse fast_share_server_response = 28;
bool has_fast_share_server_response() const;
void clear_fast_share_server_response() ;
const ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse& fast_share_server_response() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE release_fast_share_server_response();
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NONNULL mutable_fast_share_server_response();
void set_allocated_fast_share_server_response(::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_fast_share_server_response(::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE unsafe_arena_release_fast_share_server_response();
private:
const ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse& _internal_fast_share_server_response() const;
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NONNULL _internal_mutable_fast_share_server_response();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendStart send_start = 29;
bool has_send_start() const;
void clear_send_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendStart& send_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE release_send_start();
::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NONNULL mutable_send_start();
void set_allocated_send_start(::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_start(::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE unsafe_arena_release_send_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendStart& _internal_send_start() const;
::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NONNULL _internal_mutable_send_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AcceptFastInitialization accept_fast_initialization = 30;
bool has_accept_fast_initialization() const;
void clear_accept_fast_initialization() ;
const ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization& accept_fast_initialization() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE release_accept_fast_initialization();
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL mutable_accept_fast_initialization();
void set_allocated_accept_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_accept_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE unsafe_arena_release_accept_fast_initialization();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization& _internal_accept_fast_initialization() const;
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL _internal_mutable_accept_fast_initialization();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SetDataUsage set_data_usage = 31;
bool has_set_data_usage() const;
void clear_set_data_usage() ;
const ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage& set_data_usage() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE release_set_data_usage();
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NONNULL mutable_set_data_usage();
void set_allocated_set_data_usage(::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_set_data_usage(::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE unsafe_arena_release_set_data_usage();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage& _internal_set_data_usage() const;
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NONNULL _internal_mutable_set_data_usage();
public:
// optional .location.nearby.proto.sharing.EventType event_type = 1;
bool has_event_type() const;
void clear_event_type() ;
::location::nearby::proto::sharing::EventType event_type() const;
void set_event_type(::location::nearby::proto::sharing::EventType value);
private:
::location::nearby::proto::sharing::EventType _internal_event_type() const;
void _internal_set_event_type(::location::nearby::proto::sharing::EventType value);
public:
// optional .location.nearby.proto.sharing.LogSource log_source = 27;
bool has_log_source() const;
void clear_log_source() ;
::location::nearby::proto::sharing::LogSource log_source() const;
void set_log_source(::location::nearby::proto::sharing::LogSource value);
private:
::location::nearby::proto::sharing::LogSource _internal_log_source() const;
void _internal_set_log_source(::location::nearby::proto::sharing::LogSource value);
public:
// optional string version = 32;
bool has_version() const;
void clear_version() ;
const ::std::string& version() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_version(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_version();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_version();
void set_allocated_version(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_version() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_version(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_version();
public:
// optional string files_migration_phase = 50;
bool has_files_migration_phase() const;
void clear_files_migration_phase() ;
const ::std::string& files_migration_phase() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_files_migration_phase(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_files_migration_phase();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_files_migration_phase();
void set_allocated_files_migration_phase(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_files_migration_phase() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_files_migration_phase(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_files_migration_phase();
public:
// optional string app_version = 57 [deprecated = true];
[[deprecated]] bool has_app_version() const;
[[deprecated]] void clear_app_version() ;
[[deprecated]] const ::std::string& app_version() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
[[deprecated]] void set_app_version(Arg_&& arg, Args_... args);
[[deprecated]] ::std::string* PROTOBUF_NONNULL mutable_app_version();
[[deprecated]] [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_app_version();
[[deprecated]] void set_allocated_app_version(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_app_version() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_app_version(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_app_version();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DismissFastInitialization dismiss_fast_initialization = 34;
bool has_dismiss_fast_initialization() const;
void clear_dismiss_fast_initialization() ;
const ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization& dismiss_fast_initialization() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE release_dismiss_fast_initialization();
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NONNULL mutable_dismiss_fast_initialization();
void set_allocated_dismiss_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_dismiss_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE unsafe_arena_release_dismiss_fast_initialization();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization& _internal_dismiss_fast_initialization() const;
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NONNULL _internal_mutable_dismiss_fast_initialization();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CancelConnection cancel_connection = 35;
bool has_cancel_connection() const;
void clear_cancel_connection() ;
const ::nearby::sharing::analytics::proto::SharingLog_CancelConnection& cancel_connection() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE release_cancel_connection();
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NONNULL mutable_cancel_connection();
void set_allocated_cancel_connection(::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cancel_connection(::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE unsafe_arena_release_cancel_connection();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CancelConnection& _internal_cancel_connection() const;
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NONNULL _internal_mutable_cancel_connection();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DismissPrivacyNotification dismiss_privacy_notification = 36;
bool has_dismiss_privacy_notification() const;
void clear_dismiss_privacy_notification() ;
const ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification& dismiss_privacy_notification() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE release_dismiss_privacy_notification();
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL mutable_dismiss_privacy_notification();
void set_allocated_dismiss_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_dismiss_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE unsafe_arena_release_dismiss_privacy_notification();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification& _internal_dismiss_privacy_notification() const;
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL _internal_mutable_dismiss_privacy_notification();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TapPrivacyNotification tap_privacy_notification = 37;
bool has_tap_privacy_notification() const;
void clear_tap_privacy_notification() ;
const ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification& tap_privacy_notification() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE release_tap_privacy_notification();
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL mutable_tap_privacy_notification();
void set_allocated_tap_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_tap_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE unsafe_arena_release_tap_privacy_notification();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification& _internal_tap_privacy_notification() const;
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL _internal_mutable_tap_privacy_notification();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TapHelp tap_help = 38;
bool has_tap_help() const;
void clear_tap_help() ;
const ::nearby::sharing::analytics::proto::SharingLog_TapHelp& tap_help() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE release_tap_help();
::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NONNULL mutable_tap_help();
void set_allocated_tap_help(::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_tap_help(::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE unsafe_arena_release_tap_help();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TapHelp& _internal_tap_help() const;
::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NONNULL _internal_mutable_tap_help();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TapFeedback tap_feedback = 39;
bool has_tap_feedback() const;
void clear_tap_feedback() ;
const ::nearby::sharing::analytics::proto::SharingLog_TapFeedback& tap_feedback() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE release_tap_feedback();
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NONNULL mutable_tap_feedback();
void set_allocated_tap_feedback(::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_tap_feedback(::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE unsafe_arena_release_tap_feedback();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TapFeedback& _internal_tap_feedback() const;
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NONNULL _internal_mutable_tap_feedback();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AddQuickSettingsTile add_quick_settings_tile = 40;
bool has_add_quick_settings_tile() const;
void clear_add_quick_settings_tile() ;
const ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile& add_quick_settings_tile() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE release_add_quick_settings_tile();
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL mutable_add_quick_settings_tile();
void set_allocated_add_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_add_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE unsafe_arena_release_add_quick_settings_tile();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile& _internal_add_quick_settings_tile() const;
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL _internal_mutable_add_quick_settings_tile();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.RemoveQuickSettingsTile remove_quick_settings_tile = 41;
bool has_remove_quick_settings_tile() const;
void clear_remove_quick_settings_tile() ;
const ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile& remove_quick_settings_tile() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE release_remove_quick_settings_tile();
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL mutable_remove_quick_settings_tile();
void set_allocated_remove_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_remove_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE unsafe_arena_release_remove_quick_settings_tile();
private:
const ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile& _internal_remove_quick_settings_tile() const;
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL _internal_mutable_remove_quick_settings_tile();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.LaunchPhoneConsent launch_phone_consent = 42;
bool has_launch_phone_consent() const;
void clear_launch_phone_consent() ;
const ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent& launch_phone_consent() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE release_launch_phone_consent();
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL mutable_launch_phone_consent();
void set_allocated_launch_phone_consent(::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_launch_phone_consent(::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE unsafe_arena_release_launch_phone_consent();
private:
const ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent& _internal_launch_phone_consent() const;
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL _internal_mutable_launch_phone_consent();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsTile tap_quick_settings_tile = 43;
bool has_tap_quick_settings_tile() const;
void clear_tap_quick_settings_tile() ;
const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile& tap_quick_settings_tile() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE release_tap_quick_settings_tile();
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL mutable_tap_quick_settings_tile();
void set_allocated_tap_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_tap_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE unsafe_arena_release_tap_quick_settings_tile();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile& _internal_tap_quick_settings_tile() const;
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL _internal_mutable_tap_quick_settings_tile();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus install_apk_status = 44;
bool has_install_apk_status() const;
void clear_install_apk_status() ;
const ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus& install_apk_status() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE release_install_apk_status();
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NONNULL mutable_install_apk_status();
void set_allocated_install_apk_status(::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_install_apk_status(::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE unsafe_arena_release_install_apk_status();
private:
const ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus& _internal_install_apk_status() const;
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NONNULL _internal_mutable_install_apk_status();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus verify_apk_status = 45;
bool has_verify_apk_status() const;
void clear_verify_apk_status() ;
const ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus& verify_apk_status() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE release_verify_apk_status();
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL mutable_verify_apk_status();
void set_allocated_verify_apk_status(::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_verify_apk_status(::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE unsafe_arena_release_verify_apk_status();
private:
const ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus& _internal_verify_apk_status() const;
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL _internal_mutable_verify_apk_status();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.LaunchConsent launch_consent = 46;
bool has_launch_consent() const;
void clear_launch_consent() ;
const ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent& launch_consent() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE release_launch_consent();
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NONNULL mutable_launch_consent();
void set_allocated_launch_consent(::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_launch_consent(::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE unsafe_arena_release_launch_consent();
private:
const ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent& _internal_launch_consent() const;
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NONNULL _internal_mutable_launch_consent();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd process_received_attachments_end = 47;
bool has_process_received_attachments_end() const;
void clear_process_received_attachments_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd& process_received_attachments_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE release_process_received_attachments_end();
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL mutable_process_received_attachments_end();
void set_allocated_process_received_attachments_end(::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_process_received_attachments_end(::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE unsafe_arena_release_process_received_attachments_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd& _internal_process_received_attachments_end() const;
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL _internal_mutable_process_received_attachments_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification toggle_show_notification = 48;
bool has_toggle_show_notification() const;
void clear_toggle_show_notification() ;
const ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification& toggle_show_notification() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE release_toggle_show_notification();
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NONNULL mutable_toggle_show_notification();
void set_allocated_toggle_show_notification(::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_toggle_show_notification(::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE unsafe_arena_release_toggle_show_notification();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification& _internal_toggle_show_notification() const;
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NONNULL _internal_mutable_toggle_show_notification();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SetDeviceName set_device_name = 49;
bool has_set_device_name() const;
void clear_set_device_name() ;
const ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName& set_device_name() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE release_set_device_name();
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NONNULL mutable_set_device_name();
void set_allocated_set_device_name(::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_set_device_name(::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE unsafe_arena_release_set_device_name();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName& _internal_set_device_name() const;
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NONNULL _internal_mutable_set_device_name();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DeclineAgreements decline_agreements = 51;
bool has_decline_agreements() const;
void clear_decline_agreements() ;
const ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements& decline_agreements() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE release_decline_agreements();
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NONNULL mutable_decline_agreements();
void set_allocated_decline_agreements(::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_decline_agreements(::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE unsafe_arena_release_decline_agreements();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements& _internal_decline_agreements() const;
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NONNULL _internal_mutable_decline_agreements();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions request_setting_permissions = 52;
bool has_request_setting_permissions() const;
void clear_request_setting_permissions() ;
const ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions& request_setting_permissions() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE release_request_setting_permissions();
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL mutable_request_setting_permissions();
void set_allocated_request_setting_permissions(::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_request_setting_permissions(::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE unsafe_arena_release_request_setting_permissions();
private:
const ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions& _internal_request_setting_permissions() const;
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL _internal_mutable_request_setting_permissions();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DeviceSettings device_settings = 53;
bool has_device_settings() const;
void clear_device_settings() ;
const ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings& device_settings() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE release_device_settings();
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NONNULL mutable_device_settings();
void set_allocated_device_settings(::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_device_settings(::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE unsafe_arena_release_device_settings();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings& _internal_device_settings() const;
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NONNULL _internal_mutable_device_settings();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.EstablishConnection establish_connection = 54;
bool has_establish_connection() const;
void clear_establish_connection() ;
const ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection& establish_connection() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE release_establish_connection();
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NONNULL mutable_establish_connection();
void set_allocated_establish_connection(::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_establish_connection(::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE unsafe_arena_release_establish_connection();
private:
const ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection& _internal_establish_connection() const;
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NONNULL _internal_mutable_establish_connection();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AutoDismissFastInitialization auto_dismiss_fast_initialization = 55;
bool has_auto_dismiss_fast_initialization() const;
void clear_auto_dismiss_fast_initialization() ;
const ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization& auto_dismiss_fast_initialization() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE release_auto_dismiss_fast_initialization();
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL mutable_auto_dismiss_fast_initialization();
void set_allocated_auto_dismiss_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_auto_dismiss_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE unsafe_arena_release_auto_dismiss_fast_initialization();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization& _internal_auto_dismiss_fast_initialization() const;
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL _internal_mutable_auto_dismiss_fast_initialization();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.EventMetadata event_metadata = 56;
bool has_event_metadata() const;
void clear_event_metadata() ;
const ::nearby::sharing::analytics::proto::SharingLog_EventMetadata& event_metadata() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE release_event_metadata();
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NONNULL mutable_event_metadata();
void set_allocated_event_metadata(::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_event_metadata(::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE unsafe_arena_release_event_metadata();
private:
const ::nearby::sharing::analytics::proto::SharingLog_EventMetadata& _internal_event_metadata() const;
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NONNULL _internal_mutable_event_metadata();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AppCrash app_crash = 58;
bool has_app_crash() const;
void clear_app_crash() ;
const ::nearby::sharing::analytics::proto::SharingLog_AppCrash& app_crash() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE release_app_crash();
::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NONNULL mutable_app_crash();
void set_allocated_app_crash(::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_app_crash(::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE unsafe_arena_release_app_crash();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AppCrash& _internal_app_crash() const;
::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NONNULL _internal_mutable_app_crash();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsFileShare tap_quick_settings_file_share = 59;
bool has_tap_quick_settings_file_share() const;
void clear_tap_quick_settings_file_share() ;
const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare& tap_quick_settings_file_share() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE release_tap_quick_settings_file_share();
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL mutable_tap_quick_settings_file_share();
void set_allocated_tap_quick_settings_file_share(::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_tap_quick_settings_file_share(::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE unsafe_arena_release_tap_quick_settings_file_share();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare& _internal_tap_quick_settings_file_share() const;
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL _internal_mutable_tap_quick_settings_file_share();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.AppInfo app_info = 60;
bool has_app_info() const;
void clear_app_info() ;
const ::nearby::sharing::analytics::proto::SharingLog_AppInfo& app_info() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE release_app_info();
::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NONNULL mutable_app_info();
void set_allocated_app_info(::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_app_info(::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE unsafe_arena_release_app_info();
private:
const ::nearby::sharing::analytics::proto::SharingLog_AppInfo& _internal_app_info() const;
::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NONNULL _internal_mutable_app_info();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DisplayPrivacyNotification display_privacy_notification = 61;
bool has_display_privacy_notification() const;
void clear_display_privacy_notification() ;
const ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification& display_privacy_notification() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE release_display_privacy_notification();
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL mutable_display_privacy_notification();
void set_allocated_display_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_display_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE unsafe_arena_release_display_privacy_notification();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification& _internal_display_privacy_notification() const;
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL _internal_mutable_display_privacy_notification();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DisplayPhoneConsent display_phone_consent = 62;
bool has_display_phone_consent() const;
void clear_display_phone_consent() ;
const ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent& display_phone_consent() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE release_display_phone_consent();
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL mutable_display_phone_consent();
void set_allocated_display_phone_consent(::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_display_phone_consent(::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE unsafe_arena_release_display_phone_consent();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent& _internal_display_phone_consent() const;
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL _internal_mutable_display_phone_consent();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.PreferencesUsage preferences_usage = 63;
bool has_preferences_usage() const;
void clear_preferences_usage() ;
const ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage& preferences_usage() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE release_preferences_usage();
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NONNULL mutable_preferences_usage();
void set_allocated_preferences_usage(::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_preferences_usage(::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE unsafe_arena_release_preferences_usage();
private:
const ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage& _internal_preferences_usage() const;
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NONNULL _internal_mutable_preferences_usage();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DefaultOptIn default_opt_in = 64;
bool has_default_opt_in() const;
void clear_default_opt_in() ;
const ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn& default_opt_in() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE release_default_opt_in();
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NONNULL mutable_default_opt_in();
void set_allocated_default_opt_in(::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_default_opt_in(::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE unsafe_arena_release_default_opt_in();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn& _internal_default_opt_in() const;
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NONNULL _internal_mutable_default_opt_in();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SetupWizard setup_wizard = 65;
bool has_setup_wizard() const;
void clear_setup_wizard() ;
const ::nearby::sharing::analytics::proto::SharingLog_SetupWizard& setup_wizard() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE release_setup_wizard();
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NONNULL mutable_setup_wizard();
void set_allocated_setup_wizard(::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_setup_wizard(::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE unsafe_arena_release_setup_wizard();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SetupWizard& _internal_setup_wizard() const;
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NONNULL _internal_mutable_setup_wizard();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.TapQrCode tap_qr_code = 66;
bool has_tap_qr_code() const;
void clear_tap_qr_code() ;
const ::nearby::sharing::analytics::proto::SharingLog_TapQrCode& tap_qr_code() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE release_tap_qr_code();
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NONNULL mutable_tap_qr_code();
void set_allocated_tap_qr_code(::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_tap_qr_code(::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE unsafe_arena_release_tap_qr_code();
private:
const ::nearby::sharing::analytics::proto::SharingLog_TapQrCode& _internal_tap_qr_code() const;
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NONNULL _internal_mutable_tap_qr_code();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.QrCodeLinkShown qr_code_link_shown = 67;
bool has_qr_code_link_shown() const;
void clear_qr_code_link_shown() ;
const ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown& qr_code_link_shown() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE release_qr_code_link_shown();
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL mutable_qr_code_link_shown();
void set_allocated_qr_code_link_shown(::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_qr_code_link_shown(::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE unsafe_arena_release_qr_code_link_shown();
private:
const ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown& _internal_qr_code_link_shown() const;
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL _internal_mutable_qr_code_link_shown();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId parsing_failed_endpoint_id = 68;
bool has_parsing_failed_endpoint_id() const;
void clear_parsing_failed_endpoint_id() ;
const ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId& parsing_failed_endpoint_id() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE release_parsing_failed_endpoint_id();
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL mutable_parsing_failed_endpoint_id();
void set_allocated_parsing_failed_endpoint_id(::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_parsing_failed_endpoint_id(::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE unsafe_arena_release_parsing_failed_endpoint_id();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId& _internal_parsing_failed_endpoint_id() const;
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL _internal_mutable_parsing_failed_endpoint_id();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice fast_init_discover_device = 69;
bool has_fast_init_discover_device() const;
void clear_fast_init_discover_device() ;
const ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice& fast_init_discover_device() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE release_fast_init_discover_device();
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL mutable_fast_init_discover_device();
void set_allocated_fast_init_discover_device(::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_fast_init_discover_device(::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE unsafe_arena_release_fast_init_discover_device();
private:
const ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice& _internal_fast_init_discover_device() const;
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL _internal_mutable_fast_init_discover_device();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification send_desktop_notification = 70;
bool has_send_desktop_notification() const;
void clear_send_desktop_notification() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification& send_desktop_notification() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE release_send_desktop_notification();
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NONNULL mutable_send_desktop_notification();
void set_allocated_send_desktop_notification(::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_desktop_notification(::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE unsafe_arena_release_send_desktop_notification();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification& _internal_send_desktop_notification() const;
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NONNULL _internal_mutable_send_desktop_notification();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent send_desktop_transfer_event = 72;
bool has_send_desktop_transfer_event() const;
void clear_send_desktop_transfer_event() ;
const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent& send_desktop_transfer_event() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE release_send_desktop_transfer_event();
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL mutable_send_desktop_transfer_event();
void set_allocated_send_desktop_transfer_event(::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_send_desktop_transfer_event(::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE unsafe_arena_release_send_desktop_transfer_event();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent& _internal_send_desktop_transfer_event() const;
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL _internal_mutable_send_desktop_transfer_event();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.SetAccount set_account = 73;
bool has_set_account() const;
void clear_set_account() ;
const ::nearby::sharing::analytics::proto::SharingLog_SetAccount& set_account() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE release_set_account();
::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NONNULL mutable_set_account();
void set_allocated_set_account(::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_set_account(::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE unsafe_arena_release_set_account();
private:
const ::nearby::sharing::analytics::proto::SharingLog_SetAccount& _internal_set_account() const;
::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NONNULL _internal_mutable_set_account();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure decrypt_certificate_failure = 74;
bool has_decrypt_certificate_failure() const;
void clear_decrypt_certificate_failure() ;
const ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure& decrypt_certificate_failure() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE release_decrypt_certificate_failure();
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL mutable_decrypt_certificate_failure();
void set_allocated_decrypt_certificate_failure(::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_decrypt_certificate_failure(::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE unsafe_arena_release_decrypt_certificate_failure();
private:
const ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure& _internal_decrypt_certificate_failure() const;
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL _internal_mutable_decrypt_certificate_failure();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess show_allow_permission_auto_access = 75;
bool has_show_allow_permission_auto_access() const;
void clear_show_allow_permission_auto_access() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess& show_allow_permission_auto_access() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE release_show_allow_permission_auto_access();
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL mutable_show_allow_permission_auto_access();
void set_allocated_show_allow_permission_auto_access(::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_show_allow_permission_auto_access(::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE unsafe_arena_release_show_allow_permission_auto_access();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess& _internal_show_allow_permission_auto_access() const;
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL _internal_mutable_show_allow_permission_auto_access();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept show_waiting_for_accept = 76;
bool has_show_waiting_for_accept() const;
void clear_show_waiting_for_accept() ;
const ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept& show_waiting_for_accept() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE release_show_waiting_for_accept();
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL mutable_show_waiting_for_accept();
void set_allocated_show_waiting_for_accept(::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_show_waiting_for_accept(::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE unsafe_arena_release_show_waiting_for_accept();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept& _internal_show_waiting_for_accept() const;
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL _internal_mutable_show_waiting_for_accept();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup high_quality_medium_setup = 77;
bool has_high_quality_medium_setup() const;
void clear_high_quality_medium_setup() ;
const ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup& high_quality_medium_setup() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE release_high_quality_medium_setup();
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL mutable_high_quality_medium_setup();
void set_allocated_high_quality_medium_setup(::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_high_quality_medium_setup(::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE unsafe_arena_release_high_quality_medium_setup();
private:
const ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup& _internal_high_quality_medium_setup() const;
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL _internal_mutable_high_quality_medium_setup();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.RpcCallStatus rpc_call_status = 78;
bool has_rpc_call_status() const;
void clear_rpc_call_status() ;
const ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus& rpc_call_status() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE release_rpc_call_status();
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NONNULL mutable_rpc_call_status();
void set_allocated_rpc_call_status(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_rpc_call_status(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE unsafe_arena_release_rpc_call_status();
private:
const ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus& _internal_rpc_call_status() const;
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NONNULL _internal_mutable_rpc_call_status();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.StartQrCodeSession start_qr_code_session = 79;
bool has_start_qr_code_session() const;
void clear_start_qr_code_session() ;
const ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession& start_qr_code_session() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE release_start_qr_code_session();
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NONNULL mutable_start_qr_code_session();
void set_allocated_start_qr_code_session(::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_start_qr_code_session(::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE unsafe_arena_release_start_qr_code_session();
private:
const ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession& _internal_start_qr_code_session() const;
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NONNULL _internal_mutable_start_qr_code_session();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient qr_code_opened_in_web_client = 80;
bool has_qr_code_opened_in_web_client() const;
void clear_qr_code_opened_in_web_client() ;
const ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient& qr_code_opened_in_web_client() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE release_qr_code_opened_in_web_client();
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL mutable_qr_code_opened_in_web_client();
void set_allocated_qr_code_opened_in_web_client(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_qr_code_opened_in_web_client(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE unsafe_arena_release_qr_code_opened_in_web_client();
private:
const ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient& _internal_qr_code_opened_in_web_client() const;
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL _internal_mutable_qr_code_opened_in_web_client();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.HatsJointEvent hats_joint_event = 81;
bool has_hats_joint_event() const;
void clear_hats_joint_event() ;
const ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent& hats_joint_event() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE release_hats_joint_event();
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NONNULL mutable_hats_joint_event();
void set_allocated_hats_joint_event(::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_hats_joint_event(::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE unsafe_arena_release_hats_joint_event();
private:
const ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent& _internal_hats_joint_event() const;
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NONNULL _internal_mutable_hats_joint_event();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.ReceivePreviews receive_previews = 82;
bool has_receive_previews() const;
void clear_receive_previews() ;
const ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews& receive_previews() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE release_receive_previews();
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NONNULL mutable_receive_previews();
void set_allocated_receive_previews(::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_receive_previews(::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE unsafe_arena_release_receive_previews();
private:
const ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews& _internal_receive_previews() const;
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NONNULL _internal_mutable_receive_previews();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest cloud_create_sharing_request = 83;
bool has_cloud_create_sharing_request() const;
void clear_cloud_create_sharing_request() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest& cloud_create_sharing_request() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE release_cloud_create_sharing_request();
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL mutable_cloud_create_sharing_request();
void set_allocated_cloud_create_sharing_request(::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_create_sharing_request(::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE unsafe_arena_release_cloud_create_sharing_request();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest& _internal_cloud_create_sharing_request() const;
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL _internal_mutable_cloud_create_sharing_request();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver cloud_register_receiver = 84;
bool has_cloud_register_receiver() const;
void clear_cloud_register_receiver() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver& cloud_register_receiver() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE release_cloud_register_receiver();
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL mutable_cloud_register_receiver();
void set_allocated_cloud_register_receiver(::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_register_receiver(::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE unsafe_arena_release_cloud_register_receiver();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver& _internal_cloud_register_receiver() const;
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL _internal_mutable_cloud_register_receiver();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudUploadStart cloud_upload_start = 85;
bool has_cloud_upload_start() const;
void clear_cloud_upload_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart& cloud_upload_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE release_cloud_upload_start();
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NONNULL mutable_cloud_upload_start();
void set_allocated_cloud_upload_start(::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_upload_start(::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE unsafe_arena_release_cloud_upload_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart& _internal_cloud_upload_start() const;
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NONNULL _internal_mutable_cloud_upload_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd cloud_upload_end = 86;
bool has_cloud_upload_end() const;
void clear_cloud_upload_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd& cloud_upload_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE release_cloud_upload_end();
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NONNULL mutable_cloud_upload_end();
void set_allocated_cloud_upload_end(::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_upload_end(::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE unsafe_arena_release_cloud_upload_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd& _internal_cloud_upload_end() const;
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NONNULL _internal_mutable_cloud_upload_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart cloud_download_start = 87;
bool has_cloud_download_start() const;
void clear_cloud_download_start() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart& cloud_download_start() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE release_cloud_download_start();
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NONNULL mutable_cloud_download_start();
void set_allocated_cloud_download_start(::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_download_start(::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE unsafe_arena_release_cloud_download_start();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart& _internal_cloud_download_start() const;
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NONNULL _internal_mutable_cloud_download_start();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd cloud_download_end = 88;
bool has_cloud_download_end() const;
void clear_cloud_download_end() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd& cloud_download_end() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE release_cloud_download_end();
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL mutable_cloud_download_end();
void set_allocated_cloud_download_end(::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_download_end(::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE unsafe_arena_release_cloud_download_end();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd& _internal_cloud_download_end() const;
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL _internal_mutable_cloud_download_end();
public:
// optional .nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult cloud_sharing_rpc_result = 89;
bool has_cloud_sharing_rpc_result() const;
void clear_cloud_sharing_rpc_result() ;
const ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult& cloud_sharing_rpc_result() const;
[[nodiscard]] ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE release_cloud_sharing_rpc_result();
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL mutable_cloud_sharing_rpc_result();
void set_allocated_cloud_sharing_rpc_result(::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_cloud_sharing_rpc_result(::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE value);
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE unsafe_arena_release_cloud_sharing_rpc_result();
private:
const ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult& _internal_cloud_sharing_rpc_result() const;
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL _internal_mutable_cloud_sharing_rpc_result();
public:
// optional .location.nearby.proto.sharing.EventCategory event_category = 33;
bool has_event_category() const;
void clear_event_category() ;
::location::nearby::proto::sharing::EventCategory event_category() const;
void set_event_category(::location::nearby::proto::sharing::EventCategory value);
private:
::location::nearby::proto::sharing::EventCategory _internal_event_category() const;
void _internal_set_event_category(::location::nearby::proto::sharing::EventCategory value);
public:
// @@protoc_insertion_point(class_scope:nearby.sharing.analytics.proto.SharingLog)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<5, 88,
85, 0,
13>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SharingLog& from_msg);
::google::protobuf::internal::HasBits<3> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE unknown_event_;
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE accept_agreements_;
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE enable_nearby_sharing_;
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE set_visibility_;
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE describe_attachments_;
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE scan_for_share_targets_start_;
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE scan_for_share_targets_end_;
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE advertise_device_presence_start_;
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE advertise_device_presence_end_;
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE send_initialization_;
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE receive_initialization_;
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE discover_share_target_;
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE send_introduction_;
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE receive_introduction_;
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE respond_introduction_;
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE send_attachments_start_;
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE send_attachments_end_;
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE receive_attachments_start_;
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE receive_attachments_end_;
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE cancel_sending_attachments_;
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE cancel_receiving_attachments_;
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE open_received_attachments_;
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE launch_activity_;
::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE add_contact_;
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE remove_contact_;
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE fast_share_server_response_;
::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE send_start_;
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE accept_fast_initialization_;
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE set_data_usage_;
int event_type_;
int log_source_;
::google::protobuf::internal::ArenaStringPtr version_;
::google::protobuf::internal::ArenaStringPtr files_migration_phase_;
::google::protobuf::internal::ArenaStringPtr app_version_;
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE dismiss_fast_initialization_;
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE cancel_connection_;
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE dismiss_privacy_notification_;
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE tap_privacy_notification_;
::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE tap_help_;
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE tap_feedback_;
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE add_quick_settings_tile_;
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE remove_quick_settings_tile_;
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE launch_phone_consent_;
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE tap_quick_settings_tile_;
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE install_apk_status_;
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE verify_apk_status_;
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE launch_consent_;
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE process_received_attachments_end_;
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE toggle_show_notification_;
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE set_device_name_;
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE decline_agreements_;
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE request_setting_permissions_;
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE device_settings_;
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE establish_connection_;
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE auto_dismiss_fast_initialization_;
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE event_metadata_;
::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE app_crash_;
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE tap_quick_settings_file_share_;
::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE app_info_;
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE display_privacy_notification_;
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE display_phone_consent_;
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE preferences_usage_;
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE default_opt_in_;
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE setup_wizard_;
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE tap_qr_code_;
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE qr_code_link_shown_;
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE parsing_failed_endpoint_id_;
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE fast_init_discover_device_;
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE send_desktop_notification_;
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE send_desktop_transfer_event_;
::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE set_account_;
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE decrypt_certificate_failure_;
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE show_allow_permission_auto_access_;
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE show_waiting_for_accept_;
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE high_quality_medium_setup_;
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE rpc_call_status_;
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE start_qr_code_session_;
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE qr_code_opened_in_web_client_;
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE hats_joint_event_;
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE receive_previews_;
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE cloud_create_sharing_request_;
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE cloud_register_receiver_;
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE cloud_upload_start_;
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE cloud_upload_end_;
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE cloud_download_start_;
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE cloud_download_end_;
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE cloud_sharing_rpc_result_;
int event_category_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto;
};
extern const ::google::protobuf::internal::ClassDataLite<42> SharingLog_class_data_;
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// SharingLog_AppInfo
// optional string app_version = 1;
inline bool SharingLog_AppInfo::has_app_version() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_AppInfo::clear_app_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_version_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_AppInfo::app_version() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_version)
return _internal_app_version();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_AppInfo::set_app_version(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.app_version_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_version)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppInfo::mutable_app_version()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_app_version();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_version)
return _s;
}
inline const ::std::string& SharingLog_AppInfo::_internal_app_version() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.app_version_.Get();
}
inline void SharingLog_AppInfo::_internal_set_app_version(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_version_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppInfo::_internal_mutable_app_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.app_version_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_AppInfo::release_app_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_version)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.app_version_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.app_version_.Set("", GetArena());
}
return released;
}
inline void SharingLog_AppInfo::set_allocated_app_version(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.app_version_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.app_version_.IsDefault()) {
_impl_.app_version_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_version)
}
// optional string app_language = 2;
inline bool SharingLog_AppInfo::has_app_language() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_AppInfo::clear_app_language() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_language_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::std::string& SharingLog_AppInfo::app_language() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_language)
return _internal_app_language();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_AppInfo::set_app_language(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
_impl_.app_language_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_language)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppInfo::mutable_app_language()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::std::string* _s = _internal_mutable_app_language();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_language)
return _s;
}
inline const ::std::string& SharingLog_AppInfo::_internal_app_language() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.app_language_.Get();
}
inline void SharingLog_AppInfo::_internal_set_app_language(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_language_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppInfo::_internal_mutable_app_language() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.app_language_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_AppInfo::release_app_language() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_language)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
auto* released = _impl_.app_language_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.app_language_.Set("", GetArena());
}
return released;
}
inline void SharingLog_AppInfo::set_allocated_app_language(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.app_language_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.app_language_.IsDefault()) {
_impl_.app_language_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.AppInfo.app_language)
}
// optional string update_track = 3;
inline bool SharingLog_AppInfo::has_update_track() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_AppInfo::clear_update_track() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.update_track_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline const ::std::string& SharingLog_AppInfo::update_track() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppInfo.update_track)
return _internal_update_track();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_AppInfo::set_update_track(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
_impl_.update_track_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppInfo.update_track)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppInfo::mutable_update_track()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::std::string* _s = _internal_mutable_update_track();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AppInfo.update_track)
return _s;
}
inline const ::std::string& SharingLog_AppInfo::_internal_update_track() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.update_track_.Get();
}
inline void SharingLog_AppInfo::_internal_set_update_track(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.update_track_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppInfo::_internal_mutable_update_track() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.update_track_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_AppInfo::release_update_track() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.AppInfo.update_track)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
auto* released = _impl_.update_track_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.update_track_.Set("", GetArena());
}
return released;
}
inline void SharingLog_AppInfo::set_allocated_update_track(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.update_track_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.update_track_.IsDefault()) {
_impl_.update_track_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.AppInfo.update_track)
}
// -------------------------------------------------------------------
// SharingLog_DeviceSettings
// optional .location.nearby.proto.sharing.Visibility visibility = 1;
inline bool SharingLog_DeviceSettings::has_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_DeviceSettings::clear_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.visibility_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_DeviceSettings::visibility() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.visibility)
return _internal_visibility();
}
inline void SharingLog_DeviceSettings::set_visibility(::location::nearby::proto::sharing::Visibility value) {
_internal_set_visibility(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.visibility)
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_DeviceSettings::_internal_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::Visibility>(_impl_.visibility_);
}
inline void SharingLog_DeviceSettings::_internal_set_visibility(::location::nearby::proto::sharing::Visibility value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::Visibility_internal_data_));
_impl_.visibility_ = value;
}
// optional .location.nearby.proto.sharing.DataUsage data_usage = 2;
inline bool SharingLog_DeviceSettings::has_data_usage() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_DeviceSettings::clear_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.data_usage_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_DeviceSettings::data_usage() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.data_usage)
return _internal_data_usage();
}
inline void SharingLog_DeviceSettings::set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
_internal_set_data_usage(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.data_usage)
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_DeviceSettings::_internal_data_usage() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DataUsage>(_impl_.data_usage_);
}
inline void SharingLog_DeviceSettings::_internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DataUsage_internal_data_));
_impl_.data_usage_ = value;
}
// optional int32 device_name_size = 3;
inline bool SharingLog_DeviceSettings::has_device_name_size() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_DeviceSettings::clear_device_name_size() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_name_size_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int32_t SharingLog_DeviceSettings::device_name_size() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.device_name_size)
return _internal_device_name_size();
}
inline void SharingLog_DeviceSettings::set_device_name_size(::int32_t value) {
_internal_set_device_name_size(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.device_name_size)
}
inline ::int32_t SharingLog_DeviceSettings::_internal_device_name_size() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.device_name_size_;
}
inline void SharingLog_DeviceSettings::_internal_set_device_name_size(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_name_size_ = value;
}
// optional bool is_show_notification_enabled = 4;
inline bool SharingLog_DeviceSettings::has_is_show_notification_enabled() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_DeviceSettings::clear_is_show_notification_enabled() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_show_notification_enabled_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline bool SharingLog_DeviceSettings::is_show_notification_enabled() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_show_notification_enabled)
return _internal_is_show_notification_enabled();
}
inline void SharingLog_DeviceSettings::set_is_show_notification_enabled(bool value) {
_internal_set_is_show_notification_enabled(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_show_notification_enabled)
}
inline bool SharingLog_DeviceSettings::_internal_is_show_notification_enabled() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_show_notification_enabled_;
}
inline void SharingLog_DeviceSettings::_internal_set_is_show_notification_enabled(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_show_notification_enabled_ = value;
}
// optional bool is_bt_enabled = 5;
inline bool SharingLog_DeviceSettings::has_is_bt_enabled() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_DeviceSettings::clear_is_bt_enabled() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_bt_enabled_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline bool SharingLog_DeviceSettings::is_bt_enabled() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_bt_enabled)
return _internal_is_bt_enabled();
}
inline void SharingLog_DeviceSettings::set_is_bt_enabled(bool value) {
_internal_set_is_bt_enabled(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_bt_enabled)
}
inline bool SharingLog_DeviceSettings::_internal_is_bt_enabled() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_bt_enabled_;
}
inline void SharingLog_DeviceSettings::_internal_set_is_bt_enabled(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_bt_enabled_ = value;
}
// optional bool is_location_enabled = 6;
inline bool SharingLog_DeviceSettings::has_is_location_enabled() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_DeviceSettings::clear_is_location_enabled() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_location_enabled_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline bool SharingLog_DeviceSettings::is_location_enabled() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_location_enabled)
return _internal_is_location_enabled();
}
inline void SharingLog_DeviceSettings::set_is_location_enabled(bool value) {
_internal_set_is_location_enabled(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_location_enabled)
}
inline bool SharingLog_DeviceSettings::_internal_is_location_enabled() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_location_enabled_;
}
inline void SharingLog_DeviceSettings::_internal_set_is_location_enabled(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_location_enabled_ = value;
}
// optional bool is_wifi_enabled = 7;
inline bool SharingLog_DeviceSettings::has_is_wifi_enabled() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_DeviceSettings::clear_is_wifi_enabled() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_wifi_enabled_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline bool SharingLog_DeviceSettings::is_wifi_enabled() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_wifi_enabled)
return _internal_is_wifi_enabled();
}
inline void SharingLog_DeviceSettings::set_is_wifi_enabled(bool value) {
_internal_set_is_wifi_enabled(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.is_wifi_enabled)
}
inline bool SharingLog_DeviceSettings::_internal_is_wifi_enabled() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_wifi_enabled_;
}
inline void SharingLog_DeviceSettings::_internal_set_is_wifi_enabled(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_wifi_enabled_ = value;
}
// optional int32 first_successful_transfer_date = 8;
inline bool SharingLog_DeviceSettings::has_first_successful_transfer_date() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_DeviceSettings::clear_first_successful_transfer_date() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.first_successful_transfer_date_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::int32_t SharingLog_DeviceSettings::first_successful_transfer_date() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.first_successful_transfer_date)
return _internal_first_successful_transfer_date();
}
inline void SharingLog_DeviceSettings::set_first_successful_transfer_date(::int32_t value) {
_internal_set_first_successful_transfer_date(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.first_successful_transfer_date)
}
inline ::int32_t SharingLog_DeviceSettings::_internal_first_successful_transfer_date() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.first_successful_transfer_date_;
}
inline void SharingLog_DeviceSettings::_internal_set_first_successful_transfer_date(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.first_successful_transfer_date_ = value;
}
// optional int32 previous_successful_transfer_date = 9;
inline bool SharingLog_DeviceSettings::has_previous_successful_transfer_date() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
return value;
}
inline void SharingLog_DeviceSettings::clear_previous_successful_transfer_date() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_successful_transfer_date_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline ::int32_t SharingLog_DeviceSettings::previous_successful_transfer_date() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.previous_successful_transfer_date)
return _internal_previous_successful_transfer_date();
}
inline void SharingLog_DeviceSettings::set_previous_successful_transfer_date(::int32_t value) {
_internal_set_previous_successful_transfer_date(value);
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.previous_successful_transfer_date)
}
inline ::int32_t SharingLog_DeviceSettings::_internal_previous_successful_transfer_date() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.previous_successful_transfer_date_;
}
inline void SharingLog_DeviceSettings::_internal_set_previous_successful_transfer_date(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_successful_transfer_date_ = value;
}
// optional int32 lifetime_transfer_count = 10;
inline bool SharingLog_DeviceSettings::has_lifetime_transfer_count() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
return value;
}
inline void SharingLog_DeviceSettings::clear_lifetime_transfer_count() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lifetime_transfer_count_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline ::int32_t SharingLog_DeviceSettings::lifetime_transfer_count() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.lifetime_transfer_count)
return _internal_lifetime_transfer_count();
}
inline void SharingLog_DeviceSettings::set_lifetime_transfer_count(::int32_t value) {
_internal_set_lifetime_transfer_count(value);
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.lifetime_transfer_count)
}
inline ::int32_t SharingLog_DeviceSettings::_internal_lifetime_transfer_count() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.lifetime_transfer_count_;
}
inline void SharingLog_DeviceSettings::_internal_set_lifetime_transfer_count(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lifetime_transfer_count_ = value;
}
// optional .location.nearby.proto.sharing.ContactAccess contact_access = 11;
inline bool SharingLog_DeviceSettings::has_contact_access() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
return value;
}
inline void SharingLog_DeviceSettings::clear_contact_access() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.contact_access_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000400U);
}
inline ::location::nearby::proto::sharing::ContactAccess SharingLog_DeviceSettings::contact_access() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.contact_access)
return _internal_contact_access();
}
inline void SharingLog_DeviceSettings::set_contact_access(::location::nearby::proto::sharing::ContactAccess value) {
_internal_set_contact_access(value);
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.contact_access)
}
inline ::location::nearby::proto::sharing::ContactAccess SharingLog_DeviceSettings::_internal_contact_access() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ContactAccess>(_impl_.contact_access_);
}
inline void SharingLog_DeviceSettings::_internal_set_contact_access(::location::nearby::proto::sharing::ContactAccess value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ContactAccess_internal_data_));
_impl_.contact_access_ = value;
}
// optional .location.nearby.proto.sharing.IdentityVerification identity_verification = 12;
inline bool SharingLog_DeviceSettings::has_identity_verification() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
return value;
}
inline void SharingLog_DeviceSettings::clear_identity_verification() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.identity_verification_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000800U);
}
inline ::location::nearby::proto::sharing::IdentityVerification SharingLog_DeviceSettings::identity_verification() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.identity_verification)
return _internal_identity_verification();
}
inline void SharingLog_DeviceSettings::set_identity_verification(::location::nearby::proto::sharing::IdentityVerification value) {
_internal_set_identity_verification(value);
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DeviceSettings.identity_verification)
}
inline ::location::nearby::proto::sharing::IdentityVerification SharingLog_DeviceSettings::_internal_identity_verification() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::IdentityVerification>(_impl_.identity_verification_);
}
inline void SharingLog_DeviceSettings::_internal_set_identity_verification(::location::nearby::proto::sharing::IdentityVerification value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::IdentityVerification_internal_data_));
_impl_.identity_verification_ = value;
}
// -------------------------------------------------------------------
// SharingLog_PreferencesUsage
// optional .location.nearby.proto.sharing.PreferencesAction action = 1;
inline bool SharingLog_PreferencesUsage::has_action() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_PreferencesUsage::clear_action() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::PreferencesAction SharingLog_PreferencesUsage::action() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.action)
return _internal_action();
}
inline void SharingLog_PreferencesUsage::set_action(::location::nearby::proto::sharing::PreferencesAction value) {
_internal_set_action(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.action)
}
inline ::location::nearby::proto::sharing::PreferencesAction SharingLog_PreferencesUsage::_internal_action() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::PreferencesAction>(_impl_.action_);
}
inline void SharingLog_PreferencesUsage::_internal_set_action(::location::nearby::proto::sharing::PreferencesAction value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::PreferencesAction_internal_data_));
_impl_.action_ = value;
}
// optional .location.nearby.proto.sharing.PreferencesActionStatus action_status = 2;
inline bool SharingLog_PreferencesUsage::has_action_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_PreferencesUsage::clear_action_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::PreferencesActionStatus SharingLog_PreferencesUsage::action_status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.action_status)
return _internal_action_status();
}
inline void SharingLog_PreferencesUsage::set_action_status(::location::nearby::proto::sharing::PreferencesActionStatus value) {
_internal_set_action_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.action_status)
}
inline ::location::nearby::proto::sharing::PreferencesActionStatus SharingLog_PreferencesUsage::_internal_action_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::PreferencesActionStatus>(_impl_.action_status_);
}
inline void SharingLog_PreferencesUsage::_internal_set_action_status(::location::nearby::proto::sharing::PreferencesActionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::PreferencesActionStatus_internal_data_));
_impl_.action_status_ = value;
}
// optional .location.nearby.proto.sharing.PreferencesAction prev_sub_action = 3;
inline bool SharingLog_PreferencesUsage::has_prev_sub_action() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_PreferencesUsage::clear_prev_sub_action() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.prev_sub_action_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::PreferencesAction SharingLog_PreferencesUsage::prev_sub_action() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.prev_sub_action)
return _internal_prev_sub_action();
}
inline void SharingLog_PreferencesUsage::set_prev_sub_action(::location::nearby::proto::sharing::PreferencesAction value) {
_internal_set_prev_sub_action(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.prev_sub_action)
}
inline ::location::nearby::proto::sharing::PreferencesAction SharingLog_PreferencesUsage::_internal_prev_sub_action() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::PreferencesAction>(_impl_.prev_sub_action_);
}
inline void SharingLog_PreferencesUsage::_internal_set_prev_sub_action(::location::nearby::proto::sharing::PreferencesAction value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::PreferencesAction_internal_data_));
_impl_.prev_sub_action_ = value;
}
// optional .location.nearby.proto.sharing.PreferencesAction next_sub_action = 4;
inline bool SharingLog_PreferencesUsage::has_next_sub_action() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_PreferencesUsage::clear_next_sub_action() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.next_sub_action_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::location::nearby::proto::sharing::PreferencesAction SharingLog_PreferencesUsage::next_sub_action() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.next_sub_action)
return _internal_next_sub_action();
}
inline void SharingLog_PreferencesUsage::set_next_sub_action(::location::nearby::proto::sharing::PreferencesAction value) {
_internal_set_next_sub_action(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.PreferencesUsage.next_sub_action)
}
inline ::location::nearby::proto::sharing::PreferencesAction SharingLog_PreferencesUsage::_internal_next_sub_action() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::PreferencesAction>(_impl_.next_sub_action_);
}
inline void SharingLog_PreferencesUsage::_internal_set_next_sub_action(::location::nearby::proto::sharing::PreferencesAction value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::PreferencesAction_internal_data_));
_impl_.next_sub_action_ = value;
}
// -------------------------------------------------------------------
// SharingLog_UnknownEvent
// -------------------------------------------------------------------
// SharingLog_EstablishConnection
// optional .location.nearby.proto.sharing.EstablishConnectionStatus status = 1;
inline bool SharingLog_EstablishConnection::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_EstablishConnection::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::location::nearby::proto::sharing::EstablishConnectionStatus SharingLog_EstablishConnection::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.status)
return _internal_status();
}
inline void SharingLog_EstablishConnection::set_status(::location::nearby::proto::sharing::EstablishConnectionStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.status)
}
inline ::location::nearby::proto::sharing::EstablishConnectionStatus SharingLog_EstablishConnection::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::EstablishConnectionStatus>(_impl_.status_);
}
inline void SharingLog_EstablishConnection::_internal_set_status(::location::nearby::proto::sharing::EstablishConnectionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::EstablishConnectionStatus_internal_data_));
_impl_.status_ = value;
}
// optional int64 session_id = 2;
inline bool SharingLog_EstablishConnection::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_EstablishConnection::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_EstablishConnection::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.session_id)
return _internal_session_id();
}
inline void SharingLog_EstablishConnection::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.session_id)
}
inline ::int64_t SharingLog_EstablishConnection::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_EstablishConnection::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int32 transfer_position = 3;
inline bool SharingLog_EstablishConnection::has_transfer_position() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_EstablishConnection::clear_transfer_position() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::int32_t SharingLog_EstablishConnection::transfer_position() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.transfer_position)
return _internal_transfer_position();
}
inline void SharingLog_EstablishConnection::set_transfer_position(::int32_t value) {
_internal_set_transfer_position(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.transfer_position)
}
inline ::int32_t SharingLog_EstablishConnection::_internal_transfer_position() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transfer_position_;
}
inline void SharingLog_EstablishConnection::_internal_set_transfer_position(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = value;
}
// optional int32 concurrent_connections = 4;
inline bool SharingLog_EstablishConnection::has_concurrent_connections() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_EstablishConnection::clear_concurrent_connections() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::int32_t SharingLog_EstablishConnection::concurrent_connections() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.concurrent_connections)
return _internal_concurrent_connections();
}
inline void SharingLog_EstablishConnection::set_concurrent_connections(::int32_t value) {
_internal_set_concurrent_connections(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.concurrent_connections)
}
inline ::int32_t SharingLog_EstablishConnection::_internal_concurrent_connections() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.concurrent_connections_;
}
inline void SharingLog_EstablishConnection::_internal_set_concurrent_connections(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = value;
}
// optional int64 duration_millis = 5;
inline bool SharingLog_EstablishConnection::has_duration_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_EstablishConnection::clear_duration_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::int64_t SharingLog_EstablishConnection::duration_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.duration_millis)
return _internal_duration_millis();
}
inline void SharingLog_EstablishConnection::set_duration_millis(::int64_t value) {
_internal_set_duration_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.duration_millis)
}
inline ::int64_t SharingLog_EstablishConnection::_internal_duration_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.duration_millis_;
}
inline void SharingLog_EstablishConnection::_internal_set_duration_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 6;
inline bool SharingLog_EstablishConnection::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_EstablishConnection::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_EstablishConnection::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_EstablishConnection::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_EstablishConnection::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_EstablishConnection::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_EstablishConnection::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_EstablishConnection::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_EstablishConnection::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.share_target_info)
return _msg;
}
inline void SharingLog_EstablishConnection::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.share_target_info)
}
// optional string referrer_name = 7;
inline bool SharingLog_EstablishConnection::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_EstablishConnection::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_EstablishConnection::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_EstablishConnection::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EstablishConnection::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_EstablishConnection::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_EstablishConnection::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EstablishConnection::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_EstablishConnection::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_EstablishConnection::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.referrer_name)
}
// optional bool qr_code_flow = 8 [deprecated = true];
inline bool SharingLog_EstablishConnection::has_qr_code_flow() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
return value;
}
inline void SharingLog_EstablishConnection::clear_qr_code_flow() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline bool SharingLog_EstablishConnection::qr_code_flow() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_flow)
return _internal_qr_code_flow();
}
inline void SharingLog_EstablishConnection::set_qr_code_flow(bool value) {
_internal_set_qr_code_flow(value);
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_flow)
}
inline bool SharingLog_EstablishConnection::_internal_qr_code_flow() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.qr_code_flow_;
}
inline void SharingLog_EstablishConnection::_internal_set_qr_code_flow(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = value;
}
// optional bool is_incoming_connection = 9;
inline bool SharingLog_EstablishConnection::has_is_incoming_connection() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
return value;
}
inline void SharingLog_EstablishConnection::clear_is_incoming_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_incoming_connection_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline bool SharingLog_EstablishConnection::is_incoming_connection() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.is_incoming_connection)
return _internal_is_incoming_connection();
}
inline void SharingLog_EstablishConnection::set_is_incoming_connection(bool value) {
_internal_set_is_incoming_connection(value);
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.is_incoming_connection)
}
inline bool SharingLog_EstablishConnection::_internal_is_incoming_connection() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_incoming_connection_;
}
inline void SharingLog_EstablishConnection::_internal_set_is_incoming_connection(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_incoming_connection_ = value;
}
// optional .google.protobuf.Duration qr_code_receiver_connect_latency = 10;
inline bool SharingLog_EstablishConnection::has_qr_code_receiver_connect_latency() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.qr_code_receiver_connect_latency_ != nullptr);
return value;
}
inline const ::google::protobuf::Duration& SharingLog_EstablishConnection::_internal_qr_code_receiver_connect_latency() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::google::protobuf::Duration* p = _impl_.qr_code_receiver_connect_latency_;
return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
}
inline const ::google::protobuf::Duration& SharingLog_EstablishConnection::qr_code_receiver_connect_latency() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_receiver_connect_latency)
return _internal_qr_code_receiver_connect_latency();
}
inline void SharingLog_EstablishConnection::unsafe_arena_set_allocated_qr_code_receiver_connect_latency(
::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.qr_code_receiver_connect_latency_);
}
_impl_.qr_code_receiver_connect_latency_ = reinterpret_cast<::google::protobuf::Duration*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_receiver_connect_latency)
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_EstablishConnection::release_qr_code_receiver_connect_latency() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::google::protobuf::Duration* released = _impl_.qr_code_receiver_connect_latency_;
_impl_.qr_code_receiver_connect_latency_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_EstablishConnection::unsafe_arena_release_qr_code_receiver_connect_latency() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_receiver_connect_latency)
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::google::protobuf::Duration* temp = _impl_.qr_code_receiver_connect_latency_;
_impl_.qr_code_receiver_connect_latency_ = nullptr;
return temp;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_EstablishConnection::_internal_mutable_qr_code_receiver_connect_latency() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.qr_code_receiver_connect_latency_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::google::protobuf::Duration>(GetArena());
_impl_.qr_code_receiver_connect_latency_ = reinterpret_cast<::google::protobuf::Duration*>(p);
}
return _impl_.qr_code_receiver_connect_latency_;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_EstablishConnection::mutable_qr_code_receiver_connect_latency()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::google::protobuf::Duration* _msg = _internal_mutable_qr_code_receiver_connect_latency();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_receiver_connect_latency)
return _msg;
}
inline void SharingLog_EstablishConnection::set_allocated_qr_code_receiver_connect_latency(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.qr_code_receiver_connect_latency_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.qr_code_receiver_connect_latency_ = reinterpret_cast<::google::protobuf::Duration*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EstablishConnection.qr_code_receiver_connect_latency)
}
// -------------------------------------------------------------------
// SharingLog_AcceptAgreements
// -------------------------------------------------------------------
// SharingLog_DeclineAgreements
// -------------------------------------------------------------------
// SharingLog_EnableNearbySharing
// optional .location.nearby.proto.sharing.NearbySharingStatus status = 1;
inline bool SharingLog_EnableNearbySharing::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_EnableNearbySharing::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::NearbySharingStatus SharingLog_EnableNearbySharing::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing.status)
return _internal_status();
}
inline void SharingLog_EnableNearbySharing::set_status(::location::nearby::proto::sharing::NearbySharingStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing.status)
}
inline ::location::nearby::proto::sharing::NearbySharingStatus SharingLog_EnableNearbySharing::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::NearbySharingStatus>(_impl_.status_);
}
inline void SharingLog_EnableNearbySharing::_internal_set_status(::location::nearby::proto::sharing::NearbySharingStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::NearbySharingStatus_internal_data_));
_impl_.status_ = value;
}
// optional bool has_opted_in = 2;
inline bool SharingLog_EnableNearbySharing::has_has_opted_in() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_EnableNearbySharing::clear_has_opted_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.has_opted_in_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline bool SharingLog_EnableNearbySharing::has_opted_in() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing.has_opted_in)
return _internal_has_opted_in();
}
inline void SharingLog_EnableNearbySharing::set_has_opted_in(bool value) {
_internal_set_has_opted_in(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing.has_opted_in)
}
inline bool SharingLog_EnableNearbySharing::_internal_has_opted_in() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.has_opted_in_;
}
inline void SharingLog_EnableNearbySharing::_internal_set_has_opted_in(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.has_opted_in_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SetAccount
// optional .location.nearby.proto.sharing.ActivityName activity_name = 1;
inline bool SharingLog_SetAccount::has_activity_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SetAccount::clear_activity_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.activity_name_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_SetAccount::activity_name() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetAccount.activity_name)
return _internal_activity_name();
}
inline void SharingLog_SetAccount::set_activity_name(::location::nearby::proto::sharing::ActivityName value) {
_internal_set_activity_name(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetAccount.activity_name)
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_SetAccount::_internal_activity_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ActivityName>(_impl_.activity_name_);
}
inline void SharingLog_SetAccount::_internal_set_activity_name(::location::nearby::proto::sharing::ActivityName value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ActivityName_internal_data_));
_impl_.activity_name_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SetVisibility
// optional .location.nearby.proto.sharing.Visibility visibility = 1;
inline bool SharingLog_SetVisibility::has_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SetVisibility::clear_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.visibility_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetVisibility::visibility() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetVisibility.visibility)
return _internal_visibility();
}
inline void SharingLog_SetVisibility::set_visibility(::location::nearby::proto::sharing::Visibility value) {
_internal_set_visibility(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetVisibility.visibility)
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetVisibility::_internal_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::Visibility>(_impl_.visibility_);
}
inline void SharingLog_SetVisibility::_internal_set_visibility(::location::nearby::proto::sharing::Visibility value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::Visibility_internal_data_));
_impl_.visibility_ = value;
}
// optional .location.nearby.proto.sharing.Visibility source_visibility = 2;
inline bool SharingLog_SetVisibility::has_source_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_SetVisibility::clear_source_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_visibility_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetVisibility::source_visibility() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetVisibility.source_visibility)
return _internal_source_visibility();
}
inline void SharingLog_SetVisibility::set_source_visibility(::location::nearby::proto::sharing::Visibility value) {
_internal_set_source_visibility(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetVisibility.source_visibility)
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetVisibility::_internal_source_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::Visibility>(_impl_.source_visibility_);
}
inline void SharingLog_SetVisibility::_internal_set_source_visibility(::location::nearby::proto::sharing::Visibility value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::Visibility_internal_data_));
_impl_.source_visibility_ = value;
}
// optional int64 duration_millis = 3;
inline bool SharingLog_SetVisibility::has_duration_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_SetVisibility::clear_duration_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_SetVisibility::duration_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetVisibility.duration_millis)
return _internal_duration_millis();
}
inline void SharingLog_SetVisibility::set_duration_millis(::int64_t value) {
_internal_set_duration_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetVisibility.duration_millis)
}
inline ::int64_t SharingLog_SetVisibility::_internal_duration_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.duration_millis_;
}
inline void SharingLog_SetVisibility::_internal_set_duration_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = value;
}
// optional .location.nearby.proto.sharing.ActivityName source_activity_name = 4;
inline bool SharingLog_SetVisibility::has_source_activity_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_SetVisibility::clear_source_activity_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_activity_name_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_SetVisibility::source_activity_name() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetVisibility.source_activity_name)
return _internal_source_activity_name();
}
inline void SharingLog_SetVisibility::set_source_activity_name(::location::nearby::proto::sharing::ActivityName value) {
_internal_set_source_activity_name(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetVisibility.source_activity_name)
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_SetVisibility::_internal_source_activity_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ActivityName>(_impl_.source_activity_name_);
}
inline void SharingLog_SetVisibility::_internal_set_source_activity_name(::location::nearby::proto::sharing::ActivityName value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ActivityName_internal_data_));
_impl_.source_activity_name_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SetDataUsage
// optional .location.nearby.proto.sharing.DataUsage original_preference = 1;
inline bool SharingLog_SetDataUsage::has_original_preference() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SetDataUsage::clear_original_preference() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.original_preference_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_SetDataUsage::original_preference() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetDataUsage.original_preference)
return _internal_original_preference();
}
inline void SharingLog_SetDataUsage::set_original_preference(::location::nearby::proto::sharing::DataUsage value) {
_internal_set_original_preference(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetDataUsage.original_preference)
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_SetDataUsage::_internal_original_preference() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DataUsage>(_impl_.original_preference_);
}
inline void SharingLog_SetDataUsage::_internal_set_original_preference(::location::nearby::proto::sharing::DataUsage value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DataUsage_internal_data_));
_impl_.original_preference_ = value;
}
// optional .location.nearby.proto.sharing.DataUsage preference = 2;
inline bool SharingLog_SetDataUsage::has_preference() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_SetDataUsage::clear_preference() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.preference_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_SetDataUsage::preference() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetDataUsage.preference)
return _internal_preference();
}
inline void SharingLog_SetDataUsage::set_preference(::location::nearby::proto::sharing::DataUsage value) {
_internal_set_preference(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetDataUsage.preference)
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_SetDataUsage::_internal_preference() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DataUsage>(_impl_.preference_);
}
inline void SharingLog_SetDataUsage::_internal_set_preference(::location::nearby::proto::sharing::DataUsage value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DataUsage_internal_data_));
_impl_.preference_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ScanForShareTargetsStart
// optional int64 session_id = 1;
inline bool SharingLog_ScanForShareTargetsStart::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ScanForShareTargetsStart::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_ScanForShareTargetsStart::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.session_id)
return _internal_session_id();
}
inline void SharingLog_ScanForShareTargetsStart::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.session_id)
}
inline ::int64_t SharingLog_ScanForShareTargetsStart::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ScanForShareTargetsStart::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional .location.nearby.proto.sharing.SessionStatus status = 2;
inline bool SharingLog_ScanForShareTargetsStart::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ScanForShareTargetsStart::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::SessionStatus SharingLog_ScanForShareTargetsStart::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.status)
return _internal_status();
}
inline void SharingLog_ScanForShareTargetsStart::set_status(::location::nearby::proto::sharing::SessionStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.status)
}
inline ::location::nearby::proto::sharing::SessionStatus SharingLog_ScanForShareTargetsStart::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::SessionStatus>(_impl_.status_);
}
inline void SharingLog_ScanForShareTargetsStart::_internal_set_status(::location::nearby::proto::sharing::SessionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::SessionStatus_internal_data_));
_impl_.status_ = value;
}
// optional .location.nearby.proto.sharing.ScanType scan_type = 3;
inline bool SharingLog_ScanForShareTargetsStart::has_scan_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_ScanForShareTargetsStart::clear_scan_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.scan_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::location::nearby::proto::sharing::ScanType SharingLog_ScanForShareTargetsStart::scan_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.scan_type)
return _internal_scan_type();
}
inline void SharingLog_ScanForShareTargetsStart::set_scan_type(::location::nearby::proto::sharing::ScanType value) {
_internal_set_scan_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.scan_type)
}
inline ::location::nearby::proto::sharing::ScanType SharingLog_ScanForShareTargetsStart::_internal_scan_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ScanType>(_impl_.scan_type_);
}
inline void SharingLog_ScanForShareTargetsStart::_internal_set_scan_type(::location::nearby::proto::sharing::ScanType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ScanType_internal_data_));
_impl_.scan_type_ = value;
}
// optional int64 flow_id = 4;
inline bool SharingLog_ScanForShareTargetsStart::has_flow_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_ScanForShareTargetsStart::clear_flow_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int64_t SharingLog_ScanForShareTargetsStart::flow_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.flow_id)
return _internal_flow_id();
}
inline void SharingLog_ScanForShareTargetsStart::set_flow_id(::int64_t value) {
_internal_set_flow_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.flow_id)
}
inline ::int64_t SharingLog_ScanForShareTargetsStart::_internal_flow_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.flow_id_;
}
inline void SharingLog_ScanForShareTargetsStart::_internal_set_flow_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = value;
}
// optional string referrer_name = 5;
inline bool SharingLog_ScanForShareTargetsStart::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ScanForShareTargetsStart::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_ScanForShareTargetsStart::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_ScanForShareTargetsStart::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ScanForShareTargetsStart::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_ScanForShareTargetsStart::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_ScanForShareTargetsStart::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ScanForShareTargetsStart::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_ScanForShareTargetsStart::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_ScanForShareTargetsStart::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.referrer_name)
}
// optional bool use_qr_code = 6;
inline bool SharingLog_ScanForShareTargetsStart::has_use_qr_code() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_ScanForShareTargetsStart::clear_use_qr_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.use_qr_code_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline bool SharingLog_ScanForShareTargetsStart::use_qr_code() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.use_qr_code)
return _internal_use_qr_code();
}
inline void SharingLog_ScanForShareTargetsStart::set_use_qr_code(bool value) {
_internal_set_use_qr_code(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart.use_qr_code)
}
inline bool SharingLog_ScanForShareTargetsStart::_internal_use_qr_code() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.use_qr_code_;
}
inline void SharingLog_ScanForShareTargetsStart::_internal_set_use_qr_code(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.use_qr_code_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ScanForShareTargetsEnd
// optional int64 session_id = 1;
inline bool SharingLog_ScanForShareTargetsEnd::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ScanForShareTargetsEnd::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_ScanForShareTargetsEnd::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd.session_id)
return _internal_session_id();
}
inline void SharingLog_ScanForShareTargetsEnd::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd.session_id)
}
inline ::int64_t SharingLog_ScanForShareTargetsEnd::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ScanForShareTargetsEnd::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// -------------------------------------------------------------------
// SharingLog_AdvertiseDevicePresenceStart
// optional int64 session_id = 1 [deprecated = true];
inline bool SharingLog_AdvertiseDevicePresenceStart::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_AdvertiseDevicePresenceStart::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.session_id)
return _internal_session_id();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.session_id)
}
inline ::int64_t SharingLog_AdvertiseDevicePresenceStart::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional .location.nearby.proto.sharing.Visibility visibility = 2;
inline bool SharingLog_AdvertiseDevicePresenceStart::has_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.visibility_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_AdvertiseDevicePresenceStart::visibility() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.visibility)
return _internal_visibility();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_visibility(::location::nearby::proto::sharing::Visibility value) {
_internal_set_visibility(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.visibility)
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_AdvertiseDevicePresenceStart::_internal_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::Visibility>(_impl_.visibility_);
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_visibility(::location::nearby::proto::sharing::Visibility value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::Visibility_internal_data_));
_impl_.visibility_ = value;
}
// optional .location.nearby.proto.sharing.SessionStatus status = 3;
inline bool SharingLog_AdvertiseDevicePresenceStart::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::location::nearby::proto::sharing::SessionStatus SharingLog_AdvertiseDevicePresenceStart::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.status)
return _internal_status();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_status(::location::nearby::proto::sharing::SessionStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.status)
}
inline ::location::nearby::proto::sharing::SessionStatus SharingLog_AdvertiseDevicePresenceStart::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::SessionStatus>(_impl_.status_);
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_status(::location::nearby::proto::sharing::SessionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::SessionStatus_internal_data_));
_impl_.status_ = value;
}
// optional .location.nearby.proto.sharing.DataUsage data_usage = 4;
inline bool SharingLog_AdvertiseDevicePresenceStart::has_data_usage() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.data_usage_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_AdvertiseDevicePresenceStart::data_usage() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.data_usage)
return _internal_data_usage();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
_internal_set_data_usage(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.data_usage)
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_AdvertiseDevicePresenceStart::_internal_data_usage() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DataUsage>(_impl_.data_usage_);
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DataUsage_internal_data_));
_impl_.data_usage_ = value;
}
// optional int32 device_name_size = 5 [deprecated = true];
inline bool SharingLog_AdvertiseDevicePresenceStart::has_device_name_size() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_device_name_size() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_name_size_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::int32_t SharingLog_AdvertiseDevicePresenceStart::device_name_size() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.device_name_size)
return _internal_device_name_size();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_device_name_size(::int32_t value) {
_internal_set_device_name_size(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.device_name_size)
}
inline ::int32_t SharingLog_AdvertiseDevicePresenceStart::_internal_device_name_size() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.device_name_size_;
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_device_name_size(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_name_size_ = value;
}
// optional string referrer_name = 6;
inline bool SharingLog_AdvertiseDevicePresenceStart::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_AdvertiseDevicePresenceStart::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_AdvertiseDevicePresenceStart::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AdvertiseDevicePresenceStart::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_AdvertiseDevicePresenceStart::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AdvertiseDevicePresenceStart::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_AdvertiseDevicePresenceStart::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.referrer_name)
}
// optional .location.nearby.proto.sharing.AdvertisingMode advertising_mode = 7;
inline bool SharingLog_AdvertiseDevicePresenceStart::has_advertising_mode() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_advertising_mode() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.advertising_mode_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::location::nearby::proto::sharing::AdvertisingMode SharingLog_AdvertiseDevicePresenceStart::advertising_mode() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.advertising_mode)
return _internal_advertising_mode();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_advertising_mode(::location::nearby::proto::sharing::AdvertisingMode value) {
_internal_set_advertising_mode(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.advertising_mode)
}
inline ::location::nearby::proto::sharing::AdvertisingMode SharingLog_AdvertiseDevicePresenceStart::_internal_advertising_mode() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AdvertisingMode>(_impl_.advertising_mode_);
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_advertising_mode(::location::nearby::proto::sharing::AdvertisingMode value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AdvertisingMode_internal_data_));
_impl_.advertising_mode_ = value;
}
// optional bool qr_code_flow = 8;
inline bool SharingLog_AdvertiseDevicePresenceStart::has_qr_code_flow() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceStart::clear_qr_code_flow() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline bool SharingLog_AdvertiseDevicePresenceStart::qr_code_flow() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.qr_code_flow)
return _internal_qr_code_flow();
}
inline void SharingLog_AdvertiseDevicePresenceStart::set_qr_code_flow(bool value) {
_internal_set_qr_code_flow(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart.qr_code_flow)
}
inline bool SharingLog_AdvertiseDevicePresenceStart::_internal_qr_code_flow() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.qr_code_flow_;
}
inline void SharingLog_AdvertiseDevicePresenceStart::_internal_set_qr_code_flow(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = value;
}
// -------------------------------------------------------------------
// SharingLog_AdvertiseDevicePresenceEnd
// optional int64 session_id = 1 [deprecated = true];
inline bool SharingLog_AdvertiseDevicePresenceEnd::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_AdvertiseDevicePresenceEnd::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_AdvertiseDevicePresenceEnd::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd.session_id)
return _internal_session_id();
}
inline void SharingLog_AdvertiseDevicePresenceEnd::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd.session_id)
}
inline ::int64_t SharingLog_AdvertiseDevicePresenceEnd::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_AdvertiseDevicePresenceEnd::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SendFastInitialization
// -------------------------------------------------------------------
// SharingLog_ReceiveFastInitialization
// optional int64 time_elapse_since_screen_unlock_millis = 1;
inline bool SharingLog_ReceiveFastInitialization::has_time_elapse_since_screen_unlock_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ReceiveFastInitialization::clear_time_elapse_since_screen_unlock_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.time_elapse_since_screen_unlock_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_ReceiveFastInitialization::time_elapse_since_screen_unlock_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization.time_elapse_since_screen_unlock_millis)
return _internal_time_elapse_since_screen_unlock_millis();
}
inline void SharingLog_ReceiveFastInitialization::set_time_elapse_since_screen_unlock_millis(::int64_t value) {
_internal_set_time_elapse_since_screen_unlock_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization.time_elapse_since_screen_unlock_millis)
}
inline ::int64_t SharingLog_ReceiveFastInitialization::_internal_time_elapse_since_screen_unlock_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.time_elapse_since_screen_unlock_millis_;
}
inline void SharingLog_ReceiveFastInitialization::_internal_set_time_elapse_since_screen_unlock_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.time_elapse_since_screen_unlock_millis_ = value;
}
// optional bool notifications_enabled = 2;
inline bool SharingLog_ReceiveFastInitialization::has_notifications_enabled() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ReceiveFastInitialization::clear_notifications_enabled() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.notifications_enabled_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline bool SharingLog_ReceiveFastInitialization::notifications_enabled() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization.notifications_enabled)
return _internal_notifications_enabled();
}
inline void SharingLog_ReceiveFastInitialization::set_notifications_enabled(bool value) {
_internal_set_notifications_enabled(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization.notifications_enabled)
}
inline bool SharingLog_ReceiveFastInitialization::_internal_notifications_enabled() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.notifications_enabled_;
}
inline void SharingLog_ReceiveFastInitialization::_internal_set_notifications_enabled(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.notifications_enabled_ = value;
}
// optional bool notifications_filtered = 3;
inline bool SharingLog_ReceiveFastInitialization::has_notifications_filtered() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ReceiveFastInitialization::clear_notifications_filtered() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.notifications_filtered_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline bool SharingLog_ReceiveFastInitialization::notifications_filtered() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization.notifications_filtered)
return _internal_notifications_filtered();
}
inline void SharingLog_ReceiveFastInitialization::set_notifications_filtered(bool value) {
_internal_set_notifications_filtered(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization.notifications_filtered)
}
inline bool SharingLog_ReceiveFastInitialization::_internal_notifications_filtered() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.notifications_filtered_;
}
inline void SharingLog_ReceiveFastInitialization::_internal_set_notifications_filtered(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.notifications_filtered_ = value;
}
// -------------------------------------------------------------------
// SharingLog_DismissFastInitialization
// -------------------------------------------------------------------
// SharingLog_AutoDismissFastInitialization
// -------------------------------------------------------------------
// SharingLog_EventMetadata
// optional .location.nearby.proto.sharing.SharingUseCase use_case = 1;
inline bool SharingLog_EventMetadata::has_use_case() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_EventMetadata::clear_use_case() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.use_case_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::location::nearby::proto::sharing::SharingUseCase SharingLog_EventMetadata::use_case() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.use_case)
return _internal_use_case();
}
inline void SharingLog_EventMetadata::set_use_case(::location::nearby::proto::sharing::SharingUseCase value) {
_internal_set_use_case(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.use_case)
}
inline ::location::nearby::proto::sharing::SharingUseCase SharingLog_EventMetadata::_internal_use_case() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::SharingUseCase>(_impl_.use_case_);
}
inline void SharingLog_EventMetadata::_internal_set_use_case(::location::nearby::proto::sharing::SharingUseCase value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::SharingUseCase_internal_data_));
_impl_.use_case_ = value;
}
// optional bool initial_opt_in = 2 [deprecated = true];
inline bool SharingLog_EventMetadata::has_initial_opt_in() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_EventMetadata::clear_initial_opt_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.initial_opt_in_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline bool SharingLog_EventMetadata::initial_opt_in() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.initial_opt_in)
return _internal_initial_opt_in();
}
inline void SharingLog_EventMetadata::set_initial_opt_in(bool value) {
_internal_set_initial_opt_in(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.initial_opt_in)
}
inline bool SharingLog_EventMetadata::_internal_initial_opt_in() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.initial_opt_in_;
}
inline void SharingLog_EventMetadata::_internal_set_initial_opt_in(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.initial_opt_in_ = value;
}
// optional bool opt_in = 3 [deprecated = true];
inline bool SharingLog_EventMetadata::has_opt_in() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_EventMetadata::clear_opt_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.opt_in_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline bool SharingLog_EventMetadata::opt_in() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.opt_in)
return _internal_opt_in();
}
inline void SharingLog_EventMetadata::set_opt_in(bool value) {
_internal_set_opt_in(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.opt_in)
}
inline bool SharingLog_EventMetadata::_internal_opt_in() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.opt_in_;
}
inline void SharingLog_EventMetadata::_internal_set_opt_in(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.opt_in_ = value;
}
// optional bool initial_enable_status = 4 [deprecated = true];
inline bool SharingLog_EventMetadata::has_initial_enable_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_EventMetadata::clear_initial_enable_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.initial_enable_status_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline bool SharingLog_EventMetadata::initial_enable_status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.initial_enable_status)
return _internal_initial_enable_status();
}
inline void SharingLog_EventMetadata::set_initial_enable_status(bool value) {
_internal_set_initial_enable_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.initial_enable_status)
}
inline bool SharingLog_EventMetadata::_internal_initial_enable_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.initial_enable_status_;
}
inline void SharingLog_EventMetadata::_internal_set_initial_enable_status(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.initial_enable_status_ = value;
}
// optional int64 flow_id = 5;
inline bool SharingLog_EventMetadata::has_flow_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
return value;
}
inline void SharingLog_EventMetadata::clear_flow_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline ::int64_t SharingLog_EventMetadata::flow_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.flow_id)
return _internal_flow_id();
}
inline void SharingLog_EventMetadata::set_flow_id(::int64_t value) {
_internal_set_flow_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.flow_id)
}
inline ::int64_t SharingLog_EventMetadata::_internal_flow_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.flow_id_;
}
inline void SharingLog_EventMetadata::_internal_set_flow_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = value;
}
// optional int64 session_id = 6;
inline bool SharingLog_EventMetadata::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
return value;
}
inline void SharingLog_EventMetadata::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000400U);
}
inline ::int64_t SharingLog_EventMetadata::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.session_id)
return _internal_session_id();
}
inline void SharingLog_EventMetadata::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.session_id)
}
inline ::int64_t SharingLog_EventMetadata::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_EventMetadata::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int32 vendor_id = 7;
inline bool SharingLog_EventMetadata::has_vendor_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
return value;
}
inline void SharingLog_EventMetadata::clear_vendor_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.vendor_id_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000800U);
}
inline ::int32_t SharingLog_EventMetadata::vendor_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.vendor_id)
return _internal_vendor_id();
}
inline void SharingLog_EventMetadata::set_vendor_id(::int32_t value) {
_internal_set_vendor_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.vendor_id)
}
inline ::int32_t SharingLog_EventMetadata::_internal_vendor_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.vendor_id_;
}
inline void SharingLog_EventMetadata::_internal_set_vendor_id(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.vendor_id_ = value;
}
// optional string cloud_sharing_id = 8;
inline bool SharingLog_EventMetadata::has_cloud_sharing_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_EventMetadata::clear_cloud_sharing_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_sharing_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_EventMetadata::cloud_sharing_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_sharing_id)
return _internal_cloud_sharing_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_EventMetadata::set_cloud_sharing_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.cloud_sharing_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_sharing_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::mutable_cloud_sharing_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_cloud_sharing_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_sharing_id)
return _s;
}
inline const ::std::string& SharingLog_EventMetadata::_internal_cloud_sharing_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.cloud_sharing_id_.Get();
}
inline void SharingLog_EventMetadata::_internal_set_cloud_sharing_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_sharing_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::_internal_mutable_cloud_sharing_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.cloud_sharing_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_EventMetadata::release_cloud_sharing_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_sharing_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.cloud_sharing_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.cloud_sharing_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_EventMetadata::set_allocated_cloud_sharing_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.cloud_sharing_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.cloud_sharing_id_.IsDefault()) {
_impl_.cloud_sharing_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_sharing_id)
}
// optional string cloud_receiver_session_id = 9;
inline bool SharingLog_EventMetadata::has_cloud_receiver_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_EventMetadata::clear_cloud_receiver_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_receiver_session_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::std::string& SharingLog_EventMetadata::cloud_receiver_session_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_receiver_session_id)
return _internal_cloud_receiver_session_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_EventMetadata::set_cloud_receiver_session_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
_impl_.cloud_receiver_session_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_receiver_session_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::mutable_cloud_receiver_session_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::std::string* _s = _internal_mutable_cloud_receiver_session_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_receiver_session_id)
return _s;
}
inline const ::std::string& SharingLog_EventMetadata::_internal_cloud_receiver_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.cloud_receiver_session_id_.Get();
}
inline void SharingLog_EventMetadata::_internal_set_cloud_receiver_session_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_receiver_session_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::_internal_mutable_cloud_receiver_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.cloud_receiver_session_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_EventMetadata::release_cloud_receiver_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_receiver_session_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
auto* released = _impl_.cloud_receiver_session_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.cloud_receiver_session_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_EventMetadata::set_allocated_cloud_receiver_session_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.cloud_receiver_session_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.cloud_receiver_session_id_.IsDefault()) {
_impl_.cloud_receiver_session_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EventMetadata.cloud_receiver_session_id)
}
// optional string external_provider_name = 10;
inline bool SharingLog_EventMetadata::has_external_provider_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_EventMetadata::clear_external_provider_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.external_provider_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline const ::std::string& SharingLog_EventMetadata::external_provider_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_name)
return _internal_external_provider_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_EventMetadata::set_external_provider_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
_impl_.external_provider_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::mutable_external_provider_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::std::string* _s = _internal_mutable_external_provider_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_name)
return _s;
}
inline const ::std::string& SharingLog_EventMetadata::_internal_external_provider_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.external_provider_name_.Get();
}
inline void SharingLog_EventMetadata::_internal_set_external_provider_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.external_provider_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::_internal_mutable_external_provider_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.external_provider_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_EventMetadata::release_external_provider_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
auto* released = _impl_.external_provider_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.external_provider_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_EventMetadata::set_allocated_external_provider_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.external_provider_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_provider_name_.IsDefault()) {
_impl_.external_provider_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_name)
}
// optional string external_provider_id = 11;
inline bool SharingLog_EventMetadata::has_external_provider_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_EventMetadata::clear_external_provider_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.external_provider_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline const ::std::string& SharingLog_EventMetadata::external_provider_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_id)
return _internal_external_provider_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_EventMetadata::set_external_provider_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
_impl_.external_provider_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::mutable_external_provider_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
::std::string* _s = _internal_mutable_external_provider_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_id)
return _s;
}
inline const ::std::string& SharingLog_EventMetadata::_internal_external_provider_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.external_provider_id_.Get();
}
inline void SharingLog_EventMetadata::_internal_set_external_provider_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.external_provider_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_EventMetadata::_internal_mutable_external_provider_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.external_provider_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_EventMetadata::release_external_provider_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
auto* released = _impl_.external_provider_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.external_provider_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_EventMetadata::set_allocated_external_provider_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
_impl_.external_provider_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_provider_id_.IsDefault()) {
_impl_.external_provider_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.EventMetadata.external_provider_id)
}
// optional bool is_direct_share = 12;
inline bool SharingLog_EventMetadata::has_is_direct_share() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
return value;
}
inline void SharingLog_EventMetadata::clear_is_direct_share() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_direct_share_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline bool SharingLog_EventMetadata::is_direct_share() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.EventMetadata.is_direct_share)
return _internal_is_direct_share();
}
inline void SharingLog_EventMetadata::set_is_direct_share(bool value) {
_internal_set_is_direct_share(value);
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.EventMetadata.is_direct_share)
}
inline bool SharingLog_EventMetadata::_internal_is_direct_share() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_direct_share_;
}
inline void SharingLog_EventMetadata::_internal_set_is_direct_share(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_direct_share_ = value;
}
// -------------------------------------------------------------------
// SharingLog_DiscoverShareTarget
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 1;
inline bool SharingLog_DiscoverShareTarget::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_DiscoverShareTarget::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_DiscoverShareTarget::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_DiscoverShareTarget::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_DiscoverShareTarget::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_DiscoverShareTarget::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.share_target_info)
return _msg;
}
inline void SharingLog_DiscoverShareTarget::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.share_target_info)
}
// optional .google.protobuf.Duration duration_since_scanning = 2;
inline bool SharingLog_DiscoverShareTarget::has_duration_since_scanning() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
PROTOBUF_ASSUME(!value || _impl_.duration_since_scanning_ != nullptr);
return value;
}
inline const ::google::protobuf::Duration& SharingLog_DiscoverShareTarget::_internal_duration_since_scanning() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::google::protobuf::Duration* p = _impl_.duration_since_scanning_;
return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
}
inline const ::google::protobuf::Duration& SharingLog_DiscoverShareTarget::duration_since_scanning() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.duration_since_scanning)
return _internal_duration_since_scanning();
}
inline void SharingLog_DiscoverShareTarget::unsafe_arena_set_allocated_duration_since_scanning(
::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.duration_since_scanning_);
}
_impl_.duration_since_scanning_ = reinterpret_cast<::google::protobuf::Duration*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.duration_since_scanning)
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_DiscoverShareTarget::release_duration_since_scanning() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
::google::protobuf::Duration* released = _impl_.duration_since_scanning_;
_impl_.duration_since_scanning_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_DiscoverShareTarget::unsafe_arena_release_duration_since_scanning() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.duration_since_scanning)
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
::google::protobuf::Duration* temp = _impl_.duration_since_scanning_;
_impl_.duration_since_scanning_ = nullptr;
return temp;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::_internal_mutable_duration_since_scanning() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.duration_since_scanning_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::google::protobuf::Duration>(GetArena());
_impl_.duration_since_scanning_ = reinterpret_cast<::google::protobuf::Duration*>(p);
}
return _impl_.duration_since_scanning_;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::mutable_duration_since_scanning()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
::google::protobuf::Duration* _msg = _internal_mutable_duration_since_scanning();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.duration_since_scanning)
return _msg;
}
inline void SharingLog_DiscoverShareTarget::set_allocated_duration_since_scanning(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.duration_since_scanning_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
_impl_.duration_since_scanning_ = reinterpret_cast<::google::protobuf::Duration*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.duration_since_scanning)
}
// optional int64 session_id = 3;
inline bool SharingLog_DiscoverShareTarget::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int64_t SharingLog_DiscoverShareTarget::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.session_id)
return _internal_session_id();
}
inline void SharingLog_DiscoverShareTarget::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.session_id)
}
inline ::int64_t SharingLog_DiscoverShareTarget::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_DiscoverShareTarget::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int64 flow_id = 4;
inline bool SharingLog_DiscoverShareTarget::has_flow_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_flow_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::int64_t SharingLog_DiscoverShareTarget::flow_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.flow_id)
return _internal_flow_id();
}
inline void SharingLog_DiscoverShareTarget::set_flow_id(::int64_t value) {
_internal_set_flow_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.flow_id)
}
inline ::int64_t SharingLog_DiscoverShareTarget::_internal_flow_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.flow_id_;
}
inline void SharingLog_DiscoverShareTarget::_internal_set_flow_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = value;
}
// optional string referrer_name = 5;
inline bool SharingLog_DiscoverShareTarget::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_DiscoverShareTarget::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_DiscoverShareTarget::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_DiscoverShareTarget::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_DiscoverShareTarget::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_DiscoverShareTarget::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_DiscoverShareTarget::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.referrer_name)
}
// optional int64 latency_since_activity_start_millis = 6 [default = -1];
inline bool SharingLog_DiscoverShareTarget::has_latency_since_activity_start_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_latency_since_activity_start_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_since_activity_start_millis_ = ::int64_t{-1};
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::int64_t SharingLog_DiscoverShareTarget::latency_since_activity_start_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.latency_since_activity_start_millis)
return _internal_latency_since_activity_start_millis();
}
inline void SharingLog_DiscoverShareTarget::set_latency_since_activity_start_millis(::int64_t value) {
_internal_set_latency_since_activity_start_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.latency_since_activity_start_millis)
}
inline ::int64_t SharingLog_DiscoverShareTarget::_internal_latency_since_activity_start_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.latency_since_activity_start_millis_;
}
inline void SharingLog_DiscoverShareTarget::_internal_set_latency_since_activity_start_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_since_activity_start_millis_ = value;
}
// optional .location.nearby.proto.sharing.ScanType scan_type = 7;
inline bool SharingLog_DiscoverShareTarget::has_scan_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_scan_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.scan_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::location::nearby::proto::sharing::ScanType SharingLog_DiscoverShareTarget::scan_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.scan_type)
return _internal_scan_type();
}
inline void SharingLog_DiscoverShareTarget::set_scan_type(::location::nearby::proto::sharing::ScanType value) {
_internal_set_scan_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.scan_type)
}
inline ::location::nearby::proto::sharing::ScanType SharingLog_DiscoverShareTarget::_internal_scan_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ScanType>(_impl_.scan_type_);
}
inline void SharingLog_DiscoverShareTarget::_internal_set_scan_type(::location::nearby::proto::sharing::ScanType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ScanType_internal_data_));
_impl_.scan_type_ = value;
}
// optional string cloud_receiver_session_id = 8;
inline bool SharingLog_DiscoverShareTarget::has_cloud_receiver_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_DiscoverShareTarget::clear_cloud_receiver_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_receiver_session_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::std::string& SharingLog_DiscoverShareTarget::cloud_receiver_session_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.cloud_receiver_session_id)
return _internal_cloud_receiver_session_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_DiscoverShareTarget::set_cloud_receiver_session_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
_impl_.cloud_receiver_session_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.cloud_receiver_session_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::mutable_cloud_receiver_session_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::std::string* _s = _internal_mutable_cloud_receiver_session_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.cloud_receiver_session_id)
return _s;
}
inline const ::std::string& SharingLog_DiscoverShareTarget::_internal_cloud_receiver_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.cloud_receiver_session_id_.Get();
}
inline void SharingLog_DiscoverShareTarget::_internal_set_cloud_receiver_session_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_receiver_session_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_DiscoverShareTarget::_internal_mutable_cloud_receiver_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.cloud_receiver_session_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_DiscoverShareTarget::release_cloud_receiver_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.cloud_receiver_session_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
auto* released = _impl_.cloud_receiver_session_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.cloud_receiver_session_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_DiscoverShareTarget::set_allocated_cloud_receiver_session_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.cloud_receiver_session_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.cloud_receiver_session_id_.IsDefault()) {
_impl_.cloud_receiver_session_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget.cloud_receiver_session_id)
}
// -------------------------------------------------------------------
// SharingLog_ParsingFailedEndpointId
// optional string endpoint_id = 1;
inline bool SharingLog_ParsingFailedEndpointId::has_endpoint_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.endpoint_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_ParsingFailedEndpointId::endpoint_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.endpoint_id)
return _internal_endpoint_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_ParsingFailedEndpointId::set_endpoint_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.endpoint_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.endpoint_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::mutable_endpoint_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_endpoint_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.endpoint_id)
return _s;
}
inline const ::std::string& SharingLog_ParsingFailedEndpointId::_internal_endpoint_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.endpoint_id_.Get();
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_endpoint_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.endpoint_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::_internal_mutable_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.endpoint_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_ParsingFailedEndpointId::release_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.endpoint_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.endpoint_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.endpoint_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_ParsingFailedEndpointId::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.endpoint_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) {
_impl_.endpoint_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.endpoint_id)
}
// optional .google.protobuf.Duration duration_since_scanning = 2;
inline bool SharingLog_ParsingFailedEndpointId::has_duration_since_scanning() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.duration_since_scanning_ != nullptr);
return value;
}
inline const ::google::protobuf::Duration& SharingLog_ParsingFailedEndpointId::_internal_duration_since_scanning() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::google::protobuf::Duration* p = _impl_.duration_since_scanning_;
return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
}
inline const ::google::protobuf::Duration& SharingLog_ParsingFailedEndpointId::duration_since_scanning() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_scanning)
return _internal_duration_since_scanning();
}
inline void SharingLog_ParsingFailedEndpointId::unsafe_arena_set_allocated_duration_since_scanning(
::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.duration_since_scanning_);
}
_impl_.duration_since_scanning_ = reinterpret_cast<::google::protobuf::Duration*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_scanning)
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_ParsingFailedEndpointId::release_duration_since_scanning() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::google::protobuf::Duration* released = _impl_.duration_since_scanning_;
_impl_.duration_since_scanning_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_ParsingFailedEndpointId::unsafe_arena_release_duration_since_scanning() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_scanning)
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::google::protobuf::Duration* temp = _impl_.duration_since_scanning_;
_impl_.duration_since_scanning_ = nullptr;
return temp;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::_internal_mutable_duration_since_scanning() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.duration_since_scanning_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::google::protobuf::Duration>(GetArena());
_impl_.duration_since_scanning_ = reinterpret_cast<::google::protobuf::Duration*>(p);
}
return _impl_.duration_since_scanning_;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::mutable_duration_since_scanning()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::google::protobuf::Duration* _msg = _internal_mutable_duration_since_scanning();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_scanning)
return _msg;
}
inline void SharingLog_ParsingFailedEndpointId::set_allocated_duration_since_scanning(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.duration_since_scanning_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.duration_since_scanning_ = reinterpret_cast<::google::protobuf::Duration*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_scanning)
}
// optional int64 session_id = 3;
inline bool SharingLog_ParsingFailedEndpointId::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int64_t SharingLog_ParsingFailedEndpointId::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.session_id)
return _internal_session_id();
}
inline void SharingLog_ParsingFailedEndpointId::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.session_id)
}
inline ::int64_t SharingLog_ParsingFailedEndpointId::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int64 flow_id = 4;
inline bool SharingLog_ParsingFailedEndpointId::has_flow_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_flow_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::int64_t SharingLog_ParsingFailedEndpointId::flow_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.flow_id)
return _internal_flow_id();
}
inline void SharingLog_ParsingFailedEndpointId::set_flow_id(::int64_t value) {
_internal_set_flow_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.flow_id)
}
inline ::int64_t SharingLog_ParsingFailedEndpointId::_internal_flow_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.flow_id_;
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_flow_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = value;
}
// optional string referrer_name = 5;
inline bool SharingLog_ParsingFailedEndpointId::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::std::string& SharingLog_ParsingFailedEndpointId::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_ParsingFailedEndpointId::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_ParsingFailedEndpointId::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_ParsingFailedEndpointId::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_ParsingFailedEndpointId::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.referrer_name)
}
// optional int64 latency_since_activity_start_millis = 6 [default = -1];
inline bool SharingLog_ParsingFailedEndpointId::has_latency_since_activity_start_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_latency_since_activity_start_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_since_activity_start_millis_ = ::int64_t{-1};
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline ::int64_t SharingLog_ParsingFailedEndpointId::latency_since_activity_start_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.latency_since_activity_start_millis)
return _internal_latency_since_activity_start_millis();
}
inline void SharingLog_ParsingFailedEndpointId::set_latency_since_activity_start_millis(::int64_t value) {
_internal_set_latency_since_activity_start_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.latency_since_activity_start_millis)
}
inline ::int64_t SharingLog_ParsingFailedEndpointId::_internal_latency_since_activity_start_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.latency_since_activity_start_millis_;
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_latency_since_activity_start_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_since_activity_start_millis_ = value;
}
// optional .location.nearby.proto.sharing.ScanType scan_type = 7;
inline bool SharingLog_ParsingFailedEndpointId::has_scan_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_scan_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.scan_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::location::nearby::proto::sharing::ScanType SharingLog_ParsingFailedEndpointId::scan_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.scan_type)
return _internal_scan_type();
}
inline void SharingLog_ParsingFailedEndpointId::set_scan_type(::location::nearby::proto::sharing::ScanType value) {
_internal_set_scan_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.scan_type)
}
inline ::location::nearby::proto::sharing::ScanType SharingLog_ParsingFailedEndpointId::_internal_scan_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ScanType>(_impl_.scan_type_);
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_scan_type(::location::nearby::proto::sharing::ScanType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ScanType_internal_data_));
_impl_.scan_type_ = value;
}
// optional .google.protobuf.Duration duration_since_last_sync = 8;
inline bool SharingLog_ParsingFailedEndpointId::has_duration_since_last_sync() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
PROTOBUF_ASSUME(!value || _impl_.duration_since_last_sync_ != nullptr);
return value;
}
inline const ::google::protobuf::Duration& SharingLog_ParsingFailedEndpointId::_internal_duration_since_last_sync() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::google::protobuf::Duration* p = _impl_.duration_since_last_sync_;
return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
}
inline const ::google::protobuf::Duration& SharingLog_ParsingFailedEndpointId::duration_since_last_sync() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_last_sync)
return _internal_duration_since_last_sync();
}
inline void SharingLog_ParsingFailedEndpointId::unsafe_arena_set_allocated_duration_since_last_sync(
::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.duration_since_last_sync_);
}
_impl_.duration_since_last_sync_ = reinterpret_cast<::google::protobuf::Duration*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_last_sync)
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_ParsingFailedEndpointId::release_duration_since_last_sync() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
::google::protobuf::Duration* released = _impl_.duration_since_last_sync_;
_impl_.duration_since_last_sync_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_ParsingFailedEndpointId::unsafe_arena_release_duration_since_last_sync() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_last_sync)
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
::google::protobuf::Duration* temp = _impl_.duration_since_last_sync_;
_impl_.duration_since_last_sync_ = nullptr;
return temp;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::_internal_mutable_duration_since_last_sync() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.duration_since_last_sync_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::google::protobuf::Duration>(GetArena());
_impl_.duration_since_last_sync_ = reinterpret_cast<::google::protobuf::Duration*>(p);
}
return _impl_.duration_since_last_sync_;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_ParsingFailedEndpointId::mutable_duration_since_last_sync()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
::google::protobuf::Duration* _msg = _internal_mutable_duration_since_last_sync();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_last_sync)
return _msg;
}
inline void SharingLog_ParsingFailedEndpointId::set_allocated_duration_since_last_sync(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.duration_since_last_sync_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
_impl_.duration_since_last_sync_ = reinterpret_cast<::google::protobuf::Duration*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.duration_since_last_sync)
}
// optional .location.nearby.proto.sharing.ParsingFailedType parsing_failed_type = 9;
inline bool SharingLog_ParsingFailedEndpointId::has_parsing_failed_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_parsing_failed_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.parsing_failed_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::location::nearby::proto::sharing::ParsingFailedType SharingLog_ParsingFailedEndpointId::parsing_failed_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.parsing_failed_type)
return _internal_parsing_failed_type();
}
inline void SharingLog_ParsingFailedEndpointId::set_parsing_failed_type(::location::nearby::proto::sharing::ParsingFailedType value) {
_internal_set_parsing_failed_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.parsing_failed_type)
}
inline ::location::nearby::proto::sharing::ParsingFailedType SharingLog_ParsingFailedEndpointId::_internal_parsing_failed_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ParsingFailedType>(_impl_.parsing_failed_type_);
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_parsing_failed_type(::location::nearby::proto::sharing::ParsingFailedType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ParsingFailedType_internal_data_));
_impl_.parsing_failed_type_ = value;
}
// optional .location.nearby.proto.sharing.DiscoveryMode discovery_mode = 10;
inline bool SharingLog_ParsingFailedEndpointId::has_discovery_mode() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
return value;
}
inline void SharingLog_ParsingFailedEndpointId::clear_discovery_mode() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.discovery_mode_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline ::location::nearby::proto::sharing::DiscoveryMode SharingLog_ParsingFailedEndpointId::discovery_mode() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.discovery_mode)
return _internal_discovery_mode();
}
inline void SharingLog_ParsingFailedEndpointId::set_discovery_mode(::location::nearby::proto::sharing::DiscoveryMode value) {
_internal_set_discovery_mode(value);
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId.discovery_mode)
}
inline ::location::nearby::proto::sharing::DiscoveryMode SharingLog_ParsingFailedEndpointId::_internal_discovery_mode() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DiscoveryMode>(_impl_.discovery_mode_);
}
inline void SharingLog_ParsingFailedEndpointId::_internal_set_discovery_mode(::location::nearby::proto::sharing::DiscoveryMode value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DiscoveryMode_internal_data_));
_impl_.discovery_mode_ = value;
}
// -------------------------------------------------------------------
// SharingLog_DescribeAttachments
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
inline bool SharingLog_DescribeAttachments::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_DescribeAttachments::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_DescribeAttachments::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_DescribeAttachments::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_DescribeAttachments::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_DescribeAttachments::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_DescribeAttachments::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_DescribeAttachments::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_DescribeAttachments::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.attachments_info)
return _msg;
}
inline void SharingLog_DescribeAttachments::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.attachments_info)
}
// optional .google.protobuf.Duration download_duration = 2;
inline bool SharingLog_DescribeAttachments::has_download_duration() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.download_duration_ != nullptr);
return value;
}
inline const ::google::protobuf::Duration& SharingLog_DescribeAttachments::_internal_download_duration() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::google::protobuf::Duration* p = _impl_.download_duration_;
return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
}
inline const ::google::protobuf::Duration& SharingLog_DescribeAttachments::download_duration() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.download_duration)
return _internal_download_duration();
}
inline void SharingLog_DescribeAttachments::unsafe_arena_set_allocated_download_duration(
::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.download_duration_);
}
_impl_.download_duration_ = reinterpret_cast<::google::protobuf::Duration*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.download_duration)
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_DescribeAttachments::release_download_duration() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::google::protobuf::Duration* released = _impl_.download_duration_;
_impl_.download_duration_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SharingLog_DescribeAttachments::unsafe_arena_release_download_duration() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.download_duration)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::google::protobuf::Duration* temp = _impl_.download_duration_;
_impl_.download_duration_ = nullptr;
return temp;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_DescribeAttachments::_internal_mutable_download_duration() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.download_duration_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::google::protobuf::Duration>(GetArena());
_impl_.download_duration_ = reinterpret_cast<::google::protobuf::Duration*>(p);
}
return _impl_.download_duration_;
}
inline ::google::protobuf::Duration* PROTOBUF_NONNULL SharingLog_DescribeAttachments::mutable_download_duration()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::google::protobuf::Duration* _msg = _internal_mutable_download_duration();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.download_duration)
return _msg;
}
inline void SharingLog_DescribeAttachments::set_allocated_download_duration(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.download_duration_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.download_duration_ = reinterpret_cast<::google::protobuf::Duration*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.DescribeAttachments.download_duration)
}
// -------------------------------------------------------------------
// SharingLog_SendIntroduction
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 1;
inline bool SharingLog_SendIntroduction::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_SendIntroduction::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendIntroduction::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendIntroduction::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_SendIntroduction::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendIntroduction::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendIntroduction::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendIntroduction::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendIntroduction::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.share_target_info)
return _msg;
}
inline void SharingLog_SendIntroduction::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.share_target_info)
}
// optional int64 session_id = 2;
inline bool SharingLog_SendIntroduction::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_SendIntroduction::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_SendIntroduction::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.session_id)
return _internal_session_id();
}
inline void SharingLog_SendIntroduction::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.session_id)
}
inline ::int64_t SharingLog_SendIntroduction::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_SendIntroduction::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int32 transfer_position = 3;
inline bool SharingLog_SendIntroduction::has_transfer_position() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_SendIntroduction::clear_transfer_position() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int32_t SharingLog_SendIntroduction::transfer_position() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.transfer_position)
return _internal_transfer_position();
}
inline void SharingLog_SendIntroduction::set_transfer_position(::int32_t value) {
_internal_set_transfer_position(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.transfer_position)
}
inline ::int32_t SharingLog_SendIntroduction::_internal_transfer_position() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transfer_position_;
}
inline void SharingLog_SendIntroduction::_internal_set_transfer_position(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = value;
}
// optional int32 concurrent_connections = 4;
inline bool SharingLog_SendIntroduction::has_concurrent_connections() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_SendIntroduction::clear_concurrent_connections() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int32_t SharingLog_SendIntroduction::concurrent_connections() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.concurrent_connections)
return _internal_concurrent_connections();
}
inline void SharingLog_SendIntroduction::set_concurrent_connections(::int32_t value) {
_internal_set_concurrent_connections(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendIntroduction.concurrent_connections)
}
inline ::int32_t SharingLog_SendIntroduction::_internal_concurrent_connections() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.concurrent_connections_;
}
inline void SharingLog_SendIntroduction::_internal_set_concurrent_connections(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ReceiveIntroduction
// optional int64 session_id = 1;
inline bool SharingLog_ReceiveIntroduction::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ReceiveIntroduction::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_ReceiveIntroduction::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.session_id)
return _internal_session_id();
}
inline void SharingLog_ReceiveIntroduction::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.session_id)
}
inline ::int64_t SharingLog_ReceiveIntroduction::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ReceiveIntroduction::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 2;
inline bool SharingLog_ReceiveIntroduction::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_ReceiveIntroduction::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_ReceiveIntroduction::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_ReceiveIntroduction::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_ReceiveIntroduction::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_ReceiveIntroduction::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_ReceiveIntroduction::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_ReceiveIntroduction::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_ReceiveIntroduction::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.share_target_info)
return _msg;
}
inline void SharingLog_ReceiveIntroduction::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.share_target_info)
}
// optional string referrer_name = 3;
inline bool SharingLog_ReceiveIntroduction::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ReceiveIntroduction::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_ReceiveIntroduction::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_ReceiveIntroduction::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ReceiveIntroduction::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_ReceiveIntroduction::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_ReceiveIntroduction::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ReceiveIntroduction::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_ReceiveIntroduction::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_ReceiveIntroduction::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction.referrer_name)
}
// -------------------------------------------------------------------
// SharingLog_RespondToIntroduction
// optional .location.nearby.proto.sharing.ResponseToIntroduction action = 1;
inline bool SharingLog_RespondToIntroduction::has_action() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_RespondToIntroduction::clear_action() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ResponseToIntroduction SharingLog_RespondToIntroduction::action() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction.action)
return _internal_action();
}
inline void SharingLog_RespondToIntroduction::set_action(::location::nearby::proto::sharing::ResponseToIntroduction value) {
_internal_set_action(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction.action)
}
inline ::location::nearby::proto::sharing::ResponseToIntroduction SharingLog_RespondToIntroduction::_internal_action() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ResponseToIntroduction>(_impl_.action_);
}
inline void SharingLog_RespondToIntroduction::_internal_set_action(::location::nearby::proto::sharing::ResponseToIntroduction value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ResponseToIntroduction_internal_data_));
_impl_.action_ = value;
}
// optional int64 session_id = 2;
inline bool SharingLog_RespondToIntroduction::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_RespondToIntroduction::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_RespondToIntroduction::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction.session_id)
return _internal_session_id();
}
inline void SharingLog_RespondToIntroduction::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction.session_id)
}
inline ::int64_t SharingLog_RespondToIntroduction::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_RespondToIntroduction::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional bool qr_code_flow = 3;
inline bool SharingLog_RespondToIntroduction::has_qr_code_flow() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_RespondToIntroduction::clear_qr_code_flow() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline bool SharingLog_RespondToIntroduction::qr_code_flow() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction.qr_code_flow)
return _internal_qr_code_flow();
}
inline void SharingLog_RespondToIntroduction::set_qr_code_flow(bool value) {
_internal_set_qr_code_flow(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction.qr_code_flow)
}
inline bool SharingLog_RespondToIntroduction::_internal_qr_code_flow() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.qr_code_flow_;
}
inline void SharingLog_RespondToIntroduction::_internal_set_qr_code_flow(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SendAttachmentsStart
// optional int64 session_id = 1;
inline bool SharingLog_SendAttachmentsStart::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_SendAttachmentsStart::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.session_id)
return _internal_session_id();
}
inline void SharingLog_SendAttachmentsStart::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.session_id)
}
inline ::int64_t SharingLog_SendAttachmentsStart::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_SendAttachmentsStart::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 2;
inline bool SharingLog_SendAttachmentsStart::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_SendAttachmentsStart::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_SendAttachmentsStart::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_SendAttachmentsStart::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsStart::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsStart::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsStart::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsStart::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.attachments_info)
return _msg;
}
inline void SharingLog_SendAttachmentsStart::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.attachments_info)
}
// optional int32 transfer_position = 3;
inline bool SharingLog_SendAttachmentsStart::has_transfer_position() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_transfer_position() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int32_t SharingLog_SendAttachmentsStart::transfer_position() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.transfer_position)
return _internal_transfer_position();
}
inline void SharingLog_SendAttachmentsStart::set_transfer_position(::int32_t value) {
_internal_set_transfer_position(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.transfer_position)
}
inline ::int32_t SharingLog_SendAttachmentsStart::_internal_transfer_position() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transfer_position_;
}
inline void SharingLog_SendAttachmentsStart::_internal_set_transfer_position(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = value;
}
// optional int32 concurrent_connections = 4;
inline bool SharingLog_SendAttachmentsStart::has_concurrent_connections() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_concurrent_connections() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int32_t SharingLog_SendAttachmentsStart::concurrent_connections() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.concurrent_connections)
return _internal_concurrent_connections();
}
inline void SharingLog_SendAttachmentsStart::set_concurrent_connections(::int32_t value) {
_internal_set_concurrent_connections(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.concurrent_connections)
}
inline ::int32_t SharingLog_SendAttachmentsStart::_internal_concurrent_connections() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.concurrent_connections_;
}
inline void SharingLog_SendAttachmentsStart::_internal_set_concurrent_connections(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = value;
}
// optional bool qr_code_flow = 5 [deprecated = true];
inline bool SharingLog_SendAttachmentsStart::has_qr_code_flow() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_qr_code_flow() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline bool SharingLog_SendAttachmentsStart::qr_code_flow() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.qr_code_flow)
return _internal_qr_code_flow();
}
inline void SharingLog_SendAttachmentsStart::set_qr_code_flow(bool value) {
_internal_set_qr_code_flow(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.qr_code_flow)
}
inline bool SharingLog_SendAttachmentsStart::_internal_qr_code_flow() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.qr_code_flow_;
}
inline void SharingLog_SendAttachmentsStart::_internal_set_qr_code_flow(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.qr_code_flow_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 6;
inline bool SharingLog_SendAttachmentsStart::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendAttachmentsStart::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendAttachmentsStart::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_SendAttachmentsStart::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsStart::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsStart::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsStart::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsStart::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.share_target_info)
return _msg;
}
inline void SharingLog_SendAttachmentsStart::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.share_target_info)
}
// optional bool advanced_protection_enabled = 7;
inline bool SharingLog_SendAttachmentsStart::has_advanced_protection_enabled() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_advanced_protection_enabled() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.advanced_protection_enabled_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline bool SharingLog_SendAttachmentsStart::advanced_protection_enabled() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.advanced_protection_enabled)
return _internal_advanced_protection_enabled();
}
inline void SharingLog_SendAttachmentsStart::set_advanced_protection_enabled(bool value) {
_internal_set_advanced_protection_enabled(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.advanced_protection_enabled)
}
inline bool SharingLog_SendAttachmentsStart::_internal_advanced_protection_enabled() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.advanced_protection_enabled_;
}
inline void SharingLog_SendAttachmentsStart::_internal_set_advanced_protection_enabled(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.advanced_protection_enabled_ = value;
}
// optional bool advanced_protection_mismatch = 8;
inline bool SharingLog_SendAttachmentsStart::has_advanced_protection_mismatch() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_SendAttachmentsStart::clear_advanced_protection_mismatch() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.advanced_protection_mismatch_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline bool SharingLog_SendAttachmentsStart::advanced_protection_mismatch() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.advanced_protection_mismatch)
return _internal_advanced_protection_mismatch();
}
inline void SharingLog_SendAttachmentsStart::set_advanced_protection_mismatch(bool value) {
_internal_set_advanced_protection_mismatch(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart.advanced_protection_mismatch)
}
inline bool SharingLog_SendAttachmentsStart::_internal_advanced_protection_mismatch() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.advanced_protection_mismatch_;
}
inline void SharingLog_SendAttachmentsStart::_internal_set_advanced_protection_mismatch(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.advanced_protection_mismatch_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SendAttachmentsEnd
// optional int64 session_id = 1;
inline bool SharingLog_SendAttachmentsEnd::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_SendAttachmentsEnd::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.session_id)
return _internal_session_id();
}
inline void SharingLog_SendAttachmentsEnd::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.session_id)
}
inline ::int64_t SharingLog_SendAttachmentsEnd::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int64 sent_bytes = 2;
inline bool SharingLog_SendAttachmentsEnd::has_sent_bytes() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_sent_bytes() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.sent_bytes_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int64_t SharingLog_SendAttachmentsEnd::sent_bytes() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.sent_bytes)
return _internal_sent_bytes();
}
inline void SharingLog_SendAttachmentsEnd::set_sent_bytes(::int64_t value) {
_internal_set_sent_bytes(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.sent_bytes)
}
inline ::int64_t SharingLog_SendAttachmentsEnd::_internal_sent_bytes() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.sent_bytes_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_sent_bytes(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.sent_bytes_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentTransmissionStatus status = 3;
inline bool SharingLog_SendAttachmentsEnd::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::location::nearby::proto::sharing::AttachmentTransmissionStatus SharingLog_SendAttachmentsEnd::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.status)
return _internal_status();
}
inline void SharingLog_SendAttachmentsEnd::set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.status)
}
inline ::location::nearby::proto::sharing::AttachmentTransmissionStatus SharingLog_SendAttachmentsEnd::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentTransmissionStatus>(_impl_.status_);
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentTransmissionStatus_internal_data_));
_impl_.status_ = value;
}
// optional int32 transfer_position = 4;
inline bool SharingLog_SendAttachmentsEnd::has_transfer_position() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_transfer_position() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::int32_t SharingLog_SendAttachmentsEnd::transfer_position() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.transfer_position)
return _internal_transfer_position();
}
inline void SharingLog_SendAttachmentsEnd::set_transfer_position(::int32_t value) {
_internal_set_transfer_position(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.transfer_position)
}
inline ::int32_t SharingLog_SendAttachmentsEnd::_internal_transfer_position() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transfer_position_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_transfer_position(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = value;
}
// optional int32 concurrent_connections = 5;
inline bool SharingLog_SendAttachmentsEnd::has_concurrent_connections() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_concurrent_connections() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline ::int32_t SharingLog_SendAttachmentsEnd::concurrent_connections() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.concurrent_connections)
return _internal_concurrent_connections();
}
inline void SharingLog_SendAttachmentsEnd::set_concurrent_connections(::int32_t value) {
_internal_set_concurrent_connections(value);
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.concurrent_connections)
}
inline ::int32_t SharingLog_SendAttachmentsEnd::_internal_concurrent_connections() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.concurrent_connections_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_concurrent_connections(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 6;
inline bool SharingLog_SendAttachmentsEnd::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_SendAttachmentsEnd::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_SendAttachmentsEnd::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_SendAttachmentsEnd::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsEnd::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsEnd::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsEnd::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsEnd::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.attachments_info)
return _msg;
}
inline void SharingLog_SendAttachmentsEnd::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.attachments_info)
}
// optional int64 duration_millis = 7;
inline bool SharingLog_SendAttachmentsEnd::has_duration_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_duration_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::int64_t SharingLog_SendAttachmentsEnd::duration_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.duration_millis)
return _internal_duration_millis();
}
inline void SharingLog_SendAttachmentsEnd::set_duration_millis(::int64_t value) {
_internal_set_duration_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.duration_millis)
}
inline ::int64_t SharingLog_SendAttachmentsEnd::_internal_duration_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.duration_millis_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_duration_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 8;
inline bool SharingLog_SendAttachmentsEnd::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendAttachmentsEnd::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendAttachmentsEnd::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_SendAttachmentsEnd::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsEnd::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendAttachmentsEnd::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsEnd::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendAttachmentsEnd::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.share_target_info)
return _msg;
}
inline void SharingLog_SendAttachmentsEnd::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.share_target_info)
}
// optional string referrer_name = 9;
inline bool SharingLog_SendAttachmentsEnd::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_SendAttachmentsEnd::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_SendAttachmentsEnd::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_SendAttachmentsEnd::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_SendAttachmentsEnd::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_SendAttachmentsEnd::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_SendAttachmentsEnd::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_SendAttachmentsEnd::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.referrer_name)
}
// optional .location.nearby.proto.sharing.ConnectionLayerStatus connection_layer_status = 10;
inline bool SharingLog_SendAttachmentsEnd::has_connection_layer_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_connection_layer_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_layer_status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline ::location::nearby::proto::sharing::ConnectionLayerStatus SharingLog_SendAttachmentsEnd::connection_layer_status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.connection_layer_status)
return _internal_connection_layer_status();
}
inline void SharingLog_SendAttachmentsEnd::set_connection_layer_status(::location::nearby::proto::sharing::ConnectionLayerStatus value) {
_internal_set_connection_layer_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.connection_layer_status)
}
inline ::location::nearby::proto::sharing::ConnectionLayerStatus SharingLog_SendAttachmentsEnd::_internal_connection_layer_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ConnectionLayerStatus>(_impl_.connection_layer_status_);
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_connection_layer_status(::location::nearby::proto::sharing::ConnectionLayerStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ConnectionLayerStatus_internal_data_));
_impl_.connection_layer_status_ = value;
}
// optional int32 first_successful_transfer_date = 11;
inline bool SharingLog_SendAttachmentsEnd::has_first_successful_transfer_date() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_first_successful_transfer_date() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.first_successful_transfer_date_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000400U);
}
inline ::int32_t SharingLog_SendAttachmentsEnd::first_successful_transfer_date() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.first_successful_transfer_date)
return _internal_first_successful_transfer_date();
}
inline void SharingLog_SendAttachmentsEnd::set_first_successful_transfer_date(::int32_t value) {
_internal_set_first_successful_transfer_date(value);
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.first_successful_transfer_date)
}
inline ::int32_t SharingLog_SendAttachmentsEnd::_internal_first_successful_transfer_date() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.first_successful_transfer_date_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_first_successful_transfer_date(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.first_successful_transfer_date_ = value;
}
// optional int32 previous_successful_transfer_date = 12;
inline bool SharingLog_SendAttachmentsEnd::has_previous_successful_transfer_date() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_previous_successful_transfer_date() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_successful_transfer_date_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000800U);
}
inline ::int32_t SharingLog_SendAttachmentsEnd::previous_successful_transfer_date() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.previous_successful_transfer_date)
return _internal_previous_successful_transfer_date();
}
inline void SharingLog_SendAttachmentsEnd::set_previous_successful_transfer_date(::int32_t value) {
_internal_set_previous_successful_transfer_date(value);
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.previous_successful_transfer_date)
}
inline ::int32_t SharingLog_SendAttachmentsEnd::_internal_previous_successful_transfer_date() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.previous_successful_transfer_date_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_previous_successful_transfer_date(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_successful_transfer_date_ = value;
}
// optional int32 lifetime_transfer_count = 13;
inline bool SharingLog_SendAttachmentsEnd::has_lifetime_transfer_count() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_lifetime_transfer_count() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lifetime_transfer_count_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00001000U);
}
inline ::int32_t SharingLog_SendAttachmentsEnd::lifetime_transfer_count() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.lifetime_transfer_count)
return _internal_lifetime_transfer_count();
}
inline void SharingLog_SendAttachmentsEnd::set_lifetime_transfer_count(::int32_t value) {
_internal_set_lifetime_transfer_count(value);
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.lifetime_transfer_count)
}
inline ::int32_t SharingLog_SendAttachmentsEnd::_internal_lifetime_transfer_count() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.lifetime_transfer_count_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_lifetime_transfer_count(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lifetime_transfer_count_ = value;
}
// optional int32 connection_medium = 14;
inline bool SharingLog_SendAttachmentsEnd::has_connection_medium() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00002000U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_connection_medium() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_medium_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00002000U);
}
inline ::int32_t SharingLog_SendAttachmentsEnd::connection_medium() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.connection_medium)
return _internal_connection_medium();
}
inline void SharingLog_SendAttachmentsEnd::set_connection_medium(::int32_t value) {
_internal_set_connection_medium(value);
SetHasBit(_impl_._has_bits_[0], 0x00002000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.connection_medium)
}
inline ::int32_t SharingLog_SendAttachmentsEnd::_internal_connection_medium() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.connection_medium_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_connection_medium(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_medium_ = value;
}
// optional .location.nearby.proto.sharing.DataUsage data_usage = 15;
inline bool SharingLog_SendAttachmentsEnd::has_data_usage() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00004000U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.data_usage_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00004000U);
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_SendAttachmentsEnd::data_usage() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.data_usage)
return _internal_data_usage();
}
inline void SharingLog_SendAttachmentsEnd::set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
_internal_set_data_usage(value);
SetHasBit(_impl_._has_bits_[0], 0x00004000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.data_usage)
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_SendAttachmentsEnd::_internal_data_usage() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DataUsage>(_impl_.data_usage_);
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DataUsage_internal_data_));
_impl_.data_usage_ = value;
}
// optional bool is_mutual_contact = 16;
inline bool SharingLog_SendAttachmentsEnd::has_is_mutual_contact() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00008000U);
return value;
}
inline void SharingLog_SendAttachmentsEnd::clear_is_mutual_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_mutual_contact_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00008000U);
}
inline bool SharingLog_SendAttachmentsEnd::is_mutual_contact() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.is_mutual_contact)
return _internal_is_mutual_contact();
}
inline void SharingLog_SendAttachmentsEnd::set_is_mutual_contact(bool value) {
_internal_set_is_mutual_contact(value);
SetHasBit(_impl_._has_bits_[0], 0x00008000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd.is_mutual_contact)
}
inline bool SharingLog_SendAttachmentsEnd::_internal_is_mutual_contact() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_mutual_contact_;
}
inline void SharingLog_SendAttachmentsEnd::_internal_set_is_mutual_contact(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_mutual_contact_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ReceiveAttachmentsStart
// optional int64 session_id = 1;
inline bool SharingLog_ReceiveAttachmentsStart::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ReceiveAttachmentsStart::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_ReceiveAttachmentsStart::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.session_id)
return _internal_session_id();
}
inline void SharingLog_ReceiveAttachmentsStart::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.session_id)
}
inline ::int64_t SharingLog_ReceiveAttachmentsStart::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ReceiveAttachmentsStart::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 2;
inline bool SharingLog_ReceiveAttachmentsStart::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_ReceiveAttachmentsStart::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_ReceiveAttachmentsStart::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_ReceiveAttachmentsStart::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_ReceiveAttachmentsStart::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsStart::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsStart::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsStart::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsStart::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.attachments_info)
return _msg;
}
inline void SharingLog_ReceiveAttachmentsStart::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.attachments_info)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 3;
inline bool SharingLog_ReceiveAttachmentsStart::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_ReceiveAttachmentsStart::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_ReceiveAttachmentsStart::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_ReceiveAttachmentsStart::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_ReceiveAttachmentsStart::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsStart::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsStart::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsStart::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsStart::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.share_target_info)
return _msg;
}
inline void SharingLog_ReceiveAttachmentsStart::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart.share_target_info)
}
// -------------------------------------------------------------------
// SharingLog_ReceiveAttachmentsEnd
// optional int64 session_id = 1;
inline bool SharingLog_ReceiveAttachmentsEnd::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_ReceiveAttachmentsEnd::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.session_id)
return _internal_session_id();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.session_id)
}
inline ::int64_t SharingLog_ReceiveAttachmentsEnd::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int64 received_bytes = 2;
inline bool SharingLog_ReceiveAttachmentsEnd::has_received_bytes() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_received_bytes() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.received_bytes_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_ReceiveAttachmentsEnd::received_bytes() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.received_bytes)
return _internal_received_bytes();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_received_bytes(::int64_t value) {
_internal_set_received_bytes(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.received_bytes)
}
inline ::int64_t SharingLog_ReceiveAttachmentsEnd::_internal_received_bytes() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.received_bytes_;
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_received_bytes(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.received_bytes_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentTransmissionStatus status = 3;
inline bool SharingLog_ReceiveAttachmentsEnd::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::location::nearby::proto::sharing::AttachmentTransmissionStatus SharingLog_ReceiveAttachmentsEnd::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.status)
return _internal_status();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.status)
}
inline ::location::nearby::proto::sharing::AttachmentTransmissionStatus SharingLog_ReceiveAttachmentsEnd::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentTransmissionStatus>(_impl_.status_);
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentTransmissionStatus_internal_data_));
_impl_.status_ = value;
}
// optional string referrer_name = 4;
inline bool SharingLog_ReceiveAttachmentsEnd::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_ReceiveAttachmentsEnd::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_ReceiveAttachmentsEnd::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsEnd::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_ReceiveAttachmentsEnd::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsEnd::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsEnd::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_ReceiveAttachmentsEnd::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.referrer_name)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 5;
inline bool SharingLog_ReceiveAttachmentsEnd::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_ReceiveAttachmentsEnd::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_ReceiveAttachmentsEnd::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_ReceiveAttachmentsEnd::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsEnd::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_ReceiveAttachmentsEnd::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsEnd::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_ReceiveAttachmentsEnd::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.share_target_info)
return _msg;
}
inline void SharingLog_ReceiveAttachmentsEnd::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.share_target_info)
}
// optional int32 first_successful_transfer_date = 6;
inline bool SharingLog_ReceiveAttachmentsEnd::has_first_successful_transfer_date() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_first_successful_transfer_date() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.first_successful_transfer_date_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::first_successful_transfer_date() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.first_successful_transfer_date)
return _internal_first_successful_transfer_date();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_first_successful_transfer_date(::int32_t value) {
_internal_set_first_successful_transfer_date(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.first_successful_transfer_date)
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::_internal_first_successful_transfer_date() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.first_successful_transfer_date_;
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_first_successful_transfer_date(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.first_successful_transfer_date_ = value;
}
// optional int32 previous_successful_transfer_date = 7;
inline bool SharingLog_ReceiveAttachmentsEnd::has_previous_successful_transfer_date() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_previous_successful_transfer_date() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_successful_transfer_date_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::previous_successful_transfer_date() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.previous_successful_transfer_date)
return _internal_previous_successful_transfer_date();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_previous_successful_transfer_date(::int32_t value) {
_internal_set_previous_successful_transfer_date(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.previous_successful_transfer_date)
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::_internal_previous_successful_transfer_date() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.previous_successful_transfer_date_;
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_previous_successful_transfer_date(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_successful_transfer_date_ = value;
}
// optional int32 lifetime_transfer_count = 8;
inline bool SharingLog_ReceiveAttachmentsEnd::has_lifetime_transfer_count() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_lifetime_transfer_count() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lifetime_transfer_count_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::lifetime_transfer_count() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.lifetime_transfer_count)
return _internal_lifetime_transfer_count();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_lifetime_transfer_count(::int32_t value) {
_internal_set_lifetime_transfer_count(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.lifetime_transfer_count)
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::_internal_lifetime_transfer_count() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.lifetime_transfer_count_;
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_lifetime_transfer_count(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lifetime_transfer_count_ = value;
}
// optional int32 connection_medium = 14;
inline bool SharingLog_ReceiveAttachmentsEnd::has_connection_medium() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_connection_medium() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_medium_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::connection_medium() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.connection_medium)
return _internal_connection_medium();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_connection_medium(::int32_t value) {
_internal_set_connection_medium(value);
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.connection_medium)
}
inline ::int32_t SharingLog_ReceiveAttachmentsEnd::_internal_connection_medium() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.connection_medium_;
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_connection_medium(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_medium_ = value;
}
// optional .location.nearby.proto.sharing.DataUsage data_usage = 15;
inline bool SharingLog_ReceiveAttachmentsEnd::has_data_usage() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
return value;
}
inline void SharingLog_ReceiveAttachmentsEnd::clear_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.data_usage_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_ReceiveAttachmentsEnd::data_usage() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.data_usage)
return _internal_data_usage();
}
inline void SharingLog_ReceiveAttachmentsEnd::set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
_internal_set_data_usage(value);
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd.data_usage)
}
inline ::location::nearby::proto::sharing::DataUsage SharingLog_ReceiveAttachmentsEnd::_internal_data_usage() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DataUsage>(_impl_.data_usage_);
}
inline void SharingLog_ReceiveAttachmentsEnd::_internal_set_data_usage(::location::nearby::proto::sharing::DataUsage value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DataUsage_internal_data_));
_impl_.data_usage_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CancelConnection
// optional int64 session_id = 1;
inline bool SharingLog_CancelConnection::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_CancelConnection::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_CancelConnection::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CancelConnection.session_id)
return _internal_session_id();
}
inline void SharingLog_CancelConnection::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CancelConnection.session_id)
}
inline ::int64_t SharingLog_CancelConnection::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_CancelConnection::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int32 transfer_position = 2;
inline bool SharingLog_CancelConnection::has_transfer_position() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CancelConnection::clear_transfer_position() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int32_t SharingLog_CancelConnection::transfer_position() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CancelConnection.transfer_position)
return _internal_transfer_position();
}
inline void SharingLog_CancelConnection::set_transfer_position(::int32_t value) {
_internal_set_transfer_position(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CancelConnection.transfer_position)
}
inline ::int32_t SharingLog_CancelConnection::_internal_transfer_position() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transfer_position_;
}
inline void SharingLog_CancelConnection::_internal_set_transfer_position(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = value;
}
// optional int32 concurrent_connections = 3;
inline bool SharingLog_CancelConnection::has_concurrent_connections() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_CancelConnection::clear_concurrent_connections() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int32_t SharingLog_CancelConnection::concurrent_connections() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CancelConnection.concurrent_connections)
return _internal_concurrent_connections();
}
inline void SharingLog_CancelConnection::set_concurrent_connections(::int32_t value) {
_internal_set_concurrent_connections(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CancelConnection.concurrent_connections)
}
inline ::int32_t SharingLog_CancelConnection::_internal_concurrent_connections() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.concurrent_connections_;
}
inline void SharingLog_CancelConnection::_internal_set_concurrent_connections(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CancelSendingAttachments
// -------------------------------------------------------------------
// SharingLog_CancelReceivingAttachments
// -------------------------------------------------------------------
// SharingLog_ProcessReceivedAttachmentsEnd
// optional int64 session_id = 1;
inline bool SharingLog_ProcessReceivedAttachmentsEnd::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ProcessReceivedAttachmentsEnd::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_ProcessReceivedAttachmentsEnd::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd.session_id)
return _internal_session_id();
}
inline void SharingLog_ProcessReceivedAttachmentsEnd::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd.session_id)
}
inline ::int64_t SharingLog_ProcessReceivedAttachmentsEnd::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_ProcessReceivedAttachmentsEnd::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional .location.nearby.proto.sharing.ProcessReceivedAttachmentsStatus status = 2;
inline bool SharingLog_ProcessReceivedAttachmentsEnd::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ProcessReceivedAttachmentsEnd::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus SharingLog_ProcessReceivedAttachmentsEnd::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd.status)
return _internal_status();
}
inline void SharingLog_ProcessReceivedAttachmentsEnd::set_status(::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd.status)
}
inline ::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus SharingLog_ProcessReceivedAttachmentsEnd::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus>(_impl_.status_);
}
inline void SharingLog_ProcessReceivedAttachmentsEnd::_internal_set_status(::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus_internal_data_));
_impl_.status_ = value;
}
// -------------------------------------------------------------------
// SharingLog_OpenReceivedAttachments
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 3;
inline bool SharingLog_OpenReceivedAttachments::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_OpenReceivedAttachments::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_OpenReceivedAttachments::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_OpenReceivedAttachments::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_OpenReceivedAttachments::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_OpenReceivedAttachments::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_OpenReceivedAttachments::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_OpenReceivedAttachments::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_OpenReceivedAttachments::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.attachments_info)
return _msg;
}
inline void SharingLog_OpenReceivedAttachments::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.attachments_info)
}
// optional int64 session_id = 4;
inline bool SharingLog_OpenReceivedAttachments::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_OpenReceivedAttachments::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_OpenReceivedAttachments::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.session_id)
return _internal_session_id();
}
inline void SharingLog_OpenReceivedAttachments::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments.session_id)
}
inline ::int64_t SharingLog_OpenReceivedAttachments::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_OpenReceivedAttachments::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// -------------------------------------------------------------------
// SharingLog_LaunchSetupActivity
// -------------------------------------------------------------------
// SharingLog_AddContact
// optional bool was_phone_added = 1;
inline bool SharingLog_AddContact::has_was_phone_added() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_AddContact::clear_was_phone_added() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_phone_added_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline bool SharingLog_AddContact::was_phone_added() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AddContact.was_phone_added)
return _internal_was_phone_added();
}
inline void SharingLog_AddContact::set_was_phone_added(bool value) {
_internal_set_was_phone_added(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AddContact.was_phone_added)
}
inline bool SharingLog_AddContact::_internal_was_phone_added() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.was_phone_added_;
}
inline void SharingLog_AddContact::_internal_set_was_phone_added(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_phone_added_ = value;
}
// optional bool was_email_added = 2;
inline bool SharingLog_AddContact::has_was_email_added() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_AddContact::clear_was_email_added() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_email_added_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline bool SharingLog_AddContact::was_email_added() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AddContact.was_email_added)
return _internal_was_email_added();
}
inline void SharingLog_AddContact::set_was_email_added(bool value) {
_internal_set_was_email_added(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AddContact.was_email_added)
}
inline bool SharingLog_AddContact::_internal_was_email_added() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.was_email_added_;
}
inline void SharingLog_AddContact::_internal_set_was_email_added(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_email_added_ = value;
}
// -------------------------------------------------------------------
// SharingLog_RemoveContact
// optional bool was_phone_removed = 1;
inline bool SharingLog_RemoveContact::has_was_phone_removed() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_RemoveContact::clear_was_phone_removed() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_phone_removed_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline bool SharingLog_RemoveContact::was_phone_removed() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RemoveContact.was_phone_removed)
return _internal_was_phone_removed();
}
inline void SharingLog_RemoveContact::set_was_phone_removed(bool value) {
_internal_set_was_phone_removed(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RemoveContact.was_phone_removed)
}
inline bool SharingLog_RemoveContact::_internal_was_phone_removed() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.was_phone_removed_;
}
inline void SharingLog_RemoveContact::_internal_set_was_phone_removed(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_phone_removed_ = value;
}
// optional bool was_email_removed = 2;
inline bool SharingLog_RemoveContact::has_was_email_removed() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_RemoveContact::clear_was_email_removed() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_email_removed_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline bool SharingLog_RemoveContact::was_email_removed() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RemoveContact.was_email_removed)
return _internal_was_email_removed();
}
inline void SharingLog_RemoveContact::set_was_email_removed(bool value) {
_internal_set_was_email_removed(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RemoveContact.was_email_removed)
}
inline bool SharingLog_RemoveContact::_internal_was_email_removed() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.was_email_removed_;
}
inline void SharingLog_RemoveContact::_internal_set_was_email_removed(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.was_email_removed_ = value;
}
// -------------------------------------------------------------------
// SharingLog_FastShareServerResponse
// optional .location.nearby.proto.sharing.ServerResponseState status = 1;
inline bool SharingLog_FastShareServerResponse::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_FastShareServerResponse::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::ServerResponseState SharingLog_FastShareServerResponse::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.status)
return _internal_status();
}
inline void SharingLog_FastShareServerResponse::set_status(::location::nearby::proto::sharing::ServerResponseState value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.status)
}
inline ::location::nearby::proto::sharing::ServerResponseState SharingLog_FastShareServerResponse::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ServerResponseState>(_impl_.status_);
}
inline void SharingLog_FastShareServerResponse::_internal_set_status(::location::nearby::proto::sharing::ServerResponseState value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ServerResponseState_internal_data_));
_impl_.status_ = value;
}
// optional .location.nearby.proto.sharing.ServerActionName name = 2;
inline bool SharingLog_FastShareServerResponse::has_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_FastShareServerResponse::clear_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.name_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ServerActionName SharingLog_FastShareServerResponse::name() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.name)
return _internal_name();
}
inline void SharingLog_FastShareServerResponse::set_name(::location::nearby::proto::sharing::ServerActionName value) {
_internal_set_name(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.name)
}
inline ::location::nearby::proto::sharing::ServerActionName SharingLog_FastShareServerResponse::_internal_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ServerActionName>(_impl_.name_);
}
inline void SharingLog_FastShareServerResponse::_internal_set_name(::location::nearby::proto::sharing::ServerActionName value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ServerActionName_internal_data_));
_impl_.name_ = value;
}
// optional int64 latency_millis = 3;
inline bool SharingLog_FastShareServerResponse::has_latency_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_FastShareServerResponse::clear_latency_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_FastShareServerResponse::latency_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.latency_millis)
return _internal_latency_millis();
}
inline void SharingLog_FastShareServerResponse::set_latency_millis(::int64_t value) {
_internal_set_latency_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.latency_millis)
}
inline ::int64_t SharingLog_FastShareServerResponse::_internal_latency_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.latency_millis_;
}
inline void SharingLog_FastShareServerResponse::_internal_set_latency_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_millis_ = value;
}
// optional .location.nearby.proto.sharing.SyncPurpose purpose = 4;
inline bool SharingLog_FastShareServerResponse::has_purpose() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_FastShareServerResponse::clear_purpose() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.purpose_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::location::nearby::proto::sharing::SyncPurpose SharingLog_FastShareServerResponse::purpose() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.purpose)
return _internal_purpose();
}
inline void SharingLog_FastShareServerResponse::set_purpose(::location::nearby::proto::sharing::SyncPurpose value) {
_internal_set_purpose(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.purpose)
}
inline ::location::nearby::proto::sharing::SyncPurpose SharingLog_FastShareServerResponse::_internal_purpose() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::SyncPurpose>(_impl_.purpose_);
}
inline void SharingLog_FastShareServerResponse::_internal_set_purpose(::location::nearby::proto::sharing::SyncPurpose value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::SyncPurpose_internal_data_));
_impl_.purpose_ = value;
}
// optional .location.nearby.proto.sharing.ClientRole requester = 5;
inline bool SharingLog_FastShareServerResponse::has_requester() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_FastShareServerResponse::clear_requester() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.requester_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::location::nearby::proto::sharing::ClientRole SharingLog_FastShareServerResponse::requester() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.requester)
return _internal_requester();
}
inline void SharingLog_FastShareServerResponse::set_requester(::location::nearby::proto::sharing::ClientRole value) {
_internal_set_requester(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.requester)
}
inline ::location::nearby::proto::sharing::ClientRole SharingLog_FastShareServerResponse::_internal_requester() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ClientRole>(_impl_.requester_);
}
inline void SharingLog_FastShareServerResponse::_internal_set_requester(::location::nearby::proto::sharing::ClientRole value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ClientRole_internal_data_));
_impl_.requester_ = value;
}
// optional .location.nearby.proto.sharing.DeviceType device_type = 6;
inline bool SharingLog_FastShareServerResponse::has_device_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_FastShareServerResponse::clear_device_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::location::nearby::proto::sharing::DeviceType SharingLog_FastShareServerResponse::device_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.device_type)
return _internal_device_type();
}
inline void SharingLog_FastShareServerResponse::set_device_type(::location::nearby::proto::sharing::DeviceType value) {
_internal_set_device_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse.device_type)
}
inline ::location::nearby::proto::sharing::DeviceType SharingLog_FastShareServerResponse::_internal_device_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DeviceType>(_impl_.device_type_);
}
inline void SharingLog_FastShareServerResponse::_internal_set_device_type(::location::nearby::proto::sharing::DeviceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DeviceType_internal_data_));
_impl_.device_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SendStart
// optional int64 session_id = 1;
inline bool SharingLog_SendStart::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_SendStart::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_SendStart::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendStart.session_id)
return _internal_session_id();
}
inline void SharingLog_SendStart::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendStart.session_id)
}
inline ::int64_t SharingLog_SendStart::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_SendStart::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int32 transfer_position = 2;
inline bool SharingLog_SendStart::has_transfer_position() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_SendStart::clear_transfer_position() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int32_t SharingLog_SendStart::transfer_position() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendStart.transfer_position)
return _internal_transfer_position();
}
inline void SharingLog_SendStart::set_transfer_position(::int32_t value) {
_internal_set_transfer_position(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendStart.transfer_position)
}
inline ::int32_t SharingLog_SendStart::_internal_transfer_position() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transfer_position_;
}
inline void SharingLog_SendStart::_internal_set_transfer_position(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transfer_position_ = value;
}
// optional int32 concurrent_connections = 3;
inline bool SharingLog_SendStart::has_concurrent_connections() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_SendStart::clear_concurrent_connections() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int32_t SharingLog_SendStart::concurrent_connections() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendStart.concurrent_connections)
return _internal_concurrent_connections();
}
inline void SharingLog_SendStart::set_concurrent_connections(::int32_t value) {
_internal_set_concurrent_connections(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendStart.concurrent_connections)
}
inline ::int32_t SharingLog_SendStart::_internal_concurrent_connections() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.concurrent_connections_;
}
inline void SharingLog_SendStart::_internal_set_concurrent_connections(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.concurrent_connections_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 4;
inline bool SharingLog_SendStart::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_SendStart::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendStart::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_SendStart::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendStart.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_SendStart::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendStart.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendStart::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_SendStart::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.SendStart.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendStart::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_SendStart::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.SendStart.share_target_info)
return _msg;
}
inline void SharingLog_SendStart::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.SendStart.share_target_info)
}
// -------------------------------------------------------------------
// SharingLog_AcceptFastInitialization
// -------------------------------------------------------------------
// SharingLog_LaunchActivity
// optional .location.nearby.proto.sharing.ActivityName activity_name = 1;
inline bool SharingLog_LaunchActivity::has_activity_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_LaunchActivity::clear_activity_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.activity_name_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_LaunchActivity::activity_name() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.activity_name)
return _internal_activity_name();
}
inline void SharingLog_LaunchActivity::set_activity_name(::location::nearby::proto::sharing::ActivityName value) {
_internal_set_activity_name(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.activity_name)
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_LaunchActivity::_internal_activity_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ActivityName>(_impl_.activity_name_);
}
inline void SharingLog_LaunchActivity::_internal_set_activity_name(::location::nearby::proto::sharing::ActivityName value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ActivityName_internal_data_));
_impl_.activity_name_ = value;
}
// optional int64 duration_millis = 2;
inline bool SharingLog_LaunchActivity::has_duration_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_LaunchActivity::clear_duration_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_LaunchActivity::duration_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.duration_millis)
return _internal_duration_millis();
}
inline void SharingLog_LaunchActivity::set_duration_millis(::int64_t value) {
_internal_set_duration_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.duration_millis)
}
inline ::int64_t SharingLog_LaunchActivity::_internal_duration_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.duration_millis_;
}
inline void SharingLog_LaunchActivity::_internal_set_duration_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = value;
}
// optional string referrer_name = 3;
inline bool SharingLog_LaunchActivity::has_referrer_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_LaunchActivity::clear_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_LaunchActivity::referrer_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.referrer_name)
return _internal_referrer_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_LaunchActivity::set_referrer_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.referrer_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.referrer_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_LaunchActivity::mutable_referrer_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_referrer_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.referrer_name)
return _s;
}
inline const ::std::string& SharingLog_LaunchActivity::_internal_referrer_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.referrer_name_.Get();
}
inline void SharingLog_LaunchActivity::_internal_set_referrer_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.referrer_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_LaunchActivity::_internal_mutable_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.referrer_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_LaunchActivity::release_referrer_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.referrer_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.referrer_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.referrer_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_LaunchActivity::set_allocated_referrer_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.referrer_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.referrer_name_.IsDefault()) {
_impl_.referrer_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.referrer_name)
}
// optional bool previous_transfer_in_progress = 4;
inline bool SharingLog_LaunchActivity::has_previous_transfer_in_progress() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_LaunchActivity::clear_previous_transfer_in_progress() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_transfer_in_progress_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline bool SharingLog_LaunchActivity::previous_transfer_in_progress() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.previous_transfer_in_progress)
return _internal_previous_transfer_in_progress();
}
inline void SharingLog_LaunchActivity::set_previous_transfer_in_progress(bool value) {
_internal_set_previous_transfer_in_progress(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.previous_transfer_in_progress)
}
inline bool SharingLog_LaunchActivity::_internal_previous_transfer_in_progress() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.previous_transfer_in_progress_;
}
inline void SharingLog_LaunchActivity::_internal_set_previous_transfer_in_progress(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_transfer_in_progress_ = value;
}
// optional bool has_opted_in = 5;
inline bool SharingLog_LaunchActivity::has_has_opted_in() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_LaunchActivity::clear_has_opted_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.has_opted_in_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline bool SharingLog_LaunchActivity::has_opted_in() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.has_opted_in)
return _internal_has_opted_in();
}
inline void SharingLog_LaunchActivity::set_has_opted_in(bool value) {
_internal_set_has_opted_in(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.has_opted_in)
}
inline bool SharingLog_LaunchActivity::_internal_has_opted_in() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.has_opted_in_;
}
inline void SharingLog_LaunchActivity::_internal_set_has_opted_in(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.has_opted_in_ = value;
}
// optional .location.nearby.proto.sharing.ActivityName source_activity_name = 6;
inline bool SharingLog_LaunchActivity::has_source_activity_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_LaunchActivity::clear_source_activity_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_activity_name_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_LaunchActivity::source_activity_name() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.source_activity_name)
return _internal_source_activity_name();
}
inline void SharingLog_LaunchActivity::set_source_activity_name(::location::nearby::proto::sharing::ActivityName value) {
_internal_set_source_activity_name(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.source_activity_name)
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_LaunchActivity::_internal_source_activity_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ActivityName>(_impl_.source_activity_name_);
}
inline void SharingLog_LaunchActivity::_internal_set_source_activity_name(::location::nearby::proto::sharing::ActivityName value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ActivityName_internal_data_));
_impl_.source_activity_name_ = value;
}
// optional bool is_finishing = 7;
inline bool SharingLog_LaunchActivity::has_is_finishing() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_LaunchActivity::clear_is_finishing() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_finishing_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline bool SharingLog_LaunchActivity::is_finishing() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.is_finishing)
return _internal_is_finishing();
}
inline void SharingLog_LaunchActivity::set_is_finishing(bool value) {
_internal_set_is_finishing(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchActivity.is_finishing)
}
inline bool SharingLog_LaunchActivity::_internal_is_finishing() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_finishing_;
}
inline void SharingLog_LaunchActivity::_internal_set_is_finishing(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_finishing_ = value;
}
// -------------------------------------------------------------------
// SharingLog_DismissPrivacyNotification
// -------------------------------------------------------------------
// SharingLog_TapPrivacyNotification
// -------------------------------------------------------------------
// SharingLog_TapHelp
// -------------------------------------------------------------------
// SharingLog_TapFeedback
// -------------------------------------------------------------------
// SharingLog_AddQuickSettingsTile
// -------------------------------------------------------------------
// SharingLog_RemoveQuickSettingsTile
// -------------------------------------------------------------------
// SharingLog_LaunchPhoneConsent
// -------------------------------------------------------------------
// SharingLog_DisplayPhoneConsent
// -------------------------------------------------------------------
// SharingLog_TapQuickSettingsTile
// -------------------------------------------------------------------
// SharingLog_TapQuickSettingsFileShare
// -------------------------------------------------------------------
// SharingLog_DisplayPrivacyNotification
// -------------------------------------------------------------------
// SharingLog_DefaultOptIn
// -------------------------------------------------------------------
// SharingLog_SetDeviceName
// optional int32 device_name_size = 1;
inline bool SharingLog_SetDeviceName::has_device_name_size() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SetDeviceName::clear_device_name_size() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_name_size_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int32_t SharingLog_SetDeviceName::device_name_size() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetDeviceName.device_name_size)
return _internal_device_name_size();
}
inline void SharingLog_SetDeviceName::set_device_name_size(::int32_t value) {
_internal_set_device_name_size(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetDeviceName.device_name_size)
}
inline ::int32_t SharingLog_SetDeviceName::_internal_device_name_size() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.device_name_size_;
}
inline void SharingLog_SetDeviceName::_internal_set_device_name_size(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_name_size_ = value;
}
// -------------------------------------------------------------------
// SharingLog_RequestSettingPermissions
// optional .location.nearby.proto.sharing.PermissionRequestType permission_type = 1;
inline bool SharingLog_RequestSettingPermissions::has_permission_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_RequestSettingPermissions::clear_permission_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.permission_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::PermissionRequestType SharingLog_RequestSettingPermissions::permission_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions.permission_type)
return _internal_permission_type();
}
inline void SharingLog_RequestSettingPermissions::set_permission_type(::location::nearby::proto::sharing::PermissionRequestType value) {
_internal_set_permission_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions.permission_type)
}
inline ::location::nearby::proto::sharing::PermissionRequestType SharingLog_RequestSettingPermissions::_internal_permission_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::PermissionRequestType>(_impl_.permission_type_);
}
inline void SharingLog_RequestSettingPermissions::_internal_set_permission_type(::location::nearby::proto::sharing::PermissionRequestType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::PermissionRequestType_internal_data_));
_impl_.permission_type_ = value;
}
// optional .location.nearby.proto.sharing.PermissionRequestResult permission_request_result = 2;
inline bool SharingLog_RequestSettingPermissions::has_permission_request_result() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_RequestSettingPermissions::clear_permission_request_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.permission_request_result_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::PermissionRequestResult SharingLog_RequestSettingPermissions::permission_request_result() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions.permission_request_result)
return _internal_permission_request_result();
}
inline void SharingLog_RequestSettingPermissions::set_permission_request_result(::location::nearby::proto::sharing::PermissionRequestResult value) {
_internal_set_permission_request_result(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions.permission_request_result)
}
inline ::location::nearby::proto::sharing::PermissionRequestResult SharingLog_RequestSettingPermissions::_internal_permission_request_result() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::PermissionRequestResult>(_impl_.permission_request_result_);
}
inline void SharingLog_RequestSettingPermissions::_internal_set_permission_request_result(::location::nearby::proto::sharing::PermissionRequestResult value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::PermissionRequestResult_internal_data_));
_impl_.permission_request_result_ = value;
}
// -------------------------------------------------------------------
// SharingLog_LaunchConsent
// optional .location.nearby.proto.sharing.ConsentType consent_type = 1;
inline bool SharingLog_LaunchConsent::has_consent_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_LaunchConsent::clear_consent_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.consent_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::ConsentType SharingLog_LaunchConsent::consent_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchConsent.consent_type)
return _internal_consent_type();
}
inline void SharingLog_LaunchConsent::set_consent_type(::location::nearby::proto::sharing::ConsentType value) {
_internal_set_consent_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchConsent.consent_type)
}
inline ::location::nearby::proto::sharing::ConsentType SharingLog_LaunchConsent::_internal_consent_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ConsentType>(_impl_.consent_type_);
}
inline void SharingLog_LaunchConsent::_internal_set_consent_type(::location::nearby::proto::sharing::ConsentType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ConsentType_internal_data_));
_impl_.consent_type_ = value;
}
// optional .location.nearby.proto.sharing.ConsentAcceptanceStatus status = 2;
inline bool SharingLog_LaunchConsent::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_LaunchConsent::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ConsentAcceptanceStatus SharingLog_LaunchConsent::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.LaunchConsent.status)
return _internal_status();
}
inline void SharingLog_LaunchConsent::set_status(::location::nearby::proto::sharing::ConsentAcceptanceStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.LaunchConsent.status)
}
inline ::location::nearby::proto::sharing::ConsentAcceptanceStatus SharingLog_LaunchConsent::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ConsentAcceptanceStatus>(_impl_.status_);
}
inline void SharingLog_LaunchConsent::_internal_set_status(::location::nearby::proto::sharing::ConsentAcceptanceStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ConsentAcceptanceStatus_internal_data_));
_impl_.status_ = value;
}
// -------------------------------------------------------------------
// SharingLog_InstallAPKStatus
// repeated .location.nearby.proto.sharing.InstallAPKStatus status = 1 [packed = true];
inline int SharingLog_InstallAPKStatus::_internal_status_size() const {
return _internal_status().size();
}
inline int SharingLog_InstallAPKStatus::status_size() const {
return _internal_status_size();
}
inline void SharingLog_InstallAPKStatus::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::InstallAPKStatus SharingLog_InstallAPKStatus::status(int index) const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.status)
return static_cast<::location::nearby::proto::sharing::InstallAPKStatus>(_internal_status().Get(index));
}
inline void SharingLog_InstallAPKStatus::set_status(int index, ::location::nearby::proto::sharing::InstallAPKStatus value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::InstallAPKStatus_internal_data_));
_internal_mutable_status()->Set(index, value);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.status)
}
inline void SharingLog_InstallAPKStatus::add_status(::location::nearby::proto::sharing::InstallAPKStatus value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::InstallAPKStatus_internal_data_));
::google::protobuf::internal::TSanWrite(&_impl_);
_internal_mutable_status()->Add(value);
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.status)
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_InstallAPKStatus::status() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.status)
return _internal_status();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL SharingLog_InstallAPKStatus::mutable_status()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.status)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_status();
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_InstallAPKStatus::_internal_status()
const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.status_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
SharingLog_InstallAPKStatus::_internal_mutable_status() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.status_;
}
// repeated .location.nearby.proto.sharing.ApkSource source = 2 [packed = true];
inline int SharingLog_InstallAPKStatus::_internal_source_size() const {
return _internal_source().size();
}
inline int SharingLog_InstallAPKStatus::source_size() const {
return _internal_source_size();
}
inline void SharingLog_InstallAPKStatus::clear_source() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ApkSource SharingLog_InstallAPKStatus::source(int index) const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.source)
return static_cast<::location::nearby::proto::sharing::ApkSource>(_internal_source().Get(index));
}
inline void SharingLog_InstallAPKStatus::set_source(int index, ::location::nearby::proto::sharing::ApkSource value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ApkSource_internal_data_));
_internal_mutable_source()->Set(index, value);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.source)
}
inline void SharingLog_InstallAPKStatus::add_source(::location::nearby::proto::sharing::ApkSource value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ApkSource_internal_data_));
::google::protobuf::internal::TSanWrite(&_impl_);
_internal_mutable_source()->Add(value);
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.source)
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_InstallAPKStatus::source() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.source)
return _internal_source();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL SharingLog_InstallAPKStatus::mutable_source()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus.source)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_source();
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_InstallAPKStatus::_internal_source()
const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.source_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
SharingLog_InstallAPKStatus::_internal_mutable_source() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.source_;
}
// -------------------------------------------------------------------
// SharingLog_VerifyAPKStatus
// repeated .location.nearby.proto.sharing.VerifyAPKStatus status = 1 [packed = true];
inline int SharingLog_VerifyAPKStatus::_internal_status_size() const {
return _internal_status().size();
}
inline int SharingLog_VerifyAPKStatus::status_size() const {
return _internal_status_size();
}
inline void SharingLog_VerifyAPKStatus::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::VerifyAPKStatus SharingLog_VerifyAPKStatus::status(int index) const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.status)
return static_cast<::location::nearby::proto::sharing::VerifyAPKStatus>(_internal_status().Get(index));
}
inline void SharingLog_VerifyAPKStatus::set_status(int index, ::location::nearby::proto::sharing::VerifyAPKStatus value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::VerifyAPKStatus_internal_data_));
_internal_mutable_status()->Set(index, value);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.status)
}
inline void SharingLog_VerifyAPKStatus::add_status(::location::nearby::proto::sharing::VerifyAPKStatus value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::VerifyAPKStatus_internal_data_));
::google::protobuf::internal::TSanWrite(&_impl_);
_internal_mutable_status()->Add(value);
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.status)
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_VerifyAPKStatus::status() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.status)
return _internal_status();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL SharingLog_VerifyAPKStatus::mutable_status()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.status)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_status();
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_VerifyAPKStatus::_internal_status()
const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.status_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
SharingLog_VerifyAPKStatus::_internal_mutable_status() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.status_;
}
// repeated .location.nearby.proto.sharing.ApkSource source = 2 [packed = true];
inline int SharingLog_VerifyAPKStatus::_internal_source_size() const {
return _internal_source().size();
}
inline int SharingLog_VerifyAPKStatus::source_size() const {
return _internal_source_size();
}
inline void SharingLog_VerifyAPKStatus::clear_source() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ApkSource SharingLog_VerifyAPKStatus::source(int index) const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.source)
return static_cast<::location::nearby::proto::sharing::ApkSource>(_internal_source().Get(index));
}
inline void SharingLog_VerifyAPKStatus::set_source(int index, ::location::nearby::proto::sharing::ApkSource value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ApkSource_internal_data_));
_internal_mutable_source()->Set(index, value);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.source)
}
inline void SharingLog_VerifyAPKStatus::add_source(::location::nearby::proto::sharing::ApkSource value) {
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ApkSource_internal_data_));
::google::protobuf::internal::TSanWrite(&_impl_);
_internal_mutable_source()->Add(value);
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.source)
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_VerifyAPKStatus::source() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.source)
return _internal_source();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL SharingLog_VerifyAPKStatus::mutable_source()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus.source)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_source();
}
inline const ::google::protobuf::RepeatedField<int>& SharingLog_VerifyAPKStatus::_internal_source()
const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.source_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
SharingLog_VerifyAPKStatus::_internal_mutable_source() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.source_;
}
// -------------------------------------------------------------------
// SharingLog_ToggleShowNotification
// optional .location.nearby.proto.sharing.ShowNotificationStatus previous_status = 1;
inline bool SharingLog_ToggleShowNotification::has_previous_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ToggleShowNotification::clear_previous_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::ShowNotificationStatus SharingLog_ToggleShowNotification::previous_status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification.previous_status)
return _internal_previous_status();
}
inline void SharingLog_ToggleShowNotification::set_previous_status(::location::nearby::proto::sharing::ShowNotificationStatus value) {
_internal_set_previous_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification.previous_status)
}
inline ::location::nearby::proto::sharing::ShowNotificationStatus SharingLog_ToggleShowNotification::_internal_previous_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ShowNotificationStatus>(_impl_.previous_status_);
}
inline void SharingLog_ToggleShowNotification::_internal_set_previous_status(::location::nearby::proto::sharing::ShowNotificationStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ShowNotificationStatus_internal_data_));
_impl_.previous_status_ = value;
}
// optional .location.nearby.proto.sharing.ShowNotificationStatus current_status = 2;
inline bool SharingLog_ToggleShowNotification::has_current_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ToggleShowNotification::clear_current_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.current_status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::ShowNotificationStatus SharingLog_ToggleShowNotification::current_status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification.current_status)
return _internal_current_status();
}
inline void SharingLog_ToggleShowNotification::set_current_status(::location::nearby::proto::sharing::ShowNotificationStatus value) {
_internal_set_current_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification.current_status)
}
inline ::location::nearby::proto::sharing::ShowNotificationStatus SharingLog_ToggleShowNotification::_internal_current_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ShowNotificationStatus>(_impl_.current_status_);
}
inline void SharingLog_ToggleShowNotification::_internal_set_current_status(::location::nearby::proto::sharing::ShowNotificationStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ShowNotificationStatus_internal_data_));
_impl_.current_status_ = value;
}
// -------------------------------------------------------------------
// SharingLog_DecryptCertificateFailure
// optional .location.nearby.proto.sharing.DecryptCertificateFailureStatus status = 1;
inline bool SharingLog_DecryptCertificateFailure::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_DecryptCertificateFailure::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::DecryptCertificateFailureStatus SharingLog_DecryptCertificateFailure::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure.status)
return _internal_status();
}
inline void SharingLog_DecryptCertificateFailure::set_status(::location::nearby::proto::sharing::DecryptCertificateFailureStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure.status)
}
inline ::location::nearby::proto::sharing::DecryptCertificateFailureStatus SharingLog_DecryptCertificateFailure::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DecryptCertificateFailureStatus>(_impl_.status_);
}
inline void SharingLog_DecryptCertificateFailure::_internal_set_status(::location::nearby::proto::sharing::DecryptCertificateFailureStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DecryptCertificateFailureStatus_internal_data_));
_impl_.status_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ShowAllowPermissionAutoAccess
// optional .location.nearby.proto.sharing.ActivityName activity_name = 1;
inline bool SharingLog_ShowAllowPermissionAutoAccess::has_activity_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::clear_activity_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.activity_name_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_ShowAllowPermissionAutoAccess::activity_name() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.activity_name)
return _internal_activity_name();
}
inline void SharingLog_ShowAllowPermissionAutoAccess::set_activity_name(::location::nearby::proto::sharing::ActivityName value) {
_internal_set_activity_name(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.activity_name)
}
inline ::location::nearby::proto::sharing::ActivityName SharingLog_ShowAllowPermissionAutoAccess::_internal_activity_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ActivityName>(_impl_.activity_name_);
}
inline void SharingLog_ShowAllowPermissionAutoAccess::_internal_set_activity_name(::location::nearby::proto::sharing::ActivityName value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ActivityName_internal_data_));
_impl_.activity_name_ = value;
}
// optional bool allowed_auto_access = 2;
inline bool SharingLog_ShowAllowPermissionAutoAccess::has_allowed_auto_access() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::clear_allowed_auto_access() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.allowed_auto_access_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline bool SharingLog_ShowAllowPermissionAutoAccess::allowed_auto_access() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.allowed_auto_access)
return _internal_allowed_auto_access();
}
inline void SharingLog_ShowAllowPermissionAutoAccess::set_allowed_auto_access(bool value) {
_internal_set_allowed_auto_access(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.allowed_auto_access)
}
inline bool SharingLog_ShowAllowPermissionAutoAccess::_internal_allowed_auto_access() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.allowed_auto_access_;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::_internal_set_allowed_auto_access(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.allowed_auto_access_ = value;
}
// optional bool is_wifi_missing = 3;
inline bool SharingLog_ShowAllowPermissionAutoAccess::has_is_wifi_missing() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::clear_is_wifi_missing() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_wifi_missing_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline bool SharingLog_ShowAllowPermissionAutoAccess::is_wifi_missing() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.is_wifi_missing)
return _internal_is_wifi_missing();
}
inline void SharingLog_ShowAllowPermissionAutoAccess::set_is_wifi_missing(bool value) {
_internal_set_is_wifi_missing(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.is_wifi_missing)
}
inline bool SharingLog_ShowAllowPermissionAutoAccess::_internal_is_wifi_missing() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_wifi_missing_;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::_internal_set_is_wifi_missing(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_wifi_missing_ = value;
}
// optional bool is_bt_missing = 4;
inline bool SharingLog_ShowAllowPermissionAutoAccess::has_is_bt_missing() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::clear_is_bt_missing() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_bt_missing_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline bool SharingLog_ShowAllowPermissionAutoAccess::is_bt_missing() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.is_bt_missing)
return _internal_is_bt_missing();
}
inline void SharingLog_ShowAllowPermissionAutoAccess::set_is_bt_missing(bool value) {
_internal_set_is_bt_missing(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess.is_bt_missing)
}
inline bool SharingLog_ShowAllowPermissionAutoAccess::_internal_is_bt_missing() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_bt_missing_;
}
inline void SharingLog_ShowAllowPermissionAutoAccess::_internal_set_is_bt_missing(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_bt_missing_ = value;
}
// -------------------------------------------------------------------
// SharingLog_TapQrCode
// -------------------------------------------------------------------
// SharingLog_QrCodeLinkShown
// -------------------------------------------------------------------
// SharingLog_FastInitDiscoverDevice
// optional .location.nearby.proto.sharing.FastInitType fast_init_type = 2;
inline bool SharingLog_FastInitDiscoverDevice::has_fast_init_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_FastInitDiscoverDevice::clear_fast_init_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.fast_init_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::FastInitType SharingLog_FastInitDiscoverDevice::fast_init_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice.fast_init_type)
return _internal_fast_init_type();
}
inline void SharingLog_FastInitDiscoverDevice::set_fast_init_type(::location::nearby::proto::sharing::FastInitType value) {
_internal_set_fast_init_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice.fast_init_type)
}
inline ::location::nearby::proto::sharing::FastInitType SharingLog_FastInitDiscoverDevice::_internal_fast_init_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::FastInitType>(_impl_.fast_init_type_);
}
inline void SharingLog_FastInitDiscoverDevice::_internal_set_fast_init_type(::location::nearby::proto::sharing::FastInitType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::FastInitType_internal_data_));
_impl_.fast_init_type_ = value;
}
// optional .location.nearby.proto.sharing.FastInitState fast_init_state = 3;
inline bool SharingLog_FastInitDiscoverDevice::has_fast_init_state() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_FastInitDiscoverDevice::clear_fast_init_state() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.fast_init_state_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::FastInitState SharingLog_FastInitDiscoverDevice::fast_init_state() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice.fast_init_state)
return _internal_fast_init_state();
}
inline void SharingLog_FastInitDiscoverDevice::set_fast_init_state(::location::nearby::proto::sharing::FastInitState value) {
_internal_set_fast_init_state(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice.fast_init_state)
}
inline ::location::nearby::proto::sharing::FastInitState SharingLog_FastInitDiscoverDevice::_internal_fast_init_state() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::FastInitState>(_impl_.fast_init_state_);
}
inline void SharingLog_FastInitDiscoverDevice::_internal_set_fast_init_state(::location::nearby::proto::sharing::FastInitState value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::FastInitState_internal_data_));
_impl_.fast_init_state_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ShareTargetInfo
// optional .location.nearby.proto.sharing.DeviceType device_type = 1;
inline bool SharingLog_ShareTargetInfo::has_device_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ShareTargetInfo::clear_device_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::DeviceType SharingLog_ShareTargetInfo::device_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.device_type)
return _internal_device_type();
}
inline void SharingLog_ShareTargetInfo::set_device_type(::location::nearby::proto::sharing::DeviceType value) {
_internal_set_device_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.device_type)
}
inline ::location::nearby::proto::sharing::DeviceType SharingLog_ShareTargetInfo::_internal_device_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DeviceType>(_impl_.device_type_);
}
inline void SharingLog_ShareTargetInfo::_internal_set_device_type(::location::nearby::proto::sharing::DeviceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DeviceType_internal_data_));
_impl_.device_type_ = value;
}
// optional .location.nearby.proto.sharing.OSType os_type = 2;
inline bool SharingLog_ShareTargetInfo::has_os_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_ShareTargetInfo::clear_os_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.os_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::OSType SharingLog_ShareTargetInfo::os_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.os_type)
return _internal_os_type();
}
inline void SharingLog_ShareTargetInfo::set_os_type(::location::nearby::proto::sharing::OSType value) {
_internal_set_os_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.os_type)
}
inline ::location::nearby::proto::sharing::OSType SharingLog_ShareTargetInfo::_internal_os_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::OSType>(_impl_.os_type_);
}
inline void SharingLog_ShareTargetInfo::_internal_set_os_type(::location::nearby::proto::sharing::OSType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::OSType_internal_data_));
_impl_.os_type_ = value;
}
// optional .location.nearby.proto.sharing.DeviceRelationship device_relationship = 3;
inline bool SharingLog_ShareTargetInfo::has_device_relationship() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_ShareTargetInfo::clear_device_relationship() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.device_relationship_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::DeviceRelationship SharingLog_ShareTargetInfo::device_relationship() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.device_relationship)
return _internal_device_relationship();
}
inline void SharingLog_ShareTargetInfo::set_device_relationship(::location::nearby::proto::sharing::DeviceRelationship value) {
_internal_set_device_relationship(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.device_relationship)
}
inline ::location::nearby::proto::sharing::DeviceRelationship SharingLog_ShareTargetInfo::_internal_device_relationship() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DeviceRelationship>(_impl_.device_relationship_);
}
inline void SharingLog_ShareTargetInfo::_internal_set_device_relationship(::location::nearby::proto::sharing::DeviceRelationship value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DeviceRelationship_internal_data_));
_impl_.device_relationship_ = value;
}
// optional bool has_matching_qr_code = 4;
inline bool SharingLog_ShareTargetInfo::has_has_matching_qr_code() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_ShareTargetInfo::clear_has_matching_qr_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.has_matching_qr_code_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline bool SharingLog_ShareTargetInfo::has_matching_qr_code() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.has_matching_qr_code)
return _internal_has_matching_qr_code();
}
inline void SharingLog_ShareTargetInfo::set_has_matching_qr_code(bool value) {
_internal_set_has_matching_qr_code(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.has_matching_qr_code)
}
inline bool SharingLog_ShareTargetInfo::_internal_has_matching_qr_code() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.has_matching_qr_code_;
}
inline void SharingLog_ShareTargetInfo::_internal_set_has_matching_qr_code(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.has_matching_qr_code_ = value;
}
// optional bool is_external = 5;
inline bool SharingLog_ShareTargetInfo::has_is_external() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_ShareTargetInfo::clear_is_external() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_external_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline bool SharingLog_ShareTargetInfo::is_external() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.is_external)
return _internal_is_external();
}
inline void SharingLog_ShareTargetInfo::set_is_external(bool value) {
_internal_set_is_external(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo.is_external)
}
inline bool SharingLog_ShareTargetInfo::_internal_is_external() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_external_;
}
inline void SharingLog_ShareTargetInfo::_internal_set_is_external(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_external_ = value;
}
// -------------------------------------------------------------------
// SharingLog_AttachmentsInfo
// repeated .nearby.sharing.analytics.proto.SharingLog.TextAttachment text_attachment = 1;
inline int SharingLog_AttachmentsInfo::_internal_text_attachment_size() const {
return _internal_text_attachment().size();
}
inline int SharingLog_AttachmentsInfo::text_attachment_size() const {
return _internal_text_attachment_size();
}
inline void SharingLog_AttachmentsInfo::clear_text_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.text_attachment_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000001U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_text_attachment(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.text_attachment)
return _internal_mutable_text_attachment()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_text_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.text_attachment)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_text_attachment();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment& SharingLog_AttachmentsInfo::text_attachment(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.text_attachment)
return _internal_text_attachment().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::add_text_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* _add =
_internal_mutable_text_attachment()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.text_attachment)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>& SharingLog_AttachmentsInfo::text_attachment() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.text_attachment)
return _internal_text_attachment();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>&
SharingLog_AttachmentsInfo::_internal_text_attachment() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.text_attachment_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>* PROTOBUF_NONNULL
SharingLog_AttachmentsInfo::_internal_mutable_text_attachment() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.text_attachment_;
}
// repeated .nearby.sharing.analytics.proto.SharingLog.FileAttachment file_attachment = 2;
inline int SharingLog_AttachmentsInfo::_internal_file_attachment_size() const {
return _internal_file_attachment().size();
}
inline int SharingLog_AttachmentsInfo::file_attachment_size() const {
return _internal_file_attachment_size();
}
inline void SharingLog_AttachmentsInfo::clear_file_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.file_attachment_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000002U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_file_attachment(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.file_attachment)
return _internal_mutable_file_attachment()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_file_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.file_attachment)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_file_attachment();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment& SharingLog_AttachmentsInfo::file_attachment(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.file_attachment)
return _internal_file_attachment().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::add_file_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* _add =
_internal_mutable_file_attachment()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.file_attachment)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>& SharingLog_AttachmentsInfo::file_attachment() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.file_attachment)
return _internal_file_attachment();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>&
SharingLog_AttachmentsInfo::_internal_file_attachment() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.file_attachment_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>* PROTOBUF_NONNULL
SharingLog_AttachmentsInfo::_internal_mutable_file_attachment() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.file_attachment_;
}
// optional string required_app = 3;
inline bool SharingLog_AttachmentsInfo::has_required_app() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_AttachmentsInfo::clear_required_app() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.required_app_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline const ::std::string& SharingLog_AttachmentsInfo::required_app() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.required_app)
return _internal_required_app();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_AttachmentsInfo::set_required_app(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
_impl_.required_app_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.required_app)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_required_app()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
::std::string* _s = _internal_mutable_required_app();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.required_app)
return _s;
}
inline const ::std::string& SharingLog_AttachmentsInfo::_internal_required_app() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.required_app_.Get();
}
inline void SharingLog_AttachmentsInfo::_internal_set_required_app(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.required_app_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::_internal_mutable_required_app() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.required_app_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_AttachmentsInfo::release_required_app() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.required_app)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
auto* released = _impl_.required_app_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.required_app_.Set("", GetArena());
}
return released;
}
inline void SharingLog_AttachmentsInfo::set_allocated_required_app(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
_impl_.required_app_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.required_app_.IsDefault()) {
_impl_.required_app_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.required_app)
}
// repeated .nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment wifi_credentials_attachment = 4;
inline int SharingLog_AttachmentsInfo::_internal_wifi_credentials_attachment_size() const {
return _internal_wifi_credentials_attachment().size();
}
inline int SharingLog_AttachmentsInfo::wifi_credentials_attachment_size() const {
return _internal_wifi_credentials_attachment_size();
}
inline void SharingLog_AttachmentsInfo::clear_wifi_credentials_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.wifi_credentials_attachment_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000004U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_wifi_credentials_attachment(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.wifi_credentials_attachment)
return _internal_mutable_wifi_credentials_attachment()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_wifi_credentials_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.wifi_credentials_attachment)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_wifi_credentials_attachment();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment& SharingLog_AttachmentsInfo::wifi_credentials_attachment(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.wifi_credentials_attachment)
return _internal_wifi_credentials_attachment().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::add_wifi_credentials_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* _add =
_internal_mutable_wifi_credentials_attachment()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.wifi_credentials_attachment)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>& SharingLog_AttachmentsInfo::wifi_credentials_attachment() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.wifi_credentials_attachment)
return _internal_wifi_credentials_attachment();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>&
SharingLog_AttachmentsInfo::_internal_wifi_credentials_attachment() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.wifi_credentials_attachment_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>* PROTOBUF_NONNULL
SharingLog_AttachmentsInfo::_internal_mutable_wifi_credentials_attachment() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.wifi_credentials_attachment_;
}
// repeated .nearby.sharing.analytics.proto.SharingLog.AppAttachment app_attachment = 5;
inline int SharingLog_AttachmentsInfo::_internal_app_attachment_size() const {
return _internal_app_attachment().size();
}
inline int SharingLog_AttachmentsInfo::app_attachment_size() const {
return _internal_app_attachment_size();
}
inline void SharingLog_AttachmentsInfo::clear_app_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_attachment_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000008U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_app_attachment(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.app_attachment)
return _internal_mutable_app_attachment()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_app_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.app_attachment)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_app_attachment();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment& SharingLog_AttachmentsInfo::app_attachment(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.app_attachment)
return _internal_app_attachment().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::add_app_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* _add =
_internal_mutable_app_attachment()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.app_attachment)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>& SharingLog_AttachmentsInfo::app_attachment() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.app_attachment)
return _internal_app_attachment();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>&
SharingLog_AttachmentsInfo::_internal_app_attachment() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.app_attachment_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>* PROTOBUF_NONNULL
SharingLog_AttachmentsInfo::_internal_mutable_app_attachment() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.app_attachment_;
}
// repeated .nearby.sharing.analytics.proto.SharingLog.StreamAttachment stream_attachment = 6;
inline int SharingLog_AttachmentsInfo::_internal_stream_attachment_size() const {
return _internal_stream_attachment().size();
}
inline int SharingLog_AttachmentsInfo::stream_attachment_size() const {
return _internal_stream_attachment_size();
}
inline void SharingLog_AttachmentsInfo::clear_stream_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.stream_attachment_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000010U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_stream_attachment(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.stream_attachment)
return _internal_mutable_stream_attachment()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::mutable_stream_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.stream_attachment)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_stream_attachment();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment& SharingLog_AttachmentsInfo::stream_attachment(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.stream_attachment)
return _internal_stream_attachment().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL SharingLog_AttachmentsInfo::add_stream_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* _add =
_internal_mutable_stream_attachment()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.stream_attachment)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>& SharingLog_AttachmentsInfo::stream_attachment() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo.stream_attachment)
return _internal_stream_attachment();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>&
SharingLog_AttachmentsInfo::_internal_stream_attachment() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.stream_attachment_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>* PROTOBUF_NONNULL
SharingLog_AttachmentsInfo::_internal_mutable_stream_attachment() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.stream_attachment_;
}
// -------------------------------------------------------------------
// SharingLog_TextAttachment
// optional .nearby.sharing.analytics.proto.SharingLog.TextAttachment.Type type = 1;
inline bool SharingLog_TextAttachment::has_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_TextAttachment::clear_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type SharingLog_TextAttachment::type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.TextAttachment.type)
return _internal_type();
}
inline void SharingLog_TextAttachment::set_type(::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type value) {
_internal_set_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.TextAttachment.type)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type SharingLog_TextAttachment::_internal_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type>(_impl_.type_);
}
inline void SharingLog_TextAttachment::_internal_set_type(::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type_internal_data_));
_impl_.type_ = value;
}
// optional int64 size_bytes = 2;
inline bool SharingLog_TextAttachment::has_size_bytes() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_TextAttachment::clear_size_bytes() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.size_bytes_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_TextAttachment::size_bytes() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.TextAttachment.size_bytes)
return _internal_size_bytes();
}
inline void SharingLog_TextAttachment::set_size_bytes(::int64_t value) {
_internal_set_size_bytes(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.TextAttachment.size_bytes)
}
inline ::int64_t SharingLog_TextAttachment::_internal_size_bytes() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.size_bytes_;
}
inline void SharingLog_TextAttachment::_internal_set_size_bytes(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.size_bytes_ = value;
}
// optional int64 batch_id = 3;
inline bool SharingLog_TextAttachment::has_batch_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_TextAttachment::clear_batch_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_TextAttachment::batch_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.TextAttachment.batch_id)
return _internal_batch_id();
}
inline void SharingLog_TextAttachment::set_batch_id(::int64_t value) {
_internal_set_batch_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.TextAttachment.batch_id)
}
inline ::int64_t SharingLog_TextAttachment::_internal_batch_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.batch_id_;
}
inline void SharingLog_TextAttachment::_internal_set_batch_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 4;
inline bool SharingLog_TextAttachment::has_source_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_TextAttachment::clear_source_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_TextAttachment::source_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.TextAttachment.source_type)
return _internal_source_type();
}
inline void SharingLog_TextAttachment::set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
_internal_set_source_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.TextAttachment.source_type)
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_TextAttachment::_internal_source_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentSourceType>(_impl_.source_type_);
}
inline void SharingLog_TextAttachment::_internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentSourceType_internal_data_));
_impl_.source_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_FileAttachment
// optional .nearby.sharing.analytics.proto.SharingLog.FileAttachment.Type type = 1;
inline bool SharingLog_FileAttachment::has_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_FileAttachment::clear_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type SharingLog_FileAttachment::type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FileAttachment.type)
return _internal_type();
}
inline void SharingLog_FileAttachment::set_type(::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type value) {
_internal_set_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FileAttachment.type)
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type SharingLog_FileAttachment::_internal_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type>(_impl_.type_);
}
inline void SharingLog_FileAttachment::_internal_set_type(::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type_internal_data_));
_impl_.type_ = value;
}
// optional int64 size_bytes = 2;
inline bool SharingLog_FileAttachment::has_size_bytes() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_FileAttachment::clear_size_bytes() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.size_bytes_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_FileAttachment::size_bytes() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FileAttachment.size_bytes)
return _internal_size_bytes();
}
inline void SharingLog_FileAttachment::set_size_bytes(::int64_t value) {
_internal_set_size_bytes(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FileAttachment.size_bytes)
}
inline ::int64_t SharingLog_FileAttachment::_internal_size_bytes() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.size_bytes_;
}
inline void SharingLog_FileAttachment::_internal_set_size_bytes(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.size_bytes_ = value;
}
// optional int64 offset_bytes = 4;
inline bool SharingLog_FileAttachment::has_offset_bytes() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_FileAttachment::clear_offset_bytes() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.offset_bytes_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_FileAttachment::offset_bytes() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FileAttachment.offset_bytes)
return _internal_offset_bytes();
}
inline void SharingLog_FileAttachment::set_offset_bytes(::int64_t value) {
_internal_set_offset_bytes(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FileAttachment.offset_bytes)
}
inline ::int64_t SharingLog_FileAttachment::_internal_offset_bytes() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.offset_bytes_;
}
inline void SharingLog_FileAttachment::_internal_set_offset_bytes(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.offset_bytes_ = value;
}
// optional int64 batch_id = 5;
inline bool SharingLog_FileAttachment::has_batch_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_FileAttachment::clear_batch_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int64_t SharingLog_FileAttachment::batch_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FileAttachment.batch_id)
return _internal_batch_id();
}
inline void SharingLog_FileAttachment::set_batch_id(::int64_t value) {
_internal_set_batch_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FileAttachment.batch_id)
}
inline ::int64_t SharingLog_FileAttachment::_internal_batch_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.batch_id_;
}
inline void SharingLog_FileAttachment::_internal_set_batch_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 6;
inline bool SharingLog_FileAttachment::has_source_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_FileAttachment::clear_source_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_FileAttachment::source_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.FileAttachment.source_type)
return _internal_source_type();
}
inline void SharingLog_FileAttachment::set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
_internal_set_source_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.FileAttachment.source_type)
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_FileAttachment::_internal_source_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentSourceType>(_impl_.source_type_);
}
inline void SharingLog_FileAttachment::_internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentSourceType_internal_data_));
_impl_.source_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_WifiCredentialsAttachment
// optional int32 security_type = 1;
inline bool SharingLog_WifiCredentialsAttachment::has_security_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_WifiCredentialsAttachment::clear_security_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.security_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int32_t SharingLog_WifiCredentialsAttachment::security_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment.security_type)
return _internal_security_type();
}
inline void SharingLog_WifiCredentialsAttachment::set_security_type(::int32_t value) {
_internal_set_security_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment.security_type)
}
inline ::int32_t SharingLog_WifiCredentialsAttachment::_internal_security_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.security_type_;
}
inline void SharingLog_WifiCredentialsAttachment::_internal_set_security_type(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.security_type_ = value;
}
// optional int64 batch_id = 2;
inline bool SharingLog_WifiCredentialsAttachment::has_batch_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_WifiCredentialsAttachment::clear_batch_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_WifiCredentialsAttachment::batch_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment.batch_id)
return _internal_batch_id();
}
inline void SharingLog_WifiCredentialsAttachment::set_batch_id(::int64_t value) {
_internal_set_batch_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment.batch_id)
}
inline ::int64_t SharingLog_WifiCredentialsAttachment::_internal_batch_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.batch_id_;
}
inline void SharingLog_WifiCredentialsAttachment::_internal_set_batch_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 3;
inline bool SharingLog_WifiCredentialsAttachment::has_source_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_WifiCredentialsAttachment::clear_source_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_WifiCredentialsAttachment::source_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment.source_type)
return _internal_source_type();
}
inline void SharingLog_WifiCredentialsAttachment::set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
_internal_set_source_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment.source_type)
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_WifiCredentialsAttachment::_internal_source_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentSourceType>(_impl_.source_type_);
}
inline void SharingLog_WifiCredentialsAttachment::_internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentSourceType_internal_data_));
_impl_.source_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_AppAttachment
// optional string package_name = 1;
inline bool SharingLog_AppAttachment::has_package_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_AppAttachment::clear_package_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.package_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_AppAttachment::package_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppAttachment.package_name)
return _internal_package_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_AppAttachment::set_package_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.package_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppAttachment.package_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppAttachment::mutable_package_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_package_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.AppAttachment.package_name)
return _s;
}
inline const ::std::string& SharingLog_AppAttachment::_internal_package_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.package_name_.Get();
}
inline void SharingLog_AppAttachment::_internal_set_package_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.package_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_AppAttachment::_internal_mutable_package_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.package_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_AppAttachment::release_package_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.AppAttachment.package_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.package_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.package_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_AppAttachment::set_allocated_package_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.package_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.package_name_.IsDefault()) {
_impl_.package_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.AppAttachment.package_name)
}
// optional int64 size = 2;
inline bool SharingLog_AppAttachment::has_size() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_AppAttachment::clear_size() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.size_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_AppAttachment::size() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppAttachment.size)
return _internal_size();
}
inline void SharingLog_AppAttachment::set_size(::int64_t value) {
_internal_set_size(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppAttachment.size)
}
inline ::int64_t SharingLog_AppAttachment::_internal_size() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.size_;
}
inline void SharingLog_AppAttachment::_internal_set_size(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.size_ = value;
}
// optional int64 batch_id = 3;
inline bool SharingLog_AppAttachment::has_batch_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_AppAttachment::clear_batch_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_AppAttachment::batch_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppAttachment.batch_id)
return _internal_batch_id();
}
inline void SharingLog_AppAttachment::set_batch_id(::int64_t value) {
_internal_set_batch_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppAttachment.batch_id)
}
inline ::int64_t SharingLog_AppAttachment::_internal_batch_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.batch_id_;
}
inline void SharingLog_AppAttachment::_internal_set_batch_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 4;
inline bool SharingLog_AppAttachment::has_source_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_AppAttachment::clear_source_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_AppAttachment::source_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppAttachment.source_type)
return _internal_source_type();
}
inline void SharingLog_AppAttachment::set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
_internal_set_source_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppAttachment.source_type)
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_AppAttachment::_internal_source_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentSourceType>(_impl_.source_type_);
}
inline void SharingLog_AppAttachment::_internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentSourceType_internal_data_));
_impl_.source_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_StreamAttachment
// optional string package_name = 1;
inline bool SharingLog_StreamAttachment::has_package_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_StreamAttachment::clear_package_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.package_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_StreamAttachment::package_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.package_name)
return _internal_package_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_StreamAttachment::set_package_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.package_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.package_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_StreamAttachment::mutable_package_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_package_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.package_name)
return _s;
}
inline const ::std::string& SharingLog_StreamAttachment::_internal_package_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.package_name_.Get();
}
inline void SharingLog_StreamAttachment::_internal_set_package_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.package_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_StreamAttachment::_internal_mutable_package_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.package_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_StreamAttachment::release_package_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.package_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.package_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.package_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_StreamAttachment::set_allocated_package_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.package_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.package_name_.IsDefault()) {
_impl_.package_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.package_name)
}
// optional int64 batch_id = 2;
inline bool SharingLog_StreamAttachment::has_batch_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_StreamAttachment::clear_batch_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_StreamAttachment::batch_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.batch_id)
return _internal_batch_id();
}
inline void SharingLog_StreamAttachment::set_batch_id(::int64_t value) {
_internal_set_batch_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.batch_id)
}
inline ::int64_t SharingLog_StreamAttachment::_internal_batch_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.batch_id_;
}
inline void SharingLog_StreamAttachment::_internal_set_batch_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.batch_id_ = value;
}
// optional .location.nearby.proto.sharing.AttachmentSourceType source_type = 3;
inline bool SharingLog_StreamAttachment::has_source_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_StreamAttachment::clear_source_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.source_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_StreamAttachment::source_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.source_type)
return _internal_source_type();
}
inline void SharingLog_StreamAttachment::set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
_internal_set_source_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.StreamAttachment.source_type)
}
inline ::location::nearby::proto::sharing::AttachmentSourceType SharingLog_StreamAttachment::_internal_source_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentSourceType>(_impl_.source_type_);
}
inline void SharingLog_StreamAttachment::_internal_set_source_type(::location::nearby::proto::sharing::AttachmentSourceType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentSourceType_internal_data_));
_impl_.source_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudAttachmentInfo
// optional .location.nearby.proto.sharing.AttachmentTransmissionStatus status = 1;
inline bool SharingLog_CloudAttachmentInfo::has_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_CloudAttachmentInfo::clear_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::location::nearby::proto::sharing::AttachmentTransmissionStatus SharingLog_CloudAttachmentInfo::status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.status)
return _internal_status();
}
inline void SharingLog_CloudAttachmentInfo::set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value) {
_internal_set_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.status)
}
inline ::location::nearby::proto::sharing::AttachmentTransmissionStatus SharingLog_CloudAttachmentInfo::_internal_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AttachmentTransmissionStatus>(_impl_.status_);
}
inline void SharingLog_CloudAttachmentInfo::_internal_set_status(::location::nearby::proto::sharing::AttachmentTransmissionStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AttachmentTransmissionStatus_internal_data_));
_impl_.status_ = value;
}
// .nearby.sharing.analytics.proto.SharingLog.TextAttachment text_attachment = 2;
inline bool SharingLog_CloudAttachmentInfo::has_text_attachment() const {
return CloudAttachment_case() == kTextAttachment;
}
inline bool SharingLog_CloudAttachmentInfo::_internal_has_text_attachment() const {
return CloudAttachment_case() == kTextAttachment;
}
inline void SharingLog_CloudAttachmentInfo::set_has_text_attachment() {
_impl_._oneof_case_[0] = kTextAttachment;
}
inline void SharingLog_CloudAttachmentInfo::clear_text_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (CloudAttachment_case() == kTextAttachment) {
if (GetArena() == nullptr) {
delete _impl_.CloudAttachment_.text_attachment_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.CloudAttachment_.text_attachment_ != nullptr) {
_impl_.CloudAttachment_.text_attachment_->Clear();
}
}
clear_has_CloudAttachment();
}
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::release_text_attachment() {
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.text_attachment)
if (CloudAttachment_case() == kTextAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TextAttachment*>(_impl_.CloudAttachment_.text_attachment_);
if (GetArena() != nullptr) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
}
_impl_.CloudAttachment_.text_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment& SharingLog_CloudAttachmentInfo::_internal_text_attachment() const {
return CloudAttachment_case() == kTextAttachment ? static_cast<const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment&>(*reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TextAttachment*>(_impl_.CloudAttachment_.text_attachment_))
: reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment&>(::nearby::sharing::analytics::proto::_SharingLog_TextAttachment_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TextAttachment& SharingLog_CloudAttachmentInfo::text_attachment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.text_attachment)
return _internal_text_attachment();
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::unsafe_arena_release_text_attachment() {
// @@protoc_insertion_point(field_unsafe_arena_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.text_attachment)
if (CloudAttachment_case() == kTextAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TextAttachment*>(_impl_.CloudAttachment_.text_attachment_);
_impl_.CloudAttachment_.text_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline void SharingLog_CloudAttachmentInfo::unsafe_arena_set_allocated_text_attachment(
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NULLABLE value) {
// We rely on the oneof clear method to free the earlier contents
// of this oneof. We can directly use the pointer we're given to
// set the new value.
clear_CloudAttachment();
if (value) {
set_has_text_attachment();
_impl_.CloudAttachment_.text_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.text_attachment)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::_internal_mutable_text_attachment() {
if (CloudAttachment_case() != kTextAttachment) {
clear_CloudAttachment();
set_has_text_attachment();
_impl_.CloudAttachment_.text_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(
::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TextAttachment>(GetArena()));
}
return reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TextAttachment*>(_impl_.CloudAttachment_.text_attachment_);
}
inline ::nearby::sharing::analytics::proto::SharingLog_TextAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::mutable_text_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::nearby::sharing::analytics::proto::SharingLog_TextAttachment* _msg = _internal_mutable_text_attachment();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.text_attachment)
return _msg;
}
// .nearby.sharing.analytics.proto.SharingLog.FileAttachment file_attachment = 3;
inline bool SharingLog_CloudAttachmentInfo::has_file_attachment() const {
return CloudAttachment_case() == kFileAttachment;
}
inline bool SharingLog_CloudAttachmentInfo::_internal_has_file_attachment() const {
return CloudAttachment_case() == kFileAttachment;
}
inline void SharingLog_CloudAttachmentInfo::set_has_file_attachment() {
_impl_._oneof_case_[0] = kFileAttachment;
}
inline void SharingLog_CloudAttachmentInfo::clear_file_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (CloudAttachment_case() == kFileAttachment) {
if (GetArena() == nullptr) {
delete _impl_.CloudAttachment_.file_attachment_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.CloudAttachment_.file_attachment_ != nullptr) {
_impl_.CloudAttachment_.file_attachment_->Clear();
}
}
clear_has_CloudAttachment();
}
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::release_file_attachment() {
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.file_attachment)
if (CloudAttachment_case() == kFileAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FileAttachment*>(_impl_.CloudAttachment_.file_attachment_);
if (GetArena() != nullptr) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
}
_impl_.CloudAttachment_.file_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment& SharingLog_CloudAttachmentInfo::_internal_file_attachment() const {
return CloudAttachment_case() == kFileAttachment ? static_cast<const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment&>(*reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FileAttachment*>(_impl_.CloudAttachment_.file_attachment_))
: reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment&>(::nearby::sharing::analytics::proto::_SharingLog_FileAttachment_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FileAttachment& SharingLog_CloudAttachmentInfo::file_attachment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.file_attachment)
return _internal_file_attachment();
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::unsafe_arena_release_file_attachment() {
// @@protoc_insertion_point(field_unsafe_arena_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.file_attachment)
if (CloudAttachment_case() == kFileAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FileAttachment*>(_impl_.CloudAttachment_.file_attachment_);
_impl_.CloudAttachment_.file_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline void SharingLog_CloudAttachmentInfo::unsafe_arena_set_allocated_file_attachment(
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NULLABLE value) {
// We rely on the oneof clear method to free the earlier contents
// of this oneof. We can directly use the pointer we're given to
// set the new value.
clear_CloudAttachment();
if (value) {
set_has_file_attachment();
_impl_.CloudAttachment_.file_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.file_attachment)
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::_internal_mutable_file_attachment() {
if (CloudAttachment_case() != kFileAttachment) {
clear_CloudAttachment();
set_has_file_attachment();
_impl_.CloudAttachment_.file_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(
::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_FileAttachment>(GetArena()));
}
return reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FileAttachment*>(_impl_.CloudAttachment_.file_attachment_);
}
inline ::nearby::sharing::analytics::proto::SharingLog_FileAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::mutable_file_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::nearby::sharing::analytics::proto::SharingLog_FileAttachment* _msg = _internal_mutable_file_attachment();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.file_attachment)
return _msg;
}
// .nearby.sharing.analytics.proto.SharingLog.WifiCredentialsAttachment wifi_credentials_attachment = 4;
inline bool SharingLog_CloudAttachmentInfo::has_wifi_credentials_attachment() const {
return CloudAttachment_case() == kWifiCredentialsAttachment;
}
inline bool SharingLog_CloudAttachmentInfo::_internal_has_wifi_credentials_attachment() const {
return CloudAttachment_case() == kWifiCredentialsAttachment;
}
inline void SharingLog_CloudAttachmentInfo::set_has_wifi_credentials_attachment() {
_impl_._oneof_case_[0] = kWifiCredentialsAttachment;
}
inline void SharingLog_CloudAttachmentInfo::clear_wifi_credentials_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (CloudAttachment_case() == kWifiCredentialsAttachment) {
if (GetArena() == nullptr) {
delete _impl_.CloudAttachment_.wifi_credentials_attachment_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.CloudAttachment_.wifi_credentials_attachment_ != nullptr) {
_impl_.CloudAttachment_.wifi_credentials_attachment_->Clear();
}
}
clear_has_CloudAttachment();
}
}
inline ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::release_wifi_credentials_attachment() {
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.wifi_credentials_attachment)
if (CloudAttachment_case() == kWifiCredentialsAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment*>(_impl_.CloudAttachment_.wifi_credentials_attachment_);
if (GetArena() != nullptr) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
}
_impl_.CloudAttachment_.wifi_credentials_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment& SharingLog_CloudAttachmentInfo::_internal_wifi_credentials_attachment() const {
return CloudAttachment_case() == kWifiCredentialsAttachment ? static_cast<const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment&>(*reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment*>(_impl_.CloudAttachment_.wifi_credentials_attachment_))
: reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment&>(::nearby::sharing::analytics::proto::_SharingLog_WifiCredentialsAttachment_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment& SharingLog_CloudAttachmentInfo::wifi_credentials_attachment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.wifi_credentials_attachment)
return _internal_wifi_credentials_attachment();
}
inline ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::unsafe_arena_release_wifi_credentials_attachment() {
// @@protoc_insertion_point(field_unsafe_arena_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.wifi_credentials_attachment)
if (CloudAttachment_case() == kWifiCredentialsAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment*>(_impl_.CloudAttachment_.wifi_credentials_attachment_);
_impl_.CloudAttachment_.wifi_credentials_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline void SharingLog_CloudAttachmentInfo::unsafe_arena_set_allocated_wifi_credentials_attachment(
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NULLABLE value) {
// We rely on the oneof clear method to free the earlier contents
// of this oneof. We can directly use the pointer we're given to
// set the new value.
clear_CloudAttachment();
if (value) {
set_has_wifi_credentials_attachment();
_impl_.CloudAttachment_.wifi_credentials_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.wifi_credentials_attachment)
}
inline ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::_internal_mutable_wifi_credentials_attachment() {
if (CloudAttachment_case() != kWifiCredentialsAttachment) {
clear_CloudAttachment();
set_has_wifi_credentials_attachment();
_impl_.CloudAttachment_.wifi_credentials_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(
::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment>(GetArena()));
}
return reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment*>(_impl_.CloudAttachment_.wifi_credentials_attachment_);
}
inline ::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::mutable_wifi_credentials_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::nearby::sharing::analytics::proto::SharingLog_WifiCredentialsAttachment* _msg = _internal_mutable_wifi_credentials_attachment();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.wifi_credentials_attachment)
return _msg;
}
// .nearby.sharing.analytics.proto.SharingLog.AppAttachment app_attachment = 5;
inline bool SharingLog_CloudAttachmentInfo::has_app_attachment() const {
return CloudAttachment_case() == kAppAttachment;
}
inline bool SharingLog_CloudAttachmentInfo::_internal_has_app_attachment() const {
return CloudAttachment_case() == kAppAttachment;
}
inline void SharingLog_CloudAttachmentInfo::set_has_app_attachment() {
_impl_._oneof_case_[0] = kAppAttachment;
}
inline void SharingLog_CloudAttachmentInfo::clear_app_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (CloudAttachment_case() == kAppAttachment) {
if (GetArena() == nullptr) {
delete _impl_.CloudAttachment_.app_attachment_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.CloudAttachment_.app_attachment_ != nullptr) {
_impl_.CloudAttachment_.app_attachment_->Clear();
}
}
clear_has_CloudAttachment();
}
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::release_app_attachment() {
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.app_attachment)
if (CloudAttachment_case() == kAppAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppAttachment*>(_impl_.CloudAttachment_.app_attachment_);
if (GetArena() != nullptr) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
}
_impl_.CloudAttachment_.app_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment& SharingLog_CloudAttachmentInfo::_internal_app_attachment() const {
return CloudAttachment_case() == kAppAttachment ? static_cast<const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment&>(*reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppAttachment*>(_impl_.CloudAttachment_.app_attachment_))
: reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment&>(::nearby::sharing::analytics::proto::_SharingLog_AppAttachment_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppAttachment& SharingLog_CloudAttachmentInfo::app_attachment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.app_attachment)
return _internal_app_attachment();
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::unsafe_arena_release_app_attachment() {
// @@protoc_insertion_point(field_unsafe_arena_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.app_attachment)
if (CloudAttachment_case() == kAppAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppAttachment*>(_impl_.CloudAttachment_.app_attachment_);
_impl_.CloudAttachment_.app_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline void SharingLog_CloudAttachmentInfo::unsafe_arena_set_allocated_app_attachment(
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NULLABLE value) {
// We rely on the oneof clear method to free the earlier contents
// of this oneof. We can directly use the pointer we're given to
// set the new value.
clear_CloudAttachment();
if (value) {
set_has_app_attachment();
_impl_.CloudAttachment_.app_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.app_attachment)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::_internal_mutable_app_attachment() {
if (CloudAttachment_case() != kAppAttachment) {
clear_CloudAttachment();
set_has_app_attachment();
_impl_.CloudAttachment_.app_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(
::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AppAttachment>(GetArena()));
}
return reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppAttachment*>(_impl_.CloudAttachment_.app_attachment_);
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::mutable_app_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::nearby::sharing::analytics::proto::SharingLog_AppAttachment* _msg = _internal_mutable_app_attachment();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.app_attachment)
return _msg;
}
// .nearby.sharing.analytics.proto.SharingLog.StreamAttachment stream_attachment = 6;
inline bool SharingLog_CloudAttachmentInfo::has_stream_attachment() const {
return CloudAttachment_case() == kStreamAttachment;
}
inline bool SharingLog_CloudAttachmentInfo::_internal_has_stream_attachment() const {
return CloudAttachment_case() == kStreamAttachment;
}
inline void SharingLog_CloudAttachmentInfo::set_has_stream_attachment() {
_impl_._oneof_case_[0] = kStreamAttachment;
}
inline void SharingLog_CloudAttachmentInfo::clear_stream_attachment() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (CloudAttachment_case() == kStreamAttachment) {
if (GetArena() == nullptr) {
delete _impl_.CloudAttachment_.stream_attachment_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.CloudAttachment_.stream_attachment_ != nullptr) {
_impl_.CloudAttachment_.stream_attachment_->Clear();
}
}
clear_has_CloudAttachment();
}
}
inline ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::release_stream_attachment() {
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.stream_attachment)
if (CloudAttachment_case() == kStreamAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment*>(_impl_.CloudAttachment_.stream_attachment_);
if (GetArena() != nullptr) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
}
_impl_.CloudAttachment_.stream_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment& SharingLog_CloudAttachmentInfo::_internal_stream_attachment() const {
return CloudAttachment_case() == kStreamAttachment ? static_cast<const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment&>(*reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment*>(_impl_.CloudAttachment_.stream_attachment_))
: reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment&>(::nearby::sharing::analytics::proto::_SharingLog_StreamAttachment_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment& SharingLog_CloudAttachmentInfo::stream_attachment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.stream_attachment)
return _internal_stream_attachment();
}
inline ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE SharingLog_CloudAttachmentInfo::unsafe_arena_release_stream_attachment() {
// @@protoc_insertion_point(field_unsafe_arena_release:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.stream_attachment)
if (CloudAttachment_case() == kStreamAttachment) {
clear_has_CloudAttachment();
auto* temp = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment*>(_impl_.CloudAttachment_.stream_attachment_);
_impl_.CloudAttachment_.stream_attachment_ = nullptr;
return temp;
} else {
return nullptr;
}
}
inline void SharingLog_CloudAttachmentInfo::unsafe_arena_set_allocated_stream_attachment(
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NULLABLE value) {
// We rely on the oneof clear method to free the earlier contents
// of this oneof. We can directly use the pointer we're given to
// set the new value.
clear_CloudAttachment();
if (value) {
set_has_stream_attachment();
_impl_.CloudAttachment_.stream_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.stream_attachment)
}
inline ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::_internal_mutable_stream_attachment() {
if (CloudAttachment_case() != kStreamAttachment) {
clear_CloudAttachment();
set_has_stream_attachment();
_impl_.CloudAttachment_.stream_attachment_ = reinterpret_cast<::google::protobuf::MessageLite*>(
::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment>(GetArena()));
}
return reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StreamAttachment*>(_impl_.CloudAttachment_.stream_attachment_);
}
inline ::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* PROTOBUF_NONNULL SharingLog_CloudAttachmentInfo::mutable_stream_attachment()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::nearby::sharing::analytics::proto::SharingLog_StreamAttachment* _msg = _internal_mutable_stream_attachment();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.stream_attachment)
return _msg;
}
// optional int64 transferred_bytes = 7;
inline bool SharingLog_CloudAttachmentInfo::has_transferred_bytes() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_CloudAttachmentInfo::clear_transferred_bytes() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transferred_bytes_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int64_t SharingLog_CloudAttachmentInfo::transferred_bytes() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.transferred_bytes)
return _internal_transferred_bytes();
}
inline void SharingLog_CloudAttachmentInfo::set_transferred_bytes(::int64_t value) {
_internal_set_transferred_bytes(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.transferred_bytes)
}
inline ::int64_t SharingLog_CloudAttachmentInfo::_internal_transferred_bytes() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.transferred_bytes_;
}
inline void SharingLog_CloudAttachmentInfo::_internal_set_transferred_bytes(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.transferred_bytes_ = value;
}
// optional int64 duration_millis = 8;
inline bool SharingLog_CloudAttachmentInfo::has_duration_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudAttachmentInfo::clear_duration_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_CloudAttachmentInfo::duration_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.duration_millis)
return _internal_duration_millis();
}
inline void SharingLog_CloudAttachmentInfo::set_duration_millis(::int64_t value) {
_internal_set_duration_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo.duration_millis)
}
inline ::int64_t SharingLog_CloudAttachmentInfo::_internal_duration_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.duration_millis_;
}
inline void SharingLog_CloudAttachmentInfo::_internal_set_duration_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = value;
}
inline bool SharingLog_CloudAttachmentInfo::has_CloudAttachment() const {
return CloudAttachment_case() != CLOUDATTACHMENT_NOT_SET;
}
inline void SharingLog_CloudAttachmentInfo::clear_has_CloudAttachment() {
_impl_._oneof_case_[0] = CLOUDATTACHMENT_NOT_SET;
}
inline SharingLog_CloudAttachmentInfo::CloudAttachmentCase SharingLog_CloudAttachmentInfo::CloudAttachment_case() const {
return SharingLog_CloudAttachmentInfo::CloudAttachmentCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
// SharingLog_AppCrash
// optional .location.nearby.proto.sharing.AppCrashReason crash_reason = 1;
inline bool SharingLog_AppCrash::has_crash_reason() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_AppCrash::clear_crash_reason() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.crash_reason_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::AppCrashReason SharingLog_AppCrash::crash_reason() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.AppCrash.crash_reason)
return _internal_crash_reason();
}
inline void SharingLog_AppCrash::set_crash_reason(::location::nearby::proto::sharing::AppCrashReason value) {
_internal_set_crash_reason(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.AppCrash.crash_reason)
}
inline ::location::nearby::proto::sharing::AppCrashReason SharingLog_AppCrash::_internal_crash_reason() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::AppCrashReason>(_impl_.crash_reason_);
}
inline void SharingLog_AppCrash::_internal_set_crash_reason(::location::nearby::proto::sharing::AppCrashReason value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::AppCrashReason_internal_data_));
_impl_.crash_reason_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SetupWizard
// optional .location.nearby.proto.sharing.Visibility visibility = 1;
inline bool SharingLog_SetupWizard::has_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SetupWizard::clear_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.visibility_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetupWizard::visibility() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetupWizard.visibility)
return _internal_visibility();
}
inline void SharingLog_SetupWizard::set_visibility(::location::nearby::proto::sharing::Visibility value) {
_internal_set_visibility(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetupWizard.visibility)
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetupWizard::_internal_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::Visibility>(_impl_.visibility_);
}
inline void SharingLog_SetupWizard::_internal_set_visibility(::location::nearby::proto::sharing::Visibility value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::Visibility_internal_data_));
_impl_.visibility_ = value;
}
// optional .location.nearby.proto.sharing.Visibility previous_visibility = 2;
inline bool SharingLog_SetupWizard::has_previous_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_SetupWizard::clear_previous_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.previous_visibility_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetupWizard::previous_visibility() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SetupWizard.previous_visibility)
return _internal_previous_visibility();
}
inline void SharingLog_SetupWizard::set_previous_visibility(::location::nearby::proto::sharing::Visibility value) {
_internal_set_previous_visibility(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SetupWizard.previous_visibility)
}
inline ::location::nearby::proto::sharing::Visibility SharingLog_SetupWizard::_internal_previous_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::Visibility>(_impl_.previous_visibility_);
}
inline void SharingLog_SetupWizard::_internal_set_previous_visibility(::location::nearby::proto::sharing::Visibility value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::Visibility_internal_data_));
_impl_.previous_visibility_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SendDesktopNotification
// optional .location.nearby.proto.sharing.DesktopNotification event = 1;
inline bool SharingLog_SendDesktopNotification::has_event() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SendDesktopNotification::clear_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.event_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::DesktopNotification SharingLog_SendDesktopNotification::event() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification.event)
return _internal_event();
}
inline void SharingLog_SendDesktopNotification::set_event(::location::nearby::proto::sharing::DesktopNotification value) {
_internal_set_event(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification.event)
}
inline ::location::nearby::proto::sharing::DesktopNotification SharingLog_SendDesktopNotification::_internal_event() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DesktopNotification>(_impl_.event_);
}
inline void SharingLog_SendDesktopNotification::_internal_set_event(::location::nearby::proto::sharing::DesktopNotification value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DesktopNotification_internal_data_));
_impl_.event_ = value;
}
// -------------------------------------------------------------------
// SharingLog_SendDesktopTransferEvent
// optional .location.nearby.proto.sharing.DesktopTransferEventType event = 1;
inline bool SharingLog_SendDesktopTransferEvent::has_event() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_SendDesktopTransferEvent::clear_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.event_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::DesktopTransferEventType SharingLog_SendDesktopTransferEvent::event() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent.event)
return _internal_event();
}
inline void SharingLog_SendDesktopTransferEvent::set_event(::location::nearby::proto::sharing::DesktopTransferEventType value) {
_internal_set_event(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent.event)
}
inline ::location::nearby::proto::sharing::DesktopTransferEventType SharingLog_SendDesktopTransferEvent::_internal_event() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::DesktopTransferEventType>(_impl_.event_);
}
inline void SharingLog_SendDesktopTransferEvent::_internal_set_event(::location::nearby::proto::sharing::DesktopTransferEventType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::DesktopTransferEventType_internal_data_));
_impl_.event_ = value;
}
// -------------------------------------------------------------------
// SharingLog_ShowWaitingForAccept
// optional .location.nearby.proto.sharing.ButtonStatus button_status = 1;
inline bool SharingLog_ShowWaitingForAccept::has_button_status() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ShowWaitingForAccept::clear_button_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.button_status_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::ButtonStatus SharingLog_ShowWaitingForAccept::button_status() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept.button_status)
return _internal_button_status();
}
inline void SharingLog_ShowWaitingForAccept::set_button_status(::location::nearby::proto::sharing::ButtonStatus value) {
_internal_set_button_status(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept.button_status)
}
inline ::location::nearby::proto::sharing::ButtonStatus SharingLog_ShowWaitingForAccept::_internal_button_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::ButtonStatus>(_impl_.button_status_);
}
inline void SharingLog_ShowWaitingForAccept::_internal_set_button_status(::location::nearby::proto::sharing::ButtonStatus value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::ButtonStatus_internal_data_));
_impl_.button_status_ = value;
}
// -------------------------------------------------------------------
// SharingLog_HighQualityMediumSetup
// optional .nearby.sharing.analytics.proto.SharingLog.ShareTargetInfo share_target_info = 1;
inline bool SharingLog_HighQualityMediumSetup::has_share_target_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.share_target_info_ != nullptr);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ != nullptr) _impl_.share_target_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_HighQualityMediumSetup::_internal_share_target_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* p = _impl_.share_target_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo&>(::nearby::sharing::analytics::proto::_SharingLog_ShareTargetInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo& SharingLog_HighQualityMediumSetup::share_target_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.share_target_info)
return _internal_share_target_info();
}
inline void SharingLog_HighQualityMediumSetup::unsafe_arena_set_allocated_share_target_info(
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.share_target_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_HighQualityMediumSetup::release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* released = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE SharingLog_HighQualityMediumSetup::unsafe_arena_release_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.share_target_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* temp = _impl_.share_target_info_;
_impl_.share_target_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_HighQualityMediumSetup::_internal_mutable_share_target_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.share_target_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo>(GetArena());
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(p);
}
return _impl_.share_target_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NONNULL SharingLog_HighQualityMediumSetup::mutable_share_target_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* _msg = _internal_mutable_share_target_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.share_target_info)
return _msg;
}
inline void SharingLog_HighQualityMediumSetup::set_allocated_share_target_info(::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.share_target_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.share_target_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShareTargetInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.share_target_info)
}
// optional int64 session_id = 2;
inline bool SharingLog_HighQualityMediumSetup::has_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_HighQualityMediumSetup::session_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.session_id)
return _internal_session_id();
}
inline void SharingLog_HighQualityMediumSetup::set_session_id(::int64_t value) {
_internal_set_session_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.session_id)
}
inline ::int64_t SharingLog_HighQualityMediumSetup::_internal_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.session_id_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_session_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.session_id_ = value;
}
// optional int64 duration_millis = 3;
inline bool SharingLog_HighQualityMediumSetup::has_duration_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_duration_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_HighQualityMediumSetup::duration_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.duration_millis)
return _internal_duration_millis();
}
inline void SharingLog_HighQualityMediumSetup::set_duration_millis(::int64_t value) {
_internal_set_duration_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.duration_millis)
}
inline ::int64_t SharingLog_HighQualityMediumSetup::_internal_duration_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.duration_millis_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_duration_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.duration_millis_ = value;
}
// optional bool is_timeout = 4;
inline bool SharingLog_HighQualityMediumSetup::has_is_timeout() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_is_timeout() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_timeout_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline bool SharingLog_HighQualityMediumSetup::is_timeout() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.is_timeout)
return _internal_is_timeout();
}
inline void SharingLog_HighQualityMediumSetup::set_is_timeout(bool value) {
_internal_set_is_timeout(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.is_timeout)
}
inline bool SharingLog_HighQualityMediumSetup::_internal_is_timeout() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_timeout_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_is_timeout(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_timeout_ = value;
}
// optional int32 original_quality = 5;
inline bool SharingLog_HighQualityMediumSetup::has_original_quality() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_original_quality() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.original_quality_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::int32_t SharingLog_HighQualityMediumSetup::original_quality() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.original_quality)
return _internal_original_quality();
}
inline void SharingLog_HighQualityMediumSetup::set_original_quality(::int32_t value) {
_internal_set_original_quality(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.original_quality)
}
inline ::int32_t SharingLog_HighQualityMediumSetup::_internal_original_quality() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.original_quality_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_original_quality(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.original_quality_ = value;
}
// optional int32 connection_medium = 6;
inline bool SharingLog_HighQualityMediumSetup::has_connection_medium() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_connection_medium() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_medium_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline ::int32_t SharingLog_HighQualityMediumSetup::connection_medium() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.connection_medium)
return _internal_connection_medium();
}
inline void SharingLog_HighQualityMediumSetup::set_connection_medium(::int32_t value) {
_internal_set_connection_medium(value);
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.connection_medium)
}
inline ::int32_t SharingLog_HighQualityMediumSetup::_internal_connection_medium() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.connection_medium_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_connection_medium(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_medium_ = value;
}
// optional int32 connection_mode = 7;
inline bool SharingLog_HighQualityMediumSetup::has_connection_mode() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_connection_mode() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_mode_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline ::int32_t SharingLog_HighQualityMediumSetup::connection_mode() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.connection_mode)
return _internal_connection_mode();
}
inline void SharingLog_HighQualityMediumSetup::set_connection_mode(::int32_t value) {
_internal_set_connection_mode(value);
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.connection_mode)
}
inline ::int32_t SharingLog_HighQualityMediumSetup::_internal_connection_mode() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.connection_mode_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_connection_mode(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.connection_mode_ = value;
}
// optional int32 instant_connection_result = 8;
inline bool SharingLog_HighQualityMediumSetup::has_instant_connection_result() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
return value;
}
inline void SharingLog_HighQualityMediumSetup::clear_instant_connection_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instant_connection_result_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline ::int32_t SharingLog_HighQualityMediumSetup::instant_connection_result() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.instant_connection_result)
return _internal_instant_connection_result();
}
inline void SharingLog_HighQualityMediumSetup::set_instant_connection_result(::int32_t value) {
_internal_set_instant_connection_result(value);
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup.instant_connection_result)
}
inline ::int32_t SharingLog_HighQualityMediumSetup::_internal_instant_connection_result() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.instant_connection_result_;
}
inline void SharingLog_HighQualityMediumSetup::_internal_set_instant_connection_result(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instant_connection_result_ = value;
}
// -------------------------------------------------------------------
// SharingLog_RpcCallStatus
// optional .nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.RpcDirection direction = 1;
inline bool SharingLog_RpcCallStatus::has_direction() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_RpcCallStatus::clear_direction() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.direction_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection SharingLog_RpcCallStatus::direction() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.direction)
return _internal_direction();
}
inline void SharingLog_RpcCallStatus::set_direction(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection value) {
_internal_set_direction(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.direction)
}
inline ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection SharingLog_RpcCallStatus::_internal_direction() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection>(_impl_.direction_);
}
inline void SharingLog_RpcCallStatus::_internal_set_direction(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection_internal_data_));
_impl_.direction_ = value;
}
// optional string rpc_name = 2;
inline bool SharingLog_RpcCallStatus::has_rpc_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_RpcCallStatus::clear_rpc_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.rpc_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_RpcCallStatus::rpc_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.rpc_name)
return _internal_rpc_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_RpcCallStatus::set_rpc_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.rpc_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.rpc_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_RpcCallStatus::mutable_rpc_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_rpc_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.rpc_name)
return _s;
}
inline const ::std::string& SharingLog_RpcCallStatus::_internal_rpc_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.rpc_name_.Get();
}
inline void SharingLog_RpcCallStatus::_internal_set_rpc_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.rpc_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_RpcCallStatus::_internal_mutable_rpc_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.rpc_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_RpcCallStatus::release_rpc_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.rpc_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.rpc_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.rpc_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_RpcCallStatus::set_allocated_rpc_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.rpc_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.rpc_name_.IsDefault()) {
_impl_.rpc_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.rpc_name)
}
// optional int32 error_code = 3;
inline bool SharingLog_RpcCallStatus::has_error_code() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_RpcCallStatus::clear_error_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.error_code_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int32_t SharingLog_RpcCallStatus::error_code() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.error_code)
return _internal_error_code();
}
inline void SharingLog_RpcCallStatus::set_error_code(::int32_t value) {
_internal_set_error_code(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.error_code)
}
inline ::int32_t SharingLog_RpcCallStatus::_internal_error_code() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.error_code_;
}
inline void SharingLog_RpcCallStatus::_internal_set_error_code(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.error_code_ = value;
}
// optional int64 latency_millis = 4;
inline bool SharingLog_RpcCallStatus::has_latency_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_RpcCallStatus::clear_latency_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_RpcCallStatus::latency_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.latency_millis)
return _internal_latency_millis();
}
inline void SharingLog_RpcCallStatus::set_latency_millis(::int64_t value) {
_internal_set_latency_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.RpcCallStatus.latency_millis)
}
inline ::int64_t SharingLog_RpcCallStatus::_internal_latency_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.latency_millis_;
}
inline void SharingLog_RpcCallStatus::_internal_set_latency_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_millis_ = value;
}
// -------------------------------------------------------------------
// SharingLog_StartQrCodeSession
// -------------------------------------------------------------------
// SharingLog_QrCodeOpenedInWebClient
// optional .nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient.ClientPlatform client_platform = 1;
inline bool SharingLog_QrCodeOpenedInWebClient::has_client_platform() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_QrCodeOpenedInWebClient::clear_client_platform() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.client_platform_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform SharingLog_QrCodeOpenedInWebClient::client_platform() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient.client_platform)
return _internal_client_platform();
}
inline void SharingLog_QrCodeOpenedInWebClient::set_client_platform(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform value) {
_internal_set_client_platform(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient.client_platform)
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform SharingLog_QrCodeOpenedInWebClient::_internal_client_platform() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform>(_impl_.client_platform_);
}
inline void SharingLog_QrCodeOpenedInWebClient::_internal_set_client_platform(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform_internal_data_));
_impl_.client_platform_ = value;
}
// optional bool is_retry = 2;
inline bool SharingLog_QrCodeOpenedInWebClient::has_is_retry() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_QrCodeOpenedInWebClient::clear_is_retry() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_retry_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline bool SharingLog_QrCodeOpenedInWebClient::is_retry() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient.is_retry)
return _internal_is_retry();
}
inline void SharingLog_QrCodeOpenedInWebClient::set_is_retry(bool value) {
_internal_set_is_retry(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient.is_retry)
}
inline bool SharingLog_QrCodeOpenedInWebClient::_internal_is_retry() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.is_retry_;
}
inline void SharingLog_QrCodeOpenedInWebClient::_internal_set_is_retry(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.is_retry_ = value;
}
// -------------------------------------------------------------------
// SharingLog_HatsJointEvent
// optional int64 flow_id = 1;
inline bool SharingLog_HatsJointEvent::has_flow_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_HatsJointEvent::clear_flow_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_HatsJointEvent::flow_id() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.flow_id)
return _internal_flow_id();
}
inline void SharingLog_HatsJointEvent::set_flow_id(::int64_t value) {
_internal_set_flow_id(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.flow_id)
}
inline ::int64_t SharingLog_HatsJointEvent::_internal_flow_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.flow_id_;
}
inline void SharingLog_HatsJointEvent::_internal_set_flow_id(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.flow_id_ = value;
}
// optional string hats_session_id = 2;
inline bool SharingLog_HatsJointEvent::has_hats_session_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_HatsJointEvent::clear_hats_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.hats_session_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_HatsJointEvent::hats_session_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.hats_session_id)
return _internal_hats_session_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_HatsJointEvent::set_hats_session_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.hats_session_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.hats_session_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_HatsJointEvent::mutable_hats_session_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_hats_session_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.hats_session_id)
return _s;
}
inline const ::std::string& SharingLog_HatsJointEvent::_internal_hats_session_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.hats_session_id_.Get();
}
inline void SharingLog_HatsJointEvent::_internal_set_hats_session_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.hats_session_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_HatsJointEvent::_internal_mutable_hats_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.hats_session_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_HatsJointEvent::release_hats_session_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.hats_session_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.hats_session_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.hats_session_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_HatsJointEvent::set_allocated_hats_session_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.hats_session_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.hats_session_id_.IsDefault()) {
_impl_.hats_session_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.HatsJointEvent.hats_session_id)
}
// -------------------------------------------------------------------
// SharingLog_ReceivePreviews
// optional int32 num_previews = 1;
inline bool SharingLog_ReceivePreviews::has_num_previews() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_ReceivePreviews::clear_num_previews() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.num_previews_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int32_t SharingLog_ReceivePreviews::num_previews() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.ReceivePreviews.num_previews)
return _internal_num_previews();
}
inline void SharingLog_ReceivePreviews::set_num_previews(::int32_t value) {
_internal_set_num_previews(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.ReceivePreviews.num_previews)
}
inline ::int32_t SharingLog_ReceivePreviews::_internal_num_previews() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.num_previews_;
}
inline void SharingLog_ReceivePreviews::_internal_set_num_previews(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.num_previews_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudCreateSharingRequest
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
inline bool SharingLog_CloudCreateSharingRequest::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_CloudCreateSharingRequest::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_CloudCreateSharingRequest::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_CloudCreateSharingRequest::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_CloudCreateSharingRequest::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_CloudCreateSharingRequest::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_CloudCreateSharingRequest::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_CloudCreateSharingRequest::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_CloudCreateSharingRequest::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachments_info)
return _msg;
}
inline void SharingLog_CloudCreateSharingRequest::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachments_info)
}
// optional .location.nearby.proto.sharing.CloudCreateSharingResult result = 2;
inline bool SharingLog_CloudCreateSharingRequest::has_result() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
return value;
}
inline void SharingLog_CloudCreateSharingRequest::clear_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.result_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline ::location::nearby::proto::sharing::CloudCreateSharingResult SharingLog_CloudCreateSharingRequest::result() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.result)
return _internal_result();
}
inline void SharingLog_CloudCreateSharingRequest::set_result(::location::nearby::proto::sharing::CloudCreateSharingResult value) {
_internal_set_result(value);
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.result)
}
inline ::location::nearby::proto::sharing::CloudCreateSharingResult SharingLog_CloudCreateSharingRequest::_internal_result() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::CloudCreateSharingResult>(_impl_.result_);
}
inline void SharingLog_CloudCreateSharingRequest::_internal_set_result(::location::nearby::proto::sharing::CloudCreateSharingResult value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::CloudCreateSharingResult_internal_data_));
_impl_.result_ = value;
}
// optional int64 attachment_download_latency_millis = 3;
inline bool SharingLog_CloudCreateSharingRequest::has_attachment_download_latency_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudCreateSharingRequest::clear_attachment_download_latency_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.attachment_download_latency_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::int64_t SharingLog_CloudCreateSharingRequest::attachment_download_latency_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachment_download_latency_millis)
return _internal_attachment_download_latency_millis();
}
inline void SharingLog_CloudCreateSharingRequest::set_attachment_download_latency_millis(::int64_t value) {
_internal_set_attachment_download_latency_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.attachment_download_latency_millis)
}
inline ::int64_t SharingLog_CloudCreateSharingRequest::_internal_attachment_download_latency_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.attachment_download_latency_millis_;
}
inline void SharingLog_CloudCreateSharingRequest::_internal_set_attachment_download_latency_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.attachment_download_latency_millis_ = value;
}
// optional int64 preview_thumbnail_latency_millis = 4;
inline bool SharingLog_CloudCreateSharingRequest::has_preview_thumbnail_latency_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_CloudCreateSharingRequest::clear_preview_thumbnail_latency_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.preview_thumbnail_latency_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_CloudCreateSharingRequest::preview_thumbnail_latency_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.preview_thumbnail_latency_millis)
return _internal_preview_thumbnail_latency_millis();
}
inline void SharingLog_CloudCreateSharingRequest::set_preview_thumbnail_latency_millis(::int64_t value) {
_internal_set_preview_thumbnail_latency_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.preview_thumbnail_latency_millis)
}
inline ::int64_t SharingLog_CloudCreateSharingRequest::_internal_preview_thumbnail_latency_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.preview_thumbnail_latency_millis_;
}
inline void SharingLog_CloudCreateSharingRequest::_internal_set_preview_thumbnail_latency_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.preview_thumbnail_latency_millis_ = value;
}
// optional int64 rpc_latency_millis = 5;
inline bool SharingLog_CloudCreateSharingRequest::has_rpc_latency_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_CloudCreateSharingRequest::clear_rpc_latency_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.rpc_latency_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int64_t SharingLog_CloudCreateSharingRequest::rpc_latency_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.rpc_latency_millis)
return _internal_rpc_latency_millis();
}
inline void SharingLog_CloudCreateSharingRequest::set_rpc_latency_millis(::int64_t value) {
_internal_set_rpc_latency_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest.rpc_latency_millis)
}
inline ::int64_t SharingLog_CloudCreateSharingRequest::_internal_rpc_latency_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.rpc_latency_millis_;
}
inline void SharingLog_CloudCreateSharingRequest::_internal_set_rpc_latency_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.rpc_latency_millis_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudRegisterReceiver
// optional .location.nearby.proto.sharing.CloudRegisterReceiverResult result = 1;
inline bool SharingLog_CloudRegisterReceiver::has_result() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_CloudRegisterReceiver::clear_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.result_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::location::nearby::proto::sharing::CloudRegisterReceiverResult SharingLog_CloudRegisterReceiver::result() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver.result)
return _internal_result();
}
inline void SharingLog_CloudRegisterReceiver::set_result(::location::nearby::proto::sharing::CloudRegisterReceiverResult value) {
_internal_set_result(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver.result)
}
inline ::location::nearby::proto::sharing::CloudRegisterReceiverResult SharingLog_CloudRegisterReceiver::_internal_result() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::CloudRegisterReceiverResult>(_impl_.result_);
}
inline void SharingLog_CloudRegisterReceiver::_internal_set_result(::location::nearby::proto::sharing::CloudRegisterReceiverResult value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::CloudRegisterReceiverResult_internal_data_));
_impl_.result_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudUploadStart
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
inline bool SharingLog_CloudUploadStart::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_CloudUploadStart::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_CloudUploadStart::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_CloudUploadStart::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_CloudUploadStart::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_CloudUploadStart::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_CloudUploadStart::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_CloudUploadStart::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_CloudUploadStart::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.attachments_info)
return _msg;
}
inline void SharingLog_CloudUploadStart::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.attachments_info)
}
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
inline bool SharingLog_CloudUploadStart::has_action_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudUploadStart::clear_action_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudUploadStart::action_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.action_type)
return _internal_action_type();
}
inline void SharingLog_CloudUploadStart::set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
_internal_set_action_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudUploadStart.action_type)
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudUploadStart::_internal_action_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::CloudActionType>(_impl_.action_type_);
}
inline void SharingLog_CloudUploadStart::_internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::CloudActionType_internal_data_));
_impl_.action_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudUploadEnd
// repeated .nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo upload_infos = 1;
inline int SharingLog_CloudUploadEnd::_internal_upload_infos_size() const {
return _internal_upload_infos().size();
}
inline int SharingLog_CloudUploadEnd::upload_infos_size() const {
return _internal_upload_infos_size();
}
inline void SharingLog_CloudUploadEnd::clear_upload_infos() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.upload_infos_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000001U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL SharingLog_CloudUploadEnd::mutable_upload_infos(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.upload_infos)
return _internal_mutable_upload_infos()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL SharingLog_CloudUploadEnd::mutable_upload_infos()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.upload_infos)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_upload_infos();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo& SharingLog_CloudUploadEnd::upload_infos(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.upload_infos)
return _internal_upload_infos().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL SharingLog_CloudUploadEnd::add_upload_infos()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* _add =
_internal_mutable_upload_infos()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.upload_infos)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>& SharingLog_CloudUploadEnd::upload_infos() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.upload_infos)
return _internal_upload_infos();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>&
SharingLog_CloudUploadEnd::_internal_upload_infos() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.upload_infos_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL
SharingLog_CloudUploadEnd::_internal_mutable_upload_infos() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.upload_infos_;
}
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
inline bool SharingLog_CloudUploadEnd::has_action_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudUploadEnd::clear_action_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudUploadEnd::action_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.action_type)
return _internal_action_type();
}
inline void SharingLog_CloudUploadEnd::set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
_internal_set_action_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd.action_type)
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudUploadEnd::_internal_action_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::CloudActionType>(_impl_.action_type_);
}
inline void SharingLog_CloudUploadEnd::_internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::CloudActionType_internal_data_));
_impl_.action_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudDownloadStart
// optional .nearby.sharing.analytics.proto.SharingLog.AttachmentsInfo attachments_info = 1;
inline bool SharingLog_CloudDownloadStart::has_attachments_info() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.attachments_info_ != nullptr);
return value;
}
inline void SharingLog_CloudDownloadStart::clear_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ != nullptr) _impl_.attachments_info_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_CloudDownloadStart::_internal_attachments_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* p = _impl_.attachments_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AttachmentsInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo& SharingLog_CloudDownloadStart::attachments_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.attachments_info)
return _internal_attachments_info();
}
inline void SharingLog_CloudDownloadStart::unsafe_arena_set_allocated_attachments_info(
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.attachments_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_CloudDownloadStart::release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* released = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE SharingLog_CloudDownloadStart::unsafe_arena_release_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.attachments_info)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* temp = _impl_.attachments_info_;
_impl_.attachments_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_CloudDownloadStart::_internal_mutable_attachments_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.attachments_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo>(GetArena());
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(p);
}
return _impl_.attachments_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NONNULL SharingLog_CloudDownloadStart::mutable_attachments_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* _msg = _internal_mutable_attachments_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.attachments_info)
return _msg;
}
inline void SharingLog_CloudDownloadStart::set_allocated_attachments_info(::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attachments_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.attachments_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AttachmentsInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.attachments_info)
}
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
inline bool SharingLog_CloudDownloadStart::has_action_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudDownloadStart::clear_action_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudDownloadStart::action_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.action_type)
return _internal_action_type();
}
inline void SharingLog_CloudDownloadStart::set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
_internal_set_action_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart.action_type)
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudDownloadStart::_internal_action_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::CloudActionType>(_impl_.action_type_);
}
inline void SharingLog_CloudDownloadStart::_internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::CloudActionType_internal_data_));
_impl_.action_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudDownloadEnd
// repeated .nearby.sharing.analytics.proto.SharingLog.CloudAttachmentInfo download_infos = 1;
inline int SharingLog_CloudDownloadEnd::_internal_download_infos_size() const {
return _internal_download_infos().size();
}
inline int SharingLog_CloudDownloadEnd::download_infos_size() const {
return _internal_download_infos_size();
}
inline void SharingLog_CloudDownloadEnd::clear_download_infos() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.download_infos_.Clear();
ClearHasBitForRepeated(_impl_._has_bits_[0],
0x00000001U);
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL SharingLog_CloudDownloadEnd::mutable_download_infos(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.download_infos)
return _internal_mutable_download_infos()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL SharingLog_CloudDownloadEnd::mutable_download_infos()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_mutable_list:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.download_infos)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_download_infos();
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo& SharingLog_CloudDownloadEnd::download_infos(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.download_infos)
return _internal_download_infos().Get(index);
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* PROTOBUF_NONNULL SharingLog_CloudDownloadEnd::add_download_infos()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo* _add =
_internal_mutable_download_infos()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_add:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.download_infos)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>& SharingLog_CloudDownloadEnd::download_infos() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.download_infos)
return _internal_download_infos();
}
inline const ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>&
SharingLog_CloudDownloadEnd::_internal_download_infos() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.download_infos_;
}
inline ::google::protobuf::RepeatedPtrField<::nearby::sharing::analytics::proto::SharingLog_CloudAttachmentInfo>* PROTOBUF_NONNULL
SharingLog_CloudDownloadEnd::_internal_mutable_download_infos() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.download_infos_;
}
// optional .location.nearby.proto.sharing.CloudActionType action_type = 2;
inline bool SharingLog_CloudDownloadEnd::has_action_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudDownloadEnd::clear_action_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.action_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudDownloadEnd::action_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.action_type)
return _internal_action_type();
}
inline void SharingLog_CloudDownloadEnd::set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
_internal_set_action_type(value);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd.action_type)
}
inline ::location::nearby::proto::sharing::CloudActionType SharingLog_CloudDownloadEnd::_internal_action_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::CloudActionType>(_impl_.action_type_);
}
inline void SharingLog_CloudDownloadEnd::_internal_set_action_type(::location::nearby::proto::sharing::CloudActionType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::CloudActionType_internal_data_));
_impl_.action_type_ = value;
}
// -------------------------------------------------------------------
// SharingLog_CloudSharingRpcResult
// optional string rpc_name = 1;
inline bool SharingLog_CloudSharingRpcResult::has_rpc_name() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
return value;
}
inline void SharingLog_CloudSharingRpcResult::clear_rpc_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.rpc_name_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& SharingLog_CloudSharingRpcResult::rpc_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.rpc_name)
return _internal_rpc_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_CloudSharingRpcResult::set_rpc_name(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.rpc_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.rpc_name)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_CloudSharingRpcResult::mutable_rpc_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_rpc_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.rpc_name)
return _s;
}
inline const ::std::string& SharingLog_CloudSharingRpcResult::_internal_rpc_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.rpc_name_.Get();
}
inline void SharingLog_CloudSharingRpcResult::_internal_set_rpc_name(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.rpc_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_CloudSharingRpcResult::_internal_mutable_rpc_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.rpc_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_CloudSharingRpcResult::release_rpc_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.rpc_name)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.rpc_name_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.rpc_name_.Set("", GetArena());
}
return released;
}
inline void SharingLog_CloudSharingRpcResult::set_allocated_rpc_name(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.rpc_name_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.rpc_name_.IsDefault()) {
_impl_.rpc_name_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.rpc_name)
}
// optional int32 status_code = 2;
inline bool SharingLog_CloudSharingRpcResult::has_status_code() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
return value;
}
inline void SharingLog_CloudSharingRpcResult::clear_status_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_code_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline ::int32_t SharingLog_CloudSharingRpcResult::status_code() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.status_code)
return _internal_status_code();
}
inline void SharingLog_CloudSharingRpcResult::set_status_code(::int32_t value) {
_internal_set_status_code(value);
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.status_code)
}
inline ::int32_t SharingLog_CloudSharingRpcResult::_internal_status_code() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.status_code_;
}
inline void SharingLog_CloudSharingRpcResult::_internal_set_status_code(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.status_code_ = value;
}
// optional int64 latency_millis = 3;
inline bool SharingLog_CloudSharingRpcResult::has_latency_millis() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
return value;
}
inline void SharingLog_CloudSharingRpcResult::clear_latency_millis() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_millis_ = ::int64_t{0};
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline ::int64_t SharingLog_CloudSharingRpcResult::latency_millis() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.latency_millis)
return _internal_latency_millis();
}
inline void SharingLog_CloudSharingRpcResult::set_latency_millis(::int64_t value) {
_internal_set_latency_millis(value);
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.latency_millis)
}
inline ::int64_t SharingLog_CloudSharingRpcResult::_internal_latency_millis() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.latency_millis_;
}
inline void SharingLog_CloudSharingRpcResult::_internal_set_latency_millis(::int64_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.latency_millis_ = value;
}
// optional string cloud_sharing_id = 4;
inline bool SharingLog_CloudSharingRpcResult::has_cloud_sharing_id() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
return value;
}
inline void SharingLog_CloudSharingRpcResult::clear_cloud_sharing_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_sharing_id_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::std::string& SharingLog_CloudSharingRpcResult::cloud_sharing_id() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.cloud_sharing_id)
return _internal_cloud_sharing_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog_CloudSharingRpcResult::set_cloud_sharing_id(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
_impl_.cloud_sharing_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.cloud_sharing_id)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_CloudSharingRpcResult::mutable_cloud_sharing_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::std::string* _s = _internal_mutable_cloud_sharing_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.cloud_sharing_id)
return _s;
}
inline const ::std::string& SharingLog_CloudSharingRpcResult::_internal_cloud_sharing_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.cloud_sharing_id_.Get();
}
inline void SharingLog_CloudSharingRpcResult::_internal_set_cloud_sharing_id(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.cloud_sharing_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog_CloudSharingRpcResult::_internal_mutable_cloud_sharing_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.cloud_sharing_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog_CloudSharingRpcResult::release_cloud_sharing_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.cloud_sharing_id)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
auto* released = _impl_.cloud_sharing_id_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.cloud_sharing_id_.Set("", GetArena());
}
return released;
}
inline void SharingLog_CloudSharingRpcResult::set_allocated_cloud_sharing_id(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.cloud_sharing_id_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.cloud_sharing_id_.IsDefault()) {
_impl_.cloud_sharing_id_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult.cloud_sharing_id)
}
// -------------------------------------------------------------------
// SharingLog
// optional .location.nearby.proto.sharing.EventType event_type = 1;
inline bool SharingLog::has_event_type() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x20000000U);
return value;
}
inline void SharingLog::clear_event_type() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.event_type_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x20000000U);
}
inline ::location::nearby::proto::sharing::EventType SharingLog::event_type() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.event_type)
return _internal_event_type();
}
inline void SharingLog::set_event_type(::location::nearby::proto::sharing::EventType value) {
_internal_set_event_type(value);
SetHasBit(_impl_._has_bits_[0], 0x20000000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.event_type)
}
inline ::location::nearby::proto::sharing::EventType SharingLog::_internal_event_type() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::EventType>(_impl_.event_type_);
}
inline void SharingLog::_internal_set_event_type(::location::nearby::proto::sharing::EventType value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::EventType_internal_data_));
_impl_.event_type_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.UnknownEvent unknown_event = 2;
inline bool SharingLog::has_unknown_event() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.unknown_event_ != nullptr);
return value;
}
inline void SharingLog::clear_unknown_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.unknown_event_ != nullptr) _impl_.unknown_event_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent& SharingLog::_internal_unknown_event() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* p = _impl_.unknown_event_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent&>(::nearby::sharing::analytics::proto::_SharingLog_UnknownEvent_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent& SharingLog::unknown_event() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.unknown_event)
return _internal_unknown_event();
}
inline void SharingLog::unsafe_arena_set_allocated_unknown_event(
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.unknown_event_);
}
_impl_.unknown_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_UnknownEvent*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.unknown_event)
}
inline ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE SharingLog::release_unknown_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* released = _impl_.unknown_event_;
_impl_.unknown_event_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_unknown_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.unknown_event)
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* temp = _impl_.unknown_event_;
_impl_.unknown_event_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NONNULL SharingLog::_internal_mutable_unknown_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.unknown_event_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_UnknownEvent>(GetArena());
_impl_.unknown_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_UnknownEvent*>(p);
}
return _impl_.unknown_event_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NONNULL SharingLog::mutable_unknown_event()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* _msg = _internal_mutable_unknown_event();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.unknown_event)
return _msg;
}
inline void SharingLog::set_allocated_unknown_event(::nearby::sharing::analytics::proto::SharingLog_UnknownEvent* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.unknown_event_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.unknown_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_UnknownEvent*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.unknown_event)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AcceptAgreements accept_agreements = 3;
inline bool SharingLog::has_accept_agreements() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.accept_agreements_ != nullptr);
return value;
}
inline void SharingLog::clear_accept_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.accept_agreements_ != nullptr) _impl_.accept_agreements_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements& SharingLog::_internal_accept_agreements() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* p = _impl_.accept_agreements_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements&>(::nearby::sharing::analytics::proto::_SharingLog_AcceptAgreements_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements& SharingLog::accept_agreements() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.accept_agreements)
return _internal_accept_agreements();
}
inline void SharingLog::unsafe_arena_set_allocated_accept_agreements(
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.accept_agreements_);
}
_impl_.accept_agreements_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.accept_agreements)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE SharingLog::release_accept_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* released = _impl_.accept_agreements_;
_impl_.accept_agreements_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_accept_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.accept_agreements)
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* temp = _impl_.accept_agreements_;
_impl_.accept_agreements_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NONNULL SharingLog::_internal_mutable_accept_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.accept_agreements_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements>(GetArena());
_impl_.accept_agreements_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements*>(p);
}
return _impl_.accept_agreements_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NONNULL SharingLog::mutable_accept_agreements()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* _msg = _internal_mutable_accept_agreements();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.accept_agreements)
return _msg;
}
inline void SharingLog::set_allocated_accept_agreements(::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.accept_agreements_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
_impl_.accept_agreements_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AcceptAgreements*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.accept_agreements)
}
// optional .nearby.sharing.analytics.proto.SharingLog.EnableNearbySharing enable_nearby_sharing = 4;
inline bool SharingLog::has_enable_nearby_sharing() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.enable_nearby_sharing_ != nullptr);
return value;
}
inline void SharingLog::clear_enable_nearby_sharing() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.enable_nearby_sharing_ != nullptr) _impl_.enable_nearby_sharing_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000004U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing& SharingLog::_internal_enable_nearby_sharing() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* p = _impl_.enable_nearby_sharing_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing&>(::nearby::sharing::analytics::proto::_SharingLog_EnableNearbySharing_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing& SharingLog::enable_nearby_sharing() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.enable_nearby_sharing)
return _internal_enable_nearby_sharing();
}
inline void SharingLog::unsafe_arena_set_allocated_enable_nearby_sharing(
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.enable_nearby_sharing_);
}
_impl_.enable_nearby_sharing_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.enable_nearby_sharing)
}
inline ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE SharingLog::release_enable_nearby_sharing() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* released = _impl_.enable_nearby_sharing_;
_impl_.enable_nearby_sharing_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_enable_nearby_sharing() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.enable_nearby_sharing)
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* temp = _impl_.enable_nearby_sharing_;
_impl_.enable_nearby_sharing_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NONNULL SharingLog::_internal_mutable_enable_nearby_sharing() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.enable_nearby_sharing_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing>(GetArena());
_impl_.enable_nearby_sharing_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing*>(p);
}
return _impl_.enable_nearby_sharing_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NONNULL SharingLog::mutable_enable_nearby_sharing()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* _msg = _internal_mutable_enable_nearby_sharing();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.enable_nearby_sharing)
return _msg;
}
inline void SharingLog::set_allocated_enable_nearby_sharing(::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.enable_nearby_sharing_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
_impl_.enable_nearby_sharing_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EnableNearbySharing*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.enable_nearby_sharing)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SetVisibility set_visibility = 5;
inline bool SharingLog::has_set_visibility() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
PROTOBUF_ASSUME(!value || _impl_.set_visibility_ != nullptr);
return value;
}
inline void SharingLog::clear_set_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_visibility_ != nullptr) _impl_.set_visibility_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000008U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetVisibility& SharingLog::_internal_set_visibility() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SetVisibility* p = _impl_.set_visibility_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SetVisibility&>(::nearby::sharing::analytics::proto::_SharingLog_SetVisibility_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetVisibility& SharingLog::set_visibility() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.set_visibility)
return _internal_set_visibility();
}
inline void SharingLog::unsafe_arena_set_allocated_set_visibility(
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_visibility_);
}
_impl_.set_visibility_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetVisibility*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_visibility)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE SharingLog::release_set_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* released = _impl_.set_visibility_;
_impl_.set_visibility_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_set_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.set_visibility)
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* temp = _impl_.set_visibility_;
_impl_.set_visibility_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NONNULL SharingLog::_internal_mutable_set_visibility() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_visibility_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SetVisibility>(GetArena());
_impl_.set_visibility_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetVisibility*>(p);
}
return _impl_.set_visibility_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NONNULL SharingLog::mutable_set_visibility()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_SetVisibility* _msg = _internal_mutable_set_visibility();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.set_visibility)
return _msg;
}
inline void SharingLog::set_allocated_set_visibility(::nearby::sharing::analytics::proto::SharingLog_SetVisibility* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_visibility_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
_impl_.set_visibility_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetVisibility*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_visibility)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DescribeAttachments describe_attachments = 6;
inline bool SharingLog::has_describe_attachments() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
PROTOBUF_ASSUME(!value || _impl_.describe_attachments_ != nullptr);
return value;
}
inline void SharingLog::clear_describe_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.describe_attachments_ != nullptr) _impl_.describe_attachments_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000010U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments& SharingLog::_internal_describe_attachments() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* p = _impl_.describe_attachments_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments&>(::nearby::sharing::analytics::proto::_SharingLog_DescribeAttachments_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments& SharingLog::describe_attachments() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.describe_attachments)
return _internal_describe_attachments();
}
inline void SharingLog::unsafe_arena_set_allocated_describe_attachments(
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.describe_attachments_);
}
_impl_.describe_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.describe_attachments)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE SharingLog::release_describe_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* released = _impl_.describe_attachments_;
_impl_.describe_attachments_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_describe_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.describe_attachments)
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* temp = _impl_.describe_attachments_;
_impl_.describe_attachments_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NONNULL SharingLog::_internal_mutable_describe_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.describe_attachments_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments>(GetArena());
_impl_.describe_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments*>(p);
}
return _impl_.describe_attachments_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NONNULL SharingLog::mutable_describe_attachments()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* _msg = _internal_mutable_describe_attachments();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.describe_attachments)
return _msg;
}
inline void SharingLog::set_allocated_describe_attachments(::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.describe_attachments_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000010U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
_impl_.describe_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DescribeAttachments*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.describe_attachments)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsStart scan_for_share_targets_start = 7;
inline bool SharingLog::has_scan_for_share_targets_start() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
PROTOBUF_ASSUME(!value || _impl_.scan_for_share_targets_start_ != nullptr);
return value;
}
inline void SharingLog::clear_scan_for_share_targets_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.scan_for_share_targets_start_ != nullptr) _impl_.scan_for_share_targets_start_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000020U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart& SharingLog::_internal_scan_for_share_targets_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* p = _impl_.scan_for_share_targets_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart&>(::nearby::sharing::analytics::proto::_SharingLog_ScanForShareTargetsStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart& SharingLog::scan_for_share_targets_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_start)
return _internal_scan_for_share_targets_start();
}
inline void SharingLog::unsafe_arena_set_allocated_scan_for_share_targets_start(
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_for_share_targets_start_);
}
_impl_.scan_for_share_targets_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE SharingLog::release_scan_for_share_targets_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* released = _impl_.scan_for_share_targets_start_;
_impl_.scan_for_share_targets_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_scan_for_share_targets_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_start)
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* temp = _impl_.scan_for_share_targets_start_;
_impl_.scan_for_share_targets_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_scan_for_share_targets_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.scan_for_share_targets_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart>(GetArena());
_impl_.scan_for_share_targets_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart*>(p);
}
return _impl_.scan_for_share_targets_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NONNULL SharingLog::mutable_scan_for_share_targets_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* _msg = _internal_mutable_scan_for_share_targets_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_start)
return _msg;
}
inline void SharingLog::set_allocated_scan_for_share_targets_start(::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_for_share_targets_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
_impl_.scan_for_share_targets_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ScanForShareTargetsEnd scan_for_share_targets_end = 8;
inline bool SharingLog::has_scan_for_share_targets_end() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
PROTOBUF_ASSUME(!value || _impl_.scan_for_share_targets_end_ != nullptr);
return value;
}
inline void SharingLog::clear_scan_for_share_targets_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.scan_for_share_targets_end_ != nullptr) _impl_.scan_for_share_targets_end_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000040U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd& SharingLog::_internal_scan_for_share_targets_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* p = _impl_.scan_for_share_targets_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd&>(::nearby::sharing::analytics::proto::_SharingLog_ScanForShareTargetsEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd& SharingLog::scan_for_share_targets_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_end)
return _internal_scan_for_share_targets_end();
}
inline void SharingLog::unsafe_arena_set_allocated_scan_for_share_targets_end(
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_for_share_targets_end_);
}
_impl_.scan_for_share_targets_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE SharingLog::release_scan_for_share_targets_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* released = _impl_.scan_for_share_targets_end_;
_impl_.scan_for_share_targets_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_scan_for_share_targets_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_end)
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* temp = _impl_.scan_for_share_targets_end_;
_impl_.scan_for_share_targets_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_scan_for_share_targets_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.scan_for_share_targets_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd>(GetArena());
_impl_.scan_for_share_targets_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd*>(p);
}
return _impl_.scan_for_share_targets_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NONNULL SharingLog::mutable_scan_for_share_targets_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* _msg = _internal_mutable_scan_for_share_targets_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_end)
return _msg;
}
inline void SharingLog::set_allocated_scan_for_share_targets_end(::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scan_for_share_targets_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
_impl_.scan_for_share_targets_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ScanForShareTargetsEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.scan_for_share_targets_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceStart advertise_device_presence_start = 9;
inline bool SharingLog::has_advertise_device_presence_start() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
PROTOBUF_ASSUME(!value || _impl_.advertise_device_presence_start_ != nullptr);
return value;
}
inline void SharingLog::clear_advertise_device_presence_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.advertise_device_presence_start_ != nullptr) _impl_.advertise_device_presence_start_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000080U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart& SharingLog::_internal_advertise_device_presence_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* p = _impl_.advertise_device_presence_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart&>(::nearby::sharing::analytics::proto::_SharingLog_AdvertiseDevicePresenceStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart& SharingLog::advertise_device_presence_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_start)
return _internal_advertise_device_presence_start();
}
inline void SharingLog::unsafe_arena_set_allocated_advertise_device_presence_start(
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.advertise_device_presence_start_);
}
_impl_.advertise_device_presence_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE SharingLog::release_advertise_device_presence_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* released = _impl_.advertise_device_presence_start_;
_impl_.advertise_device_presence_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_advertise_device_presence_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_start)
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* temp = _impl_.advertise_device_presence_start_;
_impl_.advertise_device_presence_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_advertise_device_presence_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.advertise_device_presence_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart>(GetArena());
_impl_.advertise_device_presence_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart*>(p);
}
return _impl_.advertise_device_presence_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NONNULL SharingLog::mutable_advertise_device_presence_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* _msg = _internal_mutable_advertise_device_presence_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_start)
return _msg;
}
inline void SharingLog::set_allocated_advertise_device_presence_start(::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.advertise_device_presence_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
_impl_.advertise_device_presence_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AdvertiseDevicePresenceEnd advertise_device_presence_end = 10;
inline bool SharingLog::has_advertise_device_presence_end() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
PROTOBUF_ASSUME(!value || _impl_.advertise_device_presence_end_ != nullptr);
return value;
}
inline void SharingLog::clear_advertise_device_presence_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.advertise_device_presence_end_ != nullptr) _impl_.advertise_device_presence_end_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000100U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd& SharingLog::_internal_advertise_device_presence_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* p = _impl_.advertise_device_presence_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd&>(::nearby::sharing::analytics::proto::_SharingLog_AdvertiseDevicePresenceEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd& SharingLog::advertise_device_presence_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_end)
return _internal_advertise_device_presence_end();
}
inline void SharingLog::unsafe_arena_set_allocated_advertise_device_presence_end(
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.advertise_device_presence_end_);
}
_impl_.advertise_device_presence_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE SharingLog::release_advertise_device_presence_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* released = _impl_.advertise_device_presence_end_;
_impl_.advertise_device_presence_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_advertise_device_presence_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_end)
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* temp = _impl_.advertise_device_presence_end_;
_impl_.advertise_device_presence_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_advertise_device_presence_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.advertise_device_presence_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd>(GetArena());
_impl_.advertise_device_presence_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd*>(p);
}
return _impl_.advertise_device_presence_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NONNULL SharingLog::mutable_advertise_device_presence_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* _msg = _internal_mutable_advertise_device_presence_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_end)
return _msg;
}
inline void SharingLog::set_allocated_advertise_device_presence_end(::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.advertise_device_presence_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
}
_impl_.advertise_device_presence_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AdvertiseDevicePresenceEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.advertise_device_presence_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendFastInitialization send_initialization = 11;
inline bool SharingLog::has_send_initialization() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
PROTOBUF_ASSUME(!value || _impl_.send_initialization_ != nullptr);
return value;
}
inline void SharingLog::clear_send_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_initialization_ != nullptr) _impl_.send_initialization_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000200U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization& SharingLog::_internal_send_initialization() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* p = _impl_.send_initialization_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization&>(::nearby::sharing::analytics::proto::_SharingLog_SendFastInitialization_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization& SharingLog::send_initialization() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_initialization)
return _internal_send_initialization();
}
inline void SharingLog::unsafe_arena_set_allocated_send_initialization(
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_initialization_);
}
_impl_.send_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_initialization)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE SharingLog::release_send_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* released = _impl_.send_initialization_;
_impl_.send_initialization_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_initialization)
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* temp = _impl_.send_initialization_;
_impl_.send_initialization_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_initialization_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization>(GetArena());
_impl_.send_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization*>(p);
}
return _impl_.send_initialization_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NONNULL SharingLog::mutable_send_initialization()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* _msg = _internal_mutable_send_initialization();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_initialization)
return _msg;
}
inline void SharingLog::set_allocated_send_initialization(::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_initialization_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000200U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
}
_impl_.send_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendFastInitialization*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_initialization)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveFastInitialization receive_initialization = 12;
inline bool SharingLog::has_receive_initialization() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
PROTOBUF_ASSUME(!value || _impl_.receive_initialization_ != nullptr);
return value;
}
inline void SharingLog::clear_receive_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_initialization_ != nullptr) _impl_.receive_initialization_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000400U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization& SharingLog::_internal_receive_initialization() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* p = _impl_.receive_initialization_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization&>(::nearby::sharing::analytics::proto::_SharingLog_ReceiveFastInitialization_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization& SharingLog::receive_initialization() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.receive_initialization)
return _internal_receive_initialization();
}
inline void SharingLog::unsafe_arena_set_allocated_receive_initialization(
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_initialization_);
}
_impl_.receive_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_initialization)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE SharingLog::release_receive_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* released = _impl_.receive_initialization_;
_impl_.receive_initialization_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_receive_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.receive_initialization)
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* temp = _impl_.receive_initialization_;
_impl_.receive_initialization_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL SharingLog::_internal_mutable_receive_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_initialization_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization>(GetArena());
_impl_.receive_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization*>(p);
}
return _impl_.receive_initialization_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NONNULL SharingLog::mutable_receive_initialization()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* _msg = _internal_mutable_receive_initialization();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.receive_initialization)
return _msg;
}
inline void SharingLog::set_allocated_receive_initialization(::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_initialization_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000400U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
}
_impl_.receive_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveFastInitialization*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_initialization)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DiscoverShareTarget discover_share_target = 13;
inline bool SharingLog::has_discover_share_target() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
PROTOBUF_ASSUME(!value || _impl_.discover_share_target_ != nullptr);
return value;
}
inline void SharingLog::clear_discover_share_target() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.discover_share_target_ != nullptr) _impl_.discover_share_target_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00000800U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget& SharingLog::_internal_discover_share_target() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* p = _impl_.discover_share_target_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget&>(::nearby::sharing::analytics::proto::_SharingLog_DiscoverShareTarget_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget& SharingLog::discover_share_target() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.discover_share_target)
return _internal_discover_share_target();
}
inline void SharingLog::unsafe_arena_set_allocated_discover_share_target(
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.discover_share_target_);
}
_impl_.discover_share_target_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.discover_share_target)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE SharingLog::release_discover_share_target() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* released = _impl_.discover_share_target_;
_impl_.discover_share_target_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_discover_share_target() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.discover_share_target)
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* temp = _impl_.discover_share_target_;
_impl_.discover_share_target_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL SharingLog::_internal_mutable_discover_share_target() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.discover_share_target_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget>(GetArena());
_impl_.discover_share_target_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget*>(p);
}
return _impl_.discover_share_target_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NONNULL SharingLog::mutable_discover_share_target()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* _msg = _internal_mutable_discover_share_target();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.discover_share_target)
return _msg;
}
inline void SharingLog::set_allocated_discover_share_target(::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.discover_share_target_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00000800U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
}
_impl_.discover_share_target_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DiscoverShareTarget*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.discover_share_target)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendIntroduction send_introduction = 14;
inline bool SharingLog::has_send_introduction() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
PROTOBUF_ASSUME(!value || _impl_.send_introduction_ != nullptr);
return value;
}
inline void SharingLog::clear_send_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_introduction_ != nullptr) _impl_.send_introduction_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00001000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction& SharingLog::_internal_send_introduction() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* p = _impl_.send_introduction_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction&>(::nearby::sharing::analytics::proto::_SharingLog_SendIntroduction_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction& SharingLog::send_introduction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_introduction)
return _internal_send_introduction();
}
inline void SharingLog::unsafe_arena_set_allocated_send_introduction(
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_introduction_);
}
_impl_.send_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendIntroduction*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_introduction)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE SharingLog::release_send_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* released = _impl_.send_introduction_;
_impl_.send_introduction_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_introduction)
ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* temp = _impl_.send_introduction_;
_impl_.send_introduction_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_introduction_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendIntroduction>(GetArena());
_impl_.send_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendIntroduction*>(p);
}
return _impl_.send_introduction_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NONNULL SharingLog::mutable_send_introduction()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* _msg = _internal_mutable_send_introduction();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_introduction)
return _msg;
}
inline void SharingLog::set_allocated_send_introduction(::nearby::sharing::analytics::proto::SharingLog_SendIntroduction* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_introduction_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00001000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
}
_impl_.send_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendIntroduction*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_introduction)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveIntroduction receive_introduction = 15;
inline bool SharingLog::has_receive_introduction() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00002000U);
PROTOBUF_ASSUME(!value || _impl_.receive_introduction_ != nullptr);
return value;
}
inline void SharingLog::clear_receive_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_introduction_ != nullptr) _impl_.receive_introduction_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00002000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction& SharingLog::_internal_receive_introduction() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* p = _impl_.receive_introduction_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction&>(::nearby::sharing::analytics::proto::_SharingLog_ReceiveIntroduction_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction& SharingLog::receive_introduction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.receive_introduction)
return _internal_receive_introduction();
}
inline void SharingLog::unsafe_arena_set_allocated_receive_introduction(
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_introduction_);
}
_impl_.receive_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00002000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_introduction)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE SharingLog::release_receive_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* released = _impl_.receive_introduction_;
_impl_.receive_introduction_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_receive_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.receive_introduction)
ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* temp = _impl_.receive_introduction_;
_impl_.receive_introduction_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL SharingLog::_internal_mutable_receive_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_introduction_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction>(GetArena());
_impl_.receive_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction*>(p);
}
return _impl_.receive_introduction_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NONNULL SharingLog::mutable_receive_introduction()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* _msg = _internal_mutable_receive_introduction();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.receive_introduction)
return _msg;
}
inline void SharingLog::set_allocated_receive_introduction(::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_introduction_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00002000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
}
_impl_.receive_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveIntroduction*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_introduction)
}
// optional .nearby.sharing.analytics.proto.SharingLog.RespondToIntroduction respond_introduction = 16;
inline bool SharingLog::has_respond_introduction() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00004000U);
PROTOBUF_ASSUME(!value || _impl_.respond_introduction_ != nullptr);
return value;
}
inline void SharingLog::clear_respond_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.respond_introduction_ != nullptr) _impl_.respond_introduction_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00004000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction& SharingLog::_internal_respond_introduction() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* p = _impl_.respond_introduction_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction&>(::nearby::sharing::analytics::proto::_SharingLog_RespondToIntroduction_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction& SharingLog::respond_introduction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.respond_introduction)
return _internal_respond_introduction();
}
inline void SharingLog::unsafe_arena_set_allocated_respond_introduction(
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.respond_introduction_);
}
_impl_.respond_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00004000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00004000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.respond_introduction)
}
inline ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE SharingLog::release_respond_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* released = _impl_.respond_introduction_;
_impl_.respond_introduction_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_respond_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.respond_introduction)
ClearHasBit(_impl_._has_bits_[0], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* temp = _impl_.respond_introduction_;
_impl_.respond_introduction_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NONNULL SharingLog::_internal_mutable_respond_introduction() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.respond_introduction_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction>(GetArena());
_impl_.respond_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction*>(p);
}
return _impl_.respond_introduction_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NONNULL SharingLog::mutable_respond_introduction()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* _msg = _internal_mutable_respond_introduction();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.respond_introduction)
return _msg;
}
inline void SharingLog::set_allocated_respond_introduction(::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.respond_introduction_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00004000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00004000U);
}
_impl_.respond_introduction_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RespondToIntroduction*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.respond_introduction)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendAttachmentsStart send_attachments_start = 17;
inline bool SharingLog::has_send_attachments_start() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00008000U);
PROTOBUF_ASSUME(!value || _impl_.send_attachments_start_ != nullptr);
return value;
}
inline void SharingLog::clear_send_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_attachments_start_ != nullptr) _impl_.send_attachments_start_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00008000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart& SharingLog::_internal_send_attachments_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* p = _impl_.send_attachments_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart&>(::nearby::sharing::analytics::proto::_SharingLog_SendAttachmentsStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart& SharingLog::send_attachments_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_attachments_start)
return _internal_send_attachments_start();
}
inline void SharingLog::unsafe_arena_set_allocated_send_attachments_start(
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_attachments_start_);
}
_impl_.send_attachments_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00008000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00008000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_attachments_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE SharingLog::release_send_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* released = _impl_.send_attachments_start_;
_impl_.send_attachments_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_attachments_start)
ClearHasBit(_impl_._has_bits_[0], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* temp = _impl_.send_attachments_start_;
_impl_.send_attachments_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_attachments_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart>(GetArena());
_impl_.send_attachments_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart*>(p);
}
return _impl_.send_attachments_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NONNULL SharingLog::mutable_send_attachments_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* _msg = _internal_mutable_send_attachments_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_attachments_start)
return _msg;
}
inline void SharingLog::set_allocated_send_attachments_start(::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_attachments_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00008000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00008000U);
}
_impl_.send_attachments_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_attachments_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendAttachmentsEnd send_attachments_end = 18;
inline bool SharingLog::has_send_attachments_end() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00010000U);
PROTOBUF_ASSUME(!value || _impl_.send_attachments_end_ != nullptr);
return value;
}
inline void SharingLog::clear_send_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_attachments_end_ != nullptr) _impl_.send_attachments_end_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00010000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd& SharingLog::_internal_send_attachments_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* p = _impl_.send_attachments_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd&>(::nearby::sharing::analytics::proto::_SharingLog_SendAttachmentsEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd& SharingLog::send_attachments_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_attachments_end)
return _internal_send_attachments_end();
}
inline void SharingLog::unsafe_arena_set_allocated_send_attachments_end(
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_attachments_end_);
}
_impl_.send_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00010000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00010000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_attachments_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE SharingLog::release_send_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* released = _impl_.send_attachments_end_;
_impl_.send_attachments_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_attachments_end)
ClearHasBit(_impl_._has_bits_[0], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* temp = _impl_.send_attachments_end_;
_impl_.send_attachments_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_attachments_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd>(GetArena());
_impl_.send_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd*>(p);
}
return _impl_.send_attachments_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NONNULL SharingLog::mutable_send_attachments_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* _msg = _internal_mutable_send_attachments_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_attachments_end)
return _msg;
}
inline void SharingLog::set_allocated_send_attachments_end(::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_attachments_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00010000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00010000U);
}
_impl_.send_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendAttachmentsEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_attachments_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsStart receive_attachments_start = 19;
inline bool SharingLog::has_receive_attachments_start() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00020000U);
PROTOBUF_ASSUME(!value || _impl_.receive_attachments_start_ != nullptr);
return value;
}
inline void SharingLog::clear_receive_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_attachments_start_ != nullptr) _impl_.receive_attachments_start_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00020000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart& SharingLog::_internal_receive_attachments_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* p = _impl_.receive_attachments_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart&>(::nearby::sharing::analytics::proto::_SharingLog_ReceiveAttachmentsStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart& SharingLog::receive_attachments_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.receive_attachments_start)
return _internal_receive_attachments_start();
}
inline void SharingLog::unsafe_arena_set_allocated_receive_attachments_start(
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_attachments_start_);
}
_impl_.receive_attachments_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00020000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00020000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_attachments_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE SharingLog::release_receive_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* released = _impl_.receive_attachments_start_;
_impl_.receive_attachments_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_receive_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.receive_attachments_start)
ClearHasBit(_impl_._has_bits_[0], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* temp = _impl_.receive_attachments_start_;
_impl_.receive_attachments_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_receive_attachments_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_attachments_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart>(GetArena());
_impl_.receive_attachments_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart*>(p);
}
return _impl_.receive_attachments_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NONNULL SharingLog::mutable_receive_attachments_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* _msg = _internal_mutable_receive_attachments_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.receive_attachments_start)
return _msg;
}
inline void SharingLog::set_allocated_receive_attachments_start(::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_attachments_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00020000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00020000U);
}
_impl_.receive_attachments_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_attachments_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ReceiveAttachmentsEnd receive_attachments_end = 20;
inline bool SharingLog::has_receive_attachments_end() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00040000U);
PROTOBUF_ASSUME(!value || _impl_.receive_attachments_end_ != nullptr);
return value;
}
inline void SharingLog::clear_receive_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_attachments_end_ != nullptr) _impl_.receive_attachments_end_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00040000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd& SharingLog::_internal_receive_attachments_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* p = _impl_.receive_attachments_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd&>(::nearby::sharing::analytics::proto::_SharingLog_ReceiveAttachmentsEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd& SharingLog::receive_attachments_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.receive_attachments_end)
return _internal_receive_attachments_end();
}
inline void SharingLog::unsafe_arena_set_allocated_receive_attachments_end(
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_attachments_end_);
}
_impl_.receive_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00040000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00040000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_attachments_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE SharingLog::release_receive_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* released = _impl_.receive_attachments_end_;
_impl_.receive_attachments_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_receive_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.receive_attachments_end)
ClearHasBit(_impl_._has_bits_[0], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* temp = _impl_.receive_attachments_end_;
_impl_.receive_attachments_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_receive_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_attachments_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd>(GetArena());
_impl_.receive_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd*>(p);
}
return _impl_.receive_attachments_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NONNULL SharingLog::mutable_receive_attachments_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* _msg = _internal_mutable_receive_attachments_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.receive_attachments_end)
return _msg;
}
inline void SharingLog::set_allocated_receive_attachments_end(::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_attachments_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00040000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00040000U);
}
_impl_.receive_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceiveAttachmentsEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_attachments_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CancelSendingAttachments cancel_sending_attachments = 21;
inline bool SharingLog::has_cancel_sending_attachments() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00080000U);
PROTOBUF_ASSUME(!value || _impl_.cancel_sending_attachments_ != nullptr);
return value;
}
inline void SharingLog::clear_cancel_sending_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cancel_sending_attachments_ != nullptr) _impl_.cancel_sending_attachments_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00080000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments& SharingLog::_internal_cancel_sending_attachments() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* p = _impl_.cancel_sending_attachments_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments&>(::nearby::sharing::analytics::proto::_SharingLog_CancelSendingAttachments_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments& SharingLog::cancel_sending_attachments() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cancel_sending_attachments)
return _internal_cancel_sending_attachments();
}
inline void SharingLog::unsafe_arena_set_allocated_cancel_sending_attachments(
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cancel_sending_attachments_);
}
_impl_.cancel_sending_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00080000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00080000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cancel_sending_attachments)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE SharingLog::release_cancel_sending_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* released = _impl_.cancel_sending_attachments_;
_impl_.cancel_sending_attachments_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cancel_sending_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cancel_sending_attachments)
ClearHasBit(_impl_._has_bits_[0], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* temp = _impl_.cancel_sending_attachments_;
_impl_.cancel_sending_attachments_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL SharingLog::_internal_mutable_cancel_sending_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cancel_sending_attachments_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments>(GetArena());
_impl_.cancel_sending_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments*>(p);
}
return _impl_.cancel_sending_attachments_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NONNULL SharingLog::mutable_cancel_sending_attachments()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* _msg = _internal_mutable_cancel_sending_attachments();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cancel_sending_attachments)
return _msg;
}
inline void SharingLog::set_allocated_cancel_sending_attachments(::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cancel_sending_attachments_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00080000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00080000U);
}
_impl_.cancel_sending_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelSendingAttachments*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cancel_sending_attachments)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CancelReceivingAttachments cancel_receiving_attachments = 22;
inline bool SharingLog::has_cancel_receiving_attachments() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00100000U);
PROTOBUF_ASSUME(!value || _impl_.cancel_receiving_attachments_ != nullptr);
return value;
}
inline void SharingLog::clear_cancel_receiving_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cancel_receiving_attachments_ != nullptr) _impl_.cancel_receiving_attachments_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00100000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments& SharingLog::_internal_cancel_receiving_attachments() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* p = _impl_.cancel_receiving_attachments_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments&>(::nearby::sharing::analytics::proto::_SharingLog_CancelReceivingAttachments_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments& SharingLog::cancel_receiving_attachments() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cancel_receiving_attachments)
return _internal_cancel_receiving_attachments();
}
inline void SharingLog::unsafe_arena_set_allocated_cancel_receiving_attachments(
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cancel_receiving_attachments_);
}
_impl_.cancel_receiving_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00100000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00100000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cancel_receiving_attachments)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE SharingLog::release_cancel_receiving_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* released = _impl_.cancel_receiving_attachments_;
_impl_.cancel_receiving_attachments_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cancel_receiving_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cancel_receiving_attachments)
ClearHasBit(_impl_._has_bits_[0], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* temp = _impl_.cancel_receiving_attachments_;
_impl_.cancel_receiving_attachments_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL SharingLog::_internal_mutable_cancel_receiving_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cancel_receiving_attachments_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments>(GetArena());
_impl_.cancel_receiving_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments*>(p);
}
return _impl_.cancel_receiving_attachments_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NONNULL SharingLog::mutable_cancel_receiving_attachments()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* _msg = _internal_mutable_cancel_receiving_attachments();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cancel_receiving_attachments)
return _msg;
}
inline void SharingLog::set_allocated_cancel_receiving_attachments(::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cancel_receiving_attachments_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00100000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00100000U);
}
_impl_.cancel_receiving_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelReceivingAttachments*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cancel_receiving_attachments)
}
// optional .nearby.sharing.analytics.proto.SharingLog.OpenReceivedAttachments open_received_attachments = 23;
inline bool SharingLog::has_open_received_attachments() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00200000U);
PROTOBUF_ASSUME(!value || _impl_.open_received_attachments_ != nullptr);
return value;
}
inline void SharingLog::clear_open_received_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.open_received_attachments_ != nullptr) _impl_.open_received_attachments_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00200000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments& SharingLog::_internal_open_received_attachments() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* p = _impl_.open_received_attachments_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments&>(::nearby::sharing::analytics::proto::_SharingLog_OpenReceivedAttachments_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments& SharingLog::open_received_attachments() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.open_received_attachments)
return _internal_open_received_attachments();
}
inline void SharingLog::unsafe_arena_set_allocated_open_received_attachments(
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.open_received_attachments_);
}
_impl_.open_received_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00200000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00200000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.open_received_attachments)
}
inline ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE SharingLog::release_open_received_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* released = _impl_.open_received_attachments_;
_impl_.open_received_attachments_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_open_received_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.open_received_attachments)
ClearHasBit(_impl_._has_bits_[0], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* temp = _impl_.open_received_attachments_;
_impl_.open_received_attachments_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL SharingLog::_internal_mutable_open_received_attachments() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.open_received_attachments_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments>(GetArena());
_impl_.open_received_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments*>(p);
}
return _impl_.open_received_attachments_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NONNULL SharingLog::mutable_open_received_attachments()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* _msg = _internal_mutable_open_received_attachments();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.open_received_attachments)
return _msg;
}
inline void SharingLog::set_allocated_open_received_attachments(::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.open_received_attachments_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00200000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00200000U);
}
_impl_.open_received_attachments_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_OpenReceivedAttachments*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.open_received_attachments)
}
// optional .nearby.sharing.analytics.proto.SharingLog.LaunchActivity launch_activity = 24;
inline bool SharingLog::has_launch_activity() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00400000U);
PROTOBUF_ASSUME(!value || _impl_.launch_activity_ != nullptr);
return value;
}
inline void SharingLog::clear_launch_activity() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.launch_activity_ != nullptr) _impl_.launch_activity_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00400000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity& SharingLog::_internal_launch_activity() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* p = _impl_.launch_activity_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity&>(::nearby::sharing::analytics::proto::_SharingLog_LaunchActivity_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity& SharingLog::launch_activity() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.launch_activity)
return _internal_launch_activity();
}
inline void SharingLog::unsafe_arena_set_allocated_launch_activity(
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_activity_);
}
_impl_.launch_activity_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchActivity*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00400000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00400000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.launch_activity)
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE SharingLog::release_launch_activity() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* released = _impl_.launch_activity_;
_impl_.launch_activity_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_launch_activity() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.launch_activity)
ClearHasBit(_impl_._has_bits_[0], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* temp = _impl_.launch_activity_;
_impl_.launch_activity_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NONNULL SharingLog::_internal_mutable_launch_activity() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.launch_activity_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_LaunchActivity>(GetArena());
_impl_.launch_activity_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchActivity*>(p);
}
return _impl_.launch_activity_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NONNULL SharingLog::mutable_launch_activity()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* _msg = _internal_mutable_launch_activity();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.launch_activity)
return _msg;
}
inline void SharingLog::set_allocated_launch_activity(::nearby::sharing::analytics::proto::SharingLog_LaunchActivity* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_activity_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00400000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00400000U);
}
_impl_.launch_activity_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchActivity*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.launch_activity)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AddContact add_contact = 25;
inline bool SharingLog::has_add_contact() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00800000U);
PROTOBUF_ASSUME(!value || _impl_.add_contact_ != nullptr);
return value;
}
inline void SharingLog::clear_add_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.add_contact_ != nullptr) _impl_.add_contact_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x00800000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AddContact& SharingLog::_internal_add_contact() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AddContact* p = _impl_.add_contact_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AddContact&>(::nearby::sharing::analytics::proto::_SharingLog_AddContact_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AddContact& SharingLog::add_contact() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.add_contact)
return _internal_add_contact();
}
inline void SharingLog::unsafe_arena_set_allocated_add_contact(
::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.add_contact_);
}
_impl_.add_contact_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AddContact*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00800000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00800000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.add_contact)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE SharingLog::release_add_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x00800000U);
::nearby::sharing::analytics::proto::SharingLog_AddContact* released = _impl_.add_contact_;
_impl_.add_contact_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_add_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.add_contact)
ClearHasBit(_impl_._has_bits_[0], 0x00800000U);
::nearby::sharing::analytics::proto::SharingLog_AddContact* temp = _impl_.add_contact_;
_impl_.add_contact_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NONNULL SharingLog::_internal_mutable_add_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.add_contact_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AddContact>(GetArena());
_impl_.add_contact_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AddContact*>(p);
}
return _impl_.add_contact_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NONNULL SharingLog::mutable_add_contact()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00800000U);
::nearby::sharing::analytics::proto::SharingLog_AddContact* _msg = _internal_mutable_add_contact();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.add_contact)
return _msg;
}
inline void SharingLog::set_allocated_add_contact(::nearby::sharing::analytics::proto::SharingLog_AddContact* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.add_contact_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x00800000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00800000U);
}
_impl_.add_contact_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AddContact*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.add_contact)
}
// optional .nearby.sharing.analytics.proto.SharingLog.RemoveContact remove_contact = 26;
inline bool SharingLog::has_remove_contact() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x01000000U);
PROTOBUF_ASSUME(!value || _impl_.remove_contact_ != nullptr);
return value;
}
inline void SharingLog::clear_remove_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.remove_contact_ != nullptr) _impl_.remove_contact_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x01000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RemoveContact& SharingLog::_internal_remove_contact() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_RemoveContact* p = _impl_.remove_contact_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_RemoveContact&>(::nearby::sharing::analytics::proto::_SharingLog_RemoveContact_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RemoveContact& SharingLog::remove_contact() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.remove_contact)
return _internal_remove_contact();
}
inline void SharingLog::unsafe_arena_set_allocated_remove_contact(
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remove_contact_);
}
_impl_.remove_contact_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RemoveContact*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x01000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x01000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.remove_contact)
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE SharingLog::release_remove_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x01000000U);
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* released = _impl_.remove_contact_;
_impl_.remove_contact_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_remove_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.remove_contact)
ClearHasBit(_impl_._has_bits_[0], 0x01000000U);
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* temp = _impl_.remove_contact_;
_impl_.remove_contact_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NONNULL SharingLog::_internal_mutable_remove_contact() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.remove_contact_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_RemoveContact>(GetArena());
_impl_.remove_contact_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RemoveContact*>(p);
}
return _impl_.remove_contact_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NONNULL SharingLog::mutable_remove_contact()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x01000000U);
::nearby::sharing::analytics::proto::SharingLog_RemoveContact* _msg = _internal_mutable_remove_contact();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.remove_contact)
return _msg;
}
inline void SharingLog::set_allocated_remove_contact(::nearby::sharing::analytics::proto::SharingLog_RemoveContact* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remove_contact_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x01000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x01000000U);
}
_impl_.remove_contact_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RemoveContact*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.remove_contact)
}
// optional .location.nearby.proto.sharing.LogSource log_source = 27;
inline bool SharingLog::has_log_source() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x40000000U);
return value;
}
inline void SharingLog::clear_log_source() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.log_source_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x40000000U);
}
inline ::location::nearby::proto::sharing::LogSource SharingLog::log_source() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.log_source)
return _internal_log_source();
}
inline void SharingLog::set_log_source(::location::nearby::proto::sharing::LogSource value) {
_internal_set_log_source(value);
SetHasBit(_impl_._has_bits_[0], 0x40000000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.log_source)
}
inline ::location::nearby::proto::sharing::LogSource SharingLog::_internal_log_source() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::LogSource>(_impl_.log_source_);
}
inline void SharingLog::_internal_set_log_source(::location::nearby::proto::sharing::LogSource value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::LogSource_internal_data_));
_impl_.log_source_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.FastShareServerResponse fast_share_server_response = 28;
inline bool SharingLog::has_fast_share_server_response() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x02000000U);
PROTOBUF_ASSUME(!value || _impl_.fast_share_server_response_ != nullptr);
return value;
}
inline void SharingLog::clear_fast_share_server_response() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.fast_share_server_response_ != nullptr) _impl_.fast_share_server_response_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x02000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse& SharingLog::_internal_fast_share_server_response() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* p = _impl_.fast_share_server_response_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse&>(::nearby::sharing::analytics::proto::_SharingLog_FastShareServerResponse_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse& SharingLog::fast_share_server_response() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.fast_share_server_response)
return _internal_fast_share_server_response();
}
inline void SharingLog::unsafe_arena_set_allocated_fast_share_server_response(
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fast_share_server_response_);
}
_impl_.fast_share_server_response_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x02000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x02000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.fast_share_server_response)
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE SharingLog::release_fast_share_server_response() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x02000000U);
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* released = _impl_.fast_share_server_response_;
_impl_.fast_share_server_response_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_fast_share_server_response() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.fast_share_server_response)
ClearHasBit(_impl_._has_bits_[0], 0x02000000U);
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* temp = _impl_.fast_share_server_response_;
_impl_.fast_share_server_response_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NONNULL SharingLog::_internal_mutable_fast_share_server_response() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.fast_share_server_response_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse>(GetArena());
_impl_.fast_share_server_response_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse*>(p);
}
return _impl_.fast_share_server_response_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NONNULL SharingLog::mutable_fast_share_server_response()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x02000000U);
::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* _msg = _internal_mutable_fast_share_server_response();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.fast_share_server_response)
return _msg;
}
inline void SharingLog::set_allocated_fast_share_server_response(::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fast_share_server_response_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x02000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x02000000U);
}
_impl_.fast_share_server_response_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FastShareServerResponse*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.fast_share_server_response)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendStart send_start = 29;
inline bool SharingLog::has_send_start() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x04000000U);
PROTOBUF_ASSUME(!value || _impl_.send_start_ != nullptr);
return value;
}
inline void SharingLog::clear_send_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_start_ != nullptr) _impl_.send_start_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x04000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendStart& SharingLog::_internal_send_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendStart* p = _impl_.send_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendStart&>(::nearby::sharing::analytics::proto::_SharingLog_SendStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendStart& SharingLog::send_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_start)
return _internal_send_start();
}
inline void SharingLog::unsafe_arena_set_allocated_send_start(
::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_start_);
}
_impl_.send_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x04000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x04000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE SharingLog::release_send_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x04000000U);
::nearby::sharing::analytics::proto::SharingLog_SendStart* released = _impl_.send_start_;
_impl_.send_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_start)
ClearHasBit(_impl_._has_bits_[0], 0x04000000U);
::nearby::sharing::analytics::proto::SharingLog_SendStart* temp = _impl_.send_start_;
_impl_.send_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendStart>(GetArena());
_impl_.send_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendStart*>(p);
}
return _impl_.send_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NONNULL SharingLog::mutable_send_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x04000000U);
::nearby::sharing::analytics::proto::SharingLog_SendStart* _msg = _internal_mutable_send_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_start)
return _msg;
}
inline void SharingLog::set_allocated_send_start(::nearby::sharing::analytics::proto::SharingLog_SendStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x04000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x04000000U);
}
_impl_.send_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AcceptFastInitialization accept_fast_initialization = 30;
inline bool SharingLog::has_accept_fast_initialization() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x08000000U);
PROTOBUF_ASSUME(!value || _impl_.accept_fast_initialization_ != nullptr);
return value;
}
inline void SharingLog::clear_accept_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.accept_fast_initialization_ != nullptr) _impl_.accept_fast_initialization_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x08000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization& SharingLog::_internal_accept_fast_initialization() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* p = _impl_.accept_fast_initialization_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization&>(::nearby::sharing::analytics::proto::_SharingLog_AcceptFastInitialization_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization& SharingLog::accept_fast_initialization() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.accept_fast_initialization)
return _internal_accept_fast_initialization();
}
inline void SharingLog::unsafe_arena_set_allocated_accept_fast_initialization(
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.accept_fast_initialization_);
}
_impl_.accept_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x08000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x08000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.accept_fast_initialization)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE SharingLog::release_accept_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x08000000U);
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* released = _impl_.accept_fast_initialization_;
_impl_.accept_fast_initialization_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_accept_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.accept_fast_initialization)
ClearHasBit(_impl_._has_bits_[0], 0x08000000U);
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* temp = _impl_.accept_fast_initialization_;
_impl_.accept_fast_initialization_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL SharingLog::_internal_mutable_accept_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.accept_fast_initialization_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization>(GetArena());
_impl_.accept_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization*>(p);
}
return _impl_.accept_fast_initialization_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NONNULL SharingLog::mutable_accept_fast_initialization()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x08000000U);
::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* _msg = _internal_mutable_accept_fast_initialization();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.accept_fast_initialization)
return _msg;
}
inline void SharingLog::set_allocated_accept_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.accept_fast_initialization_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x08000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x08000000U);
}
_impl_.accept_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AcceptFastInitialization*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.accept_fast_initialization)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SetDataUsage set_data_usage = 31;
inline bool SharingLog::has_set_data_usage() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x10000000U);
PROTOBUF_ASSUME(!value || _impl_.set_data_usage_ != nullptr);
return value;
}
inline void SharingLog::clear_set_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_data_usage_ != nullptr) _impl_.set_data_usage_->Clear();
ClearHasBit(_impl_._has_bits_[0],
0x10000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage& SharingLog::_internal_set_data_usage() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* p = _impl_.set_data_usage_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage&>(::nearby::sharing::analytics::proto::_SharingLog_SetDataUsage_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage& SharingLog::set_data_usage() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.set_data_usage)
return _internal_set_data_usage();
}
inline void SharingLog::unsafe_arena_set_allocated_set_data_usage(
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_data_usage_);
}
_impl_.set_data_usage_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetDataUsage*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x10000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x10000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_data_usage)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE SharingLog::release_set_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[0], 0x10000000U);
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* released = _impl_.set_data_usage_;
_impl_.set_data_usage_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_set_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.set_data_usage)
ClearHasBit(_impl_._has_bits_[0], 0x10000000U);
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* temp = _impl_.set_data_usage_;
_impl_.set_data_usage_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NONNULL SharingLog::_internal_mutable_set_data_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_data_usage_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SetDataUsage>(GetArena());
_impl_.set_data_usage_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetDataUsage*>(p);
}
return _impl_.set_data_usage_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NONNULL SharingLog::mutable_set_data_usage()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x10000000U);
::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* _msg = _internal_mutable_set_data_usage();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.set_data_usage)
return _msg;
}
inline void SharingLog::set_allocated_set_data_usage(::nearby::sharing::analytics::proto::SharingLog_SetDataUsage* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_data_usage_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[0], 0x10000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x10000000U);
}
_impl_.set_data_usage_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetDataUsage*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_data_usage)
}
// optional string version = 32;
inline bool SharingLog::has_version() const {
bool value = CheckHasBit(_impl_._has_bits_[0], 0x80000000U);
return value;
}
inline void SharingLog::clear_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.version_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x80000000U);
}
inline const ::std::string& SharingLog::version() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.version)
return _internal_version();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog::set_version(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x80000000U);
_impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.version)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog::mutable_version()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x80000000U);
::std::string* _s = _internal_mutable_version();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.version)
return _s;
}
inline const ::std::string& SharingLog::_internal_version() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.version_.Get();
}
inline void SharingLog::_internal_set_version(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.version_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog::_internal_mutable_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.version_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog::release_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.version)
if (!CheckHasBit(_impl_._has_bits_[0], 0x80000000U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x80000000U);
auto* released = _impl_.version_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.version_.Set("", GetArena());
}
return released;
}
inline void SharingLog::set_allocated_version(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x80000000U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x80000000U);
}
_impl_.version_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) {
_impl_.version_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.version)
}
// optional .location.nearby.proto.sharing.EventCategory event_category = 33;
inline bool SharingLog::has_event_category() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00800000U);
return value;
}
inline void SharingLog::clear_event_category() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.event_category_ = 0;
ClearHasBit(_impl_._has_bits_[2],
0x00800000U);
}
inline ::location::nearby::proto::sharing::EventCategory SharingLog::event_category() const {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.event_category)
return _internal_event_category();
}
inline void SharingLog::set_event_category(::location::nearby::proto::sharing::EventCategory value) {
_internal_set_event_category(value);
SetHasBit(_impl_._has_bits_[2], 0x00800000U);
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.event_category)
}
inline ::location::nearby::proto::sharing::EventCategory SharingLog::_internal_event_category() const {
::google::protobuf::internal::TSanRead(&_impl_);
return static_cast<::location::nearby::proto::sharing::EventCategory>(_impl_.event_category_);
}
inline void SharingLog::_internal_set_event_category(::location::nearby::proto::sharing::EventCategory value) {
::google::protobuf::internal::TSanWrite(&_impl_);
assert(::google::protobuf::internal::ValidateEnum(
value, ::location::nearby::proto::sharing::EventCategory_internal_data_));
_impl_.event_category_ = value;
}
// optional .nearby.sharing.analytics.proto.SharingLog.DismissFastInitialization dismiss_fast_initialization = 34;
inline bool SharingLog::has_dismiss_fast_initialization() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.dismiss_fast_initialization_ != nullptr);
return value;
}
inline void SharingLog::clear_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.dismiss_fast_initialization_ != nullptr) _impl_.dismiss_fast_initialization_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000004U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization& SharingLog::_internal_dismiss_fast_initialization() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* p = _impl_.dismiss_fast_initialization_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization&>(::nearby::sharing::analytics::proto::_SharingLog_DismissFastInitialization_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization& SharingLog::dismiss_fast_initialization() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.dismiss_fast_initialization)
return _internal_dismiss_fast_initialization();
}
inline void SharingLog::unsafe_arena_set_allocated_dismiss_fast_initialization(
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.dismiss_fast_initialization_);
}
_impl_.dismiss_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.dismiss_fast_initialization)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE SharingLog::release_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* released = _impl_.dismiss_fast_initialization_;
_impl_.dismiss_fast_initialization_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.dismiss_fast_initialization)
ClearHasBit(_impl_._has_bits_[1], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* temp = _impl_.dismiss_fast_initialization_;
_impl_.dismiss_fast_initialization_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NONNULL SharingLog::_internal_mutable_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.dismiss_fast_initialization_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization>(GetArena());
_impl_.dismiss_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization*>(p);
}
return _impl_.dismiss_fast_initialization_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NONNULL SharingLog::mutable_dismiss_fast_initialization()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* _msg = _internal_mutable_dismiss_fast_initialization();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.dismiss_fast_initialization)
return _msg;
}
inline void SharingLog::set_allocated_dismiss_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.dismiss_fast_initialization_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000004U);
}
_impl_.dismiss_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DismissFastInitialization*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.dismiss_fast_initialization)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CancelConnection cancel_connection = 35;
inline bool SharingLog::has_cancel_connection() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000008U);
PROTOBUF_ASSUME(!value || _impl_.cancel_connection_ != nullptr);
return value;
}
inline void SharingLog::clear_cancel_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cancel_connection_ != nullptr) _impl_.cancel_connection_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000008U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CancelConnection& SharingLog::_internal_cancel_connection() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CancelConnection* p = _impl_.cancel_connection_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CancelConnection&>(::nearby::sharing::analytics::proto::_SharingLog_CancelConnection_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CancelConnection& SharingLog::cancel_connection() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cancel_connection)
return _internal_cancel_connection();
}
inline void SharingLog::unsafe_arena_set_allocated_cancel_connection(
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cancel_connection_);
}
_impl_.cancel_connection_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelConnection*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000008U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cancel_connection)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE SharingLog::release_cancel_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* released = _impl_.cancel_connection_;
_impl_.cancel_connection_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cancel_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cancel_connection)
ClearHasBit(_impl_._has_bits_[1], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* temp = _impl_.cancel_connection_;
_impl_.cancel_connection_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NONNULL SharingLog::_internal_mutable_cancel_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cancel_connection_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CancelConnection>(GetArena());
_impl_.cancel_connection_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelConnection*>(p);
}
return _impl_.cancel_connection_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NONNULL SharingLog::mutable_cancel_connection()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_CancelConnection* _msg = _internal_mutable_cancel_connection();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cancel_connection)
return _msg;
}
inline void SharingLog::set_allocated_cancel_connection(::nearby::sharing::analytics::proto::SharingLog_CancelConnection* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cancel_connection_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000008U);
}
_impl_.cancel_connection_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CancelConnection*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cancel_connection)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DismissPrivacyNotification dismiss_privacy_notification = 36;
inline bool SharingLog::has_dismiss_privacy_notification() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000010U);
PROTOBUF_ASSUME(!value || _impl_.dismiss_privacy_notification_ != nullptr);
return value;
}
inline void SharingLog::clear_dismiss_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.dismiss_privacy_notification_ != nullptr) _impl_.dismiss_privacy_notification_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000010U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification& SharingLog::_internal_dismiss_privacy_notification() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* p = _impl_.dismiss_privacy_notification_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification&>(::nearby::sharing::analytics::proto::_SharingLog_DismissPrivacyNotification_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification& SharingLog::dismiss_privacy_notification() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.dismiss_privacy_notification)
return _internal_dismiss_privacy_notification();
}
inline void SharingLog::unsafe_arena_set_allocated_dismiss_privacy_notification(
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.dismiss_privacy_notification_);
}
_impl_.dismiss_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000010U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000010U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.dismiss_privacy_notification)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE SharingLog::release_dismiss_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* released = _impl_.dismiss_privacy_notification_;
_impl_.dismiss_privacy_notification_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_dismiss_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.dismiss_privacy_notification)
ClearHasBit(_impl_._has_bits_[1], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* temp = _impl_.dismiss_privacy_notification_;
_impl_.dismiss_privacy_notification_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL SharingLog::_internal_mutable_dismiss_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.dismiss_privacy_notification_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification>(GetArena());
_impl_.dismiss_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification*>(p);
}
return _impl_.dismiss_privacy_notification_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NONNULL SharingLog::mutable_dismiss_privacy_notification()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* _msg = _internal_mutable_dismiss_privacy_notification();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.dismiss_privacy_notification)
return _msg;
}
inline void SharingLog::set_allocated_dismiss_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.dismiss_privacy_notification_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000010U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000010U);
}
_impl_.dismiss_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DismissPrivacyNotification*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.dismiss_privacy_notification)
}
// optional .nearby.sharing.analytics.proto.SharingLog.TapPrivacyNotification tap_privacy_notification = 37;
inline bool SharingLog::has_tap_privacy_notification() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000020U);
PROTOBUF_ASSUME(!value || _impl_.tap_privacy_notification_ != nullptr);
return value;
}
inline void SharingLog::clear_tap_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_privacy_notification_ != nullptr) _impl_.tap_privacy_notification_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000020U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification& SharingLog::_internal_tap_privacy_notification() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* p = _impl_.tap_privacy_notification_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification&>(::nearby::sharing::analytics::proto::_SharingLog_TapPrivacyNotification_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification& SharingLog::tap_privacy_notification() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.tap_privacy_notification)
return _internal_tap_privacy_notification();
}
inline void SharingLog::unsafe_arena_set_allocated_tap_privacy_notification(
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_privacy_notification_);
}
_impl_.tap_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000020U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_privacy_notification)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE SharingLog::release_tap_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* released = _impl_.tap_privacy_notification_;
_impl_.tap_privacy_notification_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_tap_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.tap_privacy_notification)
ClearHasBit(_impl_._has_bits_[1], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* temp = _impl_.tap_privacy_notification_;
_impl_.tap_privacy_notification_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL SharingLog::_internal_mutable_tap_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_privacy_notification_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification>(GetArena());
_impl_.tap_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification*>(p);
}
return _impl_.tap_privacy_notification_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NONNULL SharingLog::mutable_tap_privacy_notification()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* _msg = _internal_mutable_tap_privacy_notification();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.tap_privacy_notification)
return _msg;
}
inline void SharingLog::set_allocated_tap_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_privacy_notification_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000020U);
}
_impl_.tap_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapPrivacyNotification*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_privacy_notification)
}
// optional .nearby.sharing.analytics.proto.SharingLog.TapHelp tap_help = 38;
inline bool SharingLog::has_tap_help() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000040U);
PROTOBUF_ASSUME(!value || _impl_.tap_help_ != nullptr);
return value;
}
inline void SharingLog::clear_tap_help() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_help_ != nullptr) _impl_.tap_help_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000040U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapHelp& SharingLog::_internal_tap_help() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_TapHelp* p = _impl_.tap_help_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TapHelp&>(::nearby::sharing::analytics::proto::_SharingLog_TapHelp_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapHelp& SharingLog::tap_help() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.tap_help)
return _internal_tap_help();
}
inline void SharingLog::unsafe_arena_set_allocated_tap_help(
::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_help_);
}
_impl_.tap_help_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapHelp*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000040U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000040U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_help)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE SharingLog::release_tap_help() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_TapHelp* released = _impl_.tap_help_;
_impl_.tap_help_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_tap_help() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.tap_help)
ClearHasBit(_impl_._has_bits_[1], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_TapHelp* temp = _impl_.tap_help_;
_impl_.tap_help_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NONNULL SharingLog::_internal_mutable_tap_help() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_help_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TapHelp>(GetArena());
_impl_.tap_help_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapHelp*>(p);
}
return _impl_.tap_help_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NONNULL SharingLog::mutable_tap_help()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_TapHelp* _msg = _internal_mutable_tap_help();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.tap_help)
return _msg;
}
inline void SharingLog::set_allocated_tap_help(::nearby::sharing::analytics::proto::SharingLog_TapHelp* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_help_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000040U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000040U);
}
_impl_.tap_help_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapHelp*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_help)
}
// optional .nearby.sharing.analytics.proto.SharingLog.TapFeedback tap_feedback = 39;
inline bool SharingLog::has_tap_feedback() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000080U);
PROTOBUF_ASSUME(!value || _impl_.tap_feedback_ != nullptr);
return value;
}
inline void SharingLog::clear_tap_feedback() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_feedback_ != nullptr) _impl_.tap_feedback_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000080U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapFeedback& SharingLog::_internal_tap_feedback() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_TapFeedback* p = _impl_.tap_feedback_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TapFeedback&>(::nearby::sharing::analytics::proto::_SharingLog_TapFeedback_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapFeedback& SharingLog::tap_feedback() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.tap_feedback)
return _internal_tap_feedback();
}
inline void SharingLog::unsafe_arena_set_allocated_tap_feedback(
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_feedback_);
}
_impl_.tap_feedback_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapFeedback*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000080U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000080U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_feedback)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE SharingLog::release_tap_feedback() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* released = _impl_.tap_feedback_;
_impl_.tap_feedback_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_tap_feedback() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.tap_feedback)
ClearHasBit(_impl_._has_bits_[1], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* temp = _impl_.tap_feedback_;
_impl_.tap_feedback_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NONNULL SharingLog::_internal_mutable_tap_feedback() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_feedback_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TapFeedback>(GetArena());
_impl_.tap_feedback_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapFeedback*>(p);
}
return _impl_.tap_feedback_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NONNULL SharingLog::mutable_tap_feedback()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_TapFeedback* _msg = _internal_mutable_tap_feedback();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.tap_feedback)
return _msg;
}
inline void SharingLog::set_allocated_tap_feedback(::nearby::sharing::analytics::proto::SharingLog_TapFeedback* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_feedback_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000080U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000080U);
}
_impl_.tap_feedback_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapFeedback*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_feedback)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AddQuickSettingsTile add_quick_settings_tile = 40;
inline bool SharingLog::has_add_quick_settings_tile() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000100U);
PROTOBUF_ASSUME(!value || _impl_.add_quick_settings_tile_ != nullptr);
return value;
}
inline void SharingLog::clear_add_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.add_quick_settings_tile_ != nullptr) _impl_.add_quick_settings_tile_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000100U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile& SharingLog::_internal_add_quick_settings_tile() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* p = _impl_.add_quick_settings_tile_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile&>(::nearby::sharing::analytics::proto::_SharingLog_AddQuickSettingsTile_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile& SharingLog::add_quick_settings_tile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.add_quick_settings_tile)
return _internal_add_quick_settings_tile();
}
inline void SharingLog::unsafe_arena_set_allocated_add_quick_settings_tile(
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.add_quick_settings_tile_);
}
_impl_.add_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000100U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000100U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.add_quick_settings_tile)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE SharingLog::release_add_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* released = _impl_.add_quick_settings_tile_;
_impl_.add_quick_settings_tile_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_add_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.add_quick_settings_tile)
ClearHasBit(_impl_._has_bits_[1], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* temp = _impl_.add_quick_settings_tile_;
_impl_.add_quick_settings_tile_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL SharingLog::_internal_mutable_add_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.add_quick_settings_tile_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile>(GetArena());
_impl_.add_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile*>(p);
}
return _impl_.add_quick_settings_tile_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NONNULL SharingLog::mutable_add_quick_settings_tile()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* _msg = _internal_mutable_add_quick_settings_tile();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.add_quick_settings_tile)
return _msg;
}
inline void SharingLog::set_allocated_add_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.add_quick_settings_tile_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000100U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000100U);
}
_impl_.add_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AddQuickSettingsTile*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.add_quick_settings_tile)
}
// optional .nearby.sharing.analytics.proto.SharingLog.RemoveQuickSettingsTile remove_quick_settings_tile = 41;
inline bool SharingLog::has_remove_quick_settings_tile() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000200U);
PROTOBUF_ASSUME(!value || _impl_.remove_quick_settings_tile_ != nullptr);
return value;
}
inline void SharingLog::clear_remove_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.remove_quick_settings_tile_ != nullptr) _impl_.remove_quick_settings_tile_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000200U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile& SharingLog::_internal_remove_quick_settings_tile() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* p = _impl_.remove_quick_settings_tile_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile&>(::nearby::sharing::analytics::proto::_SharingLog_RemoveQuickSettingsTile_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile& SharingLog::remove_quick_settings_tile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.remove_quick_settings_tile)
return _internal_remove_quick_settings_tile();
}
inline void SharingLog::unsafe_arena_set_allocated_remove_quick_settings_tile(
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remove_quick_settings_tile_);
}
_impl_.remove_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000200U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000200U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.remove_quick_settings_tile)
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE SharingLog::release_remove_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* released = _impl_.remove_quick_settings_tile_;
_impl_.remove_quick_settings_tile_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_remove_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.remove_quick_settings_tile)
ClearHasBit(_impl_._has_bits_[1], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* temp = _impl_.remove_quick_settings_tile_;
_impl_.remove_quick_settings_tile_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL SharingLog::_internal_mutable_remove_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.remove_quick_settings_tile_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile>(GetArena());
_impl_.remove_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile*>(p);
}
return _impl_.remove_quick_settings_tile_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NONNULL SharingLog::mutable_remove_quick_settings_tile()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* _msg = _internal_mutable_remove_quick_settings_tile();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.remove_quick_settings_tile)
return _msg;
}
inline void SharingLog::set_allocated_remove_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remove_quick_settings_tile_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000200U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000200U);
}
_impl_.remove_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RemoveQuickSettingsTile*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.remove_quick_settings_tile)
}
// optional .nearby.sharing.analytics.proto.SharingLog.LaunchPhoneConsent launch_phone_consent = 42;
inline bool SharingLog::has_launch_phone_consent() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000400U);
PROTOBUF_ASSUME(!value || _impl_.launch_phone_consent_ != nullptr);
return value;
}
inline void SharingLog::clear_launch_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.launch_phone_consent_ != nullptr) _impl_.launch_phone_consent_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000400U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent& SharingLog::_internal_launch_phone_consent() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* p = _impl_.launch_phone_consent_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent&>(::nearby::sharing::analytics::proto::_SharingLog_LaunchPhoneConsent_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent& SharingLog::launch_phone_consent() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.launch_phone_consent)
return _internal_launch_phone_consent();
}
inline void SharingLog::unsafe_arena_set_allocated_launch_phone_consent(
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_phone_consent_);
}
_impl_.launch_phone_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000400U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000400U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.launch_phone_consent)
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE SharingLog::release_launch_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* released = _impl_.launch_phone_consent_;
_impl_.launch_phone_consent_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_launch_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.launch_phone_consent)
ClearHasBit(_impl_._has_bits_[1], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* temp = _impl_.launch_phone_consent_;
_impl_.launch_phone_consent_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL SharingLog::_internal_mutable_launch_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.launch_phone_consent_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent>(GetArena());
_impl_.launch_phone_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent*>(p);
}
return _impl_.launch_phone_consent_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NONNULL SharingLog::mutable_launch_phone_consent()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* _msg = _internal_mutable_launch_phone_consent();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.launch_phone_consent)
return _msg;
}
inline void SharingLog::set_allocated_launch_phone_consent(::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_phone_consent_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000400U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000400U);
}
_impl_.launch_phone_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchPhoneConsent*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.launch_phone_consent)
}
// optional .nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsTile tap_quick_settings_tile = 43;
inline bool SharingLog::has_tap_quick_settings_tile() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000800U);
PROTOBUF_ASSUME(!value || _impl_.tap_quick_settings_tile_ != nullptr);
return value;
}
inline void SharingLog::clear_tap_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_quick_settings_tile_ != nullptr) _impl_.tap_quick_settings_tile_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00000800U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile& SharingLog::_internal_tap_quick_settings_tile() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* p = _impl_.tap_quick_settings_tile_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile&>(::nearby::sharing::analytics::proto::_SharingLog_TapQuickSettingsTile_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile& SharingLog::tap_quick_settings_tile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_tile)
return _internal_tap_quick_settings_tile();
}
inline void SharingLog::unsafe_arena_set_allocated_tap_quick_settings_tile(
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_quick_settings_tile_);
}
_impl_.tap_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000800U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000800U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_tile)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE SharingLog::release_tap_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* released = _impl_.tap_quick_settings_tile_;
_impl_.tap_quick_settings_tile_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_tap_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_tile)
ClearHasBit(_impl_._has_bits_[1], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* temp = _impl_.tap_quick_settings_tile_;
_impl_.tap_quick_settings_tile_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL SharingLog::_internal_mutable_tap_quick_settings_tile() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_quick_settings_tile_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile>(GetArena());
_impl_.tap_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile*>(p);
}
return _impl_.tap_quick_settings_tile_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NONNULL SharingLog::mutable_tap_quick_settings_tile()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* _msg = _internal_mutable_tap_quick_settings_tile();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_tile)
return _msg;
}
inline void SharingLog::set_allocated_tap_quick_settings_tile(::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_quick_settings_tile_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00000800U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000800U);
}
_impl_.tap_quick_settings_tile_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsTile*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_tile)
}
// optional .nearby.sharing.analytics.proto.SharingLog.InstallAPKStatus install_apk_status = 44;
inline bool SharingLog::has_install_apk_status() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00001000U);
PROTOBUF_ASSUME(!value || _impl_.install_apk_status_ != nullptr);
return value;
}
inline void SharingLog::clear_install_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.install_apk_status_ != nullptr) _impl_.install_apk_status_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00001000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus& SharingLog::_internal_install_apk_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* p = _impl_.install_apk_status_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus&>(::nearby::sharing::analytics::proto::_SharingLog_InstallAPKStatus_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus& SharingLog::install_apk_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.install_apk_status)
return _internal_install_apk_status();
}
inline void SharingLog::unsafe_arena_set_allocated_install_apk_status(
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.install_apk_status_);
}
_impl_.install_apk_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00001000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00001000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.install_apk_status)
}
inline ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE SharingLog::release_install_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* released = _impl_.install_apk_status_;
_impl_.install_apk_status_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_install_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.install_apk_status)
ClearHasBit(_impl_._has_bits_[1], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* temp = _impl_.install_apk_status_;
_impl_.install_apk_status_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NONNULL SharingLog::_internal_mutable_install_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.install_apk_status_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus>(GetArena());
_impl_.install_apk_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus*>(p);
}
return _impl_.install_apk_status_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NONNULL SharingLog::mutable_install_apk_status()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* _msg = _internal_mutable_install_apk_status();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.install_apk_status)
return _msg;
}
inline void SharingLog::set_allocated_install_apk_status(::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.install_apk_status_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00001000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00001000U);
}
_impl_.install_apk_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_InstallAPKStatus*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.install_apk_status)
}
// optional .nearby.sharing.analytics.proto.SharingLog.VerifyAPKStatus verify_apk_status = 45;
inline bool SharingLog::has_verify_apk_status() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00002000U);
PROTOBUF_ASSUME(!value || _impl_.verify_apk_status_ != nullptr);
return value;
}
inline void SharingLog::clear_verify_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.verify_apk_status_ != nullptr) _impl_.verify_apk_status_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00002000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus& SharingLog::_internal_verify_apk_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* p = _impl_.verify_apk_status_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus&>(::nearby::sharing::analytics::proto::_SharingLog_VerifyAPKStatus_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus& SharingLog::verify_apk_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.verify_apk_status)
return _internal_verify_apk_status();
}
inline void SharingLog::unsafe_arena_set_allocated_verify_apk_status(
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.verify_apk_status_);
}
_impl_.verify_apk_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00002000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00002000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.verify_apk_status)
}
inline ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE SharingLog::release_verify_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* released = _impl_.verify_apk_status_;
_impl_.verify_apk_status_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_verify_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.verify_apk_status)
ClearHasBit(_impl_._has_bits_[1], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* temp = _impl_.verify_apk_status_;
_impl_.verify_apk_status_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL SharingLog::_internal_mutable_verify_apk_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.verify_apk_status_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus>(GetArena());
_impl_.verify_apk_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus*>(p);
}
return _impl_.verify_apk_status_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NONNULL SharingLog::mutable_verify_apk_status()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* _msg = _internal_mutable_verify_apk_status();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.verify_apk_status)
return _msg;
}
inline void SharingLog::set_allocated_verify_apk_status(::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.verify_apk_status_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00002000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00002000U);
}
_impl_.verify_apk_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_VerifyAPKStatus*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.verify_apk_status)
}
// optional .nearby.sharing.analytics.proto.SharingLog.LaunchConsent launch_consent = 46;
inline bool SharingLog::has_launch_consent() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00004000U);
PROTOBUF_ASSUME(!value || _impl_.launch_consent_ != nullptr);
return value;
}
inline void SharingLog::clear_launch_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.launch_consent_ != nullptr) _impl_.launch_consent_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00004000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent& SharingLog::_internal_launch_consent() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* p = _impl_.launch_consent_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent&>(::nearby::sharing::analytics::proto::_SharingLog_LaunchConsent_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent& SharingLog::launch_consent() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.launch_consent)
return _internal_launch_consent();
}
inline void SharingLog::unsafe_arena_set_allocated_launch_consent(
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_consent_);
}
_impl_.launch_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchConsent*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00004000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00004000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.launch_consent)
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE SharingLog::release_launch_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* released = _impl_.launch_consent_;
_impl_.launch_consent_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_launch_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.launch_consent)
ClearHasBit(_impl_._has_bits_[1], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* temp = _impl_.launch_consent_;
_impl_.launch_consent_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NONNULL SharingLog::_internal_mutable_launch_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.launch_consent_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_LaunchConsent>(GetArena());
_impl_.launch_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchConsent*>(p);
}
return _impl_.launch_consent_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NONNULL SharingLog::mutable_launch_consent()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* _msg = _internal_mutable_launch_consent();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.launch_consent)
return _msg;
}
inline void SharingLog::set_allocated_launch_consent(::nearby::sharing::analytics::proto::SharingLog_LaunchConsent* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_consent_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00004000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00004000U);
}
_impl_.launch_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_LaunchConsent*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.launch_consent)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ProcessReceivedAttachmentsEnd process_received_attachments_end = 47;
inline bool SharingLog::has_process_received_attachments_end() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00008000U);
PROTOBUF_ASSUME(!value || _impl_.process_received_attachments_end_ != nullptr);
return value;
}
inline void SharingLog::clear_process_received_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.process_received_attachments_end_ != nullptr) _impl_.process_received_attachments_end_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00008000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd& SharingLog::_internal_process_received_attachments_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* p = _impl_.process_received_attachments_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd&>(::nearby::sharing::analytics::proto::_SharingLog_ProcessReceivedAttachmentsEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd& SharingLog::process_received_attachments_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.process_received_attachments_end)
return _internal_process_received_attachments_end();
}
inline void SharingLog::unsafe_arena_set_allocated_process_received_attachments_end(
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.process_received_attachments_end_);
}
_impl_.process_received_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00008000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00008000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.process_received_attachments_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE SharingLog::release_process_received_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* released = _impl_.process_received_attachments_end_;
_impl_.process_received_attachments_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_process_received_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.process_received_attachments_end)
ClearHasBit(_impl_._has_bits_[1], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* temp = _impl_.process_received_attachments_end_;
_impl_.process_received_attachments_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_process_received_attachments_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.process_received_attachments_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd>(GetArena());
_impl_.process_received_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd*>(p);
}
return _impl_.process_received_attachments_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NONNULL SharingLog::mutable_process_received_attachments_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* _msg = _internal_mutable_process_received_attachments_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.process_received_attachments_end)
return _msg;
}
inline void SharingLog::set_allocated_process_received_attachments_end(::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.process_received_attachments_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00008000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00008000U);
}
_impl_.process_received_attachments_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ProcessReceivedAttachmentsEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.process_received_attachments_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ToggleShowNotification toggle_show_notification = 48;
inline bool SharingLog::has_toggle_show_notification() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00010000U);
PROTOBUF_ASSUME(!value || _impl_.toggle_show_notification_ != nullptr);
return value;
}
inline void SharingLog::clear_toggle_show_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.toggle_show_notification_ != nullptr) _impl_.toggle_show_notification_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00010000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification& SharingLog::_internal_toggle_show_notification() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* p = _impl_.toggle_show_notification_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification&>(::nearby::sharing::analytics::proto::_SharingLog_ToggleShowNotification_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification& SharingLog::toggle_show_notification() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.toggle_show_notification)
return _internal_toggle_show_notification();
}
inline void SharingLog::unsafe_arena_set_allocated_toggle_show_notification(
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.toggle_show_notification_);
}
_impl_.toggle_show_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00010000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00010000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.toggle_show_notification)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE SharingLog::release_toggle_show_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* released = _impl_.toggle_show_notification_;
_impl_.toggle_show_notification_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_toggle_show_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.toggle_show_notification)
ClearHasBit(_impl_._has_bits_[1], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* temp = _impl_.toggle_show_notification_;
_impl_.toggle_show_notification_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NONNULL SharingLog::_internal_mutable_toggle_show_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.toggle_show_notification_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification>(GetArena());
_impl_.toggle_show_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification*>(p);
}
return _impl_.toggle_show_notification_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NONNULL SharingLog::mutable_toggle_show_notification()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* _msg = _internal_mutable_toggle_show_notification();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.toggle_show_notification)
return _msg;
}
inline void SharingLog::set_allocated_toggle_show_notification(::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.toggle_show_notification_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00010000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00010000U);
}
_impl_.toggle_show_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ToggleShowNotification*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.toggle_show_notification)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SetDeviceName set_device_name = 49;
inline bool SharingLog::has_set_device_name() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00020000U);
PROTOBUF_ASSUME(!value || _impl_.set_device_name_ != nullptr);
return value;
}
inline void SharingLog::clear_set_device_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_device_name_ != nullptr) _impl_.set_device_name_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00020000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName& SharingLog::_internal_set_device_name() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* p = _impl_.set_device_name_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName&>(::nearby::sharing::analytics::proto::_SharingLog_SetDeviceName_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName& SharingLog::set_device_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.set_device_name)
return _internal_set_device_name();
}
inline void SharingLog::unsafe_arena_set_allocated_set_device_name(
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_device_name_);
}
_impl_.set_device_name_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetDeviceName*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00020000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00020000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_device_name)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE SharingLog::release_set_device_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* released = _impl_.set_device_name_;
_impl_.set_device_name_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_set_device_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.set_device_name)
ClearHasBit(_impl_._has_bits_[1], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* temp = _impl_.set_device_name_;
_impl_.set_device_name_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NONNULL SharingLog::_internal_mutable_set_device_name() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_device_name_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SetDeviceName>(GetArena());
_impl_.set_device_name_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetDeviceName*>(p);
}
return _impl_.set_device_name_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NONNULL SharingLog::mutable_set_device_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* _msg = _internal_mutable_set_device_name();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.set_device_name)
return _msg;
}
inline void SharingLog::set_allocated_set_device_name(::nearby::sharing::analytics::proto::SharingLog_SetDeviceName* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_device_name_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00020000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00020000U);
}
_impl_.set_device_name_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetDeviceName*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_device_name)
}
// optional string files_migration_phase = 50;
inline bool SharingLog::has_files_migration_phase() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000001U);
return value;
}
inline void SharingLog::clear_files_migration_phase() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.files_migration_phase_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[1],
0x00000001U);
}
inline const ::std::string& SharingLog::files_migration_phase() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.files_migration_phase)
return _internal_files_migration_phase();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog::set_files_migration_phase(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[1], 0x00000001U);
_impl_.files_migration_phase_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.files_migration_phase)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog::mutable_files_migration_phase()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000001U);
::std::string* _s = _internal_mutable_files_migration_phase();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.files_migration_phase)
return _s;
}
inline const ::std::string& SharingLog::_internal_files_migration_phase() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.files_migration_phase_.Get();
}
inline void SharingLog::_internal_set_files_migration_phase(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.files_migration_phase_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog::_internal_mutable_files_migration_phase() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.files_migration_phase_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog::release_files_migration_phase() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.files_migration_phase)
if (!CheckHasBit(_impl_._has_bits_[1], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[1], 0x00000001U);
auto* released = _impl_.files_migration_phase_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.files_migration_phase_.Set("", GetArena());
}
return released;
}
inline void SharingLog::set_allocated_files_migration_phase(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000001U);
}
_impl_.files_migration_phase_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.files_migration_phase_.IsDefault()) {
_impl_.files_migration_phase_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.files_migration_phase)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DeclineAgreements decline_agreements = 51;
inline bool SharingLog::has_decline_agreements() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00040000U);
PROTOBUF_ASSUME(!value || _impl_.decline_agreements_ != nullptr);
return value;
}
inline void SharingLog::clear_decline_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.decline_agreements_ != nullptr) _impl_.decline_agreements_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00040000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements& SharingLog::_internal_decline_agreements() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* p = _impl_.decline_agreements_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements&>(::nearby::sharing::analytics::proto::_SharingLog_DeclineAgreements_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements& SharingLog::decline_agreements() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.decline_agreements)
return _internal_decline_agreements();
}
inline void SharingLog::unsafe_arena_set_allocated_decline_agreements(
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.decline_agreements_);
}
_impl_.decline_agreements_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00040000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00040000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.decline_agreements)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE SharingLog::release_decline_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* released = _impl_.decline_agreements_;
_impl_.decline_agreements_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_decline_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.decline_agreements)
ClearHasBit(_impl_._has_bits_[1], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* temp = _impl_.decline_agreements_;
_impl_.decline_agreements_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NONNULL SharingLog::_internal_mutable_decline_agreements() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.decline_agreements_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements>(GetArena());
_impl_.decline_agreements_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements*>(p);
}
return _impl_.decline_agreements_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NONNULL SharingLog::mutable_decline_agreements()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* _msg = _internal_mutable_decline_agreements();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.decline_agreements)
return _msg;
}
inline void SharingLog::set_allocated_decline_agreements(::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.decline_agreements_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00040000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00040000U);
}
_impl_.decline_agreements_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DeclineAgreements*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.decline_agreements)
}
// optional .nearby.sharing.analytics.proto.SharingLog.RequestSettingPermissions request_setting_permissions = 52;
inline bool SharingLog::has_request_setting_permissions() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00080000U);
PROTOBUF_ASSUME(!value || _impl_.request_setting_permissions_ != nullptr);
return value;
}
inline void SharingLog::clear_request_setting_permissions() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.request_setting_permissions_ != nullptr) _impl_.request_setting_permissions_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00080000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions& SharingLog::_internal_request_setting_permissions() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* p = _impl_.request_setting_permissions_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions&>(::nearby::sharing::analytics::proto::_SharingLog_RequestSettingPermissions_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions& SharingLog::request_setting_permissions() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.request_setting_permissions)
return _internal_request_setting_permissions();
}
inline void SharingLog::unsafe_arena_set_allocated_request_setting_permissions(
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_setting_permissions_);
}
_impl_.request_setting_permissions_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00080000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00080000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.request_setting_permissions)
}
inline ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE SharingLog::release_request_setting_permissions() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* released = _impl_.request_setting_permissions_;
_impl_.request_setting_permissions_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_request_setting_permissions() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.request_setting_permissions)
ClearHasBit(_impl_._has_bits_[1], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* temp = _impl_.request_setting_permissions_;
_impl_.request_setting_permissions_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL SharingLog::_internal_mutable_request_setting_permissions() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.request_setting_permissions_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions>(GetArena());
_impl_.request_setting_permissions_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions*>(p);
}
return _impl_.request_setting_permissions_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NONNULL SharingLog::mutable_request_setting_permissions()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* _msg = _internal_mutable_request_setting_permissions();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.request_setting_permissions)
return _msg;
}
inline void SharingLog::set_allocated_request_setting_permissions(::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_setting_permissions_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00080000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00080000U);
}
_impl_.request_setting_permissions_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RequestSettingPermissions*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.request_setting_permissions)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DeviceSettings device_settings = 53;
inline bool SharingLog::has_device_settings() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00100000U);
PROTOBUF_ASSUME(!value || _impl_.device_settings_ != nullptr);
return value;
}
inline void SharingLog::clear_device_settings() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.device_settings_ != nullptr) _impl_.device_settings_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00100000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings& SharingLog::_internal_device_settings() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* p = _impl_.device_settings_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings&>(::nearby::sharing::analytics::proto::_SharingLog_DeviceSettings_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings& SharingLog::device_settings() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.device_settings)
return _internal_device_settings();
}
inline void SharingLog::unsafe_arena_set_allocated_device_settings(
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.device_settings_);
}
_impl_.device_settings_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DeviceSettings*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00100000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00100000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.device_settings)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE SharingLog::release_device_settings() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* released = _impl_.device_settings_;
_impl_.device_settings_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_device_settings() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.device_settings)
ClearHasBit(_impl_._has_bits_[1], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* temp = _impl_.device_settings_;
_impl_.device_settings_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NONNULL SharingLog::_internal_mutable_device_settings() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.device_settings_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DeviceSettings>(GetArena());
_impl_.device_settings_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DeviceSettings*>(p);
}
return _impl_.device_settings_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NONNULL SharingLog::mutable_device_settings()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* _msg = _internal_mutable_device_settings();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.device_settings)
return _msg;
}
inline void SharingLog::set_allocated_device_settings(::nearby::sharing::analytics::proto::SharingLog_DeviceSettings* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.device_settings_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00100000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00100000U);
}
_impl_.device_settings_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DeviceSettings*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.device_settings)
}
// optional .nearby.sharing.analytics.proto.SharingLog.EstablishConnection establish_connection = 54;
inline bool SharingLog::has_establish_connection() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00200000U);
PROTOBUF_ASSUME(!value || _impl_.establish_connection_ != nullptr);
return value;
}
inline void SharingLog::clear_establish_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.establish_connection_ != nullptr) _impl_.establish_connection_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00200000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection& SharingLog::_internal_establish_connection() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* p = _impl_.establish_connection_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection&>(::nearby::sharing::analytics::proto::_SharingLog_EstablishConnection_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection& SharingLog::establish_connection() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.establish_connection)
return _internal_establish_connection();
}
inline void SharingLog::unsafe_arena_set_allocated_establish_connection(
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.establish_connection_);
}
_impl_.establish_connection_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EstablishConnection*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00200000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00200000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.establish_connection)
}
inline ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE SharingLog::release_establish_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* released = _impl_.establish_connection_;
_impl_.establish_connection_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_establish_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.establish_connection)
ClearHasBit(_impl_._has_bits_[1], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* temp = _impl_.establish_connection_;
_impl_.establish_connection_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NONNULL SharingLog::_internal_mutable_establish_connection() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.establish_connection_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_EstablishConnection>(GetArena());
_impl_.establish_connection_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EstablishConnection*>(p);
}
return _impl_.establish_connection_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NONNULL SharingLog::mutable_establish_connection()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* _msg = _internal_mutable_establish_connection();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.establish_connection)
return _msg;
}
inline void SharingLog::set_allocated_establish_connection(::nearby::sharing::analytics::proto::SharingLog_EstablishConnection* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.establish_connection_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00200000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00200000U);
}
_impl_.establish_connection_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EstablishConnection*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.establish_connection)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AutoDismissFastInitialization auto_dismiss_fast_initialization = 55;
inline bool SharingLog::has_auto_dismiss_fast_initialization() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00400000U);
PROTOBUF_ASSUME(!value || _impl_.auto_dismiss_fast_initialization_ != nullptr);
return value;
}
inline void SharingLog::clear_auto_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.auto_dismiss_fast_initialization_ != nullptr) _impl_.auto_dismiss_fast_initialization_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00400000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization& SharingLog::_internal_auto_dismiss_fast_initialization() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* p = _impl_.auto_dismiss_fast_initialization_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization&>(::nearby::sharing::analytics::proto::_SharingLog_AutoDismissFastInitialization_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization& SharingLog::auto_dismiss_fast_initialization() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.auto_dismiss_fast_initialization)
return _internal_auto_dismiss_fast_initialization();
}
inline void SharingLog::unsafe_arena_set_allocated_auto_dismiss_fast_initialization(
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auto_dismiss_fast_initialization_);
}
_impl_.auto_dismiss_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00400000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00400000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.auto_dismiss_fast_initialization)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE SharingLog::release_auto_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* released = _impl_.auto_dismiss_fast_initialization_;
_impl_.auto_dismiss_fast_initialization_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_auto_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.auto_dismiss_fast_initialization)
ClearHasBit(_impl_._has_bits_[1], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* temp = _impl_.auto_dismiss_fast_initialization_;
_impl_.auto_dismiss_fast_initialization_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL SharingLog::_internal_mutable_auto_dismiss_fast_initialization() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.auto_dismiss_fast_initialization_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization>(GetArena());
_impl_.auto_dismiss_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization*>(p);
}
return _impl_.auto_dismiss_fast_initialization_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NONNULL SharingLog::mutable_auto_dismiss_fast_initialization()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* _msg = _internal_mutable_auto_dismiss_fast_initialization();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.auto_dismiss_fast_initialization)
return _msg;
}
inline void SharingLog::set_allocated_auto_dismiss_fast_initialization(::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auto_dismiss_fast_initialization_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00400000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00400000U);
}
_impl_.auto_dismiss_fast_initialization_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AutoDismissFastInitialization*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.auto_dismiss_fast_initialization)
}
// optional .nearby.sharing.analytics.proto.SharingLog.EventMetadata event_metadata = 56;
inline bool SharingLog::has_event_metadata() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00800000U);
PROTOBUF_ASSUME(!value || _impl_.event_metadata_ != nullptr);
return value;
}
inline void SharingLog::clear_event_metadata() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.event_metadata_ != nullptr) _impl_.event_metadata_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x00800000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_EventMetadata& SharingLog::_internal_event_metadata() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_EventMetadata* p = _impl_.event_metadata_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_EventMetadata&>(::nearby::sharing::analytics::proto::_SharingLog_EventMetadata_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_EventMetadata& SharingLog::event_metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.event_metadata)
return _internal_event_metadata();
}
inline void SharingLog::unsafe_arena_set_allocated_event_metadata(
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.event_metadata_);
}
_impl_.event_metadata_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EventMetadata*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00800000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00800000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.event_metadata)
}
inline ::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE SharingLog::release_event_metadata() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x00800000U);
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* released = _impl_.event_metadata_;
_impl_.event_metadata_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_event_metadata() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.event_metadata)
ClearHasBit(_impl_._has_bits_[1], 0x00800000U);
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* temp = _impl_.event_metadata_;
_impl_.event_metadata_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NONNULL SharingLog::_internal_mutable_event_metadata() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.event_metadata_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_EventMetadata>(GetArena());
_impl_.event_metadata_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EventMetadata*>(p);
}
return _impl_.event_metadata_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NONNULL SharingLog::mutable_event_metadata()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00800000U);
::nearby::sharing::analytics::proto::SharingLog_EventMetadata* _msg = _internal_mutable_event_metadata();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.event_metadata)
return _msg;
}
inline void SharingLog::set_allocated_event_metadata(::nearby::sharing::analytics::proto::SharingLog_EventMetadata* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.event_metadata_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x00800000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00800000U);
}
_impl_.event_metadata_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_EventMetadata*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.event_metadata)
}
// optional string app_version = 57 [deprecated = true];
inline bool SharingLog::has_app_version() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x00000002U);
return value;
}
inline void SharingLog::clear_app_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_version_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[1],
0x00000002U);
}
inline const ::std::string& SharingLog::app_version() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.app_version)
return _internal_app_version();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharingLog::set_app_version(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[1], 0x00000002U);
_impl_.app_version_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nearby.sharing.analytics.proto.SharingLog.app_version)
}
inline ::std::string* PROTOBUF_NONNULL SharingLog::mutable_app_version()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x00000002U);
::std::string* _s = _internal_mutable_app_version();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.app_version)
return _s;
}
inline const ::std::string& SharingLog::_internal_app_version() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.app_version_.Get();
}
inline void SharingLog::_internal_set_app_version(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.app_version_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharingLog::_internal_mutable_app_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.app_version_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharingLog::release_app_version() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.app_version)
if (!CheckHasBit(_impl_._has_bits_[1], 0x00000002U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[1], 0x00000002U);
auto* released = _impl_.app_version_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.app_version_.Set("", GetArena());
}
return released;
}
inline void SharingLog::set_allocated_app_version(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x00000002U);
}
_impl_.app_version_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.app_version_.IsDefault()) {
_impl_.app_version_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.app_version)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AppCrash app_crash = 58;
inline bool SharingLog::has_app_crash() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x01000000U);
PROTOBUF_ASSUME(!value || _impl_.app_crash_ != nullptr);
return value;
}
inline void SharingLog::clear_app_crash() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.app_crash_ != nullptr) _impl_.app_crash_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x01000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppCrash& SharingLog::_internal_app_crash() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AppCrash* p = _impl_.app_crash_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AppCrash&>(::nearby::sharing::analytics::proto::_SharingLog_AppCrash_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppCrash& SharingLog::app_crash() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.app_crash)
return _internal_app_crash();
}
inline void SharingLog::unsafe_arena_set_allocated_app_crash(
::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.app_crash_);
}
_impl_.app_crash_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppCrash*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x01000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x01000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.app_crash)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE SharingLog::release_app_crash() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x01000000U);
::nearby::sharing::analytics::proto::SharingLog_AppCrash* released = _impl_.app_crash_;
_impl_.app_crash_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_app_crash() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.app_crash)
ClearHasBit(_impl_._has_bits_[1], 0x01000000U);
::nearby::sharing::analytics::proto::SharingLog_AppCrash* temp = _impl_.app_crash_;
_impl_.app_crash_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NONNULL SharingLog::_internal_mutable_app_crash() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.app_crash_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AppCrash>(GetArena());
_impl_.app_crash_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppCrash*>(p);
}
return _impl_.app_crash_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NONNULL SharingLog::mutable_app_crash()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x01000000U);
::nearby::sharing::analytics::proto::SharingLog_AppCrash* _msg = _internal_mutable_app_crash();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.app_crash)
return _msg;
}
inline void SharingLog::set_allocated_app_crash(::nearby::sharing::analytics::proto::SharingLog_AppCrash* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.app_crash_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x01000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x01000000U);
}
_impl_.app_crash_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppCrash*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.app_crash)
}
// optional .nearby.sharing.analytics.proto.SharingLog.TapQuickSettingsFileShare tap_quick_settings_file_share = 59;
inline bool SharingLog::has_tap_quick_settings_file_share() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x02000000U);
PROTOBUF_ASSUME(!value || _impl_.tap_quick_settings_file_share_ != nullptr);
return value;
}
inline void SharingLog::clear_tap_quick_settings_file_share() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_quick_settings_file_share_ != nullptr) _impl_.tap_quick_settings_file_share_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x02000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare& SharingLog::_internal_tap_quick_settings_file_share() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* p = _impl_.tap_quick_settings_file_share_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare&>(::nearby::sharing::analytics::proto::_SharingLog_TapQuickSettingsFileShare_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare& SharingLog::tap_quick_settings_file_share() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_file_share)
return _internal_tap_quick_settings_file_share();
}
inline void SharingLog::unsafe_arena_set_allocated_tap_quick_settings_file_share(
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_quick_settings_file_share_);
}
_impl_.tap_quick_settings_file_share_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x02000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x02000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_file_share)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE SharingLog::release_tap_quick_settings_file_share() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x02000000U);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* released = _impl_.tap_quick_settings_file_share_;
_impl_.tap_quick_settings_file_share_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_tap_quick_settings_file_share() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_file_share)
ClearHasBit(_impl_._has_bits_[1], 0x02000000U);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* temp = _impl_.tap_quick_settings_file_share_;
_impl_.tap_quick_settings_file_share_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL SharingLog::_internal_mutable_tap_quick_settings_file_share() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_quick_settings_file_share_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare>(GetArena());
_impl_.tap_quick_settings_file_share_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare*>(p);
}
return _impl_.tap_quick_settings_file_share_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NONNULL SharingLog::mutable_tap_quick_settings_file_share()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x02000000U);
::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* _msg = _internal_mutable_tap_quick_settings_file_share();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_file_share)
return _msg;
}
inline void SharingLog::set_allocated_tap_quick_settings_file_share(::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_quick_settings_file_share_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x02000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x02000000U);
}
_impl_.tap_quick_settings_file_share_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQuickSettingsFileShare*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_quick_settings_file_share)
}
// optional .nearby.sharing.analytics.proto.SharingLog.AppInfo app_info = 60;
inline bool SharingLog::has_app_info() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x04000000U);
PROTOBUF_ASSUME(!value || _impl_.app_info_ != nullptr);
return value;
}
inline void SharingLog::clear_app_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.app_info_ != nullptr) _impl_.app_info_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x04000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppInfo& SharingLog::_internal_app_info() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_AppInfo* p = _impl_.app_info_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_AppInfo&>(::nearby::sharing::analytics::proto::_SharingLog_AppInfo_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_AppInfo& SharingLog::app_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.app_info)
return _internal_app_info();
}
inline void SharingLog::unsafe_arena_set_allocated_app_info(
::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.app_info_);
}
_impl_.app_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppInfo*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x04000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x04000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.app_info)
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE SharingLog::release_app_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x04000000U);
::nearby::sharing::analytics::proto::SharingLog_AppInfo* released = _impl_.app_info_;
_impl_.app_info_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_app_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.app_info)
ClearHasBit(_impl_._has_bits_[1], 0x04000000U);
::nearby::sharing::analytics::proto::SharingLog_AppInfo* temp = _impl_.app_info_;
_impl_.app_info_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NONNULL SharingLog::_internal_mutable_app_info() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.app_info_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_AppInfo>(GetArena());
_impl_.app_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppInfo*>(p);
}
return _impl_.app_info_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NONNULL SharingLog::mutable_app_info()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x04000000U);
::nearby::sharing::analytics::proto::SharingLog_AppInfo* _msg = _internal_mutable_app_info();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.app_info)
return _msg;
}
inline void SharingLog::set_allocated_app_info(::nearby::sharing::analytics::proto::SharingLog_AppInfo* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.app_info_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x04000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x04000000U);
}
_impl_.app_info_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_AppInfo*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.app_info)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DisplayPrivacyNotification display_privacy_notification = 61;
inline bool SharingLog::has_display_privacy_notification() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x08000000U);
PROTOBUF_ASSUME(!value || _impl_.display_privacy_notification_ != nullptr);
return value;
}
inline void SharingLog::clear_display_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.display_privacy_notification_ != nullptr) _impl_.display_privacy_notification_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x08000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification& SharingLog::_internal_display_privacy_notification() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* p = _impl_.display_privacy_notification_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification&>(::nearby::sharing::analytics::proto::_SharingLog_DisplayPrivacyNotification_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification& SharingLog::display_privacy_notification() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.display_privacy_notification)
return _internal_display_privacy_notification();
}
inline void SharingLog::unsafe_arena_set_allocated_display_privacy_notification(
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.display_privacy_notification_);
}
_impl_.display_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x08000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x08000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.display_privacy_notification)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE SharingLog::release_display_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x08000000U);
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* released = _impl_.display_privacy_notification_;
_impl_.display_privacy_notification_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_display_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.display_privacy_notification)
ClearHasBit(_impl_._has_bits_[1], 0x08000000U);
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* temp = _impl_.display_privacy_notification_;
_impl_.display_privacy_notification_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL SharingLog::_internal_mutable_display_privacy_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.display_privacy_notification_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification>(GetArena());
_impl_.display_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification*>(p);
}
return _impl_.display_privacy_notification_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NONNULL SharingLog::mutable_display_privacy_notification()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x08000000U);
::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* _msg = _internal_mutable_display_privacy_notification();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.display_privacy_notification)
return _msg;
}
inline void SharingLog::set_allocated_display_privacy_notification(::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.display_privacy_notification_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x08000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x08000000U);
}
_impl_.display_privacy_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DisplayPrivacyNotification*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.display_privacy_notification)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DisplayPhoneConsent display_phone_consent = 62;
inline bool SharingLog::has_display_phone_consent() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x10000000U);
PROTOBUF_ASSUME(!value || _impl_.display_phone_consent_ != nullptr);
return value;
}
inline void SharingLog::clear_display_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.display_phone_consent_ != nullptr) _impl_.display_phone_consent_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x10000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent& SharingLog::_internal_display_phone_consent() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* p = _impl_.display_phone_consent_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent&>(::nearby::sharing::analytics::proto::_SharingLog_DisplayPhoneConsent_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent& SharingLog::display_phone_consent() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.display_phone_consent)
return _internal_display_phone_consent();
}
inline void SharingLog::unsafe_arena_set_allocated_display_phone_consent(
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.display_phone_consent_);
}
_impl_.display_phone_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x10000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x10000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.display_phone_consent)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE SharingLog::release_display_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x10000000U);
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* released = _impl_.display_phone_consent_;
_impl_.display_phone_consent_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_display_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.display_phone_consent)
ClearHasBit(_impl_._has_bits_[1], 0x10000000U);
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* temp = _impl_.display_phone_consent_;
_impl_.display_phone_consent_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL SharingLog::_internal_mutable_display_phone_consent() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.display_phone_consent_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent>(GetArena());
_impl_.display_phone_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent*>(p);
}
return _impl_.display_phone_consent_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NONNULL SharingLog::mutable_display_phone_consent()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x10000000U);
::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* _msg = _internal_mutable_display_phone_consent();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.display_phone_consent)
return _msg;
}
inline void SharingLog::set_allocated_display_phone_consent(::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.display_phone_consent_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x10000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x10000000U);
}
_impl_.display_phone_consent_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DisplayPhoneConsent*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.display_phone_consent)
}
// optional .nearby.sharing.analytics.proto.SharingLog.PreferencesUsage preferences_usage = 63;
inline bool SharingLog::has_preferences_usage() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x20000000U);
PROTOBUF_ASSUME(!value || _impl_.preferences_usage_ != nullptr);
return value;
}
inline void SharingLog::clear_preferences_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.preferences_usage_ != nullptr) _impl_.preferences_usage_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x20000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage& SharingLog::_internal_preferences_usage() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* p = _impl_.preferences_usage_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage&>(::nearby::sharing::analytics::proto::_SharingLog_PreferencesUsage_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage& SharingLog::preferences_usage() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.preferences_usage)
return _internal_preferences_usage();
}
inline void SharingLog::unsafe_arena_set_allocated_preferences_usage(
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.preferences_usage_);
}
_impl_.preferences_usage_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x20000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x20000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.preferences_usage)
}
inline ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE SharingLog::release_preferences_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x20000000U);
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* released = _impl_.preferences_usage_;
_impl_.preferences_usage_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_preferences_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.preferences_usage)
ClearHasBit(_impl_._has_bits_[1], 0x20000000U);
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* temp = _impl_.preferences_usage_;
_impl_.preferences_usage_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NONNULL SharingLog::_internal_mutable_preferences_usage() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.preferences_usage_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage>(GetArena());
_impl_.preferences_usage_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage*>(p);
}
return _impl_.preferences_usage_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NONNULL SharingLog::mutable_preferences_usage()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x20000000U);
::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* _msg = _internal_mutable_preferences_usage();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.preferences_usage)
return _msg;
}
inline void SharingLog::set_allocated_preferences_usage(::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.preferences_usage_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x20000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x20000000U);
}
_impl_.preferences_usage_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_PreferencesUsage*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.preferences_usage)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DefaultOptIn default_opt_in = 64;
inline bool SharingLog::has_default_opt_in() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x40000000U);
PROTOBUF_ASSUME(!value || _impl_.default_opt_in_ != nullptr);
return value;
}
inline void SharingLog::clear_default_opt_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.default_opt_in_ != nullptr) _impl_.default_opt_in_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x40000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn& SharingLog::_internal_default_opt_in() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* p = _impl_.default_opt_in_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn&>(::nearby::sharing::analytics::proto::_SharingLog_DefaultOptIn_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn& SharingLog::default_opt_in() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.default_opt_in)
return _internal_default_opt_in();
}
inline void SharingLog::unsafe_arena_set_allocated_default_opt_in(
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.default_opt_in_);
}
_impl_.default_opt_in_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x40000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x40000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.default_opt_in)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE SharingLog::release_default_opt_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x40000000U);
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* released = _impl_.default_opt_in_;
_impl_.default_opt_in_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_default_opt_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.default_opt_in)
ClearHasBit(_impl_._has_bits_[1], 0x40000000U);
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* temp = _impl_.default_opt_in_;
_impl_.default_opt_in_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NONNULL SharingLog::_internal_mutable_default_opt_in() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.default_opt_in_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn>(GetArena());
_impl_.default_opt_in_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn*>(p);
}
return _impl_.default_opt_in_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NONNULL SharingLog::mutable_default_opt_in()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x40000000U);
::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* _msg = _internal_mutable_default_opt_in();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.default_opt_in)
return _msg;
}
inline void SharingLog::set_allocated_default_opt_in(::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.default_opt_in_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x40000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x40000000U);
}
_impl_.default_opt_in_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DefaultOptIn*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.default_opt_in)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SetupWizard setup_wizard = 65;
inline bool SharingLog::has_setup_wizard() const {
bool value = CheckHasBit(_impl_._has_bits_[1], 0x80000000U);
PROTOBUF_ASSUME(!value || _impl_.setup_wizard_ != nullptr);
return value;
}
inline void SharingLog::clear_setup_wizard() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.setup_wizard_ != nullptr) _impl_.setup_wizard_->Clear();
ClearHasBit(_impl_._has_bits_[1],
0x80000000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetupWizard& SharingLog::_internal_setup_wizard() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SetupWizard* p = _impl_.setup_wizard_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SetupWizard&>(::nearby::sharing::analytics::proto::_SharingLog_SetupWizard_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetupWizard& SharingLog::setup_wizard() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.setup_wizard)
return _internal_setup_wizard();
}
inline void SharingLog::unsafe_arena_set_allocated_setup_wizard(
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.setup_wizard_);
}
_impl_.setup_wizard_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetupWizard*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[1], 0x80000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x80000000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.setup_wizard)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE SharingLog::release_setup_wizard() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[1], 0x80000000U);
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* released = _impl_.setup_wizard_;
_impl_.setup_wizard_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_setup_wizard() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.setup_wizard)
ClearHasBit(_impl_._has_bits_[1], 0x80000000U);
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* temp = _impl_.setup_wizard_;
_impl_.setup_wizard_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NONNULL SharingLog::_internal_mutable_setup_wizard() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.setup_wizard_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SetupWizard>(GetArena());
_impl_.setup_wizard_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetupWizard*>(p);
}
return _impl_.setup_wizard_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NONNULL SharingLog::mutable_setup_wizard()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[1], 0x80000000U);
::nearby::sharing::analytics::proto::SharingLog_SetupWizard* _msg = _internal_mutable_setup_wizard();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.setup_wizard)
return _msg;
}
inline void SharingLog::set_allocated_setup_wizard(::nearby::sharing::analytics::proto::SharingLog_SetupWizard* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.setup_wizard_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[1], 0x80000000U);
} else {
ClearHasBit(_impl_._has_bits_[1], 0x80000000U);
}
_impl_.setup_wizard_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetupWizard*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.setup_wizard)
}
// optional .nearby.sharing.analytics.proto.SharingLog.TapQrCode tap_qr_code = 66;
inline bool SharingLog::has_tap_qr_code() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000001U);
PROTOBUF_ASSUME(!value || _impl_.tap_qr_code_ != nullptr);
return value;
}
inline void SharingLog::clear_tap_qr_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_qr_code_ != nullptr) _impl_.tap_qr_code_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000001U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapQrCode& SharingLog::_internal_tap_qr_code() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_TapQrCode* p = _impl_.tap_qr_code_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_TapQrCode&>(::nearby::sharing::analytics::proto::_SharingLog_TapQrCode_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_TapQrCode& SharingLog::tap_qr_code() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.tap_qr_code)
return _internal_tap_qr_code();
}
inline void SharingLog::unsafe_arena_set_allocated_tap_qr_code(
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_qr_code_);
}
_impl_.tap_qr_code_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQrCode*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000001U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_qr_code)
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE SharingLog::release_tap_qr_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* released = _impl_.tap_qr_code_;
_impl_.tap_qr_code_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_tap_qr_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.tap_qr_code)
ClearHasBit(_impl_._has_bits_[2], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* temp = _impl_.tap_qr_code_;
_impl_.tap_qr_code_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NONNULL SharingLog::_internal_mutable_tap_qr_code() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.tap_qr_code_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_TapQrCode>(GetArena());
_impl_.tap_qr_code_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQrCode*>(p);
}
return _impl_.tap_qr_code_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NONNULL SharingLog::mutable_tap_qr_code()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000001U);
::nearby::sharing::analytics::proto::SharingLog_TapQrCode* _msg = _internal_mutable_tap_qr_code();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.tap_qr_code)
return _msg;
}
inline void SharingLog::set_allocated_tap_qr_code(::nearby::sharing::analytics::proto::SharingLog_TapQrCode* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tap_qr_code_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000001U);
}
_impl_.tap_qr_code_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_TapQrCode*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.tap_qr_code)
}
// optional .nearby.sharing.analytics.proto.SharingLog.QrCodeLinkShown qr_code_link_shown = 67;
inline bool SharingLog::has_qr_code_link_shown() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000002U);
PROTOBUF_ASSUME(!value || _impl_.qr_code_link_shown_ != nullptr);
return value;
}
inline void SharingLog::clear_qr_code_link_shown() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.qr_code_link_shown_ != nullptr) _impl_.qr_code_link_shown_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000002U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown& SharingLog::_internal_qr_code_link_shown() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* p = _impl_.qr_code_link_shown_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown&>(::nearby::sharing::analytics::proto::_SharingLog_QrCodeLinkShown_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown& SharingLog::qr_code_link_shown() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.qr_code_link_shown)
return _internal_qr_code_link_shown();
}
inline void SharingLog::unsafe_arena_set_allocated_qr_code_link_shown(
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.qr_code_link_shown_);
}
_impl_.qr_code_link_shown_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000002U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.qr_code_link_shown)
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE SharingLog::release_qr_code_link_shown() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* released = _impl_.qr_code_link_shown_;
_impl_.qr_code_link_shown_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_qr_code_link_shown() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.qr_code_link_shown)
ClearHasBit(_impl_._has_bits_[2], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* temp = _impl_.qr_code_link_shown_;
_impl_.qr_code_link_shown_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL SharingLog::_internal_mutable_qr_code_link_shown() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.qr_code_link_shown_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown>(GetArena());
_impl_.qr_code_link_shown_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown*>(p);
}
return _impl_.qr_code_link_shown_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NONNULL SharingLog::mutable_qr_code_link_shown()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000002U);
::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* _msg = _internal_mutable_qr_code_link_shown();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.qr_code_link_shown)
return _msg;
}
inline void SharingLog::set_allocated_qr_code_link_shown(::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.qr_code_link_shown_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000002U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000002U);
}
_impl_.qr_code_link_shown_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeLinkShown*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.qr_code_link_shown)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ParsingFailedEndpointId parsing_failed_endpoint_id = 68;
inline bool SharingLog::has_parsing_failed_endpoint_id() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000004U);
PROTOBUF_ASSUME(!value || _impl_.parsing_failed_endpoint_id_ != nullptr);
return value;
}
inline void SharingLog::clear_parsing_failed_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.parsing_failed_endpoint_id_ != nullptr) _impl_.parsing_failed_endpoint_id_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000004U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId& SharingLog::_internal_parsing_failed_endpoint_id() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* p = _impl_.parsing_failed_endpoint_id_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId&>(::nearby::sharing::analytics::proto::_SharingLog_ParsingFailedEndpointId_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId& SharingLog::parsing_failed_endpoint_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.parsing_failed_endpoint_id)
return _internal_parsing_failed_endpoint_id();
}
inline void SharingLog::unsafe_arena_set_allocated_parsing_failed_endpoint_id(
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.parsing_failed_endpoint_id_);
}
_impl_.parsing_failed_endpoint_id_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000004U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.parsing_failed_endpoint_id)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE SharingLog::release_parsing_failed_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* released = _impl_.parsing_failed_endpoint_id_;
_impl_.parsing_failed_endpoint_id_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_parsing_failed_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.parsing_failed_endpoint_id)
ClearHasBit(_impl_._has_bits_[2], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* temp = _impl_.parsing_failed_endpoint_id_;
_impl_.parsing_failed_endpoint_id_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL SharingLog::_internal_mutable_parsing_failed_endpoint_id() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.parsing_failed_endpoint_id_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId>(GetArena());
_impl_.parsing_failed_endpoint_id_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId*>(p);
}
return _impl_.parsing_failed_endpoint_id_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NONNULL SharingLog::mutable_parsing_failed_endpoint_id()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000004U);
::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* _msg = _internal_mutable_parsing_failed_endpoint_id();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.parsing_failed_endpoint_id)
return _msg;
}
inline void SharingLog::set_allocated_parsing_failed_endpoint_id(::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.parsing_failed_endpoint_id_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000004U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000004U);
}
_impl_.parsing_failed_endpoint_id_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ParsingFailedEndpointId*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.parsing_failed_endpoint_id)
}
// optional .nearby.sharing.analytics.proto.SharingLog.FastInitDiscoverDevice fast_init_discover_device = 69;
inline bool SharingLog::has_fast_init_discover_device() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000008U);
PROTOBUF_ASSUME(!value || _impl_.fast_init_discover_device_ != nullptr);
return value;
}
inline void SharingLog::clear_fast_init_discover_device() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.fast_init_discover_device_ != nullptr) _impl_.fast_init_discover_device_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000008U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice& SharingLog::_internal_fast_init_discover_device() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* p = _impl_.fast_init_discover_device_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice&>(::nearby::sharing::analytics::proto::_SharingLog_FastInitDiscoverDevice_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice& SharingLog::fast_init_discover_device() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.fast_init_discover_device)
return _internal_fast_init_discover_device();
}
inline void SharingLog::unsafe_arena_set_allocated_fast_init_discover_device(
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fast_init_discover_device_);
}
_impl_.fast_init_discover_device_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000008U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.fast_init_discover_device)
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE SharingLog::release_fast_init_discover_device() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* released = _impl_.fast_init_discover_device_;
_impl_.fast_init_discover_device_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_fast_init_discover_device() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.fast_init_discover_device)
ClearHasBit(_impl_._has_bits_[2], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* temp = _impl_.fast_init_discover_device_;
_impl_.fast_init_discover_device_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL SharingLog::_internal_mutable_fast_init_discover_device() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.fast_init_discover_device_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice>(GetArena());
_impl_.fast_init_discover_device_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice*>(p);
}
return _impl_.fast_init_discover_device_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NONNULL SharingLog::mutable_fast_init_discover_device()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000008U);
::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* _msg = _internal_mutable_fast_init_discover_device();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.fast_init_discover_device)
return _msg;
}
inline void SharingLog::set_allocated_fast_init_discover_device(::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fast_init_discover_device_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000008U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000008U);
}
_impl_.fast_init_discover_device_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_FastInitDiscoverDevice*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.fast_init_discover_device)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendDesktopNotification send_desktop_notification = 70;
inline bool SharingLog::has_send_desktop_notification() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000010U);
PROTOBUF_ASSUME(!value || _impl_.send_desktop_notification_ != nullptr);
return value;
}
inline void SharingLog::clear_send_desktop_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_desktop_notification_ != nullptr) _impl_.send_desktop_notification_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000010U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification& SharingLog::_internal_send_desktop_notification() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* p = _impl_.send_desktop_notification_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification&>(::nearby::sharing::analytics::proto::_SharingLog_SendDesktopNotification_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification& SharingLog::send_desktop_notification() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_desktop_notification)
return _internal_send_desktop_notification();
}
inline void SharingLog::unsafe_arena_set_allocated_send_desktop_notification(
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_desktop_notification_);
}
_impl_.send_desktop_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000010U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000010U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_desktop_notification)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE SharingLog::release_send_desktop_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* released = _impl_.send_desktop_notification_;
_impl_.send_desktop_notification_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_desktop_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_desktop_notification)
ClearHasBit(_impl_._has_bits_[2], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* temp = _impl_.send_desktop_notification_;
_impl_.send_desktop_notification_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_desktop_notification() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_desktop_notification_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification>(GetArena());
_impl_.send_desktop_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification*>(p);
}
return _impl_.send_desktop_notification_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NONNULL SharingLog::mutable_send_desktop_notification()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000010U);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* _msg = _internal_mutable_send_desktop_notification();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_desktop_notification)
return _msg;
}
inline void SharingLog::set_allocated_send_desktop_notification(::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_desktop_notification_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000010U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000010U);
}
_impl_.send_desktop_notification_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendDesktopNotification*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_desktop_notification)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SendDesktopTransferEvent send_desktop_transfer_event = 72;
inline bool SharingLog::has_send_desktop_transfer_event() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000020U);
PROTOBUF_ASSUME(!value || _impl_.send_desktop_transfer_event_ != nullptr);
return value;
}
inline void SharingLog::clear_send_desktop_transfer_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_desktop_transfer_event_ != nullptr) _impl_.send_desktop_transfer_event_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000020U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent& SharingLog::_internal_send_desktop_transfer_event() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* p = _impl_.send_desktop_transfer_event_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent&>(::nearby::sharing::analytics::proto::_SharingLog_SendDesktopTransferEvent_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent& SharingLog::send_desktop_transfer_event() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.send_desktop_transfer_event)
return _internal_send_desktop_transfer_event();
}
inline void SharingLog::unsafe_arena_set_allocated_send_desktop_transfer_event(
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_desktop_transfer_event_);
}
_impl_.send_desktop_transfer_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000020U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_desktop_transfer_event)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE SharingLog::release_send_desktop_transfer_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* released = _impl_.send_desktop_transfer_event_;
_impl_.send_desktop_transfer_event_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_send_desktop_transfer_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.send_desktop_transfer_event)
ClearHasBit(_impl_._has_bits_[2], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* temp = _impl_.send_desktop_transfer_event_;
_impl_.send_desktop_transfer_event_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL SharingLog::_internal_mutable_send_desktop_transfer_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.send_desktop_transfer_event_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent>(GetArena());
_impl_.send_desktop_transfer_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent*>(p);
}
return _impl_.send_desktop_transfer_event_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NONNULL SharingLog::mutable_send_desktop_transfer_event()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000020U);
::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* _msg = _internal_mutable_send_desktop_transfer_event();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.send_desktop_transfer_event)
return _msg;
}
inline void SharingLog::set_allocated_send_desktop_transfer_event(::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.send_desktop_transfer_event_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000020U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000020U);
}
_impl_.send_desktop_transfer_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SendDesktopTransferEvent*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.send_desktop_transfer_event)
}
// optional .nearby.sharing.analytics.proto.SharingLog.SetAccount set_account = 73;
inline bool SharingLog::has_set_account() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000040U);
PROTOBUF_ASSUME(!value || _impl_.set_account_ != nullptr);
return value;
}
inline void SharingLog::clear_set_account() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_account_ != nullptr) _impl_.set_account_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000040U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetAccount& SharingLog::_internal_set_account() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_SetAccount* p = _impl_.set_account_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_SetAccount&>(::nearby::sharing::analytics::proto::_SharingLog_SetAccount_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_SetAccount& SharingLog::set_account() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.set_account)
return _internal_set_account();
}
inline void SharingLog::unsafe_arena_set_allocated_set_account(
::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_account_);
}
_impl_.set_account_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetAccount*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000040U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000040U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_account)
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE SharingLog::release_set_account() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_SetAccount* released = _impl_.set_account_;
_impl_.set_account_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_set_account() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.set_account)
ClearHasBit(_impl_._has_bits_[2], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_SetAccount* temp = _impl_.set_account_;
_impl_.set_account_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NONNULL SharingLog::_internal_mutable_set_account() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.set_account_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_SetAccount>(GetArena());
_impl_.set_account_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetAccount*>(p);
}
return _impl_.set_account_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NONNULL SharingLog::mutable_set_account()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000040U);
::nearby::sharing::analytics::proto::SharingLog_SetAccount* _msg = _internal_mutable_set_account();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.set_account)
return _msg;
}
inline void SharingLog::set_allocated_set_account(::nearby::sharing::analytics::proto::SharingLog_SetAccount* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.set_account_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000040U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000040U);
}
_impl_.set_account_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_SetAccount*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.set_account)
}
// optional .nearby.sharing.analytics.proto.SharingLog.DecryptCertificateFailure decrypt_certificate_failure = 74;
inline bool SharingLog::has_decrypt_certificate_failure() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000080U);
PROTOBUF_ASSUME(!value || _impl_.decrypt_certificate_failure_ != nullptr);
return value;
}
inline void SharingLog::clear_decrypt_certificate_failure() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.decrypt_certificate_failure_ != nullptr) _impl_.decrypt_certificate_failure_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000080U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure& SharingLog::_internal_decrypt_certificate_failure() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* p = _impl_.decrypt_certificate_failure_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure&>(::nearby::sharing::analytics::proto::_SharingLog_DecryptCertificateFailure_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure& SharingLog::decrypt_certificate_failure() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.decrypt_certificate_failure)
return _internal_decrypt_certificate_failure();
}
inline void SharingLog::unsafe_arena_set_allocated_decrypt_certificate_failure(
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.decrypt_certificate_failure_);
}
_impl_.decrypt_certificate_failure_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000080U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000080U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.decrypt_certificate_failure)
}
inline ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE SharingLog::release_decrypt_certificate_failure() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* released = _impl_.decrypt_certificate_failure_;
_impl_.decrypt_certificate_failure_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_decrypt_certificate_failure() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.decrypt_certificate_failure)
ClearHasBit(_impl_._has_bits_[2], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* temp = _impl_.decrypt_certificate_failure_;
_impl_.decrypt_certificate_failure_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL SharingLog::_internal_mutable_decrypt_certificate_failure() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.decrypt_certificate_failure_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure>(GetArena());
_impl_.decrypt_certificate_failure_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure*>(p);
}
return _impl_.decrypt_certificate_failure_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NONNULL SharingLog::mutable_decrypt_certificate_failure()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000080U);
::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* _msg = _internal_mutable_decrypt_certificate_failure();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.decrypt_certificate_failure)
return _msg;
}
inline void SharingLog::set_allocated_decrypt_certificate_failure(::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.decrypt_certificate_failure_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000080U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000080U);
}
_impl_.decrypt_certificate_failure_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_DecryptCertificateFailure*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.decrypt_certificate_failure)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShowAllowPermissionAutoAccess show_allow_permission_auto_access = 75;
inline bool SharingLog::has_show_allow_permission_auto_access() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000100U);
PROTOBUF_ASSUME(!value || _impl_.show_allow_permission_auto_access_ != nullptr);
return value;
}
inline void SharingLog::clear_show_allow_permission_auto_access() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.show_allow_permission_auto_access_ != nullptr) _impl_.show_allow_permission_auto_access_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000100U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess& SharingLog::_internal_show_allow_permission_auto_access() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* p = _impl_.show_allow_permission_auto_access_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess&>(::nearby::sharing::analytics::proto::_SharingLog_ShowAllowPermissionAutoAccess_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess& SharingLog::show_allow_permission_auto_access() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.show_allow_permission_auto_access)
return _internal_show_allow_permission_auto_access();
}
inline void SharingLog::unsafe_arena_set_allocated_show_allow_permission_auto_access(
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.show_allow_permission_auto_access_);
}
_impl_.show_allow_permission_auto_access_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000100U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000100U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.show_allow_permission_auto_access)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE SharingLog::release_show_allow_permission_auto_access() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* released = _impl_.show_allow_permission_auto_access_;
_impl_.show_allow_permission_auto_access_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_show_allow_permission_auto_access() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.show_allow_permission_auto_access)
ClearHasBit(_impl_._has_bits_[2], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* temp = _impl_.show_allow_permission_auto_access_;
_impl_.show_allow_permission_auto_access_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL SharingLog::_internal_mutable_show_allow_permission_auto_access() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.show_allow_permission_auto_access_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess>(GetArena());
_impl_.show_allow_permission_auto_access_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess*>(p);
}
return _impl_.show_allow_permission_auto_access_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NONNULL SharingLog::mutable_show_allow_permission_auto_access()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000100U);
::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* _msg = _internal_mutable_show_allow_permission_auto_access();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.show_allow_permission_auto_access)
return _msg;
}
inline void SharingLog::set_allocated_show_allow_permission_auto_access(::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.show_allow_permission_auto_access_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000100U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000100U);
}
_impl_.show_allow_permission_auto_access_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShowAllowPermissionAutoAccess*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.show_allow_permission_auto_access)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ShowWaitingForAccept show_waiting_for_accept = 76;
inline bool SharingLog::has_show_waiting_for_accept() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000200U);
PROTOBUF_ASSUME(!value || _impl_.show_waiting_for_accept_ != nullptr);
return value;
}
inline void SharingLog::clear_show_waiting_for_accept() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.show_waiting_for_accept_ != nullptr) _impl_.show_waiting_for_accept_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000200U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept& SharingLog::_internal_show_waiting_for_accept() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* p = _impl_.show_waiting_for_accept_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept&>(::nearby::sharing::analytics::proto::_SharingLog_ShowWaitingForAccept_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept& SharingLog::show_waiting_for_accept() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.show_waiting_for_accept)
return _internal_show_waiting_for_accept();
}
inline void SharingLog::unsafe_arena_set_allocated_show_waiting_for_accept(
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.show_waiting_for_accept_);
}
_impl_.show_waiting_for_accept_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000200U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000200U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.show_waiting_for_accept)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE SharingLog::release_show_waiting_for_accept() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* released = _impl_.show_waiting_for_accept_;
_impl_.show_waiting_for_accept_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_show_waiting_for_accept() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.show_waiting_for_accept)
ClearHasBit(_impl_._has_bits_[2], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* temp = _impl_.show_waiting_for_accept_;
_impl_.show_waiting_for_accept_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL SharingLog::_internal_mutable_show_waiting_for_accept() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.show_waiting_for_accept_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept>(GetArena());
_impl_.show_waiting_for_accept_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept*>(p);
}
return _impl_.show_waiting_for_accept_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NONNULL SharingLog::mutable_show_waiting_for_accept()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000200U);
::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* _msg = _internal_mutable_show_waiting_for_accept();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.show_waiting_for_accept)
return _msg;
}
inline void SharingLog::set_allocated_show_waiting_for_accept(::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.show_waiting_for_accept_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000200U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000200U);
}
_impl_.show_waiting_for_accept_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ShowWaitingForAccept*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.show_waiting_for_accept)
}
// optional .nearby.sharing.analytics.proto.SharingLog.HighQualityMediumSetup high_quality_medium_setup = 77;
inline bool SharingLog::has_high_quality_medium_setup() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000400U);
PROTOBUF_ASSUME(!value || _impl_.high_quality_medium_setup_ != nullptr);
return value;
}
inline void SharingLog::clear_high_quality_medium_setup() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.high_quality_medium_setup_ != nullptr) _impl_.high_quality_medium_setup_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000400U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup& SharingLog::_internal_high_quality_medium_setup() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* p = _impl_.high_quality_medium_setup_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup&>(::nearby::sharing::analytics::proto::_SharingLog_HighQualityMediumSetup_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup& SharingLog::high_quality_medium_setup() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.high_quality_medium_setup)
return _internal_high_quality_medium_setup();
}
inline void SharingLog::unsafe_arena_set_allocated_high_quality_medium_setup(
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.high_quality_medium_setup_);
}
_impl_.high_quality_medium_setup_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000400U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000400U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.high_quality_medium_setup)
}
inline ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE SharingLog::release_high_quality_medium_setup() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* released = _impl_.high_quality_medium_setup_;
_impl_.high_quality_medium_setup_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_high_quality_medium_setup() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.high_quality_medium_setup)
ClearHasBit(_impl_._has_bits_[2], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* temp = _impl_.high_quality_medium_setup_;
_impl_.high_quality_medium_setup_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL SharingLog::_internal_mutable_high_quality_medium_setup() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.high_quality_medium_setup_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup>(GetArena());
_impl_.high_quality_medium_setup_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup*>(p);
}
return _impl_.high_quality_medium_setup_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NONNULL SharingLog::mutable_high_quality_medium_setup()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000400U);
::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* _msg = _internal_mutable_high_quality_medium_setup();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.high_quality_medium_setup)
return _msg;
}
inline void SharingLog::set_allocated_high_quality_medium_setup(::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.high_quality_medium_setup_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000400U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000400U);
}
_impl_.high_quality_medium_setup_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_HighQualityMediumSetup*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.high_quality_medium_setup)
}
// optional .nearby.sharing.analytics.proto.SharingLog.RpcCallStatus rpc_call_status = 78;
inline bool SharingLog::has_rpc_call_status() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00000800U);
PROTOBUF_ASSUME(!value || _impl_.rpc_call_status_ != nullptr);
return value;
}
inline void SharingLog::clear_rpc_call_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.rpc_call_status_ != nullptr) _impl_.rpc_call_status_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00000800U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus& SharingLog::_internal_rpc_call_status() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* p = _impl_.rpc_call_status_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus&>(::nearby::sharing::analytics::proto::_SharingLog_RpcCallStatus_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus& SharingLog::rpc_call_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.rpc_call_status)
return _internal_rpc_call_status();
}
inline void SharingLog::unsafe_arena_set_allocated_rpc_call_status(
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rpc_call_status_);
}
_impl_.rpc_call_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00000800U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000800U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.rpc_call_status)
}
inline ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE SharingLog::release_rpc_call_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* released = _impl_.rpc_call_status_;
_impl_.rpc_call_status_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_rpc_call_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.rpc_call_status)
ClearHasBit(_impl_._has_bits_[2], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* temp = _impl_.rpc_call_status_;
_impl_.rpc_call_status_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NONNULL SharingLog::_internal_mutable_rpc_call_status() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.rpc_call_status_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus>(GetArena());
_impl_.rpc_call_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus*>(p);
}
return _impl_.rpc_call_status_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NONNULL SharingLog::mutable_rpc_call_status()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00000800U);
::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* _msg = _internal_mutable_rpc_call_status();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.rpc_call_status)
return _msg;
}
inline void SharingLog::set_allocated_rpc_call_status(::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rpc_call_status_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00000800U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00000800U);
}
_impl_.rpc_call_status_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.rpc_call_status)
}
// optional .nearby.sharing.analytics.proto.SharingLog.StartQrCodeSession start_qr_code_session = 79;
inline bool SharingLog::has_start_qr_code_session() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00001000U);
PROTOBUF_ASSUME(!value || _impl_.start_qr_code_session_ != nullptr);
return value;
}
inline void SharingLog::clear_start_qr_code_session() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.start_qr_code_session_ != nullptr) _impl_.start_qr_code_session_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00001000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession& SharingLog::_internal_start_qr_code_session() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* p = _impl_.start_qr_code_session_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession&>(::nearby::sharing::analytics::proto::_SharingLog_StartQrCodeSession_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession& SharingLog::start_qr_code_session() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.start_qr_code_session)
return _internal_start_qr_code_session();
}
inline void SharingLog::unsafe_arena_set_allocated_start_qr_code_session(
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_qr_code_session_);
}
_impl_.start_qr_code_session_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00001000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00001000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.start_qr_code_session)
}
inline ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE SharingLog::release_start_qr_code_session() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* released = _impl_.start_qr_code_session_;
_impl_.start_qr_code_session_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_start_qr_code_session() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.start_qr_code_session)
ClearHasBit(_impl_._has_bits_[2], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* temp = _impl_.start_qr_code_session_;
_impl_.start_qr_code_session_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NONNULL SharingLog::_internal_mutable_start_qr_code_session() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.start_qr_code_session_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession>(GetArena());
_impl_.start_qr_code_session_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession*>(p);
}
return _impl_.start_qr_code_session_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NONNULL SharingLog::mutable_start_qr_code_session()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00001000U);
::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* _msg = _internal_mutable_start_qr_code_session();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.start_qr_code_session)
return _msg;
}
inline void SharingLog::set_allocated_start_qr_code_session(::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_qr_code_session_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00001000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00001000U);
}
_impl_.start_qr_code_session_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_StartQrCodeSession*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.start_qr_code_session)
}
// optional .nearby.sharing.analytics.proto.SharingLog.QrCodeOpenedInWebClient qr_code_opened_in_web_client = 80;
inline bool SharingLog::has_qr_code_opened_in_web_client() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00002000U);
PROTOBUF_ASSUME(!value || _impl_.qr_code_opened_in_web_client_ != nullptr);
return value;
}
inline void SharingLog::clear_qr_code_opened_in_web_client() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.qr_code_opened_in_web_client_ != nullptr) _impl_.qr_code_opened_in_web_client_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00002000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient& SharingLog::_internal_qr_code_opened_in_web_client() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* p = _impl_.qr_code_opened_in_web_client_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient&>(::nearby::sharing::analytics::proto::_SharingLog_QrCodeOpenedInWebClient_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient& SharingLog::qr_code_opened_in_web_client() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.qr_code_opened_in_web_client)
return _internal_qr_code_opened_in_web_client();
}
inline void SharingLog::unsafe_arena_set_allocated_qr_code_opened_in_web_client(
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.qr_code_opened_in_web_client_);
}
_impl_.qr_code_opened_in_web_client_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00002000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00002000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.qr_code_opened_in_web_client)
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE SharingLog::release_qr_code_opened_in_web_client() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* released = _impl_.qr_code_opened_in_web_client_;
_impl_.qr_code_opened_in_web_client_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_qr_code_opened_in_web_client() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.qr_code_opened_in_web_client)
ClearHasBit(_impl_._has_bits_[2], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* temp = _impl_.qr_code_opened_in_web_client_;
_impl_.qr_code_opened_in_web_client_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL SharingLog::_internal_mutable_qr_code_opened_in_web_client() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.qr_code_opened_in_web_client_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient>(GetArena());
_impl_.qr_code_opened_in_web_client_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient*>(p);
}
return _impl_.qr_code_opened_in_web_client_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NONNULL SharingLog::mutable_qr_code_opened_in_web_client()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00002000U);
::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* _msg = _internal_mutable_qr_code_opened_in_web_client();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.qr_code_opened_in_web_client)
return _msg;
}
inline void SharingLog::set_allocated_qr_code_opened_in_web_client(::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.qr_code_opened_in_web_client_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00002000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00002000U);
}
_impl_.qr_code_opened_in_web_client_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.qr_code_opened_in_web_client)
}
// optional .nearby.sharing.analytics.proto.SharingLog.HatsJointEvent hats_joint_event = 81;
inline bool SharingLog::has_hats_joint_event() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00004000U);
PROTOBUF_ASSUME(!value || _impl_.hats_joint_event_ != nullptr);
return value;
}
inline void SharingLog::clear_hats_joint_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.hats_joint_event_ != nullptr) _impl_.hats_joint_event_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00004000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent& SharingLog::_internal_hats_joint_event() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* p = _impl_.hats_joint_event_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent&>(::nearby::sharing::analytics::proto::_SharingLog_HatsJointEvent_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent& SharingLog::hats_joint_event() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.hats_joint_event)
return _internal_hats_joint_event();
}
inline void SharingLog::unsafe_arena_set_allocated_hats_joint_event(
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.hats_joint_event_);
}
_impl_.hats_joint_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00004000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00004000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.hats_joint_event)
}
inline ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE SharingLog::release_hats_joint_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* released = _impl_.hats_joint_event_;
_impl_.hats_joint_event_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_hats_joint_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.hats_joint_event)
ClearHasBit(_impl_._has_bits_[2], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* temp = _impl_.hats_joint_event_;
_impl_.hats_joint_event_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NONNULL SharingLog::_internal_mutable_hats_joint_event() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.hats_joint_event_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent>(GetArena());
_impl_.hats_joint_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent*>(p);
}
return _impl_.hats_joint_event_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NONNULL SharingLog::mutable_hats_joint_event()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00004000U);
::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* _msg = _internal_mutable_hats_joint_event();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.hats_joint_event)
return _msg;
}
inline void SharingLog::set_allocated_hats_joint_event(::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.hats_joint_event_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00004000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00004000U);
}
_impl_.hats_joint_event_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_HatsJointEvent*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.hats_joint_event)
}
// optional .nearby.sharing.analytics.proto.SharingLog.ReceivePreviews receive_previews = 82;
inline bool SharingLog::has_receive_previews() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00008000U);
PROTOBUF_ASSUME(!value || _impl_.receive_previews_ != nullptr);
return value;
}
inline void SharingLog::clear_receive_previews() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_previews_ != nullptr) _impl_.receive_previews_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00008000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews& SharingLog::_internal_receive_previews() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* p = _impl_.receive_previews_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews&>(::nearby::sharing::analytics::proto::_SharingLog_ReceivePreviews_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews& SharingLog::receive_previews() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.receive_previews)
return _internal_receive_previews();
}
inline void SharingLog::unsafe_arena_set_allocated_receive_previews(
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_previews_);
}
_impl_.receive_previews_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00008000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00008000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_previews)
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE SharingLog::release_receive_previews() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* released = _impl_.receive_previews_;
_impl_.receive_previews_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_receive_previews() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.receive_previews)
ClearHasBit(_impl_._has_bits_[2], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* temp = _impl_.receive_previews_;
_impl_.receive_previews_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NONNULL SharingLog::_internal_mutable_receive_previews() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.receive_previews_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews>(GetArena());
_impl_.receive_previews_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews*>(p);
}
return _impl_.receive_previews_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NONNULL SharingLog::mutable_receive_previews()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00008000U);
::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* _msg = _internal_mutable_receive_previews();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.receive_previews)
return _msg;
}
inline void SharingLog::set_allocated_receive_previews(::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.receive_previews_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00008000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00008000U);
}
_impl_.receive_previews_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_ReceivePreviews*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.receive_previews)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudCreateSharingRequest cloud_create_sharing_request = 83;
inline bool SharingLog::has_cloud_create_sharing_request() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00010000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_create_sharing_request_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_create_sharing_request() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_create_sharing_request_ != nullptr) _impl_.cloud_create_sharing_request_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00010000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest& SharingLog::_internal_cloud_create_sharing_request() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* p = _impl_.cloud_create_sharing_request_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest&>(::nearby::sharing::analytics::proto::_SharingLog_CloudCreateSharingRequest_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest& SharingLog::cloud_create_sharing_request() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_create_sharing_request)
return _internal_cloud_create_sharing_request();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_create_sharing_request(
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_create_sharing_request_);
}
_impl_.cloud_create_sharing_request_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00010000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00010000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_create_sharing_request)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE SharingLog::release_cloud_create_sharing_request() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* released = _impl_.cloud_create_sharing_request_;
_impl_.cloud_create_sharing_request_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_create_sharing_request() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_create_sharing_request)
ClearHasBit(_impl_._has_bits_[2], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* temp = _impl_.cloud_create_sharing_request_;
_impl_.cloud_create_sharing_request_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_create_sharing_request() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_create_sharing_request_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest>(GetArena());
_impl_.cloud_create_sharing_request_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest*>(p);
}
return _impl_.cloud_create_sharing_request_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NONNULL SharingLog::mutable_cloud_create_sharing_request()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00010000U);
::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* _msg = _internal_mutable_cloud_create_sharing_request();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_create_sharing_request)
return _msg;
}
inline void SharingLog::set_allocated_cloud_create_sharing_request(::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_create_sharing_request_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00010000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00010000U);
}
_impl_.cloud_create_sharing_request_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudCreateSharingRequest*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_create_sharing_request)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudRegisterReceiver cloud_register_receiver = 84;
inline bool SharingLog::has_cloud_register_receiver() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00020000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_register_receiver_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_register_receiver() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_register_receiver_ != nullptr) _impl_.cloud_register_receiver_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00020000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver& SharingLog::_internal_cloud_register_receiver() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* p = _impl_.cloud_register_receiver_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver&>(::nearby::sharing::analytics::proto::_SharingLog_CloudRegisterReceiver_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver& SharingLog::cloud_register_receiver() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_register_receiver)
return _internal_cloud_register_receiver();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_register_receiver(
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_register_receiver_);
}
_impl_.cloud_register_receiver_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00020000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00020000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_register_receiver)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE SharingLog::release_cloud_register_receiver() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* released = _impl_.cloud_register_receiver_;
_impl_.cloud_register_receiver_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_register_receiver() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_register_receiver)
ClearHasBit(_impl_._has_bits_[2], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* temp = _impl_.cloud_register_receiver_;
_impl_.cloud_register_receiver_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_register_receiver() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_register_receiver_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver>(GetArena());
_impl_.cloud_register_receiver_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver*>(p);
}
return _impl_.cloud_register_receiver_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NONNULL SharingLog::mutable_cloud_register_receiver()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00020000U);
::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* _msg = _internal_mutable_cloud_register_receiver();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_register_receiver)
return _msg;
}
inline void SharingLog::set_allocated_cloud_register_receiver(::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_register_receiver_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00020000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00020000U);
}
_impl_.cloud_register_receiver_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudRegisterReceiver*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_register_receiver)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudUploadStart cloud_upload_start = 85;
inline bool SharingLog::has_cloud_upload_start() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00040000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_upload_start_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_upload_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_upload_start_ != nullptr) _impl_.cloud_upload_start_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00040000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart& SharingLog::_internal_cloud_upload_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* p = _impl_.cloud_upload_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart&>(::nearby::sharing::analytics::proto::_SharingLog_CloudUploadStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart& SharingLog::cloud_upload_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_upload_start)
return _internal_cloud_upload_start();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_upload_start(
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_upload_start_);
}
_impl_.cloud_upload_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00040000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00040000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_upload_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE SharingLog::release_cloud_upload_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* released = _impl_.cloud_upload_start_;
_impl_.cloud_upload_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_upload_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_upload_start)
ClearHasBit(_impl_._has_bits_[2], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* temp = _impl_.cloud_upload_start_;
_impl_.cloud_upload_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_upload_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_upload_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart>(GetArena());
_impl_.cloud_upload_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart*>(p);
}
return _impl_.cloud_upload_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NONNULL SharingLog::mutable_cloud_upload_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00040000U);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* _msg = _internal_mutable_cloud_upload_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_upload_start)
return _msg;
}
inline void SharingLog::set_allocated_cloud_upload_start(::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_upload_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00040000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00040000U);
}
_impl_.cloud_upload_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudUploadStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_upload_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudUploadEnd cloud_upload_end = 86;
inline bool SharingLog::has_cloud_upload_end() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00080000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_upload_end_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_upload_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_upload_end_ != nullptr) _impl_.cloud_upload_end_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00080000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd& SharingLog::_internal_cloud_upload_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* p = _impl_.cloud_upload_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd&>(::nearby::sharing::analytics::proto::_SharingLog_CloudUploadEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd& SharingLog::cloud_upload_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_upload_end)
return _internal_cloud_upload_end();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_upload_end(
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_upload_end_);
}
_impl_.cloud_upload_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00080000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00080000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_upload_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE SharingLog::release_cloud_upload_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* released = _impl_.cloud_upload_end_;
_impl_.cloud_upload_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_upload_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_upload_end)
ClearHasBit(_impl_._has_bits_[2], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* temp = _impl_.cloud_upload_end_;
_impl_.cloud_upload_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_upload_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_upload_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd>(GetArena());
_impl_.cloud_upload_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd*>(p);
}
return _impl_.cloud_upload_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NONNULL SharingLog::mutable_cloud_upload_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00080000U);
::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* _msg = _internal_mutable_cloud_upload_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_upload_end)
return _msg;
}
inline void SharingLog::set_allocated_cloud_upload_end(::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_upload_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00080000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00080000U);
}
_impl_.cloud_upload_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudUploadEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_upload_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudDownloadStart cloud_download_start = 87;
inline bool SharingLog::has_cloud_download_start() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00100000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_download_start_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_download_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_download_start_ != nullptr) _impl_.cloud_download_start_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00100000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart& SharingLog::_internal_cloud_download_start() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* p = _impl_.cloud_download_start_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart&>(::nearby::sharing::analytics::proto::_SharingLog_CloudDownloadStart_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart& SharingLog::cloud_download_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_download_start)
return _internal_cloud_download_start();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_download_start(
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_download_start_);
}
_impl_.cloud_download_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00100000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00100000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_download_start)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE SharingLog::release_cloud_download_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* released = _impl_.cloud_download_start_;
_impl_.cloud_download_start_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_download_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_download_start)
ClearHasBit(_impl_._has_bits_[2], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* temp = _impl_.cloud_download_start_;
_impl_.cloud_download_start_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_download_start() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_download_start_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart>(GetArena());
_impl_.cloud_download_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart*>(p);
}
return _impl_.cloud_download_start_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NONNULL SharingLog::mutable_cloud_download_start()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00100000U);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* _msg = _internal_mutable_cloud_download_start();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_download_start)
return _msg;
}
inline void SharingLog::set_allocated_cloud_download_start(::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_download_start_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00100000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00100000U);
}
_impl_.cloud_download_start_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadStart*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_download_start)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudDownloadEnd cloud_download_end = 88;
inline bool SharingLog::has_cloud_download_end() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00200000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_download_end_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_download_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_download_end_ != nullptr) _impl_.cloud_download_end_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00200000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd& SharingLog::_internal_cloud_download_end() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* p = _impl_.cloud_download_end_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd&>(::nearby::sharing::analytics::proto::_SharingLog_CloudDownloadEnd_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd& SharingLog::cloud_download_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_download_end)
return _internal_cloud_download_end();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_download_end(
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_download_end_);
}
_impl_.cloud_download_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00200000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00200000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_download_end)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE SharingLog::release_cloud_download_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* released = _impl_.cloud_download_end_;
_impl_.cloud_download_end_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_download_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_download_end)
ClearHasBit(_impl_._has_bits_[2], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* temp = _impl_.cloud_download_end_;
_impl_.cloud_download_end_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_download_end() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_download_end_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd>(GetArena());
_impl_.cloud_download_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd*>(p);
}
return _impl_.cloud_download_end_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NONNULL SharingLog::mutable_cloud_download_end()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00200000U);
::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* _msg = _internal_mutable_cloud_download_end();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_download_end)
return _msg;
}
inline void SharingLog::set_allocated_cloud_download_end(::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_download_end_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00200000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00200000U);
}
_impl_.cloud_download_end_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudDownloadEnd*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_download_end)
}
// optional .nearby.sharing.analytics.proto.SharingLog.CloudSharingRpcResult cloud_sharing_rpc_result = 89;
inline bool SharingLog::has_cloud_sharing_rpc_result() const {
bool value = CheckHasBit(_impl_._has_bits_[2], 0x00400000U);
PROTOBUF_ASSUME(!value || _impl_.cloud_sharing_rpc_result_ != nullptr);
return value;
}
inline void SharingLog::clear_cloud_sharing_rpc_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_sharing_rpc_result_ != nullptr) _impl_.cloud_sharing_rpc_result_->Clear();
ClearHasBit(_impl_._has_bits_[2],
0x00400000U);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult& SharingLog::_internal_cloud_sharing_rpc_result() const {
::google::protobuf::internal::TSanRead(&_impl_);
const ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* p = _impl_.cloud_sharing_rpc_result_;
return p != nullptr ? *p : reinterpret_cast<const ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult&>(::nearby::sharing::analytics::proto::_SharingLog_CloudSharingRpcResult_default_instance_);
}
inline const ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult& SharingLog::cloud_sharing_rpc_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nearby.sharing.analytics.proto.SharingLog.cloud_sharing_rpc_result)
return _internal_cloud_sharing_rpc_result();
}
inline void SharingLog::unsafe_arena_set_allocated_cloud_sharing_rpc_result(
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (GetArena() == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_sharing_rpc_result_);
}
_impl_.cloud_sharing_rpc_result_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult*>(value);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[2], 0x00400000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00400000U);
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_sharing_rpc_result)
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE SharingLog::release_cloud_sharing_rpc_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
ClearHasBit(_impl_._has_bits_[2], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* released = _impl_.cloud_sharing_rpc_result_;
_impl_.cloud_sharing_rpc_result_ = nullptr;
if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
if (GetArena() == nullptr) {
delete old;
}
} else {
if (GetArena() != nullptr) {
released = ::google::protobuf::internal::DuplicateIfNonNull(released);
}
}
return released;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE SharingLog::unsafe_arena_release_cloud_sharing_rpc_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nearby.sharing.analytics.proto.SharingLog.cloud_sharing_rpc_result)
ClearHasBit(_impl_._has_bits_[2], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* temp = _impl_.cloud_sharing_rpc_result_;
_impl_.cloud_sharing_rpc_result_ = nullptr;
return temp;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL SharingLog::_internal_mutable_cloud_sharing_rpc_result() {
::google::protobuf::internal::TSanWrite(&_impl_);
if (_impl_.cloud_sharing_rpc_result_ == nullptr) {
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult>(GetArena());
_impl_.cloud_sharing_rpc_result_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult*>(p);
}
return _impl_.cloud_sharing_rpc_result_;
}
inline ::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NONNULL SharingLog::mutable_cloud_sharing_rpc_result()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[2], 0x00400000U);
::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* _msg = _internal_mutable_cloud_sharing_rpc_result();
// @@protoc_insertion_point(field_mutable:nearby.sharing.analytics.proto.SharingLog.cloud_sharing_rpc_result)
return _msg;
}
inline void SharingLog::set_allocated_cloud_sharing_rpc_result(::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult* PROTOBUF_NULLABLE value) {
::google::protobuf::Arena* message_arena = GetArena();
::google::protobuf::internal::TSanWrite(&_impl_);
if (message_arena == nullptr) {
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cloud_sharing_rpc_result_);
}
if (value != nullptr) {
::google::protobuf::Arena* submessage_arena = value->GetArena();
if (message_arena != submessage_arena) {
value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
}
SetHasBit(_impl_._has_bits_[2], 0x00400000U);
} else {
ClearHasBit(_impl_._has_bits_[2], 0x00400000U);
}
_impl_.cloud_sharing_rpc_result_ = reinterpret_cast<::nearby::sharing::analytics::proto::SharingLog_CloudSharingRpcResult*>(value);
// @@protoc_insertion_point(field_set_allocated:nearby.sharing.analytics.proto.SharingLog.cloud_sharing_rpc_result)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace proto
} // namespace analytics
} // namespace sharing
} // namespace nearby
namespace google {
namespace protobuf {
template <>
struct is_proto_enum<::nearby::sharing::analytics::proto::SharingLog_TextAttachment_Type> : std::true_type {};
template <>
struct is_proto_enum<::nearby::sharing::analytics::proto::SharingLog_FileAttachment_Type> : std::true_type {};
template <>
struct is_proto_enum<::nearby::sharing::analytics::proto::SharingLog_RpcCallStatus_RpcDirection> : std::true_type {};
template <>
struct is_proto_enum<::nearby::sharing::analytics::proto::SharingLog_QrCodeOpenedInWebClient_ClientPlatform> : std::true_type {};
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // sharing_2fproto_2fanalytics_2fnearby_5fsharing_5flog_2eproto_2epb_2eh