OLD | NEW |
1 syntax = "proto2"; | 1 syntax = "proto2"; |
2 package copresence; | 2 package copresence; |
3 option optimize_for = LITE_RUNTIME; | 3 option optimize_for = LITE_RUNTIME; |
4 import "codes.proto"; | 4 import "codes.proto"; |
5 import "enums.proto"; | 5 import "enums.proto"; |
6 import "data.proto"; | 6 import "data.proto"; |
7 message RequestHeader { | 7 message RequestHeader { |
8 optional ClientVersion client_version = 4; | 8 optional ClientVersion client_version = 4; |
9 optional ClientVersion framework_version = 5; | 9 optional ClientVersion framework_version = 5; |
10 optional int64 current_time_millis = 6; | 10 optional int64 current_time_millis = 6; |
11 optional string registered_device_id = 7; | 11 optional string registered_device_id = 7; |
12 repeated string experiment_override = 8; | 12 repeated string experiment_override = 8; |
| 13 optional DeviceFingerprint device_fingerprint = 10; |
13 optional string configuration_etag = 11; | 14 optional string configuration_etag = 11; |
14 } | 15 } |
15 message ResponseHeader { | 16 message ResponseHeader { |
16 optional DebugInfo debug_info = 2; | 17 optional DebugInfo debug_info = 2; |
17 optional Status status = 3; | 18 optional Status status = 3; |
18 } | 19 } |
19 message RegisterDeviceRequest { | 20 message RegisterDeviceRequest { |
20 optional RequestHeader header = 1; | 21 optional RequestHeader header = 1; |
21 optional PushServiceRegistration push_service = 5; | 22 optional PushServiceRegistration push_service = 5; |
22 optional DeviceIdentifiers device_identifiers = 6; | 23 optional DeviceIdentifiers device_identifiers = 6; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 repeated Directive directive = 4; | 57 repeated Directive directive = 4; |
57 } | 58 } |
58 message ManageMessagesResponse { | 59 message ManageMessagesResponse { |
59 optional util.error.Code status = 1; | 60 optional util.error.Code status = 1; |
60 repeated MessageResult published_message_result = 3; | 61 repeated MessageResult published_message_result = 3; |
61 } | 62 } |
62 message ManageSubscriptionsResponse { | 63 message ManageSubscriptionsResponse { |
63 optional util.error.Code status = 1; | 64 optional util.error.Code status = 1; |
64 repeated SubscriptionResult subscription_result = 3; | 65 repeated SubscriptionResult subscription_result = 3; |
65 } | 66 } |
OLD | NEW |