Skip to content

Commit 5aec0b3

Browse files
Fixed protolint errors
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
1 parent 7987155 commit 5aec0b3

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

proto/frequenz/api/platformassets/v1alpha1/platformassets.proto

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ message MarketParticipation {
178178
//
179179
// !!! important "Validation"
180180
// A relation must contain at least two of `gridpool_id`, `microgrid_id`,
181-
// and `market_location_selector`.
181+
// and `market_location`.
182182
//
183183
// If `gridpool_id` is unset, both `microgrid_id` and
184-
// `market_location_selector` must be set. In that case, the relation does
184+
// `market_location` must be set. In that case, the relation does
185185
// not represent market participation, but the relation can remain as
186186
// a Microgrid-to-Market-Location relation without Gridpool participation.
187187
// Gridpool-specific fields, such as `delivery_area` and `participations`,
@@ -191,7 +191,7 @@ message MarketParticipation {
191191
// `participations` are only valid when `gridpool_id` is set.
192192
//
193193
// If removing `gridpool_id` would leave only `microgrid_id` or only
194-
// `market_location_selector`, no valid relation remains.
194+
// `market_location`, no valid relation remains.
195195
//
196196
message MarketTopologyRelation {
197197
// Optional. The Microgrid associated with this relation.
@@ -235,8 +235,8 @@ message MarketTopologyRelation {
235235
// energy trading may start before ancillary services, or ancillary services
236236
// may end while the Market Location remains associated for energy trading.
237237
//
238-
// Participations are only valid when `gridpool_id` is set. If `gridpool_id` is
239-
// unset, this field must be empty.
238+
// Participations are only valid when `gridpool_id` is set. If `gridpool_id`
239+
// is unset, this field must be empty.
240240
repeated MarketParticipation participations = 5;
241241
}
242242

@@ -335,8 +335,8 @@ message GridpoolEnergySchedule {
335335

336336
// Delivery area of the Frequenz side of the scheduled exchange.
337337
//
338-
// This is the delivery area in which the Frequenz balancing group participates
339-
// for this schedule.
338+
// This is the delivery area in which the Frequenz balancing group
339+
// participates for this schedule.
340340
//
341341
// This field does not imply that the Gridpool itself belongs to only one
342342
// delivery area. A Gridpool can have relations or schedules in different
@@ -427,22 +427,22 @@ message ListGridpoolEnergySchedulesRequest {
427427
// If empty, no direction filtering is applied.
428428
repeated GridpoolEnergyScheduleDirection directions = 2;
429429

430-
// Optional. Restrict returned `time_series` entries to delivery periods that
431-
// overlap this interval.
432-
//
433-
// A time-series entry matches if its delivery period overlaps the requested
434-
// interval:
435-
//
436-
// ```text
437-
// entry.start_time < time_series_interval.end_time
438-
// AND
439-
// entry.start_time + schedule.delivery_duration >
440-
// time_series_interval.start_time
441-
// ```
442-
//
443-
// The returned schedules contain only matching `time_series` entries. If
444-
// omitted, no time-series filtering is applied.
445-
frequenz.api.common.v1alpha8.types.Interval time_series_interval = 3;
430+
// Optional. Restrict returned `time_series` entries to delivery periods
431+
// that overlap this interval.
432+
//
433+
// A time-series entry matches if its delivery period overlaps the requested
434+
// interval:
435+
//
436+
// ```text
437+
// entry.start_time < time_series_interval.end_time
438+
// AND
439+
// entry.start_time + schedule.delivery_duration >
440+
// time_series_interval.start_time
441+
// ```
442+
//
443+
// The returned schedules contain only matching `time_series` entries. If
444+
// omitted, no time-series filtering is applied.
445+
frequenz.api.common.v1alpha8.types.Interval time_series_interval = 3;
446446

447447
// Optional. Return only schedules whose effective validity period overlaps
448448
// this interval.
@@ -511,12 +511,12 @@ message ListMarketTopologyRelationsRequest {
511511
// If empty, no Microgrid-ID filtering is applied.
512512
repeated uint64 microgrid_ids = 2;
513513

514-
// Optional. Return only relations involving Market Locations whose ID values
515-
// match any of these filters.
514+
// Optional. Return only relations involving Market Locations whose ID
515+
// values match any of these filters.
516516
//
517-
// This filter does not require callers to provide the Market Area. It is useful
518-
// when the Market Location identifier is known, but the Market Area has not
519-
// been resolved yet.
517+
// This filter does not require callers to provide the Market Area. It is
518+
// useful when the Market Location identifier is known, but the Market
519+
// Area has not been resolved yet.
520520
//
521521
// If empty, no Market Location-ID filtering is applied.
522522
repeated frequenz.api.common.v1alpha8.grid.MarketLocationIdValue

0 commit comments

Comments
 (0)