26 lines
404 B
Protocol Buffer
26 lines
404 B
Protocol Buffer
option optimize_for = LITE_RUNTIME;
|
|
|
|
package ClientBuffers;
|
|
|
|
message UserMessage {
|
|
repeated Instruction instruction = 1;
|
|
}
|
|
|
|
message Instruction {
|
|
extensions 2 to max;
|
|
}
|
|
|
|
message Keystroke {
|
|
optional bytes keys = 4;
|
|
}
|
|
|
|
message ResizeMessage {
|
|
optional int32 width = 5;
|
|
optional int32 height = 6;
|
|
}
|
|
|
|
extend Instruction {
|
|
optional Keystroke keystroke = 2;
|
|
optional ResizeMessage resize = 3;
|
|
}
|