mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-08-23 07:42:49 +00:00
19 lines
463 B
Protocol Buffer
19 lines
463 B
Protocol Buffer
![]() |
syntax = "proto2";
|
||
|
option optimize_for = LITE_RUNTIME;
|
||
|
package protos;
|
||
|
|
||
|
message CastMessage {
|
||
|
enum ProtocolVersion { CASTV2_1_0 = 0; }
|
||
|
required ProtocolVersion protocol_version = 1;
|
||
|
required string source_id = 2;
|
||
|
required string destination_id = 3;
|
||
|
required string namespace = 4;
|
||
|
enum PayloadType {
|
||
|
STRING = 0;
|
||
|
BINARY = 1;
|
||
|
}
|
||
|
required PayloadType payload_type = 5;
|
||
|
optional string payload_utf8 = 6;
|
||
|
optional bytes payload_binary = 7;
|
||
|
}
|