mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Update connections_log.proto
1. 2499483 is the "Daily Initial Connection Attempts by Medium" from product data of 2022/10/10 2. http://shortn/_XocswsePbY PiperOrigin-RevId: 482681421
This commit is contained in:
@@ -340,7 +340,7 @@ message ConnectionsLog {
|
||||
optional string connection_token = 8;
|
||||
}
|
||||
|
||||
// Next Id: 20
|
||||
// Next Id: 21
|
||||
message ErrorCode {
|
||||
// The direction (incoming vs outgoing) of this error.
|
||||
optional location.nearby.proto.connections.ConnectionAttemptDirection
|
||||
@@ -376,6 +376,8 @@ message ConnectionsLog {
|
||||
location.nearby.errorcode.proto.ReceivePayloadError
|
||||
receive_payload_error = 18;
|
||||
location.nearby.errorcode.proto.UpgradeError upgrade_error = 19;
|
||||
location.nearby.errorcode.proto.AcceptConnectionError
|
||||
accept_connection_error = 20;
|
||||
}
|
||||
|
||||
// The token use to identify this established connection.
|
||||
|
||||
@@ -360,6 +360,17 @@ enum UpgradeError {
|
||||
// Next ID :33
|
||||
}
|
||||
|
||||
// The error for event ACCEPT_CONNECTION. The range between 31 and 99.
|
||||
enum AcceptConnectionError {
|
||||
// The default value for clearcut
|
||||
UNKNOWN_ACCEPT_CONNECTION_ERROR = 31;
|
||||
|
||||
// Network error, failed to send accept connection.
|
||||
RESPOND_ACCEPT_CONNECTION_FAILED = 32;
|
||||
|
||||
// Next ID :33
|
||||
}
|
||||
|
||||
enum Description {
|
||||
reserved 28, 29;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user