public class HttpJsonStreamsServiceStub extends StreamsServiceStub
REST stub implementation for the StreamsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonStreamsServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonStreamsServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonStreamsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonStreamsServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(StreamsServiceStubSettings settings)
public static final HttpJsonStreamsServiceStub create(StreamsServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
StreamsServiceStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonStreamsServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonStreamsServiceStub, 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 |
StreamsServiceStubSettings |
clientContext |
ClientContext |
HttpJsonStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonStreamsServiceStub, 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 |
StreamsServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
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()
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateClusterRequest,Operation> |
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> |
createEventCallable()
public UnaryCallable<CreateEventRequest,Operation> createEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateEventRequest,Operation> |
createEventOperationCallable()
public OperationCallable<CreateEventRequest,Event,OperationMetadata> createEventOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateEventRequest,Event,OperationMetadata> |
createSeriesCallable()
public UnaryCallable<CreateSeriesRequest,Operation> createSeriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSeriesRequest,Operation> |
createSeriesOperationCallable()
public OperationCallable<CreateSeriesRequest,Series,OperationMetadata> createSeriesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSeriesRequest,Series,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> |
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteClusterRequest,Operation> |
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> |
deleteEventCallable()
public UnaryCallable<DeleteEventRequest,Operation> deleteEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteEventRequest,Operation> |
deleteEventOperationCallable()
public OperationCallable<DeleteEventRequest,Empty,OperationMetadata> deleteEventOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteEventRequest,Empty,OperationMetadata> |
deleteSeriesCallable()
public UnaryCallable<DeleteSeriesRequest,Operation> deleteSeriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSeriesRequest,Operation> |
deleteSeriesOperationCallable()
public OperationCallable<DeleteSeriesRequest,Empty,OperationMetadata> deleteSeriesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteSeriesRequest,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> |
generateStreamHlsTokenCallable()
public UnaryCallable<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse> generateStreamHlsTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse> |
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetClusterRequest,Cluster> |
getEventCallable()
public UnaryCallable<GetEventRequest,Event> getEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetEventRequest,Event> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getSeriesCallable()
public UnaryCallable<GetSeriesRequest,Series> getSeriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSeriesRequest,Series> |
getStreamCallable()
public UnaryCallable<GetStreamRequest,Stream> getStreamCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetStreamRequest,Stream> |
getStreamThumbnailCallable()
public UnaryCallable<GetStreamThumbnailRequest,Operation> getStreamThumbnailCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetStreamThumbnailRequest,Operation> |
getStreamThumbnailOperationCallable()
public OperationCallable<GetStreamThumbnailRequest,GetStreamThumbnailResponse,OperationMetadata> getStreamThumbnailOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<GetStreamThumbnailRequest,GetStreamThumbnailResponse,OperationMetadata> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersResponse> |
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,StreamsServiceClient.ListClustersPagedResponse> listClustersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersPagedResponse> |
listEventsCallable()
public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEventsRequest,ListEventsResponse> |
listEventsPagedCallable()
public UnaryCallable<ListEventsRequest,StreamsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEventsRequest,ListEventsPagedResponse> |
listSeriesCallable()
public UnaryCallable<ListSeriesRequest,ListSeriesResponse> listSeriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSeriesRequest,ListSeriesResponse> |
listSeriesPagedCallable()
public UnaryCallable<ListSeriesRequest,StreamsServiceClient.ListSeriesPagedResponse> listSeriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSeriesRequest,ListSeriesPagedResponse> |
listStreamsCallable()
public UnaryCallable<ListStreamsRequest,ListStreamsResponse> listStreamsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStreamsRequest,ListStreamsResponse> |
listStreamsPagedCallable()
public UnaryCallable<ListStreamsRequest,StreamsServiceClient.ListStreamsPagedResponse> listStreamsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStreamsRequest,ListStreamsPagedResponse> |
materializeChannelCallable()
public UnaryCallable<MaterializeChannelRequest,Operation> materializeChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MaterializeChannelRequest,Operation> |
materializeChannelOperationCallable()
public OperationCallable<MaterializeChannelRequest,Channel,OperationMetadata> materializeChannelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<MaterializeChannelRequest,Channel,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateClusterRequest,Operation> |
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> |
updateEventCallable()
public UnaryCallable<UpdateEventRequest,Operation> updateEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateEventRequest,Operation> |
updateEventOperationCallable()
public OperationCallable<UpdateEventRequest,Event,OperationMetadata> updateEventOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateEventRequest,Event,OperationMetadata> |
updateSeriesCallable()
public UnaryCallable<UpdateSeriesRequest,Operation> updateSeriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSeriesRequest,Operation> |
updateSeriesOperationCallable()
public OperationCallable<UpdateSeriesRequest,Series,OperationMetadata> updateSeriesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateSeriesRequest,Series,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> |