Package viam.app.data.v1
Class DataServiceGrpc.DataServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DataServiceGrpc.DataServiceBlockingStub>
viam.app.data.v1.DataServiceGrpc.DataServiceBlockingStub
- Enclosing class:
- DataServiceGrpc
public static final class DataServiceGrpc.DataServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DataServiceGrpc.DataServiceBlockingStub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionAddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.BinaryDataByFilter queries binary data and metadata based on given filters.BinaryDataByIDs queries binary data and metadata based on given IDs.BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.protected DataServiceGrpc.DataServiceBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) ConfigureDatabaseUser configures a database user for the Viam organization's MongoDB Atlas Data Federation instance.DeleteBinaryDataByFilter deletes binary data based on given filters.DeleteBinaryDataByIDs deletes binary data based on given IDs.DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.ExportTabularData queries tabular data from the specified data source.GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance.GetLatestTabularData gets the most recent tabular data captured from the specified data source.RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.Deprecated.TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.TabularDataBySQL queries tabular data with a SQL query.tagsByFilter
(Data.TagsByFilterRequest request) TagsByFilter gets all unique tags from data based on given filter.UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.DataServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<DataServiceGrpc.DataServiceBlockingStub>
-
tabularDataByFilter
@Deprecated public Data.TabularDataByFilterResponse tabularDataByFilter(Data.TabularDataByFilterRequest request) Deprecated.TabularDataByFilter queries tabular data and metadata based on given filters.
-
tabularDataBySQL
TabularDataBySQL queries tabular data with a SQL query.
-
tabularDataByMQL
TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.
-
exportTabularData
public Iterator<Data.ExportTabularDataResponse> exportTabularData(Data.ExportTabularDataRequest request) ExportTabularData queries tabular data from the specified data source.
-
getLatestTabularData
public Data.GetLatestTabularDataResponse getLatestTabularData(Data.GetLatestTabularDataRequest request) GetLatestTabularData gets the most recent tabular data captured from the specified data source.
-
binaryDataByFilter
BinaryDataByFilter queries binary data and metadata based on given filters.
-
binaryDataByIDs
BinaryDataByIDs queries binary data and metadata based on given IDs.
-
deleteTabularData
DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.
-
deleteBinaryDataByFilter
public Data.DeleteBinaryDataByFilterResponse deleteBinaryDataByFilter(Data.DeleteBinaryDataByFilterRequest request) DeleteBinaryDataByFilter deletes binary data based on given filters.
-
deleteBinaryDataByIDs
public Data.DeleteBinaryDataByIDsResponse deleteBinaryDataByIDs(Data.DeleteBinaryDataByIDsRequest request) DeleteBinaryDataByIDs deletes binary data based on given IDs.
-
addTagsToBinaryDataByIDs
public Data.AddTagsToBinaryDataByIDsResponse addTagsToBinaryDataByIDs(Data.AddTagsToBinaryDataByIDsRequest request) AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.
-
addTagsToBinaryDataByFilter
public Data.AddTagsToBinaryDataByFilterResponse addTagsToBinaryDataByFilter(Data.AddTagsToBinaryDataByFilterRequest request) AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
-
removeTagsFromBinaryDataByIDs
public Data.RemoveTagsFromBinaryDataByIDsResponse removeTagsFromBinaryDataByIDs(Data.RemoveTagsFromBinaryDataByIDsRequest request) RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.
-
removeTagsFromBinaryDataByFilter
public Data.RemoveTagsFromBinaryDataByFilterResponse removeTagsFromBinaryDataByFilter(Data.RemoveTagsFromBinaryDataByFilterRequest request) RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
-
tagsByFilter
TagsByFilter gets all unique tags from data based on given filter.
-
addBoundingBoxToImageByID
public Data.AddBoundingBoxToImageByIDResponse addBoundingBoxToImageByID(Data.AddBoundingBoxToImageByIDRequest request) AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.
-
removeBoundingBoxFromImageByID
public Data.RemoveBoundingBoxFromImageByIDResponse removeBoundingBoxFromImageByID(Data.RemoveBoundingBoxFromImageByIDRequest request) RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.
-
boundingBoxLabelsByFilter
public Data.BoundingBoxLabelsByFilterResponse boundingBoxLabelsByFilter(Data.BoundingBoxLabelsByFilterRequest request) BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
-
updateBoundingBox
UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.
-
getDatabaseConnection
public Data.GetDatabaseConnectionResponse getDatabaseConnection(Data.GetDatabaseConnectionRequest request) GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance. It returns the hostname of the federated database.
-
configureDatabaseUser
public Data.ConfigureDatabaseUserResponse configureDatabaseUser(Data.ConfigureDatabaseUserRequest request) 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 Data.AddBinaryDataToDatasetByIDsResponse addBinaryDataToDatasetByIDs(Data.AddBinaryDataToDatasetByIDsRequest request) AddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.
-
removeBinaryDataFromDatasetByIDs
public Data.RemoveBinaryDataFromDatasetByIDsResponse removeBinaryDataFromDatasetByIDs(Data.RemoveBinaryDataFromDatasetByIDsRequest request) RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.
-