Skip to content

Commit a7936f9

Browse files
Remove "optional" qualifier from non-scalar fields
Signed-off-by: Stefan Brus <[email protected]>
1 parent 36d7f26 commit a7936f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

proto/frequenz/api/dispatch/dispatch.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@ message DispatchUpdateRequest {
177177
optional string type = 3;
178178

179179
// The start time
180-
optional google.protobuf.Timestamp start_time = 4;
180+
google.protobuf.Timestamp start_time = 4;
181181

182182
// The end time
183-
optional google.protobuf.Timestamp end_time = 5;
183+
google.protobuf.Timestamp end_time = 5;
184184

185185
// The component selector
186-
optional DispatchComponentSelector selector = 6;
186+
DispatchComponentSelector selector = 6;
187187

188188
// The creation time
189-
optional google.protobuf.Timestamp create_time = 7;
189+
google.protobuf.Timestamp create_time = 7;
190190

191191
// The "active" status
192192
optional bool is_active = 8;
@@ -195,5 +195,5 @@ message DispatchUpdateRequest {
195195
optional bool is_dry_run = 9;
196196

197197
// The dispatch payload
198-
optional google.protobuf.Struct payload = 10;
198+
google.protobuf.Struct payload = 10;
199199
}

0 commit comments

Comments
 (0)