Class DataprocMetastoreGrpc (2.21.0)

public final class DataprocMetastoreGrpc

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}.

Inheritance

java.lang.Object > DataprocMetastoreGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(DataprocMetastoreGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DataprocMetastoreGrpc.AsyncService service)
Parameter
NameDescription
serviceDataprocMetastoreGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getAlterMetadataResourceLocationMethod()

public static MethodDescriptor<AlterMetadataResourceLocationRequest,Operation> getAlterMetadataResourceLocationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AlterMetadataResourceLocationRequest,Operation>

getCreateBackupMethod()

public static MethodDescriptor<CreateBackupRequest,Operation> getCreateBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateBackupRequest,Operation>

getCreateMetadataImportMethod()

public static MethodDescriptor<CreateMetadataImportRequest,Operation> getCreateMetadataImportMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateMetadataImportRequest,Operation>

getCreateServiceMethod()

public static MethodDescriptor<CreateServiceRequest,Operation> getCreateServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateServiceRequest,Operation>

getDeleteBackupMethod()

public static MethodDescriptor<DeleteBackupRequest,Operation> getDeleteBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteBackupRequest,Operation>

getDeleteServiceMethod()

public static MethodDescriptor<DeleteServiceRequest,Operation> getDeleteServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteServiceRequest,Operation>

getExportMetadataMethod()

public static MethodDescriptor<ExportMetadataRequest,Operation> getExportMetadataMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ExportMetadataRequest,Operation>

getGetBackupMethod()

public static MethodDescriptor<GetBackupRequest,Backup> getGetBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetBackupRequest,Backup>

getGetMetadataImportMethod()

public static MethodDescriptor<GetMetadataImportRequest,MetadataImport> getGetMetadataImportMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetMetadataImportRequest,MetadataImport>

getGetServiceMethod()

public static MethodDescriptor<GetServiceRequest,Service> getGetServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetServiceRequest,Service>

getListBackupsMethod()

public static MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListBackupsRequest,ListBackupsResponse>

getListMetadataImportsMethod()

public static MethodDescriptor<ListMetadataImportsRequest,ListMetadataImportsResponse> getListMetadataImportsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListMetadataImportsRequest,ListMetadataImportsResponse>

getListServicesMethod()

public static MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse>

getMoveTableToDatabaseMethod()

public static MethodDescriptor<MoveTableToDatabaseRequest,Operation> getMoveTableToDatabaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<MoveTableToDatabaseRequest,Operation>

getQueryMetadataMethod()

public static MethodDescriptor<QueryMetadataRequest,Operation> getQueryMetadataMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<QueryMetadataRequest,Operation>

getRemoveIamPolicyMethod()

public static MethodDescriptor<RemoveIamPolicyRequest,RemoveIamPolicyResponse> getRemoveIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RemoveIamPolicyRequest,RemoveIamPolicyResponse>

getRestoreServiceMethod()

public static MethodDescriptor<RestoreServiceRequest,Operation> getRestoreServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RestoreServiceRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateMetadataImportMethod()

public static MethodDescriptor<UpdateMetadataImportRequest,Operation> getUpdateMetadataImportMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateMetadataImportRequest,Operation>

getUpdateServiceMethod()

public static MethodDescriptor<UpdateServiceRequest,Operation> getUpdateServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateServiceRequest,Operation>

newBlockingStub(Channel channel)

public static DataprocMetastoreGrpc.DataprocMetastoreBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DataprocMetastoreGrpc.DataprocMetastoreBlockingStub

newFutureStub(Channel channel)

public static DataprocMetastoreGrpc.DataprocMetastoreFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DataprocMetastoreGrpc.DataprocMetastoreFutureStub

newStub(Channel channel)

public static DataprocMetastoreGrpc.DataprocMetastoreStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DataprocMetastoreGrpc.DataprocMetastoreStub