@@ -58,16 +58,16 @@ service MicrogridDispatchService {
5858 rpc ListMicrogridDispatches (ListMicrogridDispatchesRequest ) returns (ListMicrogridDispatchesResponse );
5959
6060 // Create a new dispatch
61- rpc CreateMicrogridDispatch (DispatchCreateRequest ) returns (google .protobuf .Empty );
61+ rpc CreateMicrogridDispatch (CreateMicrogridDispatchRequest ) returns (google .protobuf .Empty );
6262
6363 // Update a dispatch
64- rpc UpdateMicrogridDispatch (DispatchUpdateRequest ) returns (google .protobuf .Empty );
64+ rpc UpdateMicrogridDispatch (UpdateMicrogridDispatchRequest ) returns (google .protobuf .Empty );
6565
6666 // Get a single dispatch
67- rpc GetMicrogridDispatch (DispatchGetRequest ) returns (Dispatch );
67+ rpc GetMicrogridDispatch (GetMicrogridDispatchRequest ) returns (Dispatch );
6868
6969 // Delete a given dispatch
70- rpc DeleteMicrogridDispatch (DispatchDeleteRequest ) returns (google .protobuf .Empty );
70+ rpc DeleteMicrogridDispatch (DeleteMicrogridDispatchRequest ) returns (google .protobuf .Empty );
7171}
7272
7373// Represents a dispatches data, including its type, start time, duration, component selector,
@@ -325,7 +325,7 @@ message ListMicrogridDispatchesResponse {
325325}
326326
327327// Message to create a new dispatch with the given attributes
328- message DispatchCreateRequest {
328+ message CreateMicrogridDispatchRequest {
329329 // The microgrid identifier
330330 uint64 microgrid_id = 1 ;
331331
@@ -336,7 +336,7 @@ message DispatchCreateRequest {
336336}
337337
338338// Message to update the dispatch with the given ID, with the given attributes
339- message DispatchUpdateRequest {
339+ message UpdateMicrogridDispatchRequest {
340340 // Message containing the updated dispatch attributes
341341 message DispatchUpdate {
342342 // Message containing the updated recurrence rule attributes
@@ -408,7 +408,7 @@ message DispatchUpdateRequest {
408408}
409409
410410// Message to get a single dispatch by its ID
411- message DispatchGetRequest {
411+ message GetMicrogridDispatchRequest {
412412 // The microgrid ID that the dispatch belongs to
413413 uint64 microgrid_id = 1 ;
414414
@@ -417,7 +417,7 @@ message DispatchGetRequest {
417417}
418418
419419// Message to delete a single dispatch by its ID
420- message DispatchDeleteRequest {
420+ message DeleteMicrogridDispatchRequest {
421421 // The microgrid ID that the dispatch belongs to
422422 uint64 microgrid_id = 1 ;
423423
0 commit comments