Class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub (2.52.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateFederationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteFederation(DeleteFederationRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single federation.

Parameters
Name Description
request DeleteFederationRequest
responseObserver io.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
Name Description
request GetFederationRequest
responseObserver io.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
Name Description
request ListFederationsRequest
responseObserver io.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
Name Description
request UpdateFederationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>