Package org.yamcs.protobuf
Class TimelineApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2024-12-02T16:07:52.123966876Z")
public class TimelineApiClient
extends AbstractTimelineApi<Void>
Methods related to the Timeline Service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addBand
(Void ctx, AddBandRequest request, Observer<TimelineBand> observer) Add a bandfinal void
addItemLog
(Void ctx, AddItemLogRequest request, Observer<LogEntry> observer) add an entry to the item log table The timestamp from the messages is used if specified; if not specified, the current mission time will be usedfinal void
addView
(Void ctx, AddViewRequest request, Observer<TimelineView> observer) Add a viewfinal void
createItem
(Void ctx, CreateItemRequest request, Observer<TimelineItem> observer) Create an itemfinal void
deleteBand
(Void ctx, DeleteBandRequest request, Observer<TimelineBand> observer) Delete a bandfinal void
deleteItem
(Void ctx, DeleteItemRequest request, Observer<TimelineItem> observer) Delete an itemfinal void
deleteTimelineGroup
(Void ctx, DeleteTimelineGroupRequest request, Observer<TimelineItem> observer) Delete a groupfinal void
deleteView
(Void ctx, DeleteViewRequest request, Observer<TimelineView> observer) Delete a viewfinal void
getBand
(Void ctx, GetBandRequest request, Observer<TimelineBand> observer) Get a bandfinal void
getItem
(Void ctx, GetItemRequest request, Observer<TimelineItem> observer) Get an itemfinal void
getItemLog
(Void ctx, GetItemLogRequest request, Observer<TimelineItemLog> observer) Get an item logfinal void
getView
(Void ctx, GetViewRequest request, Observer<TimelineView> observer) Get a viewfinal void
listBands
(Void ctx, ListBandsRequest request, Observer<ListBandsResponse> observer) List all bandsfinal void
listItems
(Void ctx, ListItemsRequest request, Observer<ListItemsResponse> observer) List itemsfinal void
listSources
(Void ctx, ListSourcesRequest request, Observer<ListSourcesResponse> observer) List timeline sources Usually there is a source named 'rdb' which provides items from an internal RocksDB database.final void
listTags
(Void ctx, ListTimelineTagsRequest request, Observer<ListTimelineTagsResponse> observer) List all tags available for the 'rdb' source.final void
listViews
(Void ctx, ListViewsRequest request, Observer<ListViewsResponse> observer) List all viewsfinal void
updateBand
(Void ctx, UpdateBandRequest request, Observer<TimelineBand> observer) Update a bandfinal void
updateItem
(Void ctx, UpdateItemRequest request, Observer<TimelineItem> observer) Update an itemfinal void
updateView
(Void ctx, UpdateViewRequest request, Observer<TimelineView> observer) Update a viewMethods inherited from class org.yamcs.protobuf.AbstractTimelineApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
TimelineApiClient
-
-
Method Details
-
createItem
Create an item
- Specified by:
createItem
in classAbstractTimelineApi<Void>
-
getItem
Get an item
- Specified by:
getItem
in classAbstractTimelineApi<Void>
-
updateItem
Update an item
- Specified by:
updateItem
in classAbstractTimelineApi<Void>
-
listItems
public final void listItems(Void ctx, ListItemsRequest request, Observer<ListItemsResponse> observer) List items
- Specified by:
listItems
in classAbstractTimelineApi<Void>
-
deleteItem
Delete an item
- Specified by:
deleteItem
in classAbstractTimelineApi<Void>
-
getItemLog
public final void getItemLog(Void ctx, GetItemLogRequest request, Observer<TimelineItemLog> observer) Get an item log
- Specified by:
getItemLog
in classAbstractTimelineApi<Void>
-
addItemLog
add an entry to the item log table The timestamp from the messages is used if specified; if not specified, the current mission time will be used
- Specified by:
addItemLog
in classAbstractTimelineApi<Void>
-
deleteTimelineGroup
public final void deleteTimelineGroup(Void ctx, DeleteTimelineGroupRequest request, Observer<TimelineItem> observer) Delete a group
- Specified by:
deleteTimelineGroup
in classAbstractTimelineApi<Void>
-
listSources
public final void listSources(Void ctx, ListSourcesRequest request, Observer<ListSourcesResponse> observer) List timeline sources Usually there is a source named 'rdb' which provides items from an internal RocksDB database. Other external sources may be created by adding plugins (e.g. a shift planner)
- Specified by:
listSources
in classAbstractTimelineApi<Void>
-
listTags
public final void listTags(Void ctx, ListTimelineTagsRequest request, Observer<ListTimelineTagsResponse> observer) List all tags available for the 'rdb' source. Note that currently the 'rdb' source does not discard unused tags (e.g. if all item using one tag have been deleted, the tag will still be returned by this call)
- Specified by:
listTags
in classAbstractTimelineApi<Void>
-
addBand
Add a band
- Specified by:
addBand
in classAbstractTimelineApi<Void>
-
getBand
Get a band
- Specified by:
getBand
in classAbstractTimelineApi<Void>
-
listBands
public final void listBands(Void ctx, ListBandsRequest request, Observer<ListBandsResponse> observer) List all bands
- Specified by:
listBands
in classAbstractTimelineApi<Void>
-
updateBand
Update a band
- Specified by:
updateBand
in classAbstractTimelineApi<Void>
-
deleteBand
Delete a band
- Specified by:
deleteBand
in classAbstractTimelineApi<Void>
-
addView
Add a view
- Specified by:
addView
in classAbstractTimelineApi<Void>
-
getView
Get a view
- Specified by:
getView
in classAbstractTimelineApi<Void>
-
listViews
public final void listViews(Void ctx, ListViewsRequest request, Observer<ListViewsResponse> observer) List all views
- Specified by:
listViews
in classAbstractTimelineApi<Void>
-
updateView
Update a view
- Specified by:
updateView
in classAbstractTimelineApi<Void>
-
deleteView
Delete a view
- Specified by:
deleteView
in classAbstractTimelineApi<Void>
-