Class GrpcDatasetServiceStub (3.55.0)

public class GrpcDatasetServiceStub extends DatasetServiceStub

gRPC stub implementation for the DatasetService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DatasetServiceStub > GrpcDatasetServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDatasetServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDatasetServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDatasetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDatasetServiceStub
Exceptions
Type Description
IOException

create(DatasetServiceStubSettings settings)

public static final GrpcDatasetServiceStub create(DatasetServiceStubSettings settings)
Parameter
Name Description
settings DatasetServiceStubSettings
Returns
Type Description
GrpcDatasetServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcDatasetServiceStub(DatasetServiceStubSettings settings, ClientContext clientContext)

protected GrpcDatasetServiceStub(DatasetServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDatasetServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DatasetServiceStubSettings
clientContext ClientContext

GrpcDatasetServiceStub(DatasetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDatasetServiceStub(DatasetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDatasetServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DatasetServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createDatasetCallable()

public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Returns
Type Description
UnaryCallable<CreateDatasetRequest,Operation>
Overrides

createDatasetOperationCallable()

public OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationCallable()
Returns
Type Description
OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata>
Overrides

createDatasetVersionCallable()

public UnaryCallable<CreateDatasetVersionRequest,Operation> createDatasetVersionCallable()
Returns
Type Description
UnaryCallable<CreateDatasetVersionRequest,Operation>
Overrides

createDatasetVersionOperationCallable()

public OperationCallable<CreateDatasetVersionRequest,DatasetVersion,CreateDatasetVersionOperationMetadata> createDatasetVersionOperationCallable()
Returns
Type Description
OperationCallable<CreateDatasetVersionRequest,DatasetVersion,CreateDatasetVersionOperationMetadata>
Overrides

deleteDatasetCallable()

public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Returns
Type Description
UnaryCallable<DeleteDatasetRequest,Operation>
Overrides

deleteDatasetOperationCallable()

public OperationCallable<DeleteDatasetRequest,Empty,DeleteOperationMetadata> deleteDatasetOperationCallable()
Returns
Type Description
OperationCallable<DeleteDatasetRequest,Empty,DeleteOperationMetadata>
Overrides

deleteDatasetVersionCallable()

public UnaryCallable<DeleteDatasetVersionRequest,Operation> deleteDatasetVersionCallable()
Returns
Type Description
UnaryCallable<DeleteDatasetVersionRequest,Operation>
Overrides

deleteDatasetVersionOperationCallable()

public OperationCallable<DeleteDatasetVersionRequest,Empty,DeleteOperationMetadata> deleteDatasetVersionOperationCallable()
Returns
Type Description
OperationCallable<DeleteDatasetVersionRequest,Empty,DeleteOperationMetadata>
Overrides

deleteSavedQueryCallable()

public UnaryCallable<DeleteSavedQueryRequest,Operation> deleteSavedQueryCallable()
Returns
Type Description
UnaryCallable<DeleteSavedQueryRequest,Operation>
Overrides

deleteSavedQueryOperationCallable()

public OperationCallable<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata> deleteSavedQueryOperationCallable()
Returns
Type Description
OperationCallable<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata>
Overrides

exportDataCallable()

public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Returns
Type Description
UnaryCallable<ExportDataRequest,Operation>
Overrides

exportDataOperationCallable()

public OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationCallable()
Returns
Type Description
OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata>
Overrides

getAnnotationSpecCallable()

public UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
Returns
Type Description
UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec>
Overrides

getDatasetCallable()

public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns
Type Description
UnaryCallable<GetDatasetRequest,Dataset>
Overrides

getDatasetVersionCallable()

public UnaryCallable<GetDatasetVersionRequest,DatasetVersion> getDatasetVersionCallable()
Returns
Type Description
UnaryCallable<GetDatasetVersionRequest,DatasetVersion>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

importDataCallable()

public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Returns
Type Description
UnaryCallable<ImportDataRequest,Operation>
Overrides

importDataOperationCallable()

public OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationCallable()
Returns
Type Description
OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAnnotationsCallable()

public UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse> listAnnotationsCallable()
Returns
Type Description
UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse>
Overrides

listAnnotationsPagedCallable()

public UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsPagedCallable()
Returns
Type Description
UnaryCallable<ListAnnotationsRequest,ListAnnotationsPagedResponse>
Overrides

listDataItemsCallable()

public UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
Returns
Type Description
UnaryCallable<ListDataItemsRequest,ListDataItemsResponse>
Overrides

listDataItemsPagedCallable()

public UnaryCallable<ListDataItemsRequest,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
Returns
Type Description
UnaryCallable<ListDataItemsRequest,ListDataItemsPagedResponse>
Overrides

listDatasetVersionsCallable()

public UnaryCallable<ListDatasetVersionsRequest,ListDatasetVersionsResponse> listDatasetVersionsCallable()
Returns
Type Description
UnaryCallable<ListDatasetVersionsRequest,ListDatasetVersionsResponse>
Overrides

listDatasetVersionsPagedCallable()

public UnaryCallable<ListDatasetVersionsRequest,DatasetServiceClient.ListDatasetVersionsPagedResponse> listDatasetVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListDatasetVersionsRequest,ListDatasetVersionsPagedResponse>
Overrides

listDatasetsCallable()

public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Returns
Type Description
UnaryCallable<ListDatasetsRequest,ListDatasetsResponse>
Overrides

listDatasetsPagedCallable()

public UnaryCallable<ListDatasetsRequest,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Returns
Type Description
UnaryCallable<ListDatasetsRequest,ListDatasetsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DatasetServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listSavedQueriesCallable()

public UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
Returns
Type Description
UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse>
Overrides

listSavedQueriesPagedCallable()

public UnaryCallable<ListSavedQueriesRequest,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
Returns
Type Description
UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesPagedResponse>
Overrides

restoreDatasetVersionCallable()

public UnaryCallable<RestoreDatasetVersionRequest,Operation> restoreDatasetVersionCallable()
Returns
Type Description
UnaryCallable<RestoreDatasetVersionRequest,Operation>
Overrides

restoreDatasetVersionOperationCallable()

public OperationCallable<RestoreDatasetVersionRequest,DatasetVersion,RestoreDatasetVersionOperationMetadata> restoreDatasetVersionOperationCallable()
Returns
Type Description
OperationCallable<RestoreDatasetVersionRequest,DatasetVersion,RestoreDatasetVersionOperationMetadata>
Overrides

searchDataItemsCallable()

public UnaryCallable<SearchDataItemsRequest,SearchDataItemsResponse> searchDataItemsCallable()
Returns
Type Description
UnaryCallable<SearchDataItemsRequest,SearchDataItemsResponse>
Overrides

searchDataItemsPagedCallable()

public UnaryCallable<SearchDataItemsRequest,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsPagedCallable()
Returns
Type Description
UnaryCallable<SearchDataItemsRequest,SearchDataItemsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateDatasetCallable()

public UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
Returns
Type Description
UnaryCallable<UpdateDatasetRequest,Dataset>
Overrides

updateDatasetVersionCallable()

public UnaryCallable<UpdateDatasetVersionRequest,DatasetVersion> updateDatasetVersionCallable()
Returns
Type Description
UnaryCallable<UpdateDatasetVersionRequest,DatasetVersion>
Overrides