Class GrpcDatasetServiceStub (3.24.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDatasetServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDatasetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDatasetServiceStub
Exceptions
TypeDescription
IOException

create(DatasetServiceStubSettings settings)

public static final GrpcDatasetServiceStub create(DatasetServiceStubSettings settings)
Parameter
NameDescription
settingsDatasetServiceStubSettings
Returns
TypeDescription
GrpcDatasetServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsDatasetServiceStubSettings
clientContextClientContext

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
NameDescription
settingsDatasetServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createDatasetCallable()

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

createDatasetOperationCallable()

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

deleteDatasetCallable()

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

deleteDatasetOperationCallable()

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

deleteSavedQueryCallable()

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

deleteSavedQueryOperationCallable()

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

exportDataCallable()

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

exportDataOperationCallable()

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

getAnnotationSpecCallable()

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

getDatasetCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

importDataCallable()

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

importDataOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAnnotationsCallable()

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

listAnnotationsPagedCallable()

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

listDataItemsCallable()

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

listDataItemsPagedCallable()

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

listDatasetsCallable()

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

listDatasetsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listSavedQueriesCallable()

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

listSavedQueriesPagedCallable()

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

searchDataItemsCallable()

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

searchDataItemsPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateDatasetCallable()

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