blob: 6570e4bd0475e3248b0b63b3d08dd0bb570ff108 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
syntax = "proto2";
package copresence;
option optimize_for = LITE_RUNTIME;
enum IdentityType {
IDENTITY_TYPE_UNKNOWN = 0;
GAIA_USER = 1;
CHROMECAST = 2;
ANDROIDOS = 3;
CHROME = 4;
UNREGISTERED = 5;
}
enum PushService {
PUSH_SERVICE_UNKNOWN = 0;
GCM = 1;
APNS = 2;
PUSH_SERVICE_NONE = 3;
}
enum ErrorType {
ERROR_TYPE_UNKNOWN = 0;
TOKEN_EXPIRED = 1;
MAC_ADDRESS_UNAVAILABLE = 2;
MAC_ADDRESS_NEEDS_PERMISSION = 3;
}
enum TokenStatus {
TOKEN_STATUS_UNKNOWN = 0;
VALID = 1;
INVALID = 2;
TRANSITIVE = 3;
}
enum TokenMedium {
TOKEN_MEDIUM_UNKNOWN = 0;
AUDIO_ULTRASOUND_PASSBAND = 1;
BLUETOOTH_CLASSIC_NAME = 2;
BLE_ADVERTISING_PACKET = 3;
WIFI_DIRECT_SSID = 4;
LOCAL_DEVICE = 5;
BLE_GATT_SERVICE = 6;
WIFI_AP_SSID = 7;
AUDIO_AUDIBLE_DTMF = 8;
}
enum AclType {
UNKNOWN_ACL_TYPE = 0;
NO_ACL_CHECK = 1;
OWNER_ONLY = 2;
NAMED_ACL = 4;
MESSAGE_ACL = 5;
REFERENCED_ACL = 6;
OPTED_OUT_MESSAGE_ACL = 7;
}
enum TokenInstructionType {
UNKNOWN_TOKEN_INSTRUCTION_TYPE = 0;
TRANSMIT = 1;
RECEIVE = 2;
}
enum PlatformType {
UNKNOWN_PLATFORM_TYPE = 0;
CHROMECAST_PLATFORM_TYPE = 5;
ANDROID_PLATFORM_TYPE = 6;
IOS_PLATFORM_TYPE = 7;
CHROME_PLATFORM_TYPE = 8;
}
enum InstructionType {
UNKNOWN_INSTRUCTION_TYPE = 0;
TOKEN = 1;
SCAN_WIFI = 2;
SCAN_BLE = 3;
}
enum StatusCode {
STATUS_CODE_UNKNOWN = -1;
OK = 0;
COPRESENCE_DISABLED = 201;
LOCATION_HISTORY_DISABLED = 202;
UNDERAGED = 203;
DEVICE_RE_REGISTRATION_REQUIRED = 204;
RATE_LIMITED = 301;
}
enum OptInState {
UNKNOWN_OPT_IN_STATE = 0;
OPTED_IN = 1;
OPTED_OUT = 2;
}
enum AudioConfiguration {
AUDIO_CONFIGURATION_UNKNOWN = 0;
AUDIO_CONFIGURATION_AUDIBLE = 1;
}
enum BroadcastScanConfiguration {
BROADCAST_SCAN_CONFIGURATION_UNKNOWN = 0;
BROADCAST_AND_SCAN = 1;
BROADCAST_ONLY = 2;
SCAN_ONLY = 3;
}
|