Class GrpcDataprocMetastoreStub (2.24.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
TypeDescription
GrpcDataprocMetastoreStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(DataprocMetastoreStubSettings settings)

public static final GrpcDataprocMetastoreStub create(DataprocMetastoreStubSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreStubSettings
Returns
TypeDescription
GrpcDataprocMetastoreStub
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

alterMetadataResourceLocationCallable()

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

alterMetadataResourceLocationOperationCallable()

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

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
TypeDescription
UnaryCallable<CreateBackupRequest,Operation>
Overrides

createBackupOperationCallable()

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

createMetadataImportCallable()

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

createMetadataImportOperationCallable()

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

createServiceCallable()

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

createServiceOperationCallable()

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

deleteBackupCallable()

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

deleteBackupOperationCallable()

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

deleteServiceCallable()

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

deleteServiceOperationCallable()

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

exportMetadataCallable()

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

exportMetadataOperationCallable()

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

getBackupCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getMetadataImportCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getServiceCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBackupsCallable()

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

listBackupsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listMetadataImportsCallable()

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

listMetadataImportsPagedCallable()

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

listServicesCallable()

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

listServicesPagedCallable()

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

moveTableToDatabaseCallable()

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

moveTableToDatabaseOperationCallable()

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

queryMetadataCallable()

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

queryMetadataOperationCallable()

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

removeIamPolicyCallable()

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

restoreServiceCallable()

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

restoreServiceOperationCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateMetadataImportCallable()

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

updateMetadataImportOperationCallable()

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

updateServiceCallable()

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

updateServiceOperationCallable()

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