Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcDatastreamStub extends DatastreamStub
gRPC stub implementation for the Datastream service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcDatastreamStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatastreamStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DatastreamStubSettings settings)
public static final GrpcDatastreamStub create(DatastreamStubSettings settings)
Constructors
GrpcDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext)
protected GrpcDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDatastreamStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDatastreamStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createConnectionProfileCallable()
public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Overrides
createConnectionProfileOperationCallable()
public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Overrides
createPrivateConnectionCallable()
public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Overrides
createPrivateConnectionOperationCallable()
public OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationCallable()
Overrides
createRouteCallable()
public UnaryCallable<CreateRouteRequest,Operation> createRouteCallable()
Overrides
createRouteOperationCallable()
public OperationCallable<CreateRouteRequest,Route,OperationMetadata> createRouteOperationCallable()
Overrides
createStreamCallable()
public UnaryCallable<CreateStreamRequest,Operation> createStreamCallable()
Overrides
createStreamOperationCallable()
public OperationCallable<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationCallable()
Overrides
deleteConnectionProfileCallable()
public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Overrides
deleteConnectionProfileOperationCallable()
public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Overrides
deletePrivateConnectionCallable()
public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Overrides
deletePrivateConnectionOperationCallable()
public OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationCallable()
Overrides
deleteRouteCallable()
public UnaryCallable<DeleteRouteRequest,Operation> deleteRouteCallable()
Overrides
deleteRouteOperationCallable()
public OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationCallable()
Overrides
deleteStreamCallable()
public UnaryCallable<DeleteStreamRequest,Operation> deleteStreamCallable()
Overrides
deleteStreamOperationCallable()
public OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationCallable()
Overrides
discoverConnectionProfileCallable()
public UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileCallable()
Overrides
fetchErrorsCallable()
public UnaryCallable<FetchErrorsRequest,Operation> fetchErrorsCallable()
Overrides
fetchErrorsOperationCallable()
public OperationCallable<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> fetchErrorsOperationCallable()
Overrides
fetchStaticIpsCallable()
public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Overrides
fetchStaticIpsPagedCallable()
public UnaryCallable<FetchStaticIpsRequest,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Overrides
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getPrivateConnectionCallable()
public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Overrides
getRouteCallable()
public UnaryCallable<GetRouteRequest,Route> getRouteCallable()
Overrides
getStreamCallable()
public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Overrides
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Overrides
listPrivateConnectionsCallable()
public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Overrides
listPrivateConnectionsPagedCallable()
public UnaryCallable<ListPrivateConnectionsRequest,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsPagedCallable()
Overrides
listRoutesCallable()
public UnaryCallable<ListRoutesRequest,ListRoutesResponse> listRoutesCallable()
Overrides
listRoutesPagedCallable()
public UnaryCallable<ListRoutesRequest,DatastreamClient.ListRoutesPagedResponse> listRoutesPagedCallable()
Overrides
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Overrides
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateConnectionProfileCallable()
public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Overrides
updateConnectionProfileOperationCallable()
public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Overrides
updateStreamCallable()
public UnaryCallable<UpdateStreamRequest,Operation> updateStreamCallable()
Overrides
updateStreamOperationCallable()
public OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationCallable()
Overrides