Class DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub>
com.google.cloud.metastore.v1beta.DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub
Enclosing class:
DataprocMetastoreGrpc

public static final class DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub>
A stub to allow clients to do synchronous 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 Details

    • build

      protected DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DataprocMetastoreGrpc.DataprocMetastoreBlockingV2Stub>
    • listServices

      public ListServicesResponse listServices(ListServicesRequest request) throws io.grpc.StatusException
       Lists services in a project and location.
       
      Throws:
      io.grpc.StatusException
    • getService

      public Service getService(GetServiceRequest request) throws io.grpc.StatusException
       Gets the details of a single service.
       
      Throws:
      io.grpc.StatusException
    • createService

      public Operation createService(CreateServiceRequest request) throws io.grpc.StatusException
       Creates a metastore service in a project and location.
       
      Throws:
      io.grpc.StatusException
    • updateService

      public Operation updateService(UpdateServiceRequest request) throws io.grpc.StatusException
       Updates the parameters of a single service.
       
      Throws:
      io.grpc.StatusException
    • deleteService

      public Operation deleteService(DeleteServiceRequest request) throws io.grpc.StatusException
       Deletes a single service.
       
      Throws:
      io.grpc.StatusException
    • listMetadataImports

      public ListMetadataImportsResponse listMetadataImports(ListMetadataImportsRequest request) throws io.grpc.StatusException
       Lists imports in a service.
       
      Throws:
      io.grpc.StatusException
    • getMetadataImport

      public MetadataImport getMetadataImport(GetMetadataImportRequest request) throws io.grpc.StatusException
       Gets details of a single import.
       
      Throws:
      io.grpc.StatusException
    • createMetadataImport

      public Operation createMetadataImport(CreateMetadataImportRequest request) throws io.grpc.StatusException
       Creates a new MetadataImport in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateMetadataImport

      public Operation updateMetadataImport(UpdateMetadataImportRequest request) throws io.grpc.StatusException
       Updates a single import.
       Only the description field of MetadataImport is supported to be updated.
       
      Throws:
      io.grpc.StatusException
    • exportMetadata

      public Operation exportMetadata(ExportMetadataRequest request) throws io.grpc.StatusException
       Exports metadata from a service.
       
      Throws:
      io.grpc.StatusException
    • restoreService

      public Operation restoreService(RestoreServiceRequest request) throws io.grpc.StatusException
       Restores a service from a backup.
       
      Throws:
      io.grpc.StatusException
    • listBackups

      public ListBackupsResponse listBackups(ListBackupsRequest request) throws io.grpc.StatusException
       Lists backups in a service.
       
      Throws:
      io.grpc.StatusException
    • getBackup

      public Backup getBackup(GetBackupRequest request) throws io.grpc.StatusException
       Gets details of a single backup.
       
      Throws:
      io.grpc.StatusException
    • createBackup

      public Operation createBackup(CreateBackupRequest request) throws io.grpc.StatusException
       Creates a new backup in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • deleteBackup

      public Operation deleteBackup(DeleteBackupRequest request) throws io.grpc.StatusException
       Deletes a single backup.
       
      Throws:
      io.grpc.StatusException
    • removeIamPolicy

      public RemoveIamPolicyResponse removeIamPolicy(RemoveIamPolicyRequest request) throws io.grpc.StatusException
       Removes the attached IAM policies for a resource
       
      Throws:
      io.grpc.StatusException
    • queryMetadata

      public Operation queryMetadata(QueryMetadataRequest request) throws io.grpc.StatusException
       Query DPMS metadata.
       
      Throws:
      io.grpc.StatusException
    • moveTableToDatabase

      public Operation moveTableToDatabase(MoveTableToDatabaseRequest request) throws io.grpc.StatusException
       Move a table to another database.
       
      Throws:
      io.grpc.StatusException
    • alterMetadataResourceLocation

      public Operation alterMetadataResourceLocation(AlterMetadataResourceLocationRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException