- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
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 | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcDatastreamStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatastreamStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcDatastreamStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(DatastreamStubSettings settings)
public static final GrpcDatastreamStub create(DatastreamStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
DatastreamStubSettings |
Returns | |
---|---|
Type | Description |
GrpcDatastreamStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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 | |
---|---|
Name | Description |
settings |
DatastreamStubSettings |
clientContext |
ClientContext |
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 | |
---|---|
Name | Description |
settings |
DatastreamStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createConnectionProfileCallable()
public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateConnectionProfileRequest,Operation> |
createConnectionProfileOperationCallable()
public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> |
createPrivateConnectionCallable()
public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreatePrivateConnectionRequest,Operation> |
createPrivateConnectionOperationCallable()
public OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> |
createRouteCallable()
public UnaryCallable<CreateRouteRequest,Operation> createRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRouteRequest,Operation> |
createRouteOperationCallable()
public OperationCallable<CreateRouteRequest,Route,OperationMetadata> createRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRouteRequest,Route,OperationMetadata> |
createStreamCallable()
public UnaryCallable<CreateStreamRequest,Operation> createStreamCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateStreamRequest,Operation> |
createStreamOperationCallable()
public OperationCallable<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateStreamRequest,Stream,OperationMetadata> |
deleteConnectionProfileCallable()
public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteConnectionProfileRequest,Operation> |
deleteConnectionProfileOperationCallable()
public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> |
deletePrivateConnectionCallable()
public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePrivateConnectionRequest,Operation> |
deletePrivateConnectionOperationCallable()
public OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> |
deleteRouteCallable()
public UnaryCallable<DeleteRouteRequest,Operation> deleteRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRouteRequest,Operation> |
deleteRouteOperationCallable()
public OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> |
deleteStreamCallable()
public UnaryCallable<DeleteStreamRequest,Operation> deleteStreamCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteStreamRequest,Operation> |
deleteStreamOperationCallable()
public OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> |
discoverConnectionProfileCallable()
public UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> |
fetchStaticIpsCallable()
public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> |
fetchStaticIpsPagedCallable()
public UnaryCallable<FetchStaticIpsRequest,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsPagedResponse> |
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getPrivateConnectionCallable()
public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> |
getRouteCallable()
public UnaryCallable<GetRouteRequest,Route> getRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRouteRequest,Route> |
getStreamCallable()
public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetStreamRequest,Stream> |
getStreamObjectCallable()
public UnaryCallable<GetStreamObjectRequest,StreamObject> getStreamObjectCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetStreamObjectRequest,StreamObject> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> |
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DatastreamClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listPrivateConnectionsCallable()
public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> |
listPrivateConnectionsPagedCallable()
public UnaryCallable<ListPrivateConnectionsRequest,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsPagedResponse> |
listRoutesCallable()
public UnaryCallable<ListRoutesRequest,ListRoutesResponse> listRoutesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRoutesRequest,ListRoutesResponse> |
listRoutesPagedCallable()
public UnaryCallable<ListRoutesRequest,DatastreamClient.ListRoutesPagedResponse> listRoutesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRoutesRequest,ListRoutesPagedResponse> |
listStreamObjectsCallable()
public UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsResponse> listStreamObjectsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsResponse> |
listStreamObjectsPagedCallable()
public UnaryCallable<ListStreamObjectsRequest,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsPagedResponse> |
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStreamsRequest,ListStreamsResponse> |
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStreamsRequest,ListStreamsPagedResponse> |
lookupStreamObjectCallable()
public UnaryCallable<LookupStreamObjectRequest,StreamObject> lookupStreamObjectCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<LookupStreamObjectRequest,StreamObject> |
runStreamCallable()
public UnaryCallable<RunStreamRequest,Operation> runStreamCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RunStreamRequest,Operation> |
runStreamOperationCallable()
public OperationCallable<RunStreamRequest,Stream,OperationMetadata> runStreamOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RunStreamRequest,Stream,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startBackfillJobCallable()
public UnaryCallable<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartBackfillJobRequest,StartBackfillJobResponse> |
stopBackfillJobCallable()
public UnaryCallable<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopBackfillJobRequest,StopBackfillJobResponse> |
updateConnectionProfileCallable()
public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateConnectionProfileRequest,Operation> |
updateConnectionProfileOperationCallable()
public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> |
updateStreamCallable()
public UnaryCallable<UpdateStreamRequest,Operation> updateStreamCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateStreamRequest,Operation> |
updateStreamOperationCallable()
public OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> |