Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
ClientEvents are used to inform the server of failed and successful connections.
Used in:
Common fields [1-99]
Fields for DISCARDED_EVENTS messages [100-199]
Fields for FAILED_CONNECTION and SUCCESSFUL_CONNECTION messages [200-299] Network type is a value in net::NetworkChangeNotifier::ConnectionType.
Error code should be a net::Error value.
Fields for SUCCESSFUL_CONNECTION messages [300-399]
Used in:
Count of discarded events if the buffer filled up and was trimmed.
Failed connection event: the connection failed to be established or we had a login error.
Successful connection event: information about the last successful connection, including the time at which it was established.
* TAG: 4
(message has no fields)
* TAG: 8
Not used. optional int64 rmq_id = 1;
This is the message ID, set by client, DMP.9 (message_id)
Project ID of the sender, DMP.1
Part of DMRequest - also the key in DataMessageProto.
Package name. DMP.2
The collapsed key, DMP.3
User data + GOOGLE. prefixed special entries, DMP.4
Not used.
Part of the ACK protocol, returned in DataMessageResponse on server side. It's part of the key of DMP.
In-stream ack. Increments on each message sent - a bit redundant Not used in DMP/DMR.
Sent by the device shortly after registration.
serial number of the target user, DMP.8 It is the 'serial number' according to user manager.
Time to live, in seconds.
Timestamp ( according to client ) when message was sent by app, in seconds
How long has the message been queued before the flush, in seconds. This is needed to account for the time difference between server and client: server should adjust 'sent' based on its 'receive' time.
Optional field containing the binary payload of the message.
If set the server requests immediate ack. Used for important messages and for testing.
Used in:
,Used in:
,12: SelectiveAck 13: StreamAck
* TAG: 1
Used in:
* TAG: 0
Used in:
* TAG: 7 IqRequest must contain a single extension. IqResponse may contain 0 or 1 extensions.
Only field used in the 38+ protocol (besides common last_stream_id_received, status, rmq_id)
Used in:
* TAG: 2
Must be present ( proto required ), may be empty
string. mcs.android.com.
Decimal android ID
Secret
Format is: android-HEX_DEVICE_ID The user is the decimal value.
RMQ1 - no longer used
optional int32 compress = 9;
Must be true.
ANDROID_ID = 2
Events recorded on the client after the last successful connection.
Used in:
* TAG: 3
Not used.
Null if login was ok.
Should be "1"
used by the client to synchronize with the server timestamp.
* Included in IQ sent after LoginResponse from server with ID 12.
Used in:
,* Included in IQ with ID 13, sent from client or server after 10 unconfirmed messages.
No last_streamid_received required. This is included within an IqStanza, which includes the last_stream_id_received.
(message has no fields)