Class HttpJsonDatastreamStub (1.29.0)

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.

Inheritance

java.lang.Object > DatastreamStub > HttpJsonDatastreamStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDatastreamStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDatastreamStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDatastreamStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDatastreamStub
Exceptions
TypeDescription
IOException

create(DatastreamStubSettings settings)

public static final HttpJsonDatastreamStub create(DatastreamStubSettings settings)
Parameter
NameDescription
settingsDatastreamStubSettings
Returns
TypeDescription
HttpJsonDatastreamStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

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.

Parameters
NameDescription
settingsDatastreamStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsDatastreamStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createConnectionProfileCallable()

public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<CreateConnectionProfileRequest,Operation>
Overrides

createConnectionProfileOperationCallable()

public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Returns
TypeDescription
OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>
Overrides

createPrivateConnectionCallable()

public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreatePrivateConnectionRequest,Operation>
Overrides

createPrivateConnectionOperationCallable()

public OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>
Overrides

createRouteCallable()

public UnaryCallable<CreateRouteRequest,Operation> createRouteCallable()
Returns
TypeDescription
UnaryCallable<CreateRouteRequest,Operation>
Overrides

createRouteOperationCallable()

public OperationCallable<CreateRouteRequest,Route,OperationMetadata> createRouteOperationCallable()
Returns
TypeDescription
OperationCallable<CreateRouteRequest,Route,OperationMetadata>
Overrides

createStreamCallable()

public UnaryCallable<CreateStreamRequest,Operation> createStreamCallable()
Returns
TypeDescription
UnaryCallable<CreateStreamRequest,Operation>
Overrides

createStreamOperationCallable()

public OperationCallable<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationCallable()
Returns
TypeDescription
OperationCallable<CreateStreamRequest,Stream,OperationMetadata>
Overrides

deleteConnectionProfileCallable()

public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<DeleteConnectionProfileRequest,Operation>
Overrides

deleteConnectionProfileOperationCallable()

public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata>
Overrides

deletePrivateConnectionCallable()

public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Returns
TypeDescription
UnaryCallable<DeletePrivateConnectionRequest,Operation>
Overrides

deletePrivateConnectionOperationCallable()

public OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata>
Overrides

deleteRouteCallable()

public UnaryCallable<DeleteRouteRequest,Operation> deleteRouteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRouteRequest,Operation>
Overrides

deleteRouteOperationCallable()

public OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteRouteRequest,Empty,OperationMetadata>
Overrides

deleteStreamCallable()

public UnaryCallable<DeleteStreamRequest,Operation> deleteStreamCallable()
Returns
TypeDescription
UnaryCallable<DeleteStreamRequest,Operation>
Overrides

deleteStreamOperationCallable()

public OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteStreamRequest,Empty,OperationMetadata>
Overrides

discoverConnectionProfileCallable()

public UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse>
Overrides

fetchStaticIpsCallable()

public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Returns
TypeDescription
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse>
Overrides

fetchStaticIpsPagedCallable()

public UnaryCallable<FetchStaticIpsRequest,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Returns
TypeDescription
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsPagedResponse>
Overrides

getConnectionProfileCallable()

public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<GetConnectionProfileRequest,ConnectionProfile>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getPrivateConnectionCallable()

public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetPrivateConnectionRequest,PrivateConnection>
Overrides

getRouteCallable()

public UnaryCallable<GetRouteRequest,Route> getRouteCallable()
Returns
TypeDescription
UnaryCallable<GetRouteRequest,Route>
Overrides

getStreamCallable()

public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Returns
TypeDescription
UnaryCallable<GetStreamRequest,Stream>
Overrides

getStreamObjectCallable()

public UnaryCallable<GetStreamObjectRequest,StreamObject> getStreamObjectCallable()
Returns
TypeDescription
UnaryCallable<GetStreamObjectRequest,StreamObject>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listConnectionProfilesCallable()

public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Returns
TypeDescription
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse>
Overrides

listConnectionProfilesPagedCallable()

public UnaryCallable<ListConnectionProfilesRequest,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DatastreamClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listPrivateConnectionsCallable()

public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse>
Overrides

listPrivateConnectionsPagedCallable()

public UnaryCallable<ListPrivateConnectionsRequest,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsPagedResponse>
Overrides

listRoutesCallable()

public UnaryCallable<ListRoutesRequest,ListRoutesResponse> listRoutesCallable()
Returns
TypeDescription
UnaryCallable<ListRoutesRequest,ListRoutesResponse>
Overrides

listRoutesPagedCallable()

public UnaryCallable<ListRoutesRequest,DatastreamClient.ListRoutesPagedResponse> listRoutesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRoutesRequest,ListRoutesPagedResponse>
Overrides

listStreamObjectsCallable()

public UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsResponse> listStreamObjectsCallable()
Returns
TypeDescription
UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsResponse>
Overrides

listStreamObjectsPagedCallable()

public UnaryCallable<ListStreamObjectsRequest,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListStreamObjectsRequest,ListStreamObjectsPagedResponse>
Overrides

listStreamsCallable()

public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Returns
TypeDescription
UnaryCallable<ListStreamsRequest,ListStreamsResponse>
Overrides

listStreamsPagedCallable()

public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListStreamsRequest,ListStreamsPagedResponse>
Overrides

lookupStreamObjectCallable()

public UnaryCallable<LookupStreamObjectRequest,StreamObject> lookupStreamObjectCallable()
Returns
TypeDescription
UnaryCallable<LookupStreamObjectRequest,StreamObject>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startBackfillJobCallable()

public UnaryCallable<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobCallable()
Returns
TypeDescription
UnaryCallable<StartBackfillJobRequest,StartBackfillJobResponse>
Overrides

stopBackfillJobCallable()

public UnaryCallable<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobCallable()
Returns
TypeDescription
UnaryCallable<StopBackfillJobRequest,StopBackfillJobResponse>
Overrides

updateConnectionProfileCallable()

public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<UpdateConnectionProfileRequest,Operation>
Overrides

updateConnectionProfileOperationCallable()

public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>
Overrides

updateStreamCallable()

public UnaryCallable<UpdateStreamRequest,Operation> updateStreamCallable()
Returns
TypeDescription
UnaryCallable<UpdateStreamRequest,Operation>
Overrides

updateStreamOperationCallable()

public OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateStreamRequest,Stream,OperationMetadata>
Overrides