Class DataprocMetastoreGrpc.DataprocMetastoreStub

  • Enclosing class:
    DataprocMetastoreGrpc

    public static final class DataprocMetastoreGrpc.DataprocMetastoreStub
    extends io.grpc.stub.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 Cloud `region`)
     * 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}`.
     
    • Method Detail

      • getService

        public void getService​(GetServiceRequest request,
                               io.grpc.stub.StreamObserver<Service> responseObserver)
         Gets the details of a single service.
         
      • createService

        public void createService​(CreateServiceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a metastore service in a project and location.
         
      • updateService

        public void updateService​(UpdateServiceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates the parameters of a single service.
         
      • deleteService

        public void deleteService​(DeleteServiceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a single service.
         
      • createMetadataImport

        public void createMetadataImport​(CreateMetadataImportRequest request,
                                         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new MetadataImport in a given project and location.
         
      • updateMetadataImport

        public void updateMetadataImport​(UpdateMetadataImportRequest request,
                                         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates a single import.
         Only the description field of MetadataImport is supported to be updated.
         
      • exportMetadata

        public void exportMetadata​(ExportMetadataRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Exports metadata from a service.
         
      • restoreService

        public void restoreService​(RestoreServiceRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Restores a service from a backup.
         
      • getBackup

        public void getBackup​(GetBackupRequest request,
                              io.grpc.stub.StreamObserver<Backup> responseObserver)
         Gets details of a single backup.
         
      • createBackup

        public void createBackup​(CreateBackupRequest request,
                                 io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new backup in a given project and location.
         
      • deleteBackup

        public void deleteBackup​(DeleteBackupRequest request,
                                 io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a single backup.
         
      • queryMetadata

        public void queryMetadata​(QueryMetadataRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Query DPMS metadata.
         
      • moveTableToDatabase

        public void moveTableToDatabase​(MoveTableToDatabaseRequest request,
                                        io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Move a table to another database.
         
      • alterMetadataResourceLocation

        public void alterMetadataResourceLocation​(AlterMetadataResourceLocationRequest request,
                                                  io.grpc.stub.StreamObserver<com.google.longrunning.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.