Package viam.app.data.v1
Class DataServiceGrpc.DataServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DataServiceGrpc.DataServiceStub>
viam.app.data.v1.DataServiceGrpc.DataServiceStub
- Enclosing class:
- DataServiceGrpc
public static final class DataServiceGrpc.DataServiceStub
extends io.grpc.stub.AbstractAsyncStub<DataServiceGrpc.DataServiceStub>
A stub to allow clients to do asynchronous rpc calls to service DataService.
DataService is used to query robot data.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinaryDataToDatasetByIDs
(Data.AddBinaryDataToDatasetByIDsRequest request, io.grpc.stub.StreamObserver<Data.AddBinaryDataToDatasetByIDsResponse> responseObserver) AddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.void
addBoundingBoxToImageByID
(Data.AddBoundingBoxToImageByIDRequest request, io.grpc.stub.StreamObserver<Data.AddBoundingBoxToImageByIDResponse> responseObserver) AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.void
addTagsToBinaryDataByFilter
(Data.AddTagsToBinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.AddTagsToBinaryDataByFilterResponse> responseObserver) AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.void
addTagsToBinaryDataByIDs
(Data.AddTagsToBinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.AddTagsToBinaryDataByIDsResponse> responseObserver) AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.void
binaryDataByFilter
(Data.BinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.BinaryDataByFilterResponse> responseObserver) BinaryDataByFilter queries binary data and metadata based on given filters.void
binaryDataByIDs
(Data.BinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.BinaryDataByIDsResponse> responseObserver) BinaryDataByIDs queries binary data and metadata based on given IDs.void
boundingBoxLabelsByFilter
(Data.BoundingBoxLabelsByFilterRequest request, io.grpc.stub.StreamObserver<Data.BoundingBoxLabelsByFilterResponse> responseObserver) BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.protected DataServiceGrpc.DataServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
configureDatabaseUser
(Data.ConfigureDatabaseUserRequest request, io.grpc.stub.StreamObserver<Data.ConfigureDatabaseUserResponse> responseObserver) ConfigureDatabaseUser configures a database user for the Viam organization's MongoDB Atlas Data Federation instance.void
deleteBinaryDataByFilter
(Data.DeleteBinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.DeleteBinaryDataByFilterResponse> responseObserver) DeleteBinaryDataByFilter deletes binary data based on given filters.void
deleteBinaryDataByIDs
(Data.DeleteBinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.DeleteBinaryDataByIDsResponse> responseObserver) DeleteBinaryDataByIDs deletes binary data based on given IDs.void
deleteTabularData
(Data.DeleteTabularDataRequest request, io.grpc.stub.StreamObserver<Data.DeleteTabularDataResponse> responseObserver) DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.void
exportTabularData
(Data.ExportTabularDataRequest request, io.grpc.stub.StreamObserver<Data.ExportTabularDataResponse> responseObserver) ExportTabularData queries tabular data from the specified data source.void
getDatabaseConnection
(Data.GetDatabaseConnectionRequest request, io.grpc.stub.StreamObserver<Data.GetDatabaseConnectionResponse> responseObserver) GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance.void
getLatestTabularData
(Data.GetLatestTabularDataRequest request, io.grpc.stub.StreamObserver<Data.GetLatestTabularDataResponse> responseObserver) GetLatestTabularData gets the most recent tabular data captured from the specified data source.void
removeBinaryDataFromDatasetByIDs
(Data.RemoveBinaryDataFromDatasetByIDsRequest request, io.grpc.stub.StreamObserver<Data.RemoveBinaryDataFromDatasetByIDsResponse> responseObserver) RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.void
removeBoundingBoxFromImageByID
(Data.RemoveBoundingBoxFromImageByIDRequest request, io.grpc.stub.StreamObserver<Data.RemoveBoundingBoxFromImageByIDResponse> responseObserver) RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.void
removeTagsFromBinaryDataByFilter
(Data.RemoveTagsFromBinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.RemoveTagsFromBinaryDataByFilterResponse> responseObserver) RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.void
removeTagsFromBinaryDataByIDs
(Data.RemoveTagsFromBinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.RemoveTagsFromBinaryDataByIDsResponse> responseObserver) RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.void
tabularDataByFilter
(Data.TabularDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.TabularDataByFilterResponse> responseObserver) Deprecated.void
tabularDataByMQL
(Data.TabularDataByMQLRequest request, io.grpc.stub.StreamObserver<Data.TabularDataByMQLResponse> responseObserver) TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.void
tabularDataBySQL
(Data.TabularDataBySQLRequest request, io.grpc.stub.StreamObserver<Data.TabularDataBySQLResponse> responseObserver) TabularDataBySQL queries tabular data with a SQL query.void
tagsByFilter
(Data.TagsByFilterRequest request, io.grpc.stub.StreamObserver<Data.TagsByFilterResponse> responseObserver) TagsByFilter gets all unique tags from data based on given filter.void
updateBoundingBox
(Data.UpdateBoundingBoxRequest request, io.grpc.stub.StreamObserver<Data.UpdateBoundingBoxResponse> responseObserver) UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataServiceGrpc.DataServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<DataServiceGrpc.DataServiceStub>
-
tabularDataByFilter
@Deprecated public void tabularDataByFilter(Data.TabularDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.TabularDataByFilterResponse> responseObserver) Deprecated.TabularDataByFilter queries tabular data and metadata based on given filters.
-
tabularDataBySQL
public void tabularDataBySQL(Data.TabularDataBySQLRequest request, io.grpc.stub.StreamObserver<Data.TabularDataBySQLResponse> responseObserver) TabularDataBySQL queries tabular data with a SQL query.
-
tabularDataByMQL
public void tabularDataByMQL(Data.TabularDataByMQLRequest request, io.grpc.stub.StreamObserver<Data.TabularDataByMQLResponse> responseObserver) TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.
-
exportTabularData
public void exportTabularData(Data.ExportTabularDataRequest request, io.grpc.stub.StreamObserver<Data.ExportTabularDataResponse> responseObserver) ExportTabularData queries tabular data from the specified data source.
-
getLatestTabularData
public void getLatestTabularData(Data.GetLatestTabularDataRequest request, io.grpc.stub.StreamObserver<Data.GetLatestTabularDataResponse> responseObserver) GetLatestTabularData gets the most recent tabular data captured from the specified data source.
-
binaryDataByFilter
public void binaryDataByFilter(Data.BinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.BinaryDataByFilterResponse> responseObserver) BinaryDataByFilter queries binary data and metadata based on given filters.
-
binaryDataByIDs
public void binaryDataByIDs(Data.BinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.BinaryDataByIDsResponse> responseObserver) BinaryDataByIDs queries binary data and metadata based on given IDs.
-
deleteTabularData
public void deleteTabularData(Data.DeleteTabularDataRequest request, io.grpc.stub.StreamObserver<Data.DeleteTabularDataResponse> responseObserver) DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.
-
deleteBinaryDataByFilter
public void deleteBinaryDataByFilter(Data.DeleteBinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.DeleteBinaryDataByFilterResponse> responseObserver) DeleteBinaryDataByFilter deletes binary data based on given filters.
-
deleteBinaryDataByIDs
public void deleteBinaryDataByIDs(Data.DeleteBinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.DeleteBinaryDataByIDsResponse> responseObserver) DeleteBinaryDataByIDs deletes binary data based on given IDs.
-
addTagsToBinaryDataByIDs
public void addTagsToBinaryDataByIDs(Data.AddTagsToBinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.AddTagsToBinaryDataByIDsResponse> responseObserver) AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.
-
addTagsToBinaryDataByFilter
public void addTagsToBinaryDataByFilter(Data.AddTagsToBinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.AddTagsToBinaryDataByFilterResponse> responseObserver) AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
-
removeTagsFromBinaryDataByIDs
public void removeTagsFromBinaryDataByIDs(Data.RemoveTagsFromBinaryDataByIDsRequest request, io.grpc.stub.StreamObserver<Data.RemoveTagsFromBinaryDataByIDsResponse> responseObserver) RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.
-
removeTagsFromBinaryDataByFilter
public void removeTagsFromBinaryDataByFilter(Data.RemoveTagsFromBinaryDataByFilterRequest request, io.grpc.stub.StreamObserver<Data.RemoveTagsFromBinaryDataByFilterResponse> responseObserver) RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
-
tagsByFilter
public void tagsByFilter(Data.TagsByFilterRequest request, io.grpc.stub.StreamObserver<Data.TagsByFilterResponse> responseObserver) TagsByFilter gets all unique tags from data based on given filter.
-
addBoundingBoxToImageByID
public void addBoundingBoxToImageByID(Data.AddBoundingBoxToImageByIDRequest request, io.grpc.stub.StreamObserver<Data.AddBoundingBoxToImageByIDResponse> responseObserver) AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.
-
removeBoundingBoxFromImageByID
public void removeBoundingBoxFromImageByID(Data.RemoveBoundingBoxFromImageByIDRequest request, io.grpc.stub.StreamObserver<Data.RemoveBoundingBoxFromImageByIDResponse> responseObserver) RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.
-
boundingBoxLabelsByFilter
public void boundingBoxLabelsByFilter(Data.BoundingBoxLabelsByFilterRequest request, io.grpc.stub.StreamObserver<Data.BoundingBoxLabelsByFilterResponse> responseObserver) BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
-
updateBoundingBox
public void updateBoundingBox(Data.UpdateBoundingBoxRequest request, io.grpc.stub.StreamObserver<Data.UpdateBoundingBoxResponse> responseObserver) UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.
-
getDatabaseConnection
public void getDatabaseConnection(Data.GetDatabaseConnectionRequest request, io.grpc.stub.StreamObserver<Data.GetDatabaseConnectionResponse> responseObserver) GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance. It returns the hostname of the federated database.
-
configureDatabaseUser
public void configureDatabaseUser(Data.ConfigureDatabaseUserRequest request, io.grpc.stub.StreamObserver<Data.ConfigureDatabaseUserResponse> responseObserver) ConfigureDatabaseUser configures a database user for the Viam organization's MongoDB Atlas Data Federation instance. It can also be used to reset the password of the existing database user.
-
addBinaryDataToDatasetByIDs
public void addBinaryDataToDatasetByIDs(Data.AddBinaryDataToDatasetByIDsRequest request, io.grpc.stub.StreamObserver<Data.AddBinaryDataToDatasetByIDsResponse> responseObserver) AddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.
-
removeBinaryDataFromDatasetByIDs
public void removeBinaryDataFromDatasetByIDs(Data.RemoveBinaryDataFromDatasetByIDsRequest request, io.grpc.stub.StreamObserver<Data.RemoveBinaryDataFromDatasetByIDsResponse> responseObserver) RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.
-