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.
Static Methods
create(ClientContext clientContext)
public static final GrpcDataprocMetastoreStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataprocMetastoreStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final GrpcDataprocMetastoreStub create(DataprocMetastoreStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns
Overrides
public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Returns
Overrides
public UnaryCallable<CreateMetadataImportRequest,Operation> createMetadataImportCallable()
Returns
Overrides
public OperationCallable<CreateMetadataImportRequest,MetadataImport,OperationMetadata> createMetadataImportOperationCallable()
Returns
Overrides
public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Returns
Overrides
public OperationCallable<CreateServiceRequest,Service,OperationMetadata> createServiceOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Returns
Overrides
public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Returns
Overrides
public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Returns
Overrides
public UnaryCallable<ExportMetadataRequest,Operation> exportMetadataCallable()
Returns
Overrides
public OperationCallable<ExportMetadataRequest,MetadataExport,OperationMetadata> exportMetadataOperationCallable()
Returns
Overrides
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns
Overrides
public UnaryCallable<GetMetadataImportRequest,MetadataImport> getMetadataImportCallable()
Returns
Overrides
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns
Overrides
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,DataprocMetastoreClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns
Overrides
public UnaryCallable<ListMetadataImportsRequest,ListMetadataImportsResponse> listMetadataImportsCallable()
Returns
Overrides
listMetadataImportsPagedCallable()
public UnaryCallable<ListMetadataImportsRequest,DataprocMetastoreClient.ListMetadataImportsPagedResponse> listMetadataImportsPagedCallable()
Returns
Overrides
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,DataprocMetastoreClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
Overrides
public UnaryCallable<RestoreServiceRequest,Operation> restoreServiceCallable()
Returns
Overrides
public OperationCallable<RestoreServiceRequest,Restore,OperationMetadata> restoreServiceOperationCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<UpdateMetadataImportRequest,Operation> updateMetadataImportCallable()
Returns
Overrides
public OperationCallable<UpdateMetadataImportRequest,MetadataImport,OperationMetadata> updateMetadataImportOperationCallable()
Returns
Overrides
public UnaryCallable<UpdateServiceRequest,Operation> updateServiceCallable()
Returns
Overrides
public OperationCallable<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationCallable()
Returns
Overrides