Class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub>
com.google.cloud.metastore.v1beta.DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub
- Enclosing class:
- DataprocMetastoreFederationGrpc
public static final class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub
extends io.grpc.stub.AbstractAsyncStub<DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub>
A stub to allow clients to do asynchronous rpc calls to service DataprocMetastoreFederation.
Configures and manages metastore federation services.
Dataproc Metastore Federation Service allows federating a collection of
backend metastores like BigQuery, Dataplex Lakes, and other Dataproc
Metastores. The Federation Service exposes a gRPC URL through which metadata
from the backend metastores are served at query time.
The Dataproc Metastore Federation API defines the following resource model:
* The service works with a collection of Google Cloud projects.
* Each project has a collection of available locations.
* Each location has a collection of federations.
* Dataproc Metastore Federations are resources with names of the
form:
`projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateFederation(CreateFederationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a metastore federation in a project and location.voiddeleteFederation(DeleteFederationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single federation.voidgetFederation(GetFederationRequest request, io.grpc.stub.StreamObserver<Federation> responseObserver) Gets the details of a single federation.voidlistFederations(ListFederationsRequest request, io.grpc.stub.StreamObserver<ListFederationsResponse> responseObserver) Lists federations in a project and location.voidupdateFederation(UpdateFederationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the fields of a federation.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub>
-
listFederations
public void listFederations(ListFederationsRequest request, io.grpc.stub.StreamObserver<ListFederationsResponse> responseObserver) Lists federations in a project and location.
-
getFederation
public void getFederation(GetFederationRequest request, io.grpc.stub.StreamObserver<Federation> responseObserver) Gets the details of a single federation.
-
createFederation
public void createFederation(CreateFederationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a metastore federation in a project and location.
-
updateFederation
public void updateFederation(UpdateFederationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the fields of a federation.
-
deleteFederation
public void deleteFederation(DeleteFederationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a single federation.
-