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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDatastreamStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DatastreamStubSettings settings)
public static final HttpJsonDatastreamStub create(DatastreamStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
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
fetchErrorsCallable()
public UnaryCallable<FetchErrorsRequest,Operation> fetchErrorsCallable()
Returns
Overrides
fetchErrorsOperationCallable()
public OperationCallable<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> fetchErrorsOperationCallable()
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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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
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
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
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Returns
Overrides
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
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