Class GrpcDataprocMetastoreFederationStub (2.56.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataprocMetastoreFederationStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataprocMetastoreFederationStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataprocMetastoreFederationStub
Exceptions
Type Description
IOException

create(DataprocMetastoreFederationStubSettings settings)

public static final GrpcDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings)
Parameter
Name Description
settings DataprocMetastoreFederationStubSettings
Returns
Type Description
GrpcDataprocMetastoreFederationStub
Exceptions
Type Description
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
Name Description
settings DataprocMetastoreFederationStubSettings
clientContext ClientContext

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
Name Description
settings DataprocMetastoreFederationStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createFederationCallable()

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

createFederationOperationCallable()

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

deleteFederationCallable()

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

deleteFederationOperationCallable()

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

getFederationCallable()

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

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listFederationsCallable()

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

listFederationsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateFederationCallable()

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

updateFederationOperationCallable()

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