Package viam.app.data.v1
Class DataServiceGrpc.DataServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<DataServiceGrpc.DataServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<DataServiceGrpc.DataServiceBlockingV2Stub>
viam.app.data.v1.DataServiceGrpc.DataServiceBlockingV2Stub
- Enclosing class:
DataServiceGrpc
public static final class DataServiceGrpc.DataServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<DataServiceGrpc.DataServiceBlockingV2Stub>
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.Deprecated.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.Deprecated.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) ConfigureDatabaseUser configures a database user for the Viam organization's MongoDB Atlas Data Federation instance.CreateBinaryDataSignedURL creates a temporary public URL for a binary data file.createIndex(Data.CreateIndexRequest request) CreateIndex starts a custom index buildCreateSavedQuery saves a mql query.DeleteBinaryDataByFilter deletes binary data based on given filters.DeleteBinaryDataByIDs deletes binary data based on given IDs.deleteIndex(Data.DeleteIndexRequest request) DeleteIndex drops the specified custom index from a collectionDeleteSavedQuery deletes a saved query based on the given id.DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.io.grpc.stub.BlockingClientCall<?, Data.ExportTabularDataResponse> 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.getSavedQuery(Data.GetSavedQueryRequest request) GetSavedQuery retrieves a saved query by id.listIndexes(Data.ListIndexesRequest request) ListIndexes returns all the indexes for a given collectionListSavedQueries lists saved queries for a given organization.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.Deprecated.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) Deprecated.UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.UpdateSavedQuery updates the saved query with the given id.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataServiceGrpc.DataServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataServiceGrpc.DataServiceBlockingV2Stub>
-
tabularDataByFilter
@Deprecated public Data.TabularDataByFilterResponse tabularDataByFilter(Data.TabularDataByFilterRequest request) throws io.grpc.StatusException Deprecated.TabularDataByFilter queries tabular data and metadata based on given filters.
- Throws:
io.grpc.StatusException
-
tabularDataBySQL
public Data.TabularDataBySQLResponse tabularDataBySQL(Data.TabularDataBySQLRequest request) throws io.grpc.StatusException TabularDataBySQL queries tabular data with a SQL query.
- Throws:
io.grpc.StatusException
-
tabularDataByMQL
public Data.TabularDataByMQLResponse tabularDataByMQL(Data.TabularDataByMQLRequest request) throws io.grpc.StatusException TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.
- Throws:
io.grpc.StatusException
-
exportTabularData
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,Data.ExportTabularDataResponse> exportTabularData(Data.ExportTabularDataRequest request) ExportTabularData queries tabular data from the specified data source.
-
getLatestTabularData
public Data.GetLatestTabularDataResponse getLatestTabularData(Data.GetLatestTabularDataRequest request) throws io.grpc.StatusException GetLatestTabularData gets the most recent tabular data captured from the specified data source.
- Throws:
io.grpc.StatusException
-
binaryDataByFilter
public Data.BinaryDataByFilterResponse binaryDataByFilter(Data.BinaryDataByFilterRequest request) throws io.grpc.StatusException BinaryDataByFilter queries binary data and metadata based on given filters.
- Throws:
io.grpc.StatusException
-
binaryDataByIDs
public Data.BinaryDataByIDsResponse binaryDataByIDs(Data.BinaryDataByIDsRequest request) throws io.grpc.StatusException BinaryDataByIDs queries binary data and metadata based on given IDs.
- Throws:
io.grpc.StatusException
-
deleteTabularData
public Data.DeleteTabularDataResponse deleteTabularData(Data.DeleteTabularDataRequest request) throws io.grpc.StatusException DeleteTabularData deletes tabular data older than a number of days, based on the given organization ID.
- Throws:
io.grpc.StatusException
-
deleteBinaryDataByFilter
public Data.DeleteBinaryDataByFilterResponse deleteBinaryDataByFilter(Data.DeleteBinaryDataByFilterRequest request) throws io.grpc.StatusException DeleteBinaryDataByFilter deletes binary data based on given filters.
- Throws:
io.grpc.StatusException
-
deleteBinaryDataByIDs
public Data.DeleteBinaryDataByIDsResponse deleteBinaryDataByIDs(Data.DeleteBinaryDataByIDsRequest request) throws io.grpc.StatusException DeleteBinaryDataByIDs deletes binary data based on given IDs.
- Throws:
io.grpc.StatusException
-
addTagsToBinaryDataByIDs
public Data.AddTagsToBinaryDataByIDsResponse addTagsToBinaryDataByIDs(Data.AddTagsToBinaryDataByIDsRequest request) throws io.grpc.StatusException AddTagsToBinaryDataByIDs adds string tags, unless the tags are already present, to binary data based on given IDs.
- Throws:
io.grpc.StatusException
-
addTagsToBinaryDataByFilter
@Deprecated public Data.AddTagsToBinaryDataByFilterResponse addTagsToBinaryDataByFilter(Data.AddTagsToBinaryDataByFilterRequest request) throws io.grpc.StatusException Deprecated.AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
- Throws:
io.grpc.StatusException
-
removeTagsFromBinaryDataByIDs
public Data.RemoveTagsFromBinaryDataByIDsResponse removeTagsFromBinaryDataByIDs(Data.RemoveTagsFromBinaryDataByIDsRequest request) throws io.grpc.StatusException RemoveTagsToBinaryDataByIDs removes string tags from binary data based on given IDs.
- Throws:
io.grpc.StatusException
-
removeTagsFromBinaryDataByFilter
@Deprecated public Data.RemoveTagsFromBinaryDataByFilterResponse removeTagsFromBinaryDataByFilter(Data.RemoveTagsFromBinaryDataByFilterRequest request) throws io.grpc.StatusException Deprecated.RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
- Throws:
io.grpc.StatusException
-
tagsByFilter
@Deprecated public Data.TagsByFilterResponse tagsByFilter(Data.TagsByFilterRequest request) throws io.grpc.StatusException Deprecated.TagsByFilter gets all unique tags from data based on given filter.
- Throws:
io.grpc.StatusException
-
addBoundingBoxToImageByID
public Data.AddBoundingBoxToImageByIDResponse addBoundingBoxToImageByID(Data.AddBoundingBoxToImageByIDRequest request) throws io.grpc.StatusException AddBoundingBoxToImageByID adds a bounding box to an image with the given ID.
- Throws:
io.grpc.StatusException
-
removeBoundingBoxFromImageByID
public Data.RemoveBoundingBoxFromImageByIDResponse removeBoundingBoxFromImageByID(Data.RemoveBoundingBoxFromImageByIDRequest request) throws io.grpc.StatusException RemoveBoundingBoxFromImageByID removes a bounding box from an image with the given ID.
- Throws:
io.grpc.StatusException
-
boundingBoxLabelsByFilter
@Deprecated public Data.BoundingBoxLabelsByFilterResponse boundingBoxLabelsByFilter(Data.BoundingBoxLabelsByFilterRequest request) throws io.grpc.StatusException Deprecated.BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
- Throws:
io.grpc.StatusException
-
updateBoundingBox
public Data.UpdateBoundingBoxResponse updateBoundingBox(Data.UpdateBoundingBoxRequest request) throws io.grpc.StatusException UpdateBoundingBox updates the bounding box associated with a given binary ID and bounding box ID.
- Throws:
io.grpc.StatusException
-
getDatabaseConnection
public Data.GetDatabaseConnectionResponse getDatabaseConnection(Data.GetDatabaseConnectionRequest request) throws io.grpc.StatusException GetDatabaseConnection gets a connection to access a MongoDB Atlas Data Federation instance. It returns the hostname of the federated database.
- Throws:
io.grpc.StatusException
-
configureDatabaseUser
public Data.ConfigureDatabaseUserResponse configureDatabaseUser(Data.ConfigureDatabaseUserRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
addBinaryDataToDatasetByIDs
public Data.AddBinaryDataToDatasetByIDsResponse addBinaryDataToDatasetByIDs(Data.AddBinaryDataToDatasetByIDsRequest request) throws io.grpc.StatusException AddBinaryDataToDatasetByIDs adds the binary data with the given binary IDs to the dataset.
- Throws:
io.grpc.StatusException
-
removeBinaryDataFromDatasetByIDs
public Data.RemoveBinaryDataFromDatasetByIDsResponse removeBinaryDataFromDatasetByIDs(Data.RemoveBinaryDataFromDatasetByIDsRequest request) throws io.grpc.StatusException RemoveBinaryDataFromDatasetByIDs removes the binary data with the given binary IDs from the dataset.
- Throws:
io.grpc.StatusException
-
createIndex
public Data.CreateIndexResponse createIndex(Data.CreateIndexRequest request) throws io.grpc.StatusException CreateIndex starts a custom index build
- Throws:
io.grpc.StatusException
-
listIndexes
public Data.ListIndexesResponse listIndexes(Data.ListIndexesRequest request) throws io.grpc.StatusException ListIndexes returns all the indexes for a given collection
- Throws:
io.grpc.StatusException
-
deleteIndex
public Data.DeleteIndexResponse deleteIndex(Data.DeleteIndexRequest request) throws io.grpc.StatusException DeleteIndex drops the specified custom index from a collection
- Throws:
io.grpc.StatusException
-
createSavedQuery
public Data.CreateSavedQueryResponse createSavedQuery(Data.CreateSavedQueryRequest request) throws io.grpc.StatusException CreateSavedQuery saves a mql query.
- Throws:
io.grpc.StatusException
-
updateSavedQuery
public Data.UpdateSavedQueryResponse updateSavedQuery(Data.UpdateSavedQueryRequest request) throws io.grpc.StatusException UpdateSavedQuery updates the saved query with the given id.
- Throws:
io.grpc.StatusException
-
getSavedQuery
public Data.GetSavedQueryResponse getSavedQuery(Data.GetSavedQueryRequest request) throws io.grpc.StatusException GetSavedQuery retrieves a saved query by id.
- Throws:
io.grpc.StatusException
-
deleteSavedQuery
public Data.DeleteSavedQueryResponse deleteSavedQuery(Data.DeleteSavedQueryRequest request) throws io.grpc.StatusException DeleteSavedQuery deletes a saved query based on the given id.
- Throws:
io.grpc.StatusException
-
listSavedQueries
public Data.ListSavedQueriesResponse listSavedQueries(Data.ListSavedQueriesRequest request) throws io.grpc.StatusException ListSavedQueries lists saved queries for a given organization.
- Throws:
io.grpc.StatusException
-
createBinaryDataSignedURL
public Data.CreateBinaryDataSignedURLResponse createBinaryDataSignedURL(Data.CreateBinaryDataSignedURLRequest request) throws io.grpc.StatusException CreateBinaryDataSignedURL creates a temporary public URL for a binary data file.
- Throws:
io.grpc.StatusException
-