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