Class DatastreamGrpc.DatastreamFutureStub (1.10.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 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 under a parent data object that's optionally supplied in the request.

Parameter
NameDescription
requestDiscoverConnectionProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DiscoverConnectionProfileResponse>

fetchErrors(FetchErrorsRequest request)

public ListenableFuture<Operation> fetchErrors(FetchErrorsRequest request)

Use this method to fetch any errors associated with a stream.

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

fetchStaticIps(FetchStaticIpsRequest request)

public ListenableFuture<FetchStaticIpsResponse> fetchStaticIps(FetchStaticIpsRequest request)

The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.

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>

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 in a project and location.

Parameter
NameDescription
requestListRoutesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRoutesResponse>

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>

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>