public class HttpJsonDatastreamStub extends DatastreamStub
REST 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 HttpJsonDatastreamStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDatastreamStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(DatastreamStubSettings settings)
public static final HttpJsonDatastreamStub create(DatastreamStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext)
protected HttpJsonDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDatastreamStub, 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.
HttpJsonDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDatastreamStub(DatastreamStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDatastreamStub, 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
fetchStaticIpsCallable()
public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Overrides
fetchStaticIpsPagedCallable()
public UnaryCallable<FetchStaticIpsRequest,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Overrides
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
getPrivateConnectionCallable()
public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Overrides
getRouteCallable()
public UnaryCallable<GetRouteRequest,Route> getRouteCallable()
Overrides
getStreamCallable()
public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Overrides
getStreamObjectCallable()
public UnaryCallable<GetStreamObjectRequest,StreamObject> getStreamObjectCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Overrides
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
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()
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
listStreamObjectsCallable()
public UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsResponse> listStreamObjectsCallable()
Overrides
listStreamObjectsPagedCallable()
public UnaryCallable<ListStreamObjectsRequest,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsPagedCallable()
Overrides
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Overrides
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Overrides
lookupStreamObjectCallable()
public UnaryCallable<LookupStreamObjectRequest,StreamObject> lookupStreamObjectCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startBackfillJobCallable()
public UnaryCallable<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobCallable()
Overrides
stopBackfillJobCallable()
public UnaryCallable<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobCallable()
Overrides
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