Class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub (2.40.0)

public static final class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub extends 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}.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createFederation(CreateFederationRequest request, StreamObserver<Operation> responseObserver)

public void createFederation(CreateFederationRequest request, StreamObserver<Operation> responseObserver)

Creates a metastore federation in a project and location.

Parameters
NameDescription
requestCreateFederationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteFederation(DeleteFederationRequest request, StreamObserver<Operation> responseObserver)

public void deleteFederation(DeleteFederationRequest request, StreamObserver<Operation> responseObserver)

Deletes a single federation.

Parameters
NameDescription
requestDeleteFederationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getFederation(GetFederationRequest request, StreamObserver<Federation> responseObserver)

public void getFederation(GetFederationRequest request, StreamObserver<Federation> responseObserver)

Gets the details of a single federation.

Parameters
NameDescription
requestGetFederationRequest
responseObserverio.grpc.stub.StreamObserver<Federation>

listFederations(ListFederationsRequest request, StreamObserver<ListFederationsResponse> responseObserver)

public void listFederations(ListFederationsRequest request, StreamObserver<ListFederationsResponse> responseObserver)

Lists federations in a project and location.

Parameters
NameDescription
requestListFederationsRequest
responseObserverio.grpc.stub.StreamObserver<ListFederationsResponse>

updateFederation(UpdateFederationRequest request, StreamObserver<Operation> responseObserver)

public void updateFederation(UpdateFederationRequest request, StreamObserver<Operation> responseObserver)

Updates the fields of a federation.

Parameters
NameDescription
requestUpdateFederationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>