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 "enums.proto"; | 4 import "enums.proto"; |
5 import "identity.proto"; | 5 import "identity.proto"; |
6 message ClientVersion { | 6 message ClientVersion { |
7 optional string client = 1; | 7 optional string client = 1; |
8 optional string version_name = 2; | 8 optional string version_name = 2; |
9 optional int64 version_code = 3; | 9 optional int64 version_code = 3; |
10 optional string certificate_fingerprint = 4; | 10 optional string certificate_fingerprint = 4; |
11 } | 11 } |
12 message Status { | 12 message Status { |
13 optional StatusCode code = 1; | 13 optional StatusCode code = 1; |
14 optional string message = 2; | 14 optional string message = 2; |
15 } | 15 } |
16 message PushServiceRegistration { | 16 message PushServiceRegistration { |
17 optional PushService service = 1; | 17 optional PushService service = 1; |
18 optional GcmRegistration gcm_registration = 2; | |
19 } | |
20 message GcmRegistration { | |
21 optional string device_token = 1; | |
22 } | 18 } |
23 message DeviceIdentifiers { | 19 message DeviceIdentifiers { |
24 optional int32 ulr_device_id = 1; | 20 optional int32 ulr_device_id = 1; |
25 optional DeviceIdentity device_identity = 2; | 21 optional DeviceIdentity device_identity = 2; |
26 optional Identity registrant = 3; | 22 optional Identity registrant = 3; |
27 } | 23 } |
28 message Token { | 24 message Token { |
29 message Debug { | 25 message Debug { |
30 repeated string email = 2; | 26 repeated string email = 2; |
31 } | 27 } |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 } | 122 } |
127 message MessageResult { | 123 message MessageResult { |
128 optional string published_message_id = 1; | 124 optional string published_message_id = 1; |
129 } | 125 } |
130 message SubscriptionResult { | 126 message SubscriptionResult { |
131 optional string subscription_id = 1; | 127 optional string subscription_id = 1; |
132 } | 128 } |
133 message OptInStateFilter { | 129 message OptInStateFilter { |
134 repeated OptInState allowed_opt_in_state = 1; | 130 repeated OptInState allowed_opt_in_state = 1; |
135 } | 131 } |
OLD | NEW |