Class GrpcDataprocMetastoreStub (2.55.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataprocMetastoreStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataprocMetastoreStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataprocMetastoreStub
Exceptions
Type Description
IOException

create(DataprocMetastoreStubSettings settings)

public static final GrpcDataprocMetastoreStub create(DataprocMetastoreStubSettings settings)
Parameter
Name Description
settings DataprocMetastoreStubSettings
Returns
Type Description
GrpcDataprocMetastoreStub
Exceptions
Type Description
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
Name Description
settings DataprocMetastoreStubSettings
clientContext ClientContext

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
Name Description
settings DataprocMetastoreStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

alterMetadataResourceLocationCallable()

public UnaryCallable<AlterMetadataResourceLocationRequest,Operation> alterMetadataResourceLocationCallable()
Returns
Type Description
UnaryCallable<AlterMetadataResourceLocationRequest,Operation>
Overrides

alterMetadataResourceLocationOperationCallable()

public OperationCallable<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata> alterMetadataResourceLocationOperationCallable()
Returns
Type Description
OperationCallable<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createBackupCallable()

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

createBackupOperationCallable()

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

createMetadataImportCallable()

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

createMetadataImportOperationCallable()

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

createServiceCallable()

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

createServiceOperationCallable()

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

deleteBackupCallable()

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

deleteBackupOperationCallable()

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

deleteServiceCallable()

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

deleteServiceOperationCallable()

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

exportMetadataCallable()

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

exportMetadataOperationCallable()

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

getBackupCallable()

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

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getMetadataImportCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getServiceCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBackupsCallable()

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

listBackupsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataprocMetastoreClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMetadataImportsCallable()

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

listMetadataImportsPagedCallable()

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

listServicesCallable()

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

listServicesPagedCallable()

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

moveTableToDatabaseCallable()

public UnaryCallable<MoveTableToDatabaseRequest,Operation> moveTableToDatabaseCallable()
Returns
Type Description
UnaryCallable<MoveTableToDatabaseRequest,Operation>
Overrides

moveTableToDatabaseOperationCallable()

public OperationCallable<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata> moveTableToDatabaseOperationCallable()
Returns
Type Description
OperationCallable<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata>
Overrides

queryMetadataCallable()

public UnaryCallable<QueryMetadataRequest,Operation> queryMetadataCallable()
Returns
Type Description
UnaryCallable<QueryMetadataRequest,Operation>
Overrides

queryMetadataOperationCallable()

public OperationCallable<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata> queryMetadataOperationCallable()
Returns
Type Description
OperationCallable<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata>
Overrides

removeIamPolicyCallable()

public UnaryCallable<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicyCallable()
Returns
Type Description
UnaryCallable<RemoveIamPolicyRequest,RemoveIamPolicyResponse>
Overrides

restoreServiceCallable()

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

restoreServiceOperationCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateMetadataImportCallable()

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

updateMetadataImportOperationCallable()

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

updateServiceCallable()

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

updateServiceOperationCallable()

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