Class GrpcDataprocMetastoreFederationStub (2.22.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

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

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

listLocationsCallable()

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

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
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

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