From 7e99f545e393a21d00a5cee0540ae2c40f7e244b Mon Sep 17 00:00:00 2001 From: fdi Date: Fri, 24 Sep 2021 15:03:29 -0700 Subject: [PATCH] [Sharing][Analytics] Create a new failure type to indicate unknown response from remote side. Since these are not payloads failures, the connection is canceled by local device. FAILED_ATTACHMENT_TRANSMISSION_STATUS is reserved for payload failures. PiperOrigin-RevId: 398821851 --- proto/sharing_enums.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index d7e60ae0..29777ae9 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -251,6 +251,9 @@ enum AttachmentTransmissionStatus { FAILED_NULL_CONNECTION = 14; FAILED_NO_PAYLOAD = 15; FAILED_WRITE_INTRODUCTION = 16; + + // The remote response is either missing or has an unknown type. + FAILED_UNKNOWN_REMOTE_RESPONSE = 17; } // The status of processing attachments after receiver received payloads