Class GrpcDatasetServiceStub
- java.lang.Object
-
- com.google.cloud.aiplatform.v1.stub.DatasetServiceStub
-
- com.google.cloud.aiplatform.v1.stub.GrpcDatasetServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcDatasetServiceStub(DatasetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcDatasetServiceStub, using the given settings.protectedGrpcDatasetServiceStub(DatasetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcDatasetServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcDatasetServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcDatasetServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcDatasetServiceStubcreate(DatasetServiceStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateDatasetRequest,com.google.longrunning.Operation>createDatasetCallable()com.google.api.gax.rpc.OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata>createDatasetOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteDatasetRequest,com.google.longrunning.Operation>deleteDatasetCallable()com.google.api.gax.rpc.OperationCallable<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteOperationMetadata>deleteDatasetOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteSavedQueryRequest,com.google.longrunning.Operation>deleteSavedQueryCallable()com.google.api.gax.rpc.OperationCallable<DeleteSavedQueryRequest,com.google.protobuf.Empty,DeleteOperationMetadata>deleteSavedQueryOperationCallable()com.google.api.gax.rpc.UnaryCallable<ExportDataRequest,com.google.longrunning.Operation>exportDataCallable()com.google.api.gax.rpc.OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata>exportDataOperationCallable()com.google.api.gax.rpc.UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec>getAnnotationSpecCallable()com.google.api.gax.rpc.UnaryCallable<GetDatasetRequest,Dataset>getDatasetCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<ImportDataRequest,com.google.longrunning.Operation>importDataCallable()com.google.api.gax.rpc.OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata>importDataOperationCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse>listAnnotationsCallable()com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse>listAnnotationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,ListDataItemsResponse>listDataItemsCallable()com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,DatasetServiceClient.ListDataItemsPagedResponse>listDataItemsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,ListDatasetsResponse>listDatasetsCallable()com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,DatasetServiceClient.ListDatasetsPagedResponse>listDatasetsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>listLocationsCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DatasetServiceClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse>listSavedQueriesCallable()com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,DatasetServiceClient.ListSavedQueriesPagedResponse>listSavedQueriesPagedCallable()com.google.api.gax.rpc.UnaryCallable<SearchDataItemsRequest,SearchDataItemsResponse>searchDataItemsCallable()com.google.api.gax.rpc.UnaryCallable<SearchDataItemsRequest,DatasetServiceClient.SearchDataItemsPagedResponse>searchDataItemsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateDatasetRequest,Dataset>updateDatasetCallable()
-
-
-
Constructor Detail
-
GrpcDatasetServiceStub
protected GrpcDatasetServiceStub(DatasetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcDatasetServiceStub
protected GrpcDatasetServiceStub(DatasetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcDatasetServiceStub create(DatasetServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcDatasetServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcDatasetServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classDatasetServiceStub
-
createDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDatasetRequest,com.google.longrunning.Operation> createDatasetCallable()
- Overrides:
createDatasetCallablein classDatasetServiceStub
-
createDatasetOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationCallable()
- Overrides:
createDatasetOperationCallablein classDatasetServiceStub
-
getDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
- Overrides:
getDatasetCallablein classDatasetServiceStub
-
updateDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
- Overrides:
updateDatasetCallablein classDatasetServiceStub
-
listDatasetsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
- Overrides:
listDatasetsCallablein classDatasetServiceStub
-
listDatasetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
- Overrides:
listDatasetsPagedCallablein classDatasetServiceStub
-
deleteDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDatasetRequest,com.google.longrunning.Operation> deleteDatasetCallable()
- Overrides:
deleteDatasetCallablein classDatasetServiceStub
-
deleteDatasetOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteDatasetOperationCallable()
- Overrides:
deleteDatasetOperationCallablein classDatasetServiceStub
-
importDataCallable
public com.google.api.gax.rpc.UnaryCallable<ImportDataRequest,com.google.longrunning.Operation> importDataCallable()
- Overrides:
importDataCallablein classDatasetServiceStub
-
importDataOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationCallable()
- Overrides:
importDataOperationCallablein classDatasetServiceStub
-
exportDataCallable
public com.google.api.gax.rpc.UnaryCallable<ExportDataRequest,com.google.longrunning.Operation> exportDataCallable()
- Overrides:
exportDataCallablein classDatasetServiceStub
-
exportDataOperationCallable
public com.google.api.gax.rpc.OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationCallable()
- Overrides:
exportDataOperationCallablein classDatasetServiceStub
-
listDataItemsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
- Overrides:
listDataItemsCallablein classDatasetServiceStub
-
listDataItemsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
- Overrides:
listDataItemsPagedCallablein classDatasetServiceStub
-
searchDataItemsCallable
public com.google.api.gax.rpc.UnaryCallable<SearchDataItemsRequest,SearchDataItemsResponse> searchDataItemsCallable()
- Overrides:
searchDataItemsCallablein classDatasetServiceStub
-
searchDataItemsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchDataItemsRequest,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsPagedCallable()
- Overrides:
searchDataItemsPagedCallablein classDatasetServiceStub
-
listSavedQueriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
- Overrides:
listSavedQueriesCallablein classDatasetServiceStub
-
listSavedQueriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
- Overrides:
listSavedQueriesPagedCallablein classDatasetServiceStub
-
deleteSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSavedQueryRequest,com.google.longrunning.Operation> deleteSavedQueryCallable()
- Overrides:
deleteSavedQueryCallablein classDatasetServiceStub
-
deleteSavedQueryOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSavedQueryRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteSavedQueryOperationCallable()
- Overrides:
deleteSavedQueryOperationCallablein classDatasetServiceStub
-
getAnnotationSpecCallable
public com.google.api.gax.rpc.UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
- Overrides:
getAnnotationSpecCallablein classDatasetServiceStub
-
listAnnotationsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse> listAnnotationsCallable()
- Overrides:
listAnnotationsCallablein classDatasetServiceStub
-
listAnnotationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsPagedCallable()
- Overrides:
listAnnotationsPagedCallablein classDatasetServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classDatasetServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DatasetServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classDatasetServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classDatasetServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classDatasetServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classDatasetServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classDatasetServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDatasetServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-