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 "config_data.proto"; |
5 import "enums.proto"; | 6 import "enums.proto"; |
6 import "data.proto"; | 7 import "data.proto"; |
7 message RequestHeader { | 8 message RequestHeader { |
8 optional ClientVersion client_version = 4; | 9 optional ClientVersion client_version = 4; |
9 optional ClientVersion framework_version = 5; | 10 optional ClientVersion framework_version = 5; |
10 optional int64 current_time_millis = 6; | 11 optional int64 current_time_millis = 6; |
11 optional string registered_device_id = 7; | 12 optional string registered_device_id = 7; |
12 repeated string experiment_override = 8; | 13 repeated string experiment_override = 8; |
13 optional DeviceFingerprint device_fingerprint = 10; | 14 optional DeviceFingerprint device_fingerprint = 10; |
14 optional string configuration_etag = 11; | 15 optional string configuration_etag = 11; |
15 } | 16 } |
16 message ResponseHeader { | 17 message ResponseHeader { |
17 optional DebugInfo debug_info = 2; | 18 optional DebugInfo debug_info = 2; |
18 optional Status status = 3; | 19 optional Status status = 3; |
| 20 optional Configuration configuration = 4; |
19 } | 21 } |
20 message RegisterDeviceRequest { | 22 message RegisterDeviceRequest { |
21 optional RequestHeader header = 1; | 23 optional RequestHeader header = 1; |
22 optional PushServiceRegistration push_service = 5; | 24 optional PushServiceRegistration push_service = 5; |
23 optional DeviceIdentifiers device_identifiers = 6; | 25 optional DeviceIdentifiers device_identifiers = 6; |
24 } | 26 } |
25 message RegisterDeviceResponse { | 27 message RegisterDeviceResponse { |
26 optional ResponseHeader header = 1; | 28 optional ResponseHeader header = 1; |
27 optional string registered_device_id = 2; | 29 optional string registered_device_id = 2; |
28 } | 30 } |
(...skipping 28 matching lines...) Expand all Loading... |
57 repeated Directive directive = 4; | 59 repeated Directive directive = 4; |
58 } | 60 } |
59 message ManageMessagesResponse { | 61 message ManageMessagesResponse { |
60 optional util.error.Code status = 1; | 62 optional util.error.Code status = 1; |
61 repeated MessageResult published_message_result = 3; | 63 repeated MessageResult published_message_result = 3; |
62 } | 64 } |
63 message ManageSubscriptionsResponse { | 65 message ManageSubscriptionsResponse { |
64 optional util.error.Code status = 1; | 66 optional util.error.Code status = 1; |
65 repeated SubscriptionResult subscription_result = 3; | 67 repeated SubscriptionResult subscription_result = 3; |
66 } | 68 } |
OLD | NEW |