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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatastreamStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DatastreamStubSettings settings)
public static final GrpcDatastreamStub create(DatastreamStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createConnectionProfileCallable()
public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Returns
Overrides
createConnectionProfileOperationCallable()
public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Returns
Overrides
createPrivateConnectionCallable()
public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Returns
Overrides
createPrivateConnectionOperationCallable()
public OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationCallable()
Returns
Overrides
createRouteCallable()
public UnaryCallable<CreateRouteRequest,Operation> createRouteCallable()
Returns
Overrides
createRouteOperationCallable()
public OperationCallable<CreateRouteRequest,Route,OperationMetadata> createRouteOperationCallable()
Returns
Overrides
createStreamCallable()
public UnaryCallable<CreateStreamRequest,Operation> createStreamCallable()
Returns
Overrides
createStreamOperationCallable()
public OperationCallable<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationCallable()
Returns
Overrides
deleteConnectionProfileCallable()
public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Returns
Overrides
deleteConnectionProfileOperationCallable()
public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Returns
Overrides
deletePrivateConnectionCallable()
public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Returns
Overrides
deletePrivateConnectionOperationCallable()
public OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationCallable()
Returns
Overrides
deleteRouteCallable()
public UnaryCallable<DeleteRouteRequest,Operation> deleteRouteCallable()
Returns
Overrides
deleteRouteOperationCallable()
public OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationCallable()
Returns
Overrides
deleteStreamCallable()
public UnaryCallable<DeleteStreamRequest,Operation> deleteStreamCallable()
Returns
Overrides
deleteStreamOperationCallable()
public OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationCallable()
Returns
Overrides
discoverConnectionProfileCallable()
public UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileCallable()
Returns
Overrides
fetchStaticIpsCallable()
public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Returns
Overrides
fetchStaticIpsPagedCallable()
public UnaryCallable<FetchStaticIpsRequest,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Returns
Overrides
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Returns
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getPrivateConnectionCallable()
public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Returns
Overrides
getRouteCallable()
public UnaryCallable<GetRouteRequest,Route> getRouteCallable()
Returns
Overrides
getStreamCallable()
public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Returns
Overrides
getStreamObjectCallable()
public UnaryCallable<GetStreamObjectRequest,StreamObject> getStreamObjectCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Returns
Overrides
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Returns
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> | |
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DatastreamClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Overrides
listPrivateConnectionsCallable()
public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Returns
Overrides
listPrivateConnectionsPagedCallable()
public UnaryCallable<ListPrivateConnectionsRequest,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsPagedCallable()
Returns
Overrides
listRoutesCallable()
public UnaryCallable<ListRoutesRequest,ListRoutesResponse> listRoutesCallable()
Returns
Overrides
listRoutesPagedCallable()
public UnaryCallable<ListRoutesRequest,DatastreamClient.ListRoutesPagedResponse> listRoutesPagedCallable()
Returns
Overrides
listStreamObjectsCallable()
public UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsResponse> listStreamObjectsCallable()
Returns
Overrides
listStreamObjectsPagedCallable()
public UnaryCallable<ListStreamObjectsRequest,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsPagedCallable()
Returns
Overrides
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Returns
Overrides
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Returns
Overrides
lookupStreamObjectCallable()
public UnaryCallable<LookupStreamObjectRequest,StreamObject> lookupStreamObjectCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startBackfillJobCallable()
public UnaryCallable<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobCallable()
Returns
Overrides
stopBackfillJobCallable()
public UnaryCallable<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobCallable()
Returns
Overrides
updateConnectionProfileCallable()
public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Returns
Overrides
updateConnectionProfileOperationCallable()
public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Returns
Overrides
updateStreamCallable()
public UnaryCallable<UpdateStreamRequest,Operation> updateStreamCallable()
Returns
Overrides
updateStreamOperationCallable()
public OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationCallable()
Returns
Overrides