Class DatastreamGrpc.DatastreamFutureStub (1.51.0)

public static final class DatastreamGrpc.DatastreamFutureStub extends AbstractFutureStub<DatastreamGrpc.DatastreamFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Datastream.

Datastream service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DatastreamGrpc.DatastreamFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DatastreamGrpc.DatastreamFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DatastreamGrpc.DatastreamFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnectionProfile(CreateConnectionProfileRequest request)

public ListenableFuture<Operation> createConnectionProfile(CreateConnectionProfileRequest request)

Use this method to create a connection profile in a project and location.

Parameter
Name Description
request CreateConnectionProfileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createPrivateConnection(CreatePrivateConnectionRequest request)

public ListenableFuture<Operation> createPrivateConnection(CreatePrivateConnectionRequest request)

Use this method to create a private connectivity configuration.

Parameter
Name Description
request CreatePrivateConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createRoute(CreateRouteRequest request)

public ListenableFuture<Operation> createRoute(CreateRouteRequest request)

Use this method to create a route for a private connectivity configuration in a project and location.

Parameter
Name Description
request CreateRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createStream(CreateStreamRequest request)

public ListenableFuture<Operation> createStream(CreateStreamRequest request)

Use this method to create a stream.

Parameter
Name Description
request CreateStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteConnectionProfile(DeleteConnectionProfileRequest request)

public ListenableFuture<Operation> deleteConnectionProfile(DeleteConnectionProfileRequest request)

Use this method to delete a connection profile.

Parameter
Name Description
request DeleteConnectionProfileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deletePrivateConnection(DeletePrivateConnectionRequest request)

public ListenableFuture<Operation> deletePrivateConnection(DeletePrivateConnectionRequest request)

Use this method to delete a private connectivity configuration.

Parameter
Name Description
request DeletePrivateConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRoute(DeleteRouteRequest request)

public ListenableFuture<Operation> deleteRoute(DeleteRouteRequest request)

Use this method to delete a route.

Parameter
Name Description
request DeleteRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteStream(DeleteStreamRequest request)

public ListenableFuture<Operation> deleteStream(DeleteStreamRequest request)

Use this method to delete a stream.

Parameter
Name Description
request DeleteStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

discoverConnectionProfile(DiscoverConnectionProfileRequest request)

public ListenableFuture<DiscoverConnectionProfileResponse> discoverConnectionProfile(DiscoverConnectionProfileRequest request)

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request.

Parameter
Name Description
request DiscoverConnectionProfileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DiscoverConnectionProfileResponse>

fetchStaticIps(FetchStaticIpsRequest request)

public ListenableFuture<FetchStaticIpsResponse> fetchStaticIps(FetchStaticIpsRequest request)

The FetchStaticIps API call exposes the static IP addresses used by Datastream.

Parameter
Name Description
request FetchStaticIpsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchStaticIpsResponse>

getConnectionProfile(GetConnectionProfileRequest request)

public ListenableFuture<ConnectionProfile> getConnectionProfile(GetConnectionProfileRequest request)

Use this method to get details about a connection profile.

Parameter
Name Description
request GetConnectionProfileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ConnectionProfile>

getPrivateConnection(GetPrivateConnectionRequest request)

public ListenableFuture<PrivateConnection> getPrivateConnection(GetPrivateConnectionRequest request)

Use this method to get details about a private connectivity configuration.

Parameter
Name Description
request GetPrivateConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PrivateConnection>

getRoute(GetRouteRequest request)

public ListenableFuture<Route> getRoute(GetRouteRequest request)

Use this method to get details about a route.

Parameter
Name Description
request GetRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Route>

getStream(GetStreamRequest request)

public ListenableFuture<Stream> getStream(GetStreamRequest request)

Use this method to get details about a stream.

Parameter
Name Description
request GetStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Stream>

getStreamObject(GetStreamObjectRequest request)

public ListenableFuture<StreamObject> getStreamObject(GetStreamObjectRequest request)

Use this method to get details about a stream object.

Parameter
Name Description
request GetStreamObjectRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<StreamObject>

listConnectionProfiles(ListConnectionProfilesRequest request)

public ListenableFuture<ListConnectionProfilesResponse> listConnectionProfiles(ListConnectionProfilesRequest request)

Use this method to list connection profiles created in a project and location.

Parameter
Name Description
request ListConnectionProfilesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListConnectionProfilesResponse>

listPrivateConnections(ListPrivateConnectionsRequest request)

public ListenableFuture<ListPrivateConnectionsResponse> listPrivateConnections(ListPrivateConnectionsRequest request)

Use this method to list private connectivity configurations in a project and location.

Parameter
Name Description
request ListPrivateConnectionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPrivateConnectionsResponse>

listRoutes(ListRoutesRequest request)

public ListenableFuture<ListRoutesResponse> listRoutes(ListRoutesRequest request)

Use this method to list routes created for a private connectivity configuration in a project and location.

Parameter
Name Description
request ListRoutesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRoutesResponse>

listStreamObjects(ListStreamObjectsRequest request)

public ListenableFuture<ListStreamObjectsResponse> listStreamObjects(ListStreamObjectsRequest request)

Use this method to list the objects of a specific stream.

Parameter
Name Description
request ListStreamObjectsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListStreamObjectsResponse>

listStreams(ListStreamsRequest request)

public ListenableFuture<ListStreamsResponse> listStreams(ListStreamsRequest request)

Use this method to list streams in a project and location.

Parameter
Name Description
request ListStreamsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListStreamsResponse>

lookupStreamObject(LookupStreamObjectRequest request)

public ListenableFuture<StreamObject> lookupStreamObject(LookupStreamObjectRequest request)

Use this method to look up a stream object by its source object identifier.

Parameter
Name Description
request LookupStreamObjectRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<StreamObject>

startBackfillJob(StartBackfillJobRequest request)

public ListenableFuture<StartBackfillJobResponse> startBackfillJob(StartBackfillJobRequest request)

Use this method to start a backfill job for the specified stream object.

Parameter
Name Description
request StartBackfillJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<StartBackfillJobResponse>

stopBackfillJob(StopBackfillJobRequest request)

public ListenableFuture<StopBackfillJobResponse> stopBackfillJob(StopBackfillJobRequest request)

Use this method to stop a backfill job for the specified stream object.

Parameter
Name Description
request StopBackfillJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<StopBackfillJobResponse>

updateConnectionProfile(UpdateConnectionProfileRequest request)

public ListenableFuture<Operation> updateConnectionProfile(UpdateConnectionProfileRequest request)

Use this method to update the parameters of a connection profile.

Parameter
Name Description
request UpdateConnectionProfileRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateStream(UpdateStreamRequest request)

public ListenableFuture<Operation> updateStream(UpdateStreamRequest request)

Use this method to update the configuration of a stream.

Parameter
Name Description
request UpdateStreamRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>