Class GrpcDataprocMetastoreStub (2.7.0)

public class GrpcDataprocMetastoreStub extends DataprocMetastoreStub

gRPC stub implementation for the DataprocMetastore service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DataprocMetastoreStub > GrpcDataprocMetastoreStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDataprocMetastoreStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataprocMetastoreStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(DataprocMetastoreStubSettings settings)

public static final GrpcDataprocMetastoreStub create(DataprocMetastoreStubSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreStubSettings
Returns Exceptions
TypeDescription
IOException

Constructors

GrpcDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext)

protected GrpcDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDataprocMetastoreStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsDataprocMetastoreStubSettings
clientContextClientContext

GrpcDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDataprocMetastoreStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsDataprocMetastoreStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createBackupCallable()

public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns Overrides

createBackupOperationCallable()

public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Returns Overrides

createMetadataImportCallable()

public UnaryCallable<CreateMetadataImportRequest,Operation> createMetadataImportCallable()
Returns Overrides

createMetadataImportOperationCallable()

public OperationCallable<CreateMetadataImportRequest,MetadataImport,OperationMetadata> createMetadataImportOperationCallable()
Returns Overrides

createServiceCallable()

public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Returns Overrides

createServiceOperationCallable()

public OperationCallable<CreateServiceRequest,Service,OperationMetadata> createServiceOperationCallable()
Returns Overrides

deleteBackupCallable()

public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Returns Overrides

deleteBackupOperationCallable()

public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Returns Overrides

deleteServiceCallable()

public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Returns Overrides

deleteServiceOperationCallable()

public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Returns Overrides

exportMetadataCallable()

public UnaryCallable<ExportMetadataRequest,Operation> exportMetadataCallable()
Returns Overrides

exportMetadataOperationCallable()

public OperationCallable<ExportMetadataRequest,MetadataExport,OperationMetadata> exportMetadataOperationCallable()
Returns Overrides

getBackupCallable()

public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns Overrides

getMetadataImportCallable()

public UnaryCallable<GetMetadataImportRequest,MetadataImport> getMetadataImportCallable()
Returns Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getServiceCallable()

public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBackupsCallable()

public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns Overrides

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,DataprocMetastoreClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns Overrides

listMetadataImportsCallable()

public UnaryCallable<ListMetadataImportsRequest,ListMetadataImportsResponse> listMetadataImportsCallable()
Returns Overrides

listMetadataImportsPagedCallable()

public UnaryCallable<ListMetadataImportsRequest,DataprocMetastoreClient.ListMetadataImportsPagedResponse> listMetadataImportsPagedCallable()
Returns Overrides

listServicesCallable()

public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns Overrides

listServicesPagedCallable()

public UnaryCallable<ListServicesRequest,DataprocMetastoreClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns Overrides

restoreServiceCallable()

public UnaryCallable<RestoreServiceRequest,Operation> restoreServiceCallable()
Returns Overrides

restoreServiceOperationCallable()

public OperationCallable<RestoreServiceRequest,Restore,OperationMetadata> restoreServiceOperationCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateMetadataImportCallable()

public UnaryCallable<UpdateMetadataImportRequest,Operation> updateMetadataImportCallable()
Returns Overrides

updateMetadataImportOperationCallable()

public OperationCallable<UpdateMetadataImportRequest,MetadataImport,OperationMetadata> updateMetadataImportOperationCallable()
Returns Overrides

updateServiceCallable()

public UnaryCallable<UpdateServiceRequest,Operation> updateServiceCallable()
Returns Overrides

updateServiceOperationCallable()

public OperationCallable<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationCallable()
Returns Overrides