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.
Static Methods
create(ClientContext clientContext)
public static final GrpcDatasetServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatasetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatasetServiceStub create(DatasetServiceStubSettings settings)
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.
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.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Overrides
public OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationCallable()
Overrides
public UnaryCallable<CreateDatasetVersionRequest,Operation> createDatasetVersionCallable()
Overrides
public OperationCallable<CreateDatasetVersionRequest,DatasetVersion,CreateDatasetVersionOperationMetadata> createDatasetVersionOperationCallable()
Overrides
public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Overrides
public OperationCallable<DeleteDatasetRequest,Empty,DeleteOperationMetadata> deleteDatasetOperationCallable()
Overrides
public UnaryCallable<DeleteDatasetVersionRequest,Operation> deleteDatasetVersionCallable()
Overrides
public OperationCallable<DeleteDatasetVersionRequest,Empty,DeleteOperationMetadata> deleteDatasetVersionOperationCallable()
Overrides
public UnaryCallable<DeleteSavedQueryRequest,Operation> deleteSavedQueryCallable()
Overrides
public OperationCallable<DeleteSavedQueryRequest,Empty,DeleteOperationMetadata> deleteSavedQueryOperationCallable()
Overrides
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Overrides
public OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationCallable()
Overrides
public UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
Overrides
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Overrides
public UnaryCallable<GetDatasetVersionRequest,DatasetVersion> getDatasetVersionCallable()
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
public GrpcOperationsStub getOperationsStub()
Overrides
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Overrides
public OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse> listAnnotationsCallable()
Overrides
listAnnotationsPagedCallable()
public UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsPagedCallable()
Overrides
public UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
Overrides
listDataItemsPagedCallable()
public UnaryCallable<ListDataItemsRequest,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
Overrides
public UnaryCallable<ListDatasetVersionsRequest,ListDatasetVersionsResponse> listDatasetVersionsCallable()
Overrides
listDatasetVersionsPagedCallable()
public UnaryCallable<ListDatasetVersionsRequest,DatasetServiceClient.ListDatasetVersionsPagedResponse> listDatasetVersionsPagedCallable()
Overrides
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Overrides
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Overrides
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()
Overrides
public UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
Overrides
listSavedQueriesPagedCallable()
public UnaryCallable<ListSavedQueriesRequest,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
Overrides
public UnaryCallable<RestoreDatasetVersionRequest,Operation> restoreDatasetVersionCallable()
Overrides
public OperationCallable<RestoreDatasetVersionRequest,DatasetVersion,RestoreDatasetVersionOperationMetadata> restoreDatasetVersionOperationCallable()
Overrides
public UnaryCallable<SearchDataItemsRequest,SearchDataItemsResponse> searchDataItemsCallable()
Overrides
searchDataItemsPagedCallable()
public UnaryCallable<SearchDataItemsRequest,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsPagedCallable()
Overrides
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
public void shutdownNow()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
public UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
Overrides
public UnaryCallable<UpdateDatasetVersionRequest,DatasetVersion> updateDatasetVersionCallable()
Overrides