public class HttpJsonDataprocMetastoreFederationStub extends DataprocMetastoreFederationStub
REST stub implementation for the DataprocMetastoreFederation service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDataprocMetastoreFederationStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDataprocMetastoreFederationStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final HttpJsonDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings)
Parameter
Returns
Exceptions
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext)
protected HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDataprocMetastoreFederationStub, 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
HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDataprocMetastoreFederationStub, 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
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<CreateFederationRequest,Operation> createFederationCallable()
Returns
Overrides
public OperationCallable<CreateFederationRequest,Federation,OperationMetadata> createFederationOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteFederationRequest,Operation> deleteFederationCallable()
Returns
Overrides
public OperationCallable<DeleteFederationRequest,Empty,OperationMetadata> deleteFederationOperationCallable()
Returns
Overrides
public UnaryCallable<GetFederationRequest,Federation> getFederationCallable()
Returns
Overrides
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListFederationsRequest,ListFederationsResponse> listFederationsCallable()
Returns
Overrides
listFederationsPagedCallable()
public UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsPagedCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<UpdateFederationRequest,Operation> updateFederationCallable()
Returns
Overrides
public OperationCallable<UpdateFederationRequest,Federation,OperationMetadata> updateFederationOperationCallable()
Returns
Overrides