Class GrpcDataprocMetastoreFederationStub (2.15.0)

public class GrpcDataprocMetastoreFederationStub extends DataprocMetastoreFederationStub

gRPC stub implementation for the DataprocMetastoreFederation service API.

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

Inheritance

java.lang.Object > DataprocMetastoreFederationStub > GrpcDataprocMetastoreFederationStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(DataprocMetastoreFederationStubSettings settings)

public static final GrpcDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreFederationStubSettings
Returns
TypeDescription
GrpcDataprocMetastoreFederationStub
Exceptions
TypeDescription
IOException

Constructors

GrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext)

protected GrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDataprocMetastoreFederationStub, 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
settingsDataprocMetastoreFederationStubSettings
clientContextClientContext

GrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDataprocMetastoreFederationStub, 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
settingsDataprocMetastoreFederationStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

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

createFederationCallable()

public UnaryCallable<CreateFederationRequest,Operation> createFederationCallable()
Returns
TypeDescription
UnaryCallable<CreateFederationRequest,Operation>
Overrides

createFederationOperationCallable()

public OperationCallable<CreateFederationRequest,Federation,OperationMetadata> createFederationOperationCallable()
Returns
TypeDescription
OperationCallable<CreateFederationRequest,Federation,OperationMetadata>
Overrides

deleteFederationCallable()

public UnaryCallable<DeleteFederationRequest,Operation> deleteFederationCallable()
Returns
TypeDescription
UnaryCallable<DeleteFederationRequest,Operation>
Overrides

deleteFederationOperationCallable()

public OperationCallable<DeleteFederationRequest,Empty,OperationMetadata> deleteFederationOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteFederationRequest,Empty,OperationMetadata>
Overrides

getFederationCallable()

public UnaryCallable<GetFederationRequest,Federation> getFederationCallable()
Returns
TypeDescription
UnaryCallable<GetFederationRequest,Federation>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listFederationsCallable()

public UnaryCallable<ListFederationsRequest,ListFederationsResponse> listFederationsCallable()
Returns
TypeDescription
UnaryCallable<ListFederationsRequest,ListFederationsResponse>
Overrides

listFederationsPagedCallable()

public UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListFederationsRequest,ListFederationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateFederationCallable()

public UnaryCallable<UpdateFederationRequest,Operation> updateFederationCallable()
Returns
TypeDescription
UnaryCallable<UpdateFederationRequest,Operation>
Overrides

updateFederationOperationCallable()

public OperationCallable<UpdateFederationRequest,Federation,OperationMetadata> updateFederationOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateFederationRequest,Federation,OperationMetadata>
Overrides