summaryrefslogtreecommitdiffstats
path: root/components/copresence/proto/push_message.proto
blob: 239e88525b11e853045ba146603b6ea6fe9b5a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto2";
package copresence;
option optimize_for = LITE_RUNTIME;
import "data.proto";
message PushMessage {
  enum Type {
    TYPE_UNKNOWN = 0;
    SYNC_SETTINGS = 3;
    OBTAIN_MAC = 5;
    NOTIFY_MAC = 6;
    TEST = 7;
    REPORT = 8;
  };
  optional Type type = 1;
  optional Report report = 9;
}
message Report {
  repeated Directive directive = 1;
  repeated SubscribedMessage subscribed_message = 2;
}