Skip to content

Commit ba72d4c

Browse files
Move create_time and update_time nearer to the start of Dispatch message
Signed-off-by: Stefan Brus <[email protected]>
1 parent 19a0875 commit ba72d4c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

proto/frequenz/api/dispatch/dispatch.proto

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,31 @@ message Dispatch {
5656
// understanding and processing this field.
5757
string type = 3;
5858

59+
// The creation time
60+
// This is set when a dispatch is created via the create request message
61+
google.protobuf.Timestamp create_time = 4;
62+
63+
// The update time
64+
// This is set when a dispatch is modified via the update request message
65+
google.protobuf.Timestamp update_time = 5;
66+
5967
// The start time
60-
google.protobuf.Timestamp start_time = 4;
68+
google.protobuf.Timestamp start_time = 6;
6169

6270
// The end time
63-
google.protobuf.Timestamp end_time = 5;
71+
google.protobuf.Timestamp end_time = 7;
6472

6573
// The component selector
66-
DispatchComponentSelector selector = 6;
74+
DispatchComponentSelector selector = 8;
6775

6876
// The "active" status
69-
bool is_active = 7;
77+
bool is_active = 9;
7078

7179
// The "dry run" status
72-
bool is_dry_run = 8;
80+
bool is_dry_run = 10;
7381

7482
// The dispatch payload
75-
google.protobuf.Struct payload = 9;
76-
77-
// The creation time
78-
// This is set when a dispatch is created via the create request message
79-
google.protobuf.Timestamp create_time = 10;
80-
81-
// The update time
82-
// This is set when a dispatch is modified via the update request message
83-
google.protobuf.Timestamp update_time = 11;
83+
google.protobuf.Struct payload = 11;
8484
}
8585

8686
// Filter parameter for specifying multiple time intervals

0 commit comments

Comments
 (0)