mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Add CloudActionType for CloudDownloadStart and CloudDownloadEnd
PiperOrigin-RevId: 832663739
This commit is contained in:
@@ -1041,12 +1041,13 @@ enum CloudRegisterReceiverResult {
|
||||
// //depot/google3/javascript/net/grpc/web/statuscode.ts
|
||||
// )
|
||||
|
||||
// The action type of uploading files to the cloud. Used by CLOUD_UPLOAD_START
|
||||
// and CLOUD_UPLOAD_END.
|
||||
// The action type of uploading/downloading files to/from the cloud. Used by
|
||||
// CLOUD_UPLOAD_START , CLOUD_UPLOAD_END, CLOUD_DOWNLOAD_START and
|
||||
// CLOUD_DOWNLOAD_END.
|
||||
enum CloudActionType {
|
||||
CLOUD_ACTION_TYPE_UNKNOWN = 0;
|
||||
// The upload is a normal upload.
|
||||
// The action is a normal upload/download.
|
||||
CLOUD_ACTION_TYPE_NORMAL = 1;
|
||||
// The upload is a retry of a previous failed upload.
|
||||
// The action is a retry of a previous failed upload/download.
|
||||
CLOUD_ACTION_TYPE_RETRY = 2;
|
||||
}
|
||||
|
||||
@@ -1084,6 +1084,7 @@ message SharingLog {
|
||||
// event_metadata into the anonymous logs.
|
||||
message CloudDownloadStart {
|
||||
optional AttachmentsInfo attachments_info = 1;
|
||||
optional location.nearby.proto.sharing.CloudActionType action_type = 2;
|
||||
}
|
||||
|
||||
// EventType: CLOUD_DOWNLOAD_END used by QR code cloud web receiver
|
||||
@@ -1091,6 +1092,7 @@ message SharingLog {
|
||||
// event_metadata into the anonymous logs.
|
||||
message CloudDownloadEnd {
|
||||
repeated CloudAttachmentInfo download_infos = 1;
|
||||
optional location.nearby.proto.sharing.CloudActionType action_type = 2;
|
||||
}
|
||||
|
||||
// EventType: CLOUD_SHARING_RPC_RESULT
|
||||
|
||||
Reference in New Issue
Block a user