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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
diff --git a/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto b/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto
index 60e084c..aed5832 100644
--- a/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto
+++ b/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto
@@ -21,7 +21,7 @@ message Variant {
MAP = 7;
}
- required Type type = 1;
+ optional Type type = 1;
repeated sint64 idtype = 3;
repeated sint32 integer = 4;
repeated double float64 = 5;
@@ -47,8 +47,8 @@ message MessageCollection
message Message
{
- required uint64 global_id = 1;
- required uint32 location = 2;
+ optional uint64 global_id = 1;
+ optional uint32 location = 2;
optional bool share_only = 3 [default = false];
optional bool req_def = 4 [default = false];
optional uint32 client_id = 5 [default = 0];
@@ -62,10 +62,10 @@ message DefinitionHeader
{
extend Message {
// The classname for the driver process i.e. the client, typically
- required string client_class = 10;
+ optional string client_class = 10;
// The classname for the process where the processing occurs
- required string server_class = 11;
+ optional string server_class = 11;
}
}
@@ -76,32 +76,32 @@ message ProxyState
message SubProxy
{
- required string name = 1;
- required uint32 global_id = 2;
+ optional string name = 1;
+ optional uint32 global_id = 2;
}
message Annotation
{
- required string key = 1;
- required string value = 2;
+ optional string key = 1;
+ optional string value = 2;
}
message UserData
{
- required string key = 1;
+ optional string key = 1;
repeated Variant variant = 2;
}
message Property
{
- required string name = 1;
+ optional string name = 1;
optional Variant value = 2;
repeated UserData user_data = 3;
}
extend Message {
- required string xml_group = 20;
- required string xml_name = 21;
+ optional string xml_group = 20;
+ optional string xml_name = 21;
optional string xml_sub_proxy_name = 22;
repeated Property property = 23;
repeated SubProxy subproxy = 24;
@@ -118,8 +118,8 @@ message PXMRegistrationState
message Entry
{
optional string group = 1;
- required string name = 2;
- required uint64 global_id = 3;
+ optional string name = 2;
+ optional uint64 global_id = 3;
}
extend Message {
@@ -135,9 +135,9 @@ message ProxyDefinitionState
{
message ProxyXMLDefinition
{
- required string group = 1;
- required string name = 2;
- required string xml = 3;
+ optional string group = 1;
+ optional string name = 2;
+ optional string xml = 3;
}
extend Message {
@@ -181,9 +181,9 @@ message LinkState {
OUTPUT = 2;
}
- required uint32 proxy = 1;
+ optional uint32 proxy = 1;
optional string property_name = 2;
- required Direction direction = 3;
+ optional Direction direction = 3;
}
extend Message {
@@ -206,7 +206,7 @@ message MousePointer {
}
extend Message {
- required uint32 view = 70;
+ optional uint32 view = 70;
optional double x = 71 [default = 0];
optional double y = 72 [default = 0];
optional bool forceShow = 73 [default = false];
@@ -219,7 +219,7 @@ message MousePointer {
message ChartViewBounds {
extend Message {
- required uint32 view = 75;
+ optional uint32 view = 75;
repeated double range = 76;
}
}
@@ -229,7 +229,7 @@ message ChartViewBounds {
message ClientsInformation {
message ClientInfo {
- required uint32 user = 1;
+ optional uint32 user = 1;
optional string name = 2;
optional bool is_master = 3 [default = false];
optional bool follow_cam = 4 [default = false];
@@ -242,8 +242,8 @@ message ClientsInformation {
message ChatMessage {
extend Message {
- required uint32 author = 84;
- required string txt = 85;
+ optional uint32 author = 84;
+ optional string txt = 85;
}
}
@@ -256,7 +256,7 @@ message QtEvent {
}
extend Message {
- required QtEventType type = 98;
+ optional QtEventType type = 98;
}
}
|