Class HttpJsonDataprocMetastoreStub (2.37.0)

public class HttpJsonDataprocMetastoreStub extends DataprocMetastoreStub

REST stub implementation for the DataprocMetastore service API.

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

Inheritance

java.lang.Object > DataprocMetastoreStub > HttpJsonDataprocMetastoreStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDataprocMetastoreStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDataprocMetastoreStub
Exceptions
TypeDescription
IOException

create(DataprocMetastoreStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext)

protected HttpJsonDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDataprocMetastoreStub, 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

HttpJsonDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDataprocMetastoreStub(DataprocMetastoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDataprocMetastoreStub, 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
callableFactoryHttpJsonStubCallableFactory

Methods

alterMetadataResourceLocationCallable()

public UnaryCallable<AlterMetadataResourceLocationRequest,Operation> alterMetadataResourceLocationCallable()
Overrides

alterMetadataResourceLocationOperationCallable()

public OperationCallable<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata> alterMetadataResourceLocationOperationCallable()
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()
Overrides

createBackupOperationCallable()

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

createMetadataImportCallable()

public UnaryCallable<CreateMetadataImportRequest,Operation> createMetadataImportCallable()
Overrides

createMetadataImportOperationCallable()

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

createServiceCallable()

public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Overrides

createServiceOperationCallable()

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

deleteBackupCallable()

public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Overrides

deleteBackupOperationCallable()

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

deleteServiceCallable()

public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Overrides

deleteServiceOperationCallable()

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

exportMetadataCallable()

public UnaryCallable<ExportMetadataRequest,Operation> exportMetadataCallable()
Overrides

exportMetadataOperationCallable()

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

getBackupCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
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()
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()
Overrides

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,DataprocMetastoreClient.ListBackupsPagedResponse> listBackupsPagedCallable()
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()
Overrides

listMetadataImportsPagedCallable()

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

listServicesCallable()

public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Overrides

listServicesPagedCallable()

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

moveTableToDatabaseCallable()

public UnaryCallable<MoveTableToDatabaseRequest,Operation> moveTableToDatabaseCallable()
Overrides

moveTableToDatabaseOperationCallable()

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

queryMetadataCallable()

public UnaryCallable<QueryMetadataRequest,Operation> queryMetadataCallable()
Overrides

queryMetadataOperationCallable()

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

restoreServiceCallable()

public UnaryCallable<RestoreServiceRequest,Operation> restoreServiceCallable()
Overrides

restoreServiceOperationCallable()

public OperationCallable<RestoreServiceRequest,Restore,OperationMetadata> restoreServiceOperationCallable()
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()
Overrides

updateMetadataImportOperationCallable()

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

updateServiceCallable()

public UnaryCallable<UpdateServiceRequest,Operation> updateServiceCallable()
Overrides

updateServiceOperationCallable()

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