@@ -12,11 +12,8 @@ syntax = "proto3";
1212
1313package frequenz.api.assets.v1 ;
1414
15- // protolint:disable:next MAX_LINE_LENGTH
16- import "frequenz/api/common/v1alpha8/gridpool/gridpool.proto" ;
1715// protolint:disable:next MAX_LINE_LENGTH
1816import "frequenz/api/common/v1alpha8/microgrid/electrical_components/electrical_components.proto" ;
19- // protolint:disable:next MAX_LINE_LENGTH
2017import "frequenz/api/common/v1alpha8/microgrid/microgrid.proto" ;
2118
2219// Service providing access to manage and retrieve information
@@ -28,13 +25,13 @@ service PlatformAssets {
2825 // Returns list of a electrical components for a specific microgrid.
2926 rpc ListMicrogridElectricalComponents (
3027 ListMicrogridElectricalComponentsRequest )
31- returns (ListMicrogridElectricalComponentsResponse );
28+ returns (ListMicrogridElectricalComponentsResponse );
3229
3330 // Returns a list of the connections between electrical components for a
3431 // specific microgrid.
3532 rpc ListMicrogridElectricalComponentConnections (
36- ListMicrogridElectricalComponentConnectionsRequest )
37- returns (ListMicrogridElectricalComponentConnectionsResponse );
33+ ListMicrogridElectricalComponentConnectionsRequest )
34+ returns (ListMicrogridElectricalComponentConnectionsResponse );
3835}
3936
4037// GetMicrogridRequest is the input parameter for fetching details
@@ -56,7 +53,7 @@ message ListMicrogridElectricalComponentsRequest {
5653 // Mandatory field. The ID of the microgrid for which components
5754 // are to be listed.
5855 uint64 microgrid_id = 1 ;
59-
56+
6057 // Return components that have the specified IDs only.
6158 repeated uint64 component_ids = 2 ;
6259
@@ -69,7 +66,7 @@ message ListMicrogridElectricalComponentsRequest {
6966message ListMicrogridElectricalComponentsResponse {
7067 // Unique microgrid identifier used in the request.
7168 uint64 microgrid_id = 1 ;
72-
69+
7370 // List of electrical components matching the filter criteria.
7471 repeated frequenz.api.common.v1alpha8.microgrid.electrical_components.
7572 ElectricalComponent components = 2 ;
@@ -115,24 +112,8 @@ message ListMicrogridElectricalComponentConnectionsRequest {
115112message ListMicrogridElectricalComponentConnectionsResponse {
116113 // The ID of the microgrid for which connections are returned.
117114 uint64 microgrid_id = 1 ;
118-
115+
119116 // Contains the list of connections that match the filtering criteria.
120117 repeated frequenz.api.common.v1alpha8.microgrid.electrical_components.
121- ElectricalComponentConnection connections = 2 ;
122- }
123-
124- // GetGridpoolRequest is the input parameter for fetching details
125- // given a specific gridpool.
126- message GetGridpoolRequest {
127- // The unique identifier of the gridpool for which to fetch details.
128- uint64 gridpool_id = 1 ;
129- }
130-
131- // GetGridpoolResponse is the response for fetching details
132- // given a specific gridpool.
133- message GetGridpoolResponse {
134- // Details of the requested gridpool.
135- frequenz.api.common.v1alpha8.gridpool.Gridpool gridpool = 1 ;
136- // List of microgrids in the gridpool.
137- repeated frequenz.api.common.v1alpha8.microgrid.Microgrid microgrids = 2 ;
118+ ElectricalComponentConnection connections = 2 ;
138119}
0 commit comments