...text exposed to open source public git repo

PiperOrigin-RevId: 822630727
This commit is contained in:
hai007
2025-10-22 09:54:28 -07:00
committed by Copybara-Service
parent 58388bff01
commit 7e8cbfc140
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -1004,3 +1004,13 @@ enum CloudCreateSharingResult {
// LINT.ThenChange(
// //depot/google3/java/com/google/android/gmscore/integ/modules/nearby/src/com/google/android/gms/nearby/sharing/cloud/data/CreateSharingRequestResultStatus.kt
// )
// The action type of uploading files to the cloud. Used by CLOUD_UPLOAD_START
// and CLOUD_UPLOAD_END.
enum CloudActionType {
CLOUD_ACTION_TYPE_UNKNOWN = 0;
// The upload is a normal upload.
CLOUD_ACTION_TYPE_NORMAL = 1;
// The upload is a retry of a previous failed upload.
CLOUD_ACTION_TYPE_RETRY = 2;
}
@@ -1060,12 +1060,14 @@ message SharingLog {
// The cloud_sharing_id and flow_id are logged in the event metadata.
message CloudUploadStart {
optional AttachmentsInfo attachments_info = 1;
optional location.nearby.proto.sharing.CloudActionType action_type = 2;
}
// EventType: CLOUD_UPLOAD_END used by QR code cloud web sender
// The cloud_sharing_id and flow_id are logged in the event metadata.
message CloudUploadEnd {
repeated CloudAttachmentInfo upload_infos = 1;
optional location.nearby.proto.sharing.CloudActionType action_type = 2;
}
// EventType: CLOUD_DOWNLOAD_START used by QR code cloud web receiver