-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmessagepb.proto
38 lines (28 loc) · 1.02 KB
/
messagepb.proto
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
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
syntax = "proto3";
package messagepb;
option go_package = "github.com/filecoin-project/mir/pkg/pb/messagepb";
import "isspb/isspb.proto";
import "bcbpb/bcbpb.proto";
import "availabilitypb/mscpb/mscpb.proto";
import "pingpongpb/pingpongpb.proto";
import "checkpointpb/checkpointpb.proto";
import "ordererpb/ordererpb.proto";
import "mir/codegen_extensions.proto";
import "net/codegen_extensions.proto";
message Message {
option (net.message_root) = true;
string dest_module = 1 [(mir.type) = "github.com/filecoin-project/mir/stdtypes.ModuleID"];
oneof type {
option (net.message_type) = true;
isspb.ISSMessage iss = 2;
bcbpb.Message bcb = 3;
availabilitypb.mscpb.Message multisig_collector = 4;
pingpongpb.Message pingpong = 5;
checkpointpb.Message checkpoint = 6;
ordererpb.Message orderer = 7;
}
}