Class GrpcDataprocMetastoreFederationStub
java.lang.Object
com.google.cloud.metastore.v1.stub.DataprocMetastoreFederationStub
com.google.cloud.metastore.v1.stub.GrpcDataprocMetastoreFederationStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcDataprocMetastoreFederationStub, using the given settings.protectedGrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcDataprocMetastoreFederationStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcDataprocMetastoreFederationStubcreate(ClientContext clientContext) static final GrpcDataprocMetastoreFederationStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcDataprocMetastoreFederationStubOperationCallable<DeleteFederationRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.metastore.v1.stub.DataprocMetastoreFederationStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcDataprocMetastoreFederationStub
protected GrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcDataprocMetastoreFederationStub
protected GrpcDataprocMetastoreFederationStub(DataprocMetastoreFederationStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcDataprocMetastoreFederationStub create(DataprocMetastoreFederationStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcDataprocMetastoreFederationStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcDataprocMetastoreFederationStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classDataprocMetastoreFederationStub
-
listFederationsCallable
- Overrides:
listFederationsCallablein classDataprocMetastoreFederationStub
-
listFederationsPagedCallable
public UnaryCallable<ListFederationsRequest,DataprocMetastoreFederationClient.ListFederationsPagedResponse> listFederationsPagedCallable()- Overrides:
listFederationsPagedCallablein classDataprocMetastoreFederationStub
-
getFederationCallable
- Overrides:
getFederationCallablein classDataprocMetastoreFederationStub
-
createFederationCallable
- Overrides:
createFederationCallablein classDataprocMetastoreFederationStub
-
createFederationOperationCallable
public OperationCallable<CreateFederationRequest,Federation, createFederationOperationCallable()OperationMetadata> - Overrides:
createFederationOperationCallablein classDataprocMetastoreFederationStub
-
updateFederationCallable
- Overrides:
updateFederationCallablein classDataprocMetastoreFederationStub
-
updateFederationOperationCallable
public OperationCallable<UpdateFederationRequest,Federation, updateFederationOperationCallable()OperationMetadata> - Overrides:
updateFederationOperationCallablein classDataprocMetastoreFederationStub
-
deleteFederationCallable
- Overrides:
deleteFederationCallablein classDataprocMetastoreFederationStub
-
deleteFederationOperationCallable
public OperationCallable<DeleteFederationRequest,com.google.protobuf.Empty, deleteFederationOperationCallable()OperationMetadata> - Overrides:
deleteFederationOperationCallablein classDataprocMetastoreFederationStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDataprocMetastoreFederationStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DataprocMetastoreFederationClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDataprocMetastoreFederationStub
-
getLocationCallable
- Overrides:
getLocationCallablein classDataprocMetastoreFederationStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classDataprocMetastoreFederationStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classDataprocMetastoreFederationStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classDataprocMetastoreFederationStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataprocMetastoreFederationStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-