Class HttpJsonDataprocMetastoreStub (2.19.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()
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

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()
Returns
TypeDescription
UnaryCallable<GetMetadataImportRequest,MetadataImport>
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