Class DatasetServiceGrpc.DatasetServiceFutureStub (3.55.0)

public static final class DatasetServiceGrpc.DatasetServiceFutureStub extends AbstractFutureStub<DatasetServiceGrpc.DatasetServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service DatasetService.

The service that manages Vertex AI Dataset and its child resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DatasetServiceGrpc.DatasetServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DatasetServiceGrpc.DatasetServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DatasetServiceGrpc.DatasetServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDataset(CreateDatasetRequest request)

public ListenableFuture<Operation> createDataset(CreateDatasetRequest request)

Creates a Dataset.

Parameter
Name Description
request CreateDatasetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createDatasetVersion(CreateDatasetVersionRequest request)

public ListenableFuture<Operation> createDatasetVersion(CreateDatasetVersionRequest request)

Create a version from a Dataset.

Parameter
Name Description
request CreateDatasetVersionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDataset(DeleteDatasetRequest request)

public ListenableFuture<Operation> deleteDataset(DeleteDatasetRequest request)

Deletes a Dataset.

Parameter
Name Description
request DeleteDatasetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDatasetVersion(DeleteDatasetVersionRequest request)

public ListenableFuture<Operation> deleteDatasetVersion(DeleteDatasetVersionRequest request)

Deletes a Dataset version.

Parameter
Name Description
request DeleteDatasetVersionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSavedQuery(DeleteSavedQueryRequest request)

public ListenableFuture<Operation> deleteSavedQuery(DeleteSavedQueryRequest request)

Deletes a SavedQuery.

Parameter
Name Description
request DeleteSavedQueryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

exportData(ExportDataRequest request)

public ListenableFuture<Operation> exportData(ExportDataRequest request)

Exports data from a Dataset.

Parameter
Name Description
request ExportDataRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getAnnotationSpec(GetAnnotationSpecRequest request)

public ListenableFuture<AnnotationSpec> getAnnotationSpec(GetAnnotationSpecRequest request)

Gets an AnnotationSpec.

Parameter
Name Description
request GetAnnotationSpecRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AnnotationSpec>

getDataset(GetDatasetRequest request)

public ListenableFuture<Dataset> getDataset(GetDatasetRequest request)

Gets a Dataset.

Parameter
Name Description
request GetDatasetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Dataset>

getDatasetVersion(GetDatasetVersionRequest request)

public ListenableFuture<DatasetVersion> getDatasetVersion(GetDatasetVersionRequest request)

Gets a Dataset version.

Parameter
Name Description
request GetDatasetVersionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DatasetVersion>

importData(ImportDataRequest request)

public ListenableFuture<Operation> importData(ImportDataRequest request)

Imports data into a Dataset.

Parameter
Name Description
request ImportDataRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listAnnotations(ListAnnotationsRequest request)

public ListenableFuture<ListAnnotationsResponse> listAnnotations(ListAnnotationsRequest request)

Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights.

Parameter
Name Description
request ListAnnotationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAnnotationsResponse>

listDataItems(ListDataItemsRequest request)

public ListenableFuture<ListDataItemsResponse> listDataItems(ListDataItemsRequest request)

Lists DataItems in a Dataset.

Parameter
Name Description
request ListDataItemsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDataItemsResponse>

listDatasetVersions(ListDatasetVersionsRequest request)

public ListenableFuture<ListDatasetVersionsResponse> listDatasetVersions(ListDatasetVersionsRequest request)

Lists DatasetVersions in a Dataset.

Parameter
Name Description
request ListDatasetVersionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDatasetVersionsResponse>

listDatasets(ListDatasetsRequest request)

public ListenableFuture<ListDatasetsResponse> listDatasets(ListDatasetsRequest request)

Lists Datasets in a Location.

Parameter
Name Description
request ListDatasetsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDatasetsResponse>

listSavedQueries(ListSavedQueriesRequest request)

public ListenableFuture<ListSavedQueriesResponse> listSavedQueries(ListSavedQueriesRequest request)

Lists SavedQueries in a Dataset.

Parameter
Name Description
request ListSavedQueriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSavedQueriesResponse>

restoreDatasetVersion(RestoreDatasetVersionRequest request)

public ListenableFuture<Operation> restoreDatasetVersion(RestoreDatasetVersionRequest request)

Restores a dataset version.

Parameter
Name Description
request RestoreDatasetVersionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

searchDataItems(SearchDataItemsRequest request)

public ListenableFuture<SearchDataItemsResponse> searchDataItems(SearchDataItemsRequest request)

Searches DataItems in a Dataset.

Parameter
Name Description
request SearchDataItemsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SearchDataItemsResponse>

updateDataset(UpdateDatasetRequest request)

public ListenableFuture<Dataset> updateDataset(UpdateDatasetRequest request)

Updates a Dataset.

Parameter
Name Description
request UpdateDatasetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Dataset>

updateDatasetVersion(UpdateDatasetVersionRequest request)

public ListenableFuture<DatasetVersion> updateDatasetVersion(UpdateDatasetVersionRequest request)

Updates a DatasetVersion.

Parameter
Name Description
request UpdateDatasetVersionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DatasetVersion>