- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.4
- 2.3.0
- 2.2.0
- 2.1.9
public static final class DataprocMetastoreGrpc.DataprocMetastoreStub extends AbstractAsyncStub<DataprocMetastoreGrpc.DataprocMetastoreStub>
A stub to allow clients to do asynchronous rpc calls to service DataprocMetastore.
Configures and manages metastore services. Metastore services are fully managed, highly available, autoscaled, autohealing, OSS-native deployments of technical metadata management software. Each metastore service exposes a network endpoint through which metadata queries are served. Metadata queries can originate from a variety of sources, including Apache Hive, Apache Presto, and Apache Spark. The Dataproc Metastore API defines the following resource model:
- The service works with a collection of Google Cloud projects, named:
/projects/*
- Each project has a collection of available locations, named:
/locations/*
(a location must refer to a Google Cloudregion
) - Each location has a collection of services, named:
/services/*
- Dataproc Metastore services are resources with names of the form:
/projects/{project_number}/locations/{location_id}/services/{service_id}
.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DataprocMetastoreGrpc.DataprocMetastoreStubMethods
alterMetadataResourceLocation(AlterMetadataResourceLocationRequest request, StreamObserver<Operation> responseObserver)
public void alterMetadataResourceLocation(AlterMetadataResourceLocationRequest request, StreamObserver<Operation> responseObserver)
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
Parameters | |
---|---|
Name | Description |
request | AlterMetadataResourceLocationRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
build(Channel channel, CallOptions callOptions)
protected DataprocMetastoreGrpc.DataprocMetastoreStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
DataprocMetastoreGrpc.DataprocMetastoreStub |
createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
Creates a new backup in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createMetadataImport(CreateMetadataImportRequest request, StreamObserver<Operation> responseObserver)
public void createMetadataImport(CreateMetadataImportRequest request, StreamObserver<Operation> responseObserver)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)
public void createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
Deletes a single backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)
public void deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
exportMetadata(ExportMetadataRequest request, StreamObserver<Operation> responseObserver)
public void exportMetadata(ExportMetadataRequest request, StreamObserver<Operation> responseObserver)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
Gets details of a single backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest |
responseObserver | io.grpc.stub.StreamObserver<Backup> |
getMetadataImport(GetMetadataImportRequest request, StreamObserver<MetadataImport> responseObserver)
public void getMetadataImport(GetMetadataImportRequest request, StreamObserver<MetadataImport> responseObserver)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest |
responseObserver | io.grpc.stub.StreamObserver<MetadataImport> |
getService(GetServiceRequest request, StreamObserver<Service> responseObserver)
public void getService(GetServiceRequest request, StreamObserver<Service> responseObserver)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Service> |
listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
Lists backups in a service.
Parameters | |
---|---|
Name | Description |
request | ListBackupsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListBackupsResponse> |
listMetadataImports(ListMetadataImportsRequest request, StreamObserver<ListMetadataImportsResponse> responseObserver)
public void listMetadataImports(ListMetadataImportsRequest request, StreamObserver<ListMetadataImportsResponse> responseObserver)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListMetadataImportsResponse> |
listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)
public void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)
Lists services in a project and location.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListServicesResponse> |
moveTableToDatabase(MoveTableToDatabaseRequest request, StreamObserver<Operation> responseObserver)
public void moveTableToDatabase(MoveTableToDatabaseRequest request, StreamObserver<Operation> responseObserver)
Move a table to another database.
Parameters | |
---|---|
Name | Description |
request | MoveTableToDatabaseRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
queryMetadata(QueryMetadataRequest request, StreamObserver<Operation> responseObserver)
public void queryMetadata(QueryMetadataRequest request, StreamObserver<Operation> responseObserver)
Query DPMS metadata.
Parameters | |
---|---|
Name | Description |
request | QueryMetadataRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
removeIamPolicy(RemoveIamPolicyRequest request, StreamObserver<RemoveIamPolicyResponse> responseObserver)
public void removeIamPolicy(RemoveIamPolicyRequest request, StreamObserver<RemoveIamPolicyResponse> responseObserver)
Removes the attached IAM policies for a resource
Parameters | |
---|---|
Name | Description |
request | RemoveIamPolicyRequest |
responseObserver | io.grpc.stub.StreamObserver<RemoveIamPolicyResponse> |
restoreService(RestoreServiceRequest request, StreamObserver<Operation> responseObserver)
public void restoreService(RestoreServiceRequest request, StreamObserver<Operation> responseObserver)
Restores a service from a backup.
Parameters | |
---|---|
Name | Description |
request | RestoreServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateMetadataImport(UpdateMetadataImportRequest request, StreamObserver<Operation> responseObserver)
public void updateMetadataImport(UpdateMetadataImportRequest request, StreamObserver<Operation> responseObserver)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)
public void updateService(UpdateServiceRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |