...text exposed to open source public git repo

PiperOrigin-RevId: 811556503
This commit is contained in:
hai007
2025-09-25 17:04:33 -07:00
committed by Copybara-Service
parent fd30f45530
commit 482d7f773d
2 changed files with 23 additions and 2 deletions
+4 -1
View File
@@ -32,7 +32,7 @@ option objc_class_prefix = "GNSHP";
// in NearbyClearcutLogger (for android, or clearcut_event_logger as the
// equivalence for Windows) for all events (may exclude settings), and
// session_id for a pair of events (start and end of a session).
// Next id: 78
// Next id: 80
enum EventType {
UNKNOWN_EVENT_TYPE = 0;
@@ -324,6 +324,9 @@ enum EventType {
CLOUD_UPLOAD_START = 76
/*[ device_role = DEVICE_ROLE_INITIATOR ]*/;
CLOUD_UPLOAD_END = 77 /*[ device_role = DEVICE_ROLE_INITIATOR ]*/;
CLOUD_DOWNLOAD_START = 78
/*[ device_role = DEVICE_ROLE_REMOTE ]*/;
CLOUD_DOWNLOAD_END = 79 /*[ device_role = DEVICE_ROLE_REMOTE ]*/;
// QR code cloud sharing events end.
// LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode)
@@ -30,7 +30,7 @@ option objc_class_prefix = "GNCP";
// Top-level log proto for all NearbySharing logging.
// Each log contains a key (event_type), value (a verb-noun event) pair.
// Next Tag: 87
// Next Tag: 89
// LINT.IfChange
message SharingLog {
/* justification = {
@@ -235,6 +235,10 @@ message SharingLog {
optional CloudUploadEnd cloud_upload_end = 86;
optional CloudDownloadStart cloud_download_start = 87;
optional CloudDownloadEnd cloud_download_end = 88;
// Used only for Nearby Share Windows app now.
message AppInfo {
// e.g. "1.0.408"
@@ -1061,5 +1065,19 @@ message SharingLog {
message CloudUploadEnd {
repeated CloudAttachmentInfo upload_infos = 1;
}
// EventType: CLOUD_DOWNLOAD_START used by QR code cloud web receiver
// The cloud_sharing_id and cloud_receiver_session_id are logged in the
// event_metadata into the anonymous logs.
message CloudDownloadStart {
optional AttachmentsInfo attachments_info = 1;
}
// EventType: CLOUD_DOWNLOAD_END used by QR code cloud web receiver
// The cloud_sharing_id and cloud_receiver_session_id are logged in the
// event_metadata into the anonymous logs.
message CloudDownloadEnd {
repeated CloudAttachmentInfo download_infos = 1;
}
}
// LINT.ThenChange(//depot/google3/logs/proto/location/nearby/nearby_client_log.proto)