Class DatastreamGrpc.DatastreamFutureStub (1.1.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateConnectionProfileRequest
Returns
TypeDescription
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
NameDescription
requestCreatePrivateConnectionRequest
Returns
TypeDescription
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
NameDescription
requestCreateRouteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createStream(CreateStreamRequest request)

public ListenableFuture<Operation> createStream(CreateStreamRequest request)

Use this method to create a stream.

Parameter
NameDescription
requestCreateStreamRequest
Returns
TypeDescription
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
NameDescription
requestDeleteConnectionProfileRequest
Returns
TypeDescription
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
NameDescription
requestDeletePrivateConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRoute(DeleteRouteRequest request)

public ListenableFuture<Operation> deleteRoute(DeleteRouteRequest request)

Use this method to delete a route.

Parameter
NameDescription
requestDeleteRouteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteStream(DeleteStreamRequest request)

public ListenableFuture<Operation> deleteStream(DeleteStreamRequest request)

Use this method to delete a stream.

Parameter
NameDescription
requestDeleteStreamRequest
Returns
TypeDescription
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
NameDescription
requestDiscoverConnectionProfileRequest
Returns
TypeDescription
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
NameDescription
requestFetchStaticIpsRequest
Returns
TypeDescription
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
NameDescription
requestGetConnectionProfileRequest
Returns
TypeDescription
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
NameDescription
requestGetPrivateConnectionRequest
Returns
TypeDescription
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
NameDescription
requestGetRouteRequest
Returns
TypeDescription
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
NameDescription
requestGetStreamRequest
Returns
TypeDescription
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
NameDescription
requestGetStreamObjectRequest
Returns
TypeDescription
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
NameDescription
requestListConnectionProfilesRequest
Returns
TypeDescription
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
NameDescription
requestListPrivateConnectionsRequest
Returns
TypeDescription
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
NameDescription
requestListRoutesRequest
Returns
TypeDescription
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
NameDescription
requestListStreamObjectsRequest
Returns
TypeDescription
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
NameDescription
requestListStreamsRequest
Returns
TypeDescription
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
NameDescription
requestLookupStreamObjectRequest
Returns
TypeDescription
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
NameDescription
requestStartBackfillJobRequest
Returns
TypeDescription
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
NameDescription
requestStopBackfillJobRequest
Returns
TypeDescription
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
NameDescription
requestUpdateConnectionProfileRequest
Returns
TypeDescription
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
NameDescription
requestUpdateStreamRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>