Package com.google.cloud.datastream.v1
Class DatastreamGrpc.DatastreamStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DatastreamGrpc.DatastreamStub>
com.google.cloud.datastream.v1.DatastreamGrpc.DatastreamStub
- Enclosing class:
- DatastreamGrpc
public static final class DatastreamGrpc.DatastreamStub
extends io.grpc.stub.AbstractAsyncStub<DatastreamGrpc.DatastreamStub>
A stub to allow clients to do asynchronous rpc calls to service Datastream.
Datastream service
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected DatastreamGrpc.DatastreamStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateConnectionProfile(CreateConnectionProfileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a connection profile in a project and location.voidcreatePrivateConnection(CreatePrivateConnectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a private connectivity configuration.voidcreateRoute(CreateRouteRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a route for a private connectivity configuration in a project and location.voidcreateStream(CreateStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a stream.voiddeleteConnectionProfile(DeleteConnectionProfileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a connection profile.voiddeletePrivateConnection(DeletePrivateConnectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a private connectivity configuration.voiddeleteRoute(DeleteRouteRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a route.voiddeleteStream(DeleteStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a stream.voiddiscoverConnectionProfile(DiscoverConnectionProfileRequest request, io.grpc.stub.StreamObserver<DiscoverConnectionProfileResponse> responseObserver) Use this method to discover a connection profile.voidfetchStaticIps(FetchStaticIpsRequest request, io.grpc.stub.StreamObserver<FetchStaticIpsResponse> responseObserver) The FetchStaticIps API call exposes the static IP addresses used by Datastream.voidgetConnectionProfile(GetConnectionProfileRequest request, io.grpc.stub.StreamObserver<ConnectionProfile> responseObserver) Use this method to get details about a connection profile.voidgetPrivateConnection(GetPrivateConnectionRequest request, io.grpc.stub.StreamObserver<PrivateConnection> responseObserver) Use this method to get details about a private connectivity configuration.voidgetRoute(GetRouteRequest request, io.grpc.stub.StreamObserver<Route> responseObserver) Use this method to get details about a route.voidgetStream(GetStreamRequest request, io.grpc.stub.StreamObserver<Stream> responseObserver) Use this method to get details about a stream.voidgetStreamObject(GetStreamObjectRequest request, io.grpc.stub.StreamObserver<StreamObject> responseObserver) Use this method to get details about a stream object.voidlistConnectionProfiles(ListConnectionProfilesRequest request, io.grpc.stub.StreamObserver<ListConnectionProfilesResponse> responseObserver) Use this method to list connection profiles created in a project and location.voidlistPrivateConnections(ListPrivateConnectionsRequest request, io.grpc.stub.StreamObserver<ListPrivateConnectionsResponse> responseObserver) Use this method to list private connectivity configurations in a project and location.voidlistRoutes(ListRoutesRequest request, io.grpc.stub.StreamObserver<ListRoutesResponse> responseObserver) Use this method to list routes created for a private connectivity configuration in a project and location.voidlistStreamObjects(ListStreamObjectsRequest request, io.grpc.stub.StreamObserver<ListStreamObjectsResponse> responseObserver) Use this method to list the objects of a specific stream.voidlistStreams(ListStreamsRequest request, io.grpc.stub.StreamObserver<ListStreamsResponse> responseObserver) Use this method to list streams in a project and location.voidlookupStreamObject(LookupStreamObjectRequest request, io.grpc.stub.StreamObserver<StreamObject> responseObserver) Use this method to look up a stream object by its source object identifier.voidrunStream(RunStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to start, resume or recover a stream with a non default CDC strategy.voidstartBackfillJob(StartBackfillJobRequest request, io.grpc.stub.StreamObserver<StartBackfillJobResponse> responseObserver) Use this method to start a backfill job for the specified stream object.voidstopBackfillJob(StopBackfillJobRequest request, io.grpc.stub.StreamObserver<StopBackfillJobResponse> responseObserver) Use this method to stop a backfill job for the specified stream object.voidupdateConnectionProfile(UpdateConnectionProfileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to update the parameters of a connection profile.voidupdateStream(UpdateStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to update the configuration of a stream.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DatastreamGrpc.DatastreamStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DatastreamGrpc.DatastreamStub>
-
listConnectionProfiles
public void listConnectionProfiles(ListConnectionProfilesRequest request, io.grpc.stub.StreamObserver<ListConnectionProfilesResponse> responseObserver) Use this method to list connection profiles created in a project and location.
-
getConnectionProfile
public void getConnectionProfile(GetConnectionProfileRequest request, io.grpc.stub.StreamObserver<ConnectionProfile> responseObserver) Use this method to get details about a connection profile.
-
createConnectionProfile
public void createConnectionProfile(CreateConnectionProfileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a connection profile in a project and location.
-
updateConnectionProfile
public void updateConnectionProfile(UpdateConnectionProfileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to update the parameters of a connection profile.
-
deleteConnectionProfile
public void deleteConnectionProfile(DeleteConnectionProfileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a connection profile.
-
discoverConnectionProfile
public void discoverConnectionProfile(DiscoverConnectionProfileRequest request, io.grpc.stub.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.
-
listStreams
public void listStreams(ListStreamsRequest request, io.grpc.stub.StreamObserver<ListStreamsResponse> responseObserver) Use this method to list streams in a project and location.
-
getStream
public void getStream(GetStreamRequest request, io.grpc.stub.StreamObserver<Stream> responseObserver) Use this method to get details about a stream.
-
createStream
public void createStream(CreateStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a stream.
-
updateStream
public void updateStream(UpdateStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to update the configuration of a stream.
-
deleteStream
public void deleteStream(DeleteStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a stream.
-
runStream
public void runStream(RunStreamRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to start, resume or recover a stream with a non default CDC strategy.
-
getStreamObject
public void getStreamObject(GetStreamObjectRequest request, io.grpc.stub.StreamObserver<StreamObject> responseObserver) Use this method to get details about a stream object.
-
lookupStreamObject
public void lookupStreamObject(LookupStreamObjectRequest request, io.grpc.stub.StreamObserver<StreamObject> responseObserver) Use this method to look up a stream object by its source object identifier.
-
listStreamObjects
public void listStreamObjects(ListStreamObjectsRequest request, io.grpc.stub.StreamObserver<ListStreamObjectsResponse> responseObserver) Use this method to list the objects of a specific stream.
-
startBackfillJob
public void startBackfillJob(StartBackfillJobRequest request, io.grpc.stub.StreamObserver<StartBackfillJobResponse> responseObserver) Use this method to start a backfill job for the specified stream object.
-
stopBackfillJob
public void stopBackfillJob(StopBackfillJobRequest request, io.grpc.stub.StreamObserver<StopBackfillJobResponse> responseObserver) Use this method to stop a backfill job for the specified stream object.
-
fetchStaticIps
public void fetchStaticIps(FetchStaticIpsRequest request, io.grpc.stub.StreamObserver<FetchStaticIpsResponse> responseObserver) The FetchStaticIps API call exposes the static IP addresses used by Datastream.
-
createPrivateConnection
public void createPrivateConnection(CreatePrivateConnectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a private connectivity configuration.
-
getPrivateConnection
public void getPrivateConnection(GetPrivateConnectionRequest request, io.grpc.stub.StreamObserver<PrivateConnection> responseObserver) Use this method to get details about a private connectivity configuration.
-
listPrivateConnections
public void listPrivateConnections(ListPrivateConnectionsRequest request, io.grpc.stub.StreamObserver<ListPrivateConnectionsResponse> responseObserver) Use this method to list private connectivity configurations in a project and location.
-
deletePrivateConnection
public void deletePrivateConnection(DeletePrivateConnectionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a private connectivity configuration.
-
createRoute
public void createRoute(CreateRouteRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to create a route for a private connectivity configuration in a project and location.
-
getRoute
Use this method to get details about a route.
-
listRoutes
public void listRoutes(ListRoutesRequest request, io.grpc.stub.StreamObserver<ListRoutesResponse> responseObserver) Use this method to list routes created for a private connectivity configuration in a project and location.
-
deleteRoute
public void deleteRoute(DeleteRouteRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a route.
-