Class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub (2.40.0)

See more code actions.
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
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected DataprocMetastoreFederationGrpc.DataprocMetastoreFederationStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
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>