| 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; |
| 18 } | 22 } |
| 19 message DeviceIdentifiers { | 23 message DeviceIdentifiers { |
| 20 optional int32 ulr_device_id = 1; | 24 optional int32 ulr_device_id = 1; |
| 21 optional DeviceIdentity device_identity = 2; | 25 optional DeviceIdentity device_identity = 2; |
| 22 optional Identity registrant = 3; | 26 optional Identity registrant = 3; |
| 23 } | 27 } |
| 24 message Token { | 28 message Token { |
| 25 message Debug { | 29 message Debug { |
| 26 repeated string email = 2; | 30 repeated string email = 2; |
| 27 } | 31 } |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 126 } |
| 123 message MessageResult { | 127 message MessageResult { |
| 124 optional string published_message_id = 1; | 128 optional string published_message_id = 1; |
| 125 } | 129 } |
| 126 message SubscriptionResult { | 130 message SubscriptionResult { |
| 127 optional string subscription_id = 1; | 131 optional string subscription_id = 1; |
| 128 } | 132 } |
| 129 message OptInStateFilter { | 133 message OptInStateFilter { |
| 130 repeated OptInState allowed_opt_in_state = 1; | 134 repeated OptInState allowed_opt_in_state = 1; |
| 131 } | 135 } |
| OLD | NEW |