- 1.52.0 (latest)
- 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 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)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonDatastreamStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDatastreamStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonDatastreamStub |
Type | Description |
IOException |
create(DatastreamStubSettings settings)
public static final HttpJsonDatastreamStub create(DatastreamStubSettings settings)
Name | Description |
settings | DatastreamStubSettings |
Type | Description |
HttpJsonDatastreamStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
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.
Name | Description |
settings | DatastreamStubSettings |
clientContext | ClientContext |
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.
Name | Description |
settings | DatastreamStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createConnectionProfileCallable()
public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Type | Description |
UnaryCallable<CreateConnectionProfileRequest,Operation> |
createConnectionProfileOperationCallable()
public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Type | Description |
OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> |
createPrivateConnectionCallable()
public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Type | Description |
UnaryCallable<CreatePrivateConnectionRequest,Operation> |
createPrivateConnectionOperationCallable()
public OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationCallable()
Type | Description |
OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> |
createRouteCallable()
public UnaryCallable<CreateRouteRequest,Operation> createRouteCallable()
Type | Description |
UnaryCallable<CreateRouteRequest,Operation> |
createRouteOperationCallable()
public OperationCallable<CreateRouteRequest,Route,OperationMetadata> createRouteOperationCallable()
Type | Description |
OperationCallable<CreateRouteRequest,Route,OperationMetadata> |
createStreamCallable()
public UnaryCallable<CreateStreamRequest,Operation> createStreamCallable()
Type | Description |
UnaryCallable<CreateStreamRequest,Operation> |
createStreamOperationCallable()
public OperationCallable<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationCallable()
Type | Description |
OperationCallable<CreateStreamRequest,Stream,OperationMetadata> |
deleteConnectionProfileCallable()
public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Type | Description |
UnaryCallable<DeleteConnectionProfileRequest,Operation> |
deleteConnectionProfileOperationCallable()
public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Type | Description |
OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> |
deletePrivateConnectionCallable()
public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Type | Description |
UnaryCallable<DeletePrivateConnectionRequest,Operation> |
deletePrivateConnectionOperationCallable()
public OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationCallable()
Type | Description |
OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> |
deleteRouteCallable()
public UnaryCallable<DeleteRouteRequest,Operation> deleteRouteCallable()
Type | Description |
UnaryCallable<DeleteRouteRequest,Operation> |
deleteRouteOperationCallable()
public OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationCallable()
Type | Description |
OperationCallable<DeleteRouteRequest,Empty,OperationMetadata> |
deleteStreamCallable()
public UnaryCallable<DeleteStreamRequest,Operation> deleteStreamCallable()
Type | Description |
UnaryCallable<DeleteStreamRequest,Operation> |
deleteStreamOperationCallable()
public OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationCallable()
Type | Description |
OperationCallable<DeleteStreamRequest,Empty,OperationMetadata> |
discoverConnectionProfileCallable()
public UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileCallable()
Type | Description |
UnaryCallable<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> |
fetchErrorsCallable()
public UnaryCallable<FetchErrorsRequest,Operation> fetchErrorsCallable()
Type | Description |
UnaryCallable<FetchErrorsRequest,Operation> |
fetchErrorsOperationCallable()
public OperationCallable<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> fetchErrorsOperationCallable()
Type | Description |
OperationCallable<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> |
fetchStaticIpsCallable()
public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Type | Description |
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> |
fetchStaticIpsPagedCallable()
public UnaryCallable<FetchStaticIpsRequest,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Type | Description |
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsPagedResponse> |
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Type | Description |
UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getPrivateConnectionCallable()
public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Type | Description |
UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> |
getRouteCallable()
public UnaryCallable<GetRouteRequest,Route> getRouteCallable()
Type | Description |
UnaryCallable<GetRouteRequest,Route> |
getStreamCallable()
public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Type | Description |
UnaryCallable<GetStreamRequest,Stream> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Type | Description |
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> |
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Type | Description |
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesPagedResponse> |
listPrivateConnectionsCallable()
public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Type | Description |
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> |
listPrivateConnectionsPagedCallable()
public UnaryCallable<ListPrivateConnectionsRequest,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsPagedCallable()
Type | Description |
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsPagedResponse> |
listRoutesCallable()
public UnaryCallable<ListRoutesRequest,ListRoutesResponse> listRoutesCallable()
Type | Description |
UnaryCallable<ListRoutesRequest,ListRoutesResponse> |
listRoutesPagedCallable()
public UnaryCallable<ListRoutesRequest,DatastreamClient.ListRoutesPagedResponse> listRoutesPagedCallable()
Type | Description |
UnaryCallable<ListRoutesRequest,ListRoutesPagedResponse> |
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Type | Description |
UnaryCallable<ListStreamsRequest,ListStreamsResponse> |
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,DatastreamClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Type | Description |
UnaryCallable<ListStreamsRequest,ListStreamsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateConnectionProfileCallable()
public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Type | Description |
UnaryCallable<UpdateConnectionProfileRequest,Operation> |
updateConnectionProfileOperationCallable()
public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Type | Description |
OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> |
updateStreamCallable()
public UnaryCallable<UpdateStreamRequest,Operation> updateStreamCallable()
Type | Description |
UnaryCallable<UpdateStreamRequest,Operation> |
updateStreamOperationCallable()
public OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationCallable()
Type | Description |
OperationCallable<UpdateStreamRequest,Stream,OperationMetadata> |