Class DataprocMetastoreGrpc.DataprocMetastoreImplBase (2.1.9)

public abstract static class DataprocMetastoreGrpc.DataprocMetastoreImplBase implements BindableService

Configures and manages metastore services. Metastore services are fully managed, highly available, auto-scaled, auto-healing, 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}.

Inheritance

java.lang.Object > DataprocMetastoreGrpc.DataprocMetastoreImplBase

Implements

io.grpc.BindableService

Constructors

DataprocMetastoreImplBase()

public DataprocMetastoreImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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
NameDescription
requestCreateBackupRequest
responseObserverio.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
NameDescription
requestCreateMetadataImportRequest
responseObserverio.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
NameDescription
requestCreateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

Deletes a single backup.

Parameters
NameDescription
requestDeleteBackupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

public void deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)

Deletes a single service.

Parameters
NameDescription
requestDeleteServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

exportMetadata(ExportMetadataRequest request, StreamObserver<Operation> responseObserver)

public void exportMetadata(ExportMetadataRequest request, StreamObserver<Operation> responseObserver)

Exports metadata from a service.

Parameters
NameDescription
requestExportMetadataRequest
responseObserverio.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
NameDescription
requestGetBackupRequest
responseObserverio.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
NameDescription
requestGetMetadataImportRequest
responseObserverio.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
NameDescription
requestGetServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

Lists backups in a service.

Parameters
NameDescription
requestListBackupsRequest
responseObserverio.grpc.stub.StreamObserver<ListBackupsResponse>

listMetadataImports(ListMetadataImportsRequest request, StreamObserver<ListMetadataImportsResponse> responseObserver)

public void listMetadataImports(ListMetadataImportsRequest request, StreamObserver<ListMetadataImportsResponse> responseObserver)

Lists imports in a service.

Parameters
NameDescription
requestListMetadataImportsRequest
responseObserverio.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
NameDescription
requestListServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListServicesResponse>

restoreService(RestoreServiceRequest request, StreamObserver<Operation> responseObserver)

public void restoreService(RestoreServiceRequest request, StreamObserver<Operation> responseObserver)

Restores a service from a backup.

Parameters
NameDescription
requestRestoreServiceRequest
responseObserverio.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
NameDescription
requestUpdateMetadataImportRequest
responseObserverio.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
NameDescription
requestUpdateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>