Class DatastreamGrpc.DatastreamStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DatastreamGrpc.DatastreamStub>
com.google.cloud.datastream.v1alpha1.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 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.voidfetchErrors(FetchErrorsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to fetch any errors associated with a stream.voidfetchStaticIps(FetchStaticIpsRequest request, io.grpc.stub.StreamObserver<FetchStaticIpsResponse> responseObserver) The FetchStaticIps API call exposes the static ips 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.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 in a project and location.voidlistStreams(ListStreamsRequest request, io.grpc.stub.StreamObserver<ListStreamsResponse> responseObserver) Use this method to list streams in a project and location.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 under 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.
-
fetchErrors
public void fetchErrors(FetchErrorsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to fetch any errors associated with a stream.
-
fetchStaticIps
public void fetchStaticIps(FetchStaticIpsRequest request, io.grpc.stub.StreamObserver<FetchStaticIpsResponse> responseObserver) 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.
-
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 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 in a project and location.
-
deleteRoute
public void deleteRoute(DeleteRouteRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Use this method to delete a route.
-