Class DatastreamGrpc.DatastreamStub (1.18.0)

public static final class DatastreamGrpc.DatastreamStub extends AbstractAsyncStub<DatastreamGrpc.DatastreamStub>

A stub to allow clients to do asynchronous rpc calls to service Datastream.

Datastream service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DatastreamGrpc.DatastreamStub

Methods

build(Channel channel, CallOptions callOptions)

protected DatastreamGrpc.DatastreamStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DatastreamGrpc.DatastreamStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

public void createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestCreateConnectionProfileRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createPrivateConnection(CreatePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

public void createPrivateConnection(CreatePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

Use this method to create a private connectivity configuration.

Parameters
NameDescription
requestCreatePrivateConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRoute(CreateRouteRequest request, StreamObserver<Operation> responseObserver)

public void createRoute(CreateRouteRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestCreateRouteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createStream(CreateStreamRequest request, StreamObserver<Operation> responseObserver)

public void createStream(CreateStreamRequest request, StreamObserver<Operation> responseObserver)

Use this method to create a stream.

Parameters
NameDescription
requestCreateStreamRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

public void deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a connection profile.

Parameters
NameDescription
requestDeleteConnectionProfileRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deletePrivateConnection(DeletePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

public void deletePrivateConnection(DeletePrivateConnectionRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a private connectivity configuration.

Parameters
NameDescription
requestDeletePrivateConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRoute(DeleteRouteRequest request, StreamObserver<Operation> responseObserver)

public void deleteRoute(DeleteRouteRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a route.

Parameters
NameDescription
requestDeleteRouteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteStream(DeleteStreamRequest request, StreamObserver<Operation> responseObserver)

public void deleteStream(DeleteStreamRequest request, StreamObserver<Operation> responseObserver)

Use this method to delete a stream.

Parameters
NameDescription
requestDeleteStreamRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

discoverConnectionProfile(DiscoverConnectionProfileRequest request, StreamObserver<DiscoverConnectionProfileResponse> responseObserver)

public void discoverConnectionProfile(DiscoverConnectionProfileRequest request, StreamObserver<DiscoverConnectionProfileResponse> responseObserver)

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.

Parameters
NameDescription
requestDiscoverConnectionProfileRequest
responseObserverio.grpc.stub.StreamObserver<DiscoverConnectionProfileResponse>

fetchStaticIps(FetchStaticIpsRequest request, StreamObserver<FetchStaticIpsResponse> responseObserver)

public void fetchStaticIps(FetchStaticIpsRequest request, StreamObserver<FetchStaticIpsResponse> responseObserver)

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

Parameters
NameDescription
requestFetchStaticIpsRequest
responseObserverio.grpc.stub.StreamObserver<FetchStaticIpsResponse>

getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)

public void getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)

Use this method to get details about a connection profile.

Parameters
NameDescription
requestGetConnectionProfileRequest
responseObserverio.grpc.stub.StreamObserver<ConnectionProfile>

getPrivateConnection(GetPrivateConnectionRequest request, StreamObserver<PrivateConnection> responseObserver)

public void getPrivateConnection(GetPrivateConnectionRequest request, StreamObserver<PrivateConnection> responseObserver)

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

Parameters
NameDescription
requestGetPrivateConnectionRequest
responseObserverio.grpc.stub.StreamObserver<PrivateConnection>

getRoute(GetRouteRequest request, StreamObserver<Route> responseObserver)

public void getRoute(GetRouteRequest request, StreamObserver<Route> responseObserver)

Use this method to get details about a route.

Parameters
NameDescription
requestGetRouteRequest
responseObserverio.grpc.stub.StreamObserver<Route>

getStream(GetStreamRequest request, StreamObserver<Stream> responseObserver)

public void getStream(GetStreamRequest request, StreamObserver<Stream> responseObserver)

Use this method to get details about a stream.

Parameters
NameDescription
requestGetStreamRequest
responseObserverio.grpc.stub.StreamObserver<Stream>

getStreamObject(GetStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

public void getStreamObject(GetStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

Use this method to get details about a stream object.

Parameters
NameDescription
requestGetStreamObjectRequest
responseObserverio.grpc.stub.StreamObserver<StreamObject>

listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)

public void listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)

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

Parameters
NameDescription
requestListConnectionProfilesRequest
responseObserverio.grpc.stub.StreamObserver<ListConnectionProfilesResponse>

listPrivateConnections(ListPrivateConnectionsRequest request, StreamObserver<ListPrivateConnectionsResponse> responseObserver)

public void listPrivateConnections(ListPrivateConnectionsRequest request, StreamObserver<ListPrivateConnectionsResponse> responseObserver)

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

Parameters
NameDescription
requestListPrivateConnectionsRequest
responseObserverio.grpc.stub.StreamObserver<ListPrivateConnectionsResponse>

listRoutes(ListRoutesRequest request, StreamObserver<ListRoutesResponse> responseObserver)

public void listRoutes(ListRoutesRequest request, StreamObserver<ListRoutesResponse> responseObserver)

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

Parameters
NameDescription
requestListRoutesRequest
responseObserverio.grpc.stub.StreamObserver<ListRoutesResponse>

listStreamObjects(ListStreamObjectsRequest request, StreamObserver<ListStreamObjectsResponse> responseObserver)

public void listStreamObjects(ListStreamObjectsRequest request, StreamObserver<ListStreamObjectsResponse> responseObserver)

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

Parameters
NameDescription
requestListStreamObjectsRequest
responseObserverio.grpc.stub.StreamObserver<ListStreamObjectsResponse>

listStreams(ListStreamsRequest request, StreamObserver<ListStreamsResponse> responseObserver)

public void listStreams(ListStreamsRequest request, StreamObserver<ListStreamsResponse> responseObserver)

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

Parameters
NameDescription
requestListStreamsRequest
responseObserverio.grpc.stub.StreamObserver<ListStreamsResponse>

lookupStreamObject(LookupStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

public void lookupStreamObject(LookupStreamObjectRequest request, StreamObserver<StreamObject> responseObserver)

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

Parameters
NameDescription
requestLookupStreamObjectRequest
responseObserverio.grpc.stub.StreamObserver<StreamObject>

startBackfillJob(StartBackfillJobRequest request, StreamObserver<StartBackfillJobResponse> responseObserver)

public void startBackfillJob(StartBackfillJobRequest request, StreamObserver<StartBackfillJobResponse> responseObserver)

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

Parameters
NameDescription
requestStartBackfillJobRequest
responseObserverio.grpc.stub.StreamObserver<StartBackfillJobResponse>

stopBackfillJob(StopBackfillJobRequest request, StreamObserver<StopBackfillJobResponse> responseObserver)

public void stopBackfillJob(StopBackfillJobRequest request, StreamObserver<StopBackfillJobResponse> responseObserver)

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

Parameters
NameDescription
requestStopBackfillJobRequest
responseObserverio.grpc.stub.StreamObserver<StopBackfillJobResponse>

updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

public void updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestUpdateConnectionProfileRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateStream(UpdateStreamRequest request, StreamObserver<Operation> responseObserver)

public void updateStream(UpdateStreamRequest request, StreamObserver<Operation> responseObserver)

Use this method to update the configuration of a stream.

Parameters
NameDescription
requestUpdateStreamRequest
responseObserverio.grpc.stub.StreamObserver<Operation>