Class GrpcDatasetServiceStub
- java.lang.Object
-
- com.google.cloud.aiplatform.v1beta1.stub.DatasetServiceStub
-
- com.google.cloud.aiplatform.v1beta1.stub.GrpcDatasetServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @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 protected
GrpcDatasetServiceStub(DatasetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDatasetServiceStub, using the given settings.protected
GrpcDatasetServiceStub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static GrpcDatasetServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcDatasetServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcDatasetServiceStub
create(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.GrpcOperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<ImportDataRequest,com.google.longrunning.Operation>
importDataCallable()
com.google.api.gax.rpc.OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata>
importDataOperationCallable()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
getOperationsStub
in classDatasetServiceStub
-
createDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDatasetRequest,com.google.longrunning.Operation> createDatasetCallable()
- Overrides:
createDatasetCallable
in classDatasetServiceStub
-
createDatasetOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetOperationMetadata> createDatasetOperationCallable()
- Overrides:
createDatasetOperationCallable
in classDatasetServiceStub
-
getDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
- Overrides:
getDatasetCallable
in classDatasetServiceStub
-
updateDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDatasetRequest,Dataset> updateDatasetCallable()
- Overrides:
updateDatasetCallable
in classDatasetServiceStub
-
listDatasetsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
- Overrides:
listDatasetsCallable
in classDatasetServiceStub
-
listDatasetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,DatasetServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
- Overrides:
listDatasetsPagedCallable
in classDatasetServiceStub
-
deleteDatasetCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDatasetRequest,com.google.longrunning.Operation> deleteDatasetCallable()
- Overrides:
deleteDatasetCallable
in classDatasetServiceStub
-
deleteDatasetOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteDatasetRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteDatasetOperationCallable()
- Overrides:
deleteDatasetOperationCallable
in classDatasetServiceStub
-
importDataCallable
public com.google.api.gax.rpc.UnaryCallable<ImportDataRequest,com.google.longrunning.Operation> importDataCallable()
- Overrides:
importDataCallable
in classDatasetServiceStub
-
importDataOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataOperationMetadata> importDataOperationCallable()
- Overrides:
importDataOperationCallable
in classDatasetServiceStub
-
exportDataCallable
public com.google.api.gax.rpc.UnaryCallable<ExportDataRequest,com.google.longrunning.Operation> exportDataCallable()
- Overrides:
exportDataCallable
in classDatasetServiceStub
-
exportDataOperationCallable
public com.google.api.gax.rpc.OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataOperationMetadata> exportDataOperationCallable()
- Overrides:
exportDataOperationCallable
in classDatasetServiceStub
-
listDataItemsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
- Overrides:
listDataItemsCallable
in classDatasetServiceStub
-
listDataItemsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,DatasetServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
- Overrides:
listDataItemsPagedCallable
in classDatasetServiceStub
-
searchDataItemsCallable
public com.google.api.gax.rpc.UnaryCallable<SearchDataItemsRequest,SearchDataItemsResponse> searchDataItemsCallable()
- Overrides:
searchDataItemsCallable
in classDatasetServiceStub
-
searchDataItemsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchDataItemsRequest,DatasetServiceClient.SearchDataItemsPagedResponse> searchDataItemsPagedCallable()
- Overrides:
searchDataItemsPagedCallable
in classDatasetServiceStub
-
listSavedQueriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
- Overrides:
listSavedQueriesCallable
in classDatasetServiceStub
-
listSavedQueriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,DatasetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
- Overrides:
listSavedQueriesPagedCallable
in classDatasetServiceStub
-
deleteSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSavedQueryRequest,com.google.longrunning.Operation> deleteSavedQueryCallable()
- Overrides:
deleteSavedQueryCallable
in classDatasetServiceStub
-
deleteSavedQueryOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSavedQueryRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteSavedQueryOperationCallable()
- Overrides:
deleteSavedQueryOperationCallable
in classDatasetServiceStub
-
getAnnotationSpecCallable
public com.google.api.gax.rpc.UnaryCallable<GetAnnotationSpecRequest,AnnotationSpec> getAnnotationSpecCallable()
- Overrides:
getAnnotationSpecCallable
in classDatasetServiceStub
-
listAnnotationsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse> listAnnotationsCallable()
- Overrides:
listAnnotationsCallable
in classDatasetServiceStub
-
listAnnotationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> listAnnotationsPagedCallable()
- Overrides:
listAnnotationsPagedCallable
in classDatasetServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classDatasetServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DatasetServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classDatasetServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classDatasetServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classDatasetServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classDatasetServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classDatasetServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-