3 // Corresponds to struct Client.
5 optional int32 sock = 1;
6 optional string remote_addr = 8;
7 optional int64 connect_time_sec = 13;
8 optional int32 connect_time_nsec = 14;
9 optional int32 state = 2;
10 optional bytes request = 3;
11 optional string url = 4;
12 optional bytes header_or_short_response = 5;
13 optional int64 header_or_short_response_bytes_sent = 6;
14 optional int64 stream_pos = 7;
15 optional int64 bytes_sent = 10;
16 optional int64 bytes_lost = 11;
17 optional int64 num_loss_events = 12;
18 optional bytes referer = 15;
19 optional bytes user_agent = 16;
20 optional bytes tls_context = 17; // If not present, then not using TLS for this client.
21 optional int64 tls_output_bytes_already_consumed = 18;
22 optional bool in_ktls_mode = 19;
25 // Corresponds to struct Stream.
27 optional bytes http_header = 6;
28 optional bytes stream_header = 7;
29 repeated int32 data_fds = 8;
30 optional int64 backlog_size = 5 [default=10485760];
31 // Tag 10 is unused from 1.4.0 up (it used to be prebuffering_bytes).
32 optional int64 bytes_received = 3;
33 repeated int64 suitable_starting_point = 9;
34 optional string url = 4;
37 // Corresponds to class Input.
39 optional int32 state = 1;
40 optional string url = 3;
41 optional bytes request = 4;
42 optional int32 request_bytes_sent = 5;
43 optional bytes response = 6;
44 optional bytes http_header = 10;
45 optional bytes stream_header = 14;
46 optional bytes pending_data = 7;
47 optional bool has_metacube_header = 8;
48 optional int32 sock = 9;
49 optional int64 bytes_received = 11;
50 optional int64 data_bytes_received = 12;
51 optional int64 metadata_bytes_received = 16;
52 optional double latency_sec = 17;
53 optional int64 connect_time = 13;
54 optional bool is_metacube_encoded = 15 [default=true];
57 // Corresponds to class Acceptor.
58 message AcceptorProto {
59 optional int32 server_sock = 1;
60 optional int32 port = 2;
61 optional string addr = 3; // As a string. Empty is equivalent to "::".
62 optional bytes certificate_chain = 4;
63 optional bytes private_key = 5;
66 message CubemapStateProto {
67 optional int64 serialize_start_sec = 6;
68 optional int64 serialize_start_usec = 7;
69 repeated ClientProto clients = 1;
70 repeated StreamProto streams = 2;
71 repeated InputProto inputs = 5;
72 repeated AcceptorProto acceptors = 8;